dinput: Stop calling SendForceFeedbackCommand on device destroy.
[wine.git] / configure
bloba224cb19d946ceae1f1709be3f153382ecb42b5c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.21.
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.21'
584 PACKAGE_STRING='Wine 6.21'
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 TAGSFLAGS
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 MSVCRTFLAGS
632 VKD3D_SHADER_LIBS
633 VKD3D_SHADER_CFLAGS
634 VKD3D_LIBS
635 VKD3D_CFLAGS
636 NETAPI_LIBS
637 NETAPI_CFLAGS
638 PROCSTAT_LIBS
639 GSSAPI_LIBS
640 GSSAPI_CFLAGS
641 KRB5_LIBS
642 KRB5_CFLAGS
643 FONTCONFIG_LIBS
644 FONTCONFIG_CFLAGS
645 CUPS_LIBS
646 CUPS_CFLAGS
647 CAPI20_LIBS
648 CAPI20_CFLAGS
649 SDL2_LIBS
650 SDL2_CFLAGS
651 UNWIND_LIBS
652 UNWIND_CFLAGS
653 UDEV_LIBS
654 UDEV_CFLAGS
655 OSS4_LIBS
656 OSS4_CFLAGS
657 ALSA_LIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 PULSE_LIBS
661 PULSE_CFLAGS
662 GETTEXTPO_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 RESOLV_LIBS
666 GPHOTO2_PORT_LIBS
667 GPHOTO2_PORT_CFLAGS
668 GPHOTO2_LIBS
669 GPHOTO2_CFLAGS
670 USB_LIBS
671 USB_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 INOTIFY_LIBS
681 INOTIFY_CFLAGS
682 PCAP_LIBS
683 X_EXTRA_LIBS
684 X_LIBS
685 X_PRE_LIBS
686 X_CFLAGS
687 XMKMF
688 PTHREAD_LIBS
689 ZLIB_PE_LIBS
690 ZLIB_PE_CFLAGS
691 XSLT_PE_LIBS
692 XSLT_PE_CFLAGS
693 XML2_PE_LIBS
694 XML2_PE_CFLAGS
695 TIFF_PE_LIBS
696 TIFF_PE_CFLAGS
697 PNG_PE_LIBS
698 PNG_PE_CFLAGS
699 MPG123_PE_LIBS
700 MPG123_PE_CFLAGS
701 LCMS2_PE_LIBS
702 LCMS2_PE_CFLAGS
703 JXR_PE_LIBS
704 JXR_PE_CFLAGS
705 JPEG_PE_LIBS
706 JPEG_PE_CFLAGS
707 GSM_PE_LIBS
708 GSM_PE_CFLAGS
709 FAUDIO_PE_LIBS
710 FAUDIO_PE_CFLAGS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 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 EXTRACFLAGS
757 LDEXECFLAGS
758 LDDLLFLAGS
759 DLLFLAGS
761 OPENGL_LIBS
762 I386_LIBS
763 ICOTOOL
764 CONVERT
765 RSVG
766 FONTFORGE
767 PKG_CONFIG
768 MSGFMT
769 LDCONFIG
770 EGREP
771 GREP
772 LN_S
773 RANLIB
774 STRIP
775 ac_ct_AR
777 BISON
778 FLEX
779 api_manext
780 SED_CMD
781 RUNTESTFLAGS
782 MAKEDEP
783 toolsdir
784 toolsext
785 TARGETFLAGS
787 CPPBIN
788 ac_ct_CXX
789 CXXFLAGS
791 OBJEXT
792 EXEEXT
793 ac_ct_CC
794 CPPFLAGS
795 LDFLAGS
796 CFLAGS
798 SET_MAKE
799 srcdir
800 nlsdir
801 fontdir
802 dlldir
803 host_os
804 host_vendor
805 host_cpu
806 host
807 build_os
808 build_vendor
809 build_cpu
810 build
811 target_alias
812 host_alias
813 build_alias
814 LIBS
815 ECHO_T
816 ECHO_N
817 ECHO_C
818 DEFS
819 mandir
820 localedir
821 libdir
822 psdir
823 pdfdir
824 dvidir
825 htmldir
826 infodir
827 docdir
828 oldincludedir
829 includedir
830 runstatedir
831 localstatedir
832 sharedstatedir
833 sysconfdir
834 datadir
835 datarootdir
836 libexecdir
837 sbindir
838 bindir
839 program_transform_name
840 prefix
841 exec_prefix
842 PACKAGE_URL
843 PACKAGE_BUGREPORT
844 PACKAGE_STRING
845 PACKAGE_VERSION
846 PACKAGE_TARNAME
847 PACKAGE_NAME
848 PATH_SEPARATOR
849 SHELL'
850 ac_subst_files=''
851 ac_user_opts='
852 enable_option_checking
853 enable_win16
854 enable_win64
855 enable_tests
856 enable_build_id
857 enable_maintainer_mode
858 enable_silent_rules
859 enable_werror
860 with_alsa
861 with_capi
862 with_coreaudio
863 with_cups
864 with_dbus
865 with_float_abi
866 with_fontconfig
867 with_freetype
868 with_gettext
869 with_gettextpo
870 with_gphoto
871 with_gnutls
872 with_gssapi
873 with_gstreamer
874 with_hal
875 with_inotify
876 with_krb5
877 with_ldap
878 with_mingw
879 with_netapi
880 with_openal
881 with_opencl
882 with_opengl
883 with_osmesa
884 with_oss
885 with_pcap
886 with_pthread
887 with_pulse
888 with_quicktime
889 with_sane
890 with_sdl
891 with_udev
892 with_unwind
893 with_usb
894 with_v4l2
895 with_vkd3d
896 with_vulkan
897 with_xcomposite
898 with_xcursor
899 with_xfixes
900 with_xinerama
901 with_xinput
902 with_xinput2
903 with_xrandr
904 with_xrender
905 with_xshape
906 with_xshm
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_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l1_2_0
937 enable_api_ms_win_core_console_l2_1_0
938 enable_api_ms_win_core_console_l3_2_0
939 enable_api_ms_win_core_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_featurestaging_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_0
953 enable_api_ms_win_core_fibers_l1_1_1
954 enable_api_ms_win_core_file_ansi_l2_1_0
955 enable_api_ms_win_core_file_fromapp_l1_1_0
956 enable_api_ms_win_core_file_l1_1_0
957 enable_api_ms_win_core_file_l1_2_0
958 enable_api_ms_win_core_file_l1_2_1
959 enable_api_ms_win_core_file_l1_2_2
960 enable_api_ms_win_core_file_l2_1_0
961 enable_api_ms_win_core_file_l2_1_1
962 enable_api_ms_win_core_file_l2_1_2
963 enable_api_ms_win_core_handle_l1_1_0
964 enable_api_ms_win_core_heap_l1_1_0
965 enable_api_ms_win_core_heap_l1_2_0
966 enable_api_ms_win_core_heap_l2_1_0
967 enable_api_ms_win_core_heap_obsolete_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_1_0
969 enable_api_ms_win_core_interlocked_l1_2_0
970 enable_api_ms_win_core_io_l1_1_0
971 enable_api_ms_win_core_io_l1_1_1
972 enable_api_ms_win_core_job_l1_1_0
973 enable_api_ms_win_core_job_l2_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_0
975 enable_api_ms_win_core_kernel32_legacy_l1_1_1
976 enable_api_ms_win_core_kernel32_legacy_l1_1_2
977 enable_api_ms_win_core_kernel32_legacy_l1_1_5
978 enable_api_ms_win_core_kernel32_private_l1_1_1
979 enable_api_ms_win_core_largeinteger_l1_1_0
980 enable_api_ms_win_core_libraryloader_l1_1_0
981 enable_api_ms_win_core_libraryloader_l1_1_1
982 enable_api_ms_win_core_libraryloader_l1_2_0
983 enable_api_ms_win_core_libraryloader_l1_2_1
984 enable_api_ms_win_core_libraryloader_l1_2_2
985 enable_api_ms_win_core_libraryloader_l2_1_0
986 enable_api_ms_win_core_localization_l1_1_0
987 enable_api_ms_win_core_localization_l1_2_0
988 enable_api_ms_win_core_localization_l1_2_1
989 enable_api_ms_win_core_localization_l1_2_2
990 enable_api_ms_win_core_localization_l2_1_0
991 enable_api_ms_win_core_localization_obsolete_l1_1_0
992 enable_api_ms_win_core_localization_obsolete_l1_2_0
993 enable_api_ms_win_core_localization_obsolete_l1_3_0
994 enable_api_ms_win_core_localization_private_l1_1_0
995 enable_api_ms_win_core_localregistry_l1_1_0
996 enable_api_ms_win_core_memory_l1_1_0
997 enable_api_ms_win_core_memory_l1_1_1
998 enable_api_ms_win_core_memory_l1_1_2
999 enable_api_ms_win_core_memory_l1_1_3
1000 enable_api_ms_win_core_memory_l1_1_4
1001 enable_api_ms_win_core_misc_l1_1_0
1002 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1003 enable_api_ms_win_core_namedpipe_l1_1_0
1004 enable_api_ms_win_core_namedpipe_l1_2_0
1005 enable_api_ms_win_core_namespace_l1_1_0
1006 enable_api_ms_win_core_normalization_l1_1_0
1007 enable_api_ms_win_core_path_l1_1_0
1008 enable_api_ms_win_core_privateprofile_l1_1_1
1009 enable_api_ms_win_core_processenvironment_l1_1_0
1010 enable_api_ms_win_core_processenvironment_l1_2_0
1011 enable_api_ms_win_core_processthreads_l1_1_0
1012 enable_api_ms_win_core_processthreads_l1_1_1
1013 enable_api_ms_win_core_processthreads_l1_1_2
1014 enable_api_ms_win_core_processthreads_l1_1_3
1015 enable_api_ms_win_core_processtopology_l1_1_0
1016 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1017 enable_api_ms_win_core_profile_l1_1_0
1018 enable_api_ms_win_core_psapi_ansi_l1_1_0
1019 enable_api_ms_win_core_psapi_l1_1_0
1020 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_psm_appnotify_l1_1_0
1022 enable_api_ms_win_core_quirks_l1_1_0
1023 enable_api_ms_win_core_realtime_l1_1_0
1024 enable_api_ms_win_core_realtime_l1_1_1
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_cng_sys
1183 enable_combase
1184 enable_comcat
1185 enable_comctl32
1186 enable_comdlg32
1187 enable_compstui
1188 enable_comsvcs
1189 enable_concrt140
1190 enable_connect
1191 enable_credui
1192 enable_crtdll
1193 enable_crypt32
1194 enable_cryptdlg
1195 enable_cryptdll
1196 enable_cryptext
1197 enable_cryptnet
1198 enable_cryptsp
1199 enable_cryptui
1200 enable_ctapi32
1201 enable_ctl3d32
1202 enable_d2d1
1203 enable_d3d10
1204 enable_d3d10_1
1205 enable_d3d10core
1206 enable_d3d11
1207 enable_d3d12
1208 enable_d3d8
1209 enable_d3d8thk
1210 enable_d3d9
1211 enable_d3dcompiler_33
1212 enable_d3dcompiler_34
1213 enable_d3dcompiler_35
1214 enable_d3dcompiler_36
1215 enable_d3dcompiler_37
1216 enable_d3dcompiler_38
1217 enable_d3dcompiler_39
1218 enable_d3dcompiler_40
1219 enable_d3dcompiler_41
1220 enable_d3dcompiler_42
1221 enable_d3dcompiler_43
1222 enable_d3dcompiler_46
1223 enable_d3dcompiler_47
1224 enable_d3dim
1225 enable_d3dim700
1226 enable_d3drm
1227 enable_d3dx10_33
1228 enable_d3dx10_34
1229 enable_d3dx10_35
1230 enable_d3dx10_36
1231 enable_d3dx10_37
1232 enable_d3dx10_38
1233 enable_d3dx10_39
1234 enable_d3dx10_40
1235 enable_d3dx10_41
1236 enable_d3dx10_42
1237 enable_d3dx10_43
1238 enable_d3dx11_42
1239 enable_d3dx11_43
1240 enable_d3dx9_24
1241 enable_d3dx9_25
1242 enable_d3dx9_26
1243 enable_d3dx9_27
1244 enable_d3dx9_28
1245 enable_d3dx9_29
1246 enable_d3dx9_30
1247 enable_d3dx9_31
1248 enable_d3dx9_32
1249 enable_d3dx9_33
1250 enable_d3dx9_34
1251 enable_d3dx9_35
1252 enable_d3dx9_36
1253 enable_d3dx9_37
1254 enable_d3dx9_38
1255 enable_d3dx9_39
1256 enable_d3dx9_40
1257 enable_d3dx9_41
1258 enable_d3dx9_42
1259 enable_d3dx9_43
1260 enable_d3dxof
1261 enable_davclnt
1262 enable_dbgeng
1263 enable_dbghelp
1264 enable_dciman32
1265 enable_dcomp
1266 enable_ddraw
1267 enable_ddrawex
1268 enable_devenum
1269 enable_dhcpcsvc
1270 enable_dhcpcsvc6
1271 enable_dhtmled_ocx
1272 enable_difxapi
1273 enable_dinput
1274 enable_dinput8
1275 enable_directmanipulation
1276 enable_dispex
1277 enable_dmband
1278 enable_dmcompos
1279 enable_dmime
1280 enable_dmloader
1281 enable_dmscript
1282 enable_dmstyle
1283 enable_dmsynth
1284 enable_dmusic
1285 enable_dmusic32
1286 enable_dnsapi
1287 enable_dplay
1288 enable_dplayx
1289 enable_dpnaddr
1290 enable_dpnet
1291 enable_dpnhpast
1292 enable_dpnhupnp
1293 enable_dpnlobby
1294 enable_dpvoice
1295 enable_dpwsockx
1296 enable_drmclien
1297 enable_dsdmo
1298 enable_dsound
1299 enable_dsquery
1300 enable_dssenh
1301 enable_dsuiext
1302 enable_dswave
1303 enable_dwmapi
1304 enable_dwrite
1305 enable_dx8vb
1306 enable_dxdiagn
1307 enable_dxgi
1308 enable_dxtrans
1309 enable_dxva2
1310 enable_esent
1311 enable_evr
1312 enable_explorerframe
1313 enable_ext_ms_win_authz_context_l1_1_0
1314 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1315 enable_ext_ms_win_dwmapi_ext_l1_1_0
1316 enable_ext_ms_win_gdi_dc_create_l1_1_0
1317 enable_ext_ms_win_gdi_dc_create_l1_1_1
1318 enable_ext_ms_win_gdi_dc_l1_2_0
1319 enable_ext_ms_win_gdi_devcaps_l1_1_0
1320 enable_ext_ms_win_gdi_draw_l1_1_0
1321 enable_ext_ms_win_gdi_draw_l1_1_1
1322 enable_ext_ms_win_gdi_font_l1_1_0
1323 enable_ext_ms_win_gdi_font_l1_1_1
1324 enable_ext_ms_win_gdi_render_l1_1_0
1325 enable_ext_ms_win_kernel32_package_current_l1_1_0
1326 enable_ext_ms_win_kernel32_package_l1_1_1
1327 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1328 enable_ext_ms_win_ntuser_draw_l1_1_0
1329 enable_ext_ms_win_ntuser_gui_l1_1_0
1330 enable_ext_ms_win_ntuser_gui_l1_3_0
1331 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1332 enable_ext_ms_win_ntuser_message_l1_1_0
1333 enable_ext_ms_win_ntuser_message_l1_1_1
1334 enable_ext_ms_win_ntuser_misc_l1_1_0
1335 enable_ext_ms_win_ntuser_misc_l1_2_0
1336 enable_ext_ms_win_ntuser_misc_l1_5_1
1337 enable_ext_ms_win_ntuser_mouse_l1_1_0
1338 enable_ext_ms_win_ntuser_private_l1_1_1
1339 enable_ext_ms_win_ntuser_private_l1_3_1
1340 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1341 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1342 enable_ext_ms_win_ntuser_window_l1_1_0
1343 enable_ext_ms_win_ntuser_window_l1_1_1
1344 enable_ext_ms_win_ntuser_window_l1_1_4
1345 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1346 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1347 enable_ext_ms_win_oleacc_l1_1_0
1348 enable_ext_ms_win_ras_rasapi32_l1_1_0
1349 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1350 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1351 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1355 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1356 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1357 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1358 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1359 enable_ext_ms_win_security_credui_l1_1_0
1360 enable_ext_ms_win_security_cryptui_l1_1_0
1361 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1362 enable_ext_ms_win_shell_comdlg32_l1_1_0
1363 enable_ext_ms_win_shell_shell32_l1_2_0
1364 enable_ext_ms_win_uxtheme_themes_l1_1_0
1365 enable_faultrep
1366 enable_feclient
1367 enable_fltlib
1368 enable_fltmgr_sys
1369 enable_fntcache
1370 enable_fontsub
1371 enable_fusion
1372 enable_fwpuclnt
1373 enable_gameux
1374 enable_gamingtcui
1375 enable_gdi32
1376 enable_gdiplus
1377 enable_glu32
1378 enable_gphoto2_ds
1379 enable_gpkcsp
1380 enable_hal
1381 enable_hhctrl_ocx
1382 enable_hid
1383 enable_hidclass_sys
1384 enable_hidparse_sys
1385 enable_hlink
1386 enable_hnetcfg
1387 enable_http_sys
1388 enable_httpapi
1389 enable_iccvid
1390 enable_icmp
1391 enable_ieframe
1392 enable_ieproxy
1393 enable_imaadp32_acm
1394 enable_imagehlp
1395 enable_imm32
1396 enable_inetcomm
1397 enable_inetcpl_cpl
1398 enable_inetmib1
1399 enable_infosoft
1400 enable_initpki
1401 enable_inkobj
1402 enable_inseng
1403 enable_iphlpapi
1404 enable_iprop
1405 enable_irprops_cpl
1406 enable_itircl
1407 enable_itss
1408 enable_joy_cpl
1409 enable_jscript
1410 enable_jsproxy
1411 enable_kerberos
1412 enable_kernel32
1413 enable_kernelbase
1414 enable_ksecdd_sys
1415 enable_ksproxy_ax
1416 enable_ksuser
1417 enable_ktmw32
1418 enable_l3codeca_acm
1419 enable_light_msstyles
1420 enable_loadperf
1421 enable_localspl
1422 enable_localui
1423 enable_lz32
1424 enable_mapi32
1425 enable_mapistub
1426 enable_mciavi32
1427 enable_mcicda
1428 enable_mciqtz32
1429 enable_mciseq
1430 enable_mciwave
1431 enable_mf
1432 enable_mf3216
1433 enable_mferror
1434 enable_mfmediaengine
1435 enable_mfplat
1436 enable_mfplay
1437 enable_mfreadwrite
1438 enable_mgmtapi
1439 enable_midimap
1440 enable_mlang
1441 enable_mmcndmgr
1442 enable_mmdevapi
1443 enable_mountmgr_sys
1444 enable_mp3dmod
1445 enable_mpr
1446 enable_mprapi
1447 enable_msacm32_drv
1448 enable_msacm32
1449 enable_msado15
1450 enable_msadp32_acm
1451 enable_msasn1
1452 enable_mscat32
1453 enable_mscms
1454 enable_mscoree
1455 enable_mscorwks
1456 enable_msctf
1457 enable_msctfp
1458 enable_msdaps
1459 enable_msdasql
1460 enable_msdelta
1461 enable_msdmo
1462 enable_msdrm
1463 enable_msftedit
1464 enable_msg711_acm
1465 enable_msgsm32_acm
1466 enable_mshtml_tlb
1467 enable_mshtml
1468 enable_msi
1469 enable_msident
1470 enable_msimg32
1471 enable_msimsg
1472 enable_msimtf
1473 enable_msisip
1474 enable_msisys_ocx
1475 enable_msls31
1476 enable_msnet32
1477 enable_mspatcha
1478 enable_msports
1479 enable_msrle32
1480 enable_msscript_ocx
1481 enable_mssign32
1482 enable_mssip32
1483 enable_mstask
1484 enable_msv1_0
1485 enable_msvcirt
1486 enable_msvcm80
1487 enable_msvcm90
1488 enable_msvcp100
1489 enable_msvcp110
1490 enable_msvcp120
1491 enable_msvcp120_app
1492 enable_msvcp140
1493 enable_msvcp140_1
1494 enable_msvcp60
1495 enable_msvcp70
1496 enable_msvcp71
1497 enable_msvcp80
1498 enable_msvcp90
1499 enable_msvcr100
1500 enable_msvcr110
1501 enable_msvcr120
1502 enable_msvcr120_app
1503 enable_msvcr70
1504 enable_msvcr71
1505 enable_msvcr80
1506 enable_msvcr90
1507 enable_msvcrt
1508 enable_msvcrt20
1509 enable_msvcrt40
1510 enable_msvcrtd
1511 enable_msvfw32
1512 enable_msvidc32
1513 enable_mswsock
1514 enable_msxml
1515 enable_msxml2
1516 enable_msxml3
1517 enable_msxml4
1518 enable_msxml6
1519 enable_mtxdm
1520 enable_ncrypt
1521 enable_nddeapi
1522 enable_ndis_sys
1523 enable_netapi32
1524 enable_netcfgx
1525 enable_netio_sys
1526 enable_netprofm
1527 enable_netutils
1528 enable_newdev
1529 enable_ninput
1530 enable_normaliz
1531 enable_npmshtml
1532 enable_npptools
1533 enable_nsi
1534 enable_nsiproxy_sys
1535 enable_ntdll
1536 enable_ntdsapi
1537 enable_ntoskrnl_exe
1538 enable_ntprint
1539 enable_objsel
1540 enable_odbc32
1541 enable_odbcbcp
1542 enable_odbccp32
1543 enable_odbccu32
1544 enable_ole32
1545 enable_oleacc
1546 enable_oleaut32
1547 enable_olecli32
1548 enable_oledb32
1549 enable_oledlg
1550 enable_olepro32
1551 enable_olesvr32
1552 enable_olethk32
1553 enable_opcservices
1554 enable_openal32
1555 enable_opencl
1556 enable_opengl32
1557 enable_packager
1558 enable_pdh
1559 enable_photometadatahandler
1560 enable_pidgen
1561 enable_powrprof
1562 enable_printui
1563 enable_prntvpt
1564 enable_propsys
1565 enable_psapi
1566 enable_pstorec
1567 enable_pwrshplugin
1568 enable_qasf
1569 enable_qcap
1570 enable_qdvd
1571 enable_qedit
1572 enable_qmgr
1573 enable_qmgrprxy
1574 enable_quartz
1575 enable_query
1576 enable_qwave
1577 enable_rasapi32
1578 enable_rasdlg
1579 enable_regapi
1580 enable_resutils
1581 enable_riched20
1582 enable_riched32
1583 enable_rpcrt4
1584 enable_rsabase
1585 enable_rsaenh
1586 enable_rstrtmgr
1587 enable_rtutils
1588 enable_rtworkq
1589 enable_samlib
1590 enable_sane_ds
1591 enable_sapi
1592 enable_sas
1593 enable_scarddlg
1594 enable_sccbase
1595 enable_schannel
1596 enable_schedsvc
1597 enable_scrobj
1598 enable_scrrun
1599 enable_scsiport_sys
1600 enable_sechost
1601 enable_secur32
1602 enable_security
1603 enable_sensapi
1604 enable_serialui
1605 enable_setupapi
1606 enable_sfc
1607 enable_sfc_os
1608 enable_shcore
1609 enable_shdoclc
1610 enable_shdocvw
1611 enable_shell32
1612 enable_shfolder
1613 enable_shlwapi
1614 enable_slbcsp
1615 enable_slc
1616 enable_snmpapi
1617 enable_softpub
1618 enable_spoolss
1619 enable_sppc
1620 enable_srclient
1621 enable_srvcli
1622 enable_sspicli
1623 enable_stdole2_tlb
1624 enable_stdole32_tlb
1625 enable_sti
1626 enable_strmbase
1627 enable_strmdll
1628 enable_svrapi
1629 enable_sxs
1630 enable_t2embed
1631 enable_tapi32
1632 enable_taskschd
1633 enable_tbs
1634 enable_tdh
1635 enable_tdi_sys
1636 enable_traffic
1637 enable_twain_32
1638 enable_tzres
1639 enable_ucrtbase
1640 enable_uianimation
1641 enable_uiautomationcore
1642 enable_uiribbon
1643 enable_unicows
1644 enable_updspapi
1645 enable_url
1646 enable_urlmon
1647 enable_usbd_sys
1648 enable_user32
1649 enable_userenv
1650 enable_usp10
1651 enable_utildll
1652 enable_uxtheme
1653 enable_vbscript
1654 enable_vcomp
1655 enable_vcomp100
1656 enable_vcomp110
1657 enable_vcomp120
1658 enable_vcomp140
1659 enable_vcomp90
1660 enable_vcruntime140
1661 enable_vcruntime140_1
1662 enable_vdmdbg
1663 enable_version
1664 enable_vga
1665 enable_virtdisk
1666 enable_vssapi
1667 enable_vulkan_1
1668 enable_wbemdisp
1669 enable_wbemprox
1670 enable_wdscore
1671 enable_webservices
1672 enable_websocket
1673 enable_wer
1674 enable_wevtapi
1675 enable_wevtsvc
1676 enable_wiaservc
1677 enable_wimgapi
1678 enable_win32u
1679 enable_windows_devices_enumeration
1680 enable_windows_gaming_input
1681 enable_windows_globalization
1682 enable_windows_media_devices
1683 enable_windows_media_speech
1684 enable_windowscodecs
1685 enable_windowscodecsext
1686 enable_winealsa_drv
1687 enable_wineandroid_drv
1688 enable_winebus_sys
1689 enable_winecoreaudio_drv
1690 enable_winecrt0
1691 enable_wined3d
1692 enable_winegstreamer
1693 enable_winehid_sys
1694 enable_winejoystick_drv
1695 enable_winemac_drv
1696 enable_winemapi
1697 enable_wineoss_drv
1698 enable_wineps_drv
1699 enable_winepulse_drv
1700 enable_wineqtdecoder
1701 enable_wineusb_sys
1702 enable_winevulkan
1703 enable_winex11_drv
1704 enable_winexinput_sys
1705 enable_wing32
1706 enable_winhttp
1707 enable_wininet
1708 enable_winmm
1709 enable_winnls32
1710 enable_winscard
1711 enable_winspool_drv
1712 enable_winsta
1713 enable_wintab32
1714 enable_wintrust
1715 enable_winusb
1716 enable_wlanapi
1717 enable_wlanui
1718 enable_wldap32
1719 enable_wmasf
1720 enable_wmi
1721 enable_wmiutils
1722 enable_wmp
1723 enable_wmphoto
1724 enable_wmvcore
1725 enable_wnaspi32
1726 enable_wow64
1727 enable_wow64cpu
1728 enable_wow64win
1729 enable_wpc
1730 enable_wpcap
1731 enable_ws2_32
1732 enable_wsdapi
1733 enable_wshom_ocx
1734 enable_wsnmp32
1735 enable_wsock32
1736 enable_wtsapi32
1737 enable_wuapi
1738 enable_wuaueng
1739 enable_x3daudio1_0
1740 enable_x3daudio1_1
1741 enable_x3daudio1_2
1742 enable_x3daudio1_3
1743 enable_x3daudio1_4
1744 enable_x3daudio1_5
1745 enable_x3daudio1_6
1746 enable_x3daudio1_7
1747 enable_xactengine2_0
1748 enable_xactengine2_4
1749 enable_xactengine2_7
1750 enable_xactengine2_9
1751 enable_xactengine3_0
1752 enable_xactengine3_1
1753 enable_xactengine3_2
1754 enable_xactengine3_3
1755 enable_xactengine3_4
1756 enable_xactengine3_5
1757 enable_xactengine3_6
1758 enable_xactengine3_7
1759 enable_xapofx1_1
1760 enable_xapofx1_2
1761 enable_xapofx1_3
1762 enable_xapofx1_4
1763 enable_xapofx1_5
1764 enable_xaudio2_0
1765 enable_xaudio2_1
1766 enable_xaudio2_2
1767 enable_xaudio2_3
1768 enable_xaudio2_4
1769 enable_xaudio2_5
1770 enable_xaudio2_6
1771 enable_xaudio2_7
1772 enable_xaudio2_8
1773 enable_xaudio2_9
1774 enable_xinput1_1
1775 enable_xinput1_2
1776 enable_xinput1_3
1777 enable_xinput1_4
1778 enable_xinput9_1_0
1779 enable_xmllite
1780 enable_xolehlp
1781 enable_xpsprint
1782 enable_xpssvcs
1783 enable_fonts
1784 enable_include
1785 enable_adsiid
1786 enable_dmoguids
1787 enable_dxerr8
1788 enable_dxerr9
1789 enable_dxguid
1790 enable_faudio
1791 enable_gsm
1792 enable_jpeg
1793 enable_jxr
1794 enable_lcms2
1795 enable_mfuuid
1796 enable_mpg123
1797 enable_png
1798 enable_strmiids
1799 enable_tiff
1800 enable_uuid
1801 enable_wbemuuid
1802 enable_wine
1803 enable_wmcodecdspuuid
1804 enable_xml2
1805 enable_xslt
1806 enable_zlib
1807 enable_loader
1808 enable_nls
1809 enable_po
1810 enable_arp
1811 enable_aspnet_regiis
1812 enable_attrib
1813 enable_cabarc
1814 enable_cacls
1815 enable_chcp_com
1816 enable_clock
1817 enable_cmd
1818 enable_conhost
1819 enable_control
1820 enable_cscript
1821 enable_dism
1822 enable_dplaysvr
1823 enable_dpnsvr
1824 enable_dpvsetup
1825 enable_dxdiag
1826 enable_eject
1827 enable_expand
1828 enable_explorer
1829 enable_extrac32
1830 enable_fc
1831 enable_find
1832 enable_findstr
1833 enable_fsutil
1834 enable_hh
1835 enable_hostname
1836 enable_icacls
1837 enable_icinfo
1838 enable_iexplore
1839 enable_ipconfig
1840 enable_lodctr
1841 enable_mofcomp
1842 enable_mshta
1843 enable_msidb
1844 enable_msiexec
1845 enable_msinfo32
1846 enable_net
1847 enable_netsh
1848 enable_netstat
1849 enable_ngen
1850 enable_notepad
1851 enable_oleview
1852 enable_ping
1853 enable_plugplay
1854 enable_powershell
1855 enable_presentationfontcache
1856 enable_progman
1857 enable_reg
1858 enable_regasm
1859 enable_regedit
1860 enable_regini
1861 enable_regsvcs
1862 enable_regsvr32
1863 enable_robocopy
1864 enable_rpcss
1865 enable_rundll32
1866 enable_sc
1867 enable_schtasks
1868 enable_sdbinst
1869 enable_secedit
1870 enable_servicemodelreg
1871 enable_services
1872 enable_shutdown
1873 enable_spoolsv
1874 enable_start
1875 enable_subst
1876 enable_svchost
1877 enable_systeminfo
1878 enable_taskkill
1879 enable_tasklist
1880 enable_taskmgr
1881 enable_termsv
1882 enable_uninstaller
1883 enable_unlodctr
1884 enable_view
1885 enable_wevtutil
1886 enable_where
1887 enable_whoami
1888 enable_wineboot
1889 enable_winebrowser
1890 enable_winecfg
1891 enable_wineconsole
1892 enable_winedbg
1893 enable_winedevice
1894 enable_winefile
1895 enable_winemenubuilder
1896 enable_winemine
1897 enable_winemsibuilder
1898 enable_winepath
1899 enable_winetest
1900 enable_winhlp32
1901 enable_winmgmt
1902 enable_winver
1903 enable_wmic
1904 enable_wmplayer
1905 enable_wordpad
1906 enable_write
1907 enable_wscript
1908 enable_wuauserv
1909 enable_wusa
1910 enable_xcopy
1911 enable_server
1912 enable_tools
1913 enable_sfnt2fon
1914 enable_widl
1915 enable_winebuild
1916 enable_winedump
1917 enable_winegcc
1918 enable_winemaker
1919 enable_wmc
1920 enable_wrc
1922 ac_precious_vars='build_alias
1923 host_alias
1924 target_alias
1926 CFLAGS
1927 LDFLAGS
1928 LIBS
1929 CPPFLAGS
1931 CXXFLAGS
1934 OBJC
1935 OBJCFLAGS
1936 OBJCPP
1937 FAUDIO_PE_CFLAGS
1938 FAUDIO_PE_LIBS
1939 GSM_PE_CFLAGS
1940 GSM_PE_LIBS
1941 JPEG_PE_CFLAGS
1942 JPEG_PE_LIBS
1943 JXR_PE_CFLAGS
1944 JXR_PE_LIBS
1945 LCMS2_PE_CFLAGS
1946 LCMS2_PE_LIBS
1947 MPG123_PE_CFLAGS
1948 MPG123_PE_LIBS
1949 PNG_PE_CFLAGS
1950 PNG_PE_LIBS
1951 TIFF_PE_CFLAGS
1952 TIFF_PE_LIBS
1953 XML2_PE_CFLAGS
1954 XML2_PE_LIBS
1955 XSLT_PE_CFLAGS
1956 XSLT_PE_LIBS
1957 ZLIB_PE_CFLAGS
1958 ZLIB_PE_LIBS
1959 XMKMF
1960 INOTIFY_CFLAGS
1961 INOTIFY_LIBS
1962 DBUS_CFLAGS
1963 DBUS_LIBS
1964 HAL_CFLAGS
1965 HAL_LIBS
1966 GNUTLS_CFLAGS
1967 GNUTLS_LIBS
1968 SANE_CFLAGS
1969 SANE_LIBS
1970 USB_CFLAGS
1971 USB_LIBS
1972 GPHOTO2_CFLAGS
1973 GPHOTO2_LIBS
1974 GPHOTO2_PORT_CFLAGS
1975 GPHOTO2_PORT_LIBS
1976 FREETYPE_CFLAGS
1977 FREETYPE_LIBS
1978 PULSE_CFLAGS
1979 PULSE_LIBS
1980 GSTREAMER_CFLAGS
1981 GSTREAMER_LIBS
1982 UDEV_CFLAGS
1983 UDEV_LIBS
1984 UNWIND_CFLAGS
1985 UNWIND_LIBS
1986 SDL2_CFLAGS
1987 SDL2_LIBS
1988 CAPI20_CFLAGS
1989 CAPI20_LIBS
1990 CUPS_CFLAGS
1991 CUPS_LIBS
1992 FONTCONFIG_CFLAGS
1993 FONTCONFIG_LIBS
1994 KRB5_CFLAGS
1995 KRB5_LIBS
1996 GSSAPI_CFLAGS
1997 GSSAPI_LIBS
1998 NETAPI_CFLAGS
1999 NETAPI_LIBS
2000 VKD3D_CFLAGS
2001 VKD3D_LIBS
2002 VKD3D_SHADER_CFLAGS
2003 VKD3D_SHADER_LIBS
2004 LDAP_CFLAGS
2005 LDAP_LIBS'
2008 # Initialize some variables set by options.
2009 ac_init_help=
2010 ac_init_version=false
2011 ac_unrecognized_opts=
2012 ac_unrecognized_sep=
2013 # The variables have the same names as the options, with
2014 # dashes changed to underlines.
2015 cache_file=/dev/null
2016 exec_prefix=NONE
2017 no_create=
2018 no_recursion=
2019 prefix=NONE
2020 program_prefix=NONE
2021 program_suffix=NONE
2022 program_transform_name=s,x,x,
2023 silent=
2024 site=
2025 srcdir=
2026 verbose=
2027 x_includes=NONE
2028 x_libraries=NONE
2030 # Installation directory options.
2031 # These are left unexpanded so users can "make install exec_prefix=/foo"
2032 # and all the variables that are supposed to be based on exec_prefix
2033 # by default will actually change.
2034 # Use braces instead of parens because sh, perl, etc. also accept them.
2035 # (The list follows the same order as the GNU Coding Standards.)
2036 bindir='${exec_prefix}/bin'
2037 sbindir='${exec_prefix}/sbin'
2038 libexecdir='${exec_prefix}/libexec'
2039 datarootdir='${prefix}/share'
2040 datadir='${datarootdir}'
2041 sysconfdir='${prefix}/etc'
2042 sharedstatedir='${prefix}/com'
2043 localstatedir='${prefix}/var'
2044 runstatedir='${localstatedir}/run'
2045 includedir='${prefix}/include'
2046 oldincludedir='/usr/include'
2047 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2048 infodir='${datarootdir}/info'
2049 htmldir='${docdir}'
2050 dvidir='${docdir}'
2051 pdfdir='${docdir}'
2052 psdir='${docdir}'
2053 libdir='${exec_prefix}/lib'
2054 localedir='${datarootdir}/locale'
2055 mandir='${datarootdir}/man'
2057 ac_prev=
2058 ac_dashdash=
2059 for ac_option
2061 # If the previous option needs an argument, assign it.
2062 if test -n "$ac_prev"; then
2063 eval $ac_prev=\$ac_option
2064 ac_prev=
2065 continue
2068 case $ac_option in
2069 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2070 *=) ac_optarg= ;;
2071 *) ac_optarg=yes ;;
2072 esac
2074 # Accept the important Cygnus configure options, so we can diagnose typos.
2076 case $ac_dashdash$ac_option in
2078 ac_dashdash=yes ;;
2080 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2081 ac_prev=bindir ;;
2082 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2083 bindir=$ac_optarg ;;
2085 -build | --build | --buil | --bui | --bu)
2086 ac_prev=build_alias ;;
2087 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2088 build_alias=$ac_optarg ;;
2090 -cache-file | --cache-file | --cache-fil | --cache-fi \
2091 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2092 ac_prev=cache_file ;;
2093 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2094 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2095 cache_file=$ac_optarg ;;
2097 --config-cache | -C)
2098 cache_file=config.cache ;;
2100 -datadir | --datadir | --datadi | --datad)
2101 ac_prev=datadir ;;
2102 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2103 datadir=$ac_optarg ;;
2105 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2106 | --dataroo | --dataro | --datar)
2107 ac_prev=datarootdir ;;
2108 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2109 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2110 datarootdir=$ac_optarg ;;
2112 -disable-* | --disable-*)
2113 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2114 # Reject names that are not valid shell variable names.
2115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2116 as_fn_error $? "invalid feature name: $ac_useropt"
2117 ac_useropt_orig=$ac_useropt
2118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2119 case $ac_user_opts in
2121 "enable_$ac_useropt"
2122 "*) ;;
2123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2124 ac_unrecognized_sep=', ';;
2125 esac
2126 eval enable_$ac_useropt=no ;;
2128 -docdir | --docdir | --docdi | --doc | --do)
2129 ac_prev=docdir ;;
2130 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2131 docdir=$ac_optarg ;;
2133 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2134 ac_prev=dvidir ;;
2135 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2136 dvidir=$ac_optarg ;;
2138 -enable-* | --enable-*)
2139 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2140 # Reject names that are not valid shell variable names.
2141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2142 as_fn_error $? "invalid feature name: $ac_useropt"
2143 ac_useropt_orig=$ac_useropt
2144 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2145 case $ac_user_opts in
2147 "enable_$ac_useropt"
2148 "*) ;;
2149 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2150 ac_unrecognized_sep=', ';;
2151 esac
2152 eval enable_$ac_useropt=\$ac_optarg ;;
2154 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2155 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2156 | --exec | --exe | --ex)
2157 ac_prev=exec_prefix ;;
2158 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2159 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2160 | --exec=* | --exe=* | --ex=*)
2161 exec_prefix=$ac_optarg ;;
2163 -gas | --gas | --ga | --g)
2164 # Obsolete; use --with-gas.
2165 with_gas=yes ;;
2167 -help | --help | --hel | --he | -h)
2168 ac_init_help=long ;;
2169 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2170 ac_init_help=recursive ;;
2171 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2172 ac_init_help=short ;;
2174 -host | --host | --hos | --ho)
2175 ac_prev=host_alias ;;
2176 -host=* | --host=* | --hos=* | --ho=*)
2177 host_alias=$ac_optarg ;;
2179 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2180 ac_prev=htmldir ;;
2181 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2182 | --ht=*)
2183 htmldir=$ac_optarg ;;
2185 -includedir | --includedir | --includedi | --included | --include \
2186 | --includ | --inclu | --incl | --inc)
2187 ac_prev=includedir ;;
2188 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2189 | --includ=* | --inclu=* | --incl=* | --inc=*)
2190 includedir=$ac_optarg ;;
2192 -infodir | --infodir | --infodi | --infod | --info | --inf)
2193 ac_prev=infodir ;;
2194 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2195 infodir=$ac_optarg ;;
2197 -libdir | --libdir | --libdi | --libd)
2198 ac_prev=libdir ;;
2199 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2200 libdir=$ac_optarg ;;
2202 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2203 | --libexe | --libex | --libe)
2204 ac_prev=libexecdir ;;
2205 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2206 | --libexe=* | --libex=* | --libe=*)
2207 libexecdir=$ac_optarg ;;
2209 -localedir | --localedir | --localedi | --localed | --locale)
2210 ac_prev=localedir ;;
2211 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2212 localedir=$ac_optarg ;;
2214 -localstatedir | --localstatedir | --localstatedi | --localstated \
2215 | --localstate | --localstat | --localsta | --localst | --locals)
2216 ac_prev=localstatedir ;;
2217 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2218 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2219 localstatedir=$ac_optarg ;;
2221 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2222 ac_prev=mandir ;;
2223 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2224 mandir=$ac_optarg ;;
2226 -nfp | --nfp | --nf)
2227 # Obsolete; use --without-fp.
2228 with_fp=no ;;
2230 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2231 | --no-cr | --no-c | -n)
2232 no_create=yes ;;
2234 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2235 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2236 no_recursion=yes ;;
2238 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2239 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2240 | --oldin | --oldi | --old | --ol | --o)
2241 ac_prev=oldincludedir ;;
2242 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2243 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2244 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2245 oldincludedir=$ac_optarg ;;
2247 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2248 ac_prev=prefix ;;
2249 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2250 prefix=$ac_optarg ;;
2252 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2253 | --program-pre | --program-pr | --program-p)
2254 ac_prev=program_prefix ;;
2255 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2256 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2257 program_prefix=$ac_optarg ;;
2259 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2260 | --program-suf | --program-su | --program-s)
2261 ac_prev=program_suffix ;;
2262 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2263 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2264 program_suffix=$ac_optarg ;;
2266 -program-transform-name | --program-transform-name \
2267 | --program-transform-nam | --program-transform-na \
2268 | --program-transform-n | --program-transform- \
2269 | --program-transform | --program-transfor \
2270 | --program-transfo | --program-transf \
2271 | --program-trans | --program-tran \
2272 | --progr-tra | --program-tr | --program-t)
2273 ac_prev=program_transform_name ;;
2274 -program-transform-name=* | --program-transform-name=* \
2275 | --program-transform-nam=* | --program-transform-na=* \
2276 | --program-transform-n=* | --program-transform-=* \
2277 | --program-transform=* | --program-transfor=* \
2278 | --program-transfo=* | --program-transf=* \
2279 | --program-trans=* | --program-tran=* \
2280 | --progr-tra=* | --program-tr=* | --program-t=*)
2281 program_transform_name=$ac_optarg ;;
2283 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2284 ac_prev=pdfdir ;;
2285 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2286 pdfdir=$ac_optarg ;;
2288 -psdir | --psdir | --psdi | --psd | --ps)
2289 ac_prev=psdir ;;
2290 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2291 psdir=$ac_optarg ;;
2293 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2294 | -silent | --silent | --silen | --sile | --sil)
2295 silent=yes ;;
2297 -runstatedir | --runstatedir | --runstatedi | --runstated \
2298 | --runstate | --runstat | --runsta | --runst | --runs \
2299 | --run | --ru | --r)
2300 ac_prev=runstatedir ;;
2301 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2302 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2303 | --run=* | --ru=* | --r=*)
2304 runstatedir=$ac_optarg ;;
2306 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2307 ac_prev=sbindir ;;
2308 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2309 | --sbi=* | --sb=*)
2310 sbindir=$ac_optarg ;;
2312 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2313 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2314 | --sharedst | --shareds | --shared | --share | --shar \
2315 | --sha | --sh)
2316 ac_prev=sharedstatedir ;;
2317 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2318 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2319 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2320 | --sha=* | --sh=*)
2321 sharedstatedir=$ac_optarg ;;
2323 -site | --site | --sit)
2324 ac_prev=site ;;
2325 -site=* | --site=* | --sit=*)
2326 site=$ac_optarg ;;
2328 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2329 ac_prev=srcdir ;;
2330 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2331 srcdir=$ac_optarg ;;
2333 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2334 | --syscon | --sysco | --sysc | --sys | --sy)
2335 ac_prev=sysconfdir ;;
2336 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2337 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2338 sysconfdir=$ac_optarg ;;
2340 -target | --target | --targe | --targ | --tar | --ta | --t)
2341 ac_prev=target_alias ;;
2342 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2343 target_alias=$ac_optarg ;;
2345 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2346 verbose=yes ;;
2348 -version | --version | --versio | --versi | --vers | -V)
2349 ac_init_version=: ;;
2351 -with-* | --with-*)
2352 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2353 # Reject names that are not valid shell variable names.
2354 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2355 as_fn_error $? "invalid package name: $ac_useropt"
2356 ac_useropt_orig=$ac_useropt
2357 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2358 case $ac_user_opts in
2360 "with_$ac_useropt"
2361 "*) ;;
2362 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2363 ac_unrecognized_sep=', ';;
2364 esac
2365 eval with_$ac_useropt=\$ac_optarg ;;
2367 -without-* | --without-*)
2368 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2369 # Reject names that are not valid shell variable names.
2370 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2371 as_fn_error $? "invalid package name: $ac_useropt"
2372 ac_useropt_orig=$ac_useropt
2373 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2374 case $ac_user_opts in
2376 "with_$ac_useropt"
2377 "*) ;;
2378 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2379 ac_unrecognized_sep=', ';;
2380 esac
2381 eval with_$ac_useropt=no ;;
2383 --x)
2384 # Obsolete; use --with-x.
2385 with_x=yes ;;
2387 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2388 | --x-incl | --x-inc | --x-in | --x-i)
2389 ac_prev=x_includes ;;
2390 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2391 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2392 x_includes=$ac_optarg ;;
2394 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2395 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2396 ac_prev=x_libraries ;;
2397 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2398 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2399 x_libraries=$ac_optarg ;;
2401 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2402 Try \`$0 --help' for more information"
2405 *=*)
2406 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2407 # Reject names that are not valid shell variable names.
2408 case $ac_envvar in #(
2409 '' | [0-9]* | *[!_$as_cr_alnum]* )
2410 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2411 esac
2412 eval $ac_envvar=\$ac_optarg
2413 export $ac_envvar ;;
2416 # FIXME: should be removed in autoconf 3.0.
2417 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2418 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2419 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2420 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2423 esac
2424 done
2426 if test -n "$ac_prev"; then
2427 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2428 as_fn_error $? "missing argument to $ac_option"
2431 if test -n "$ac_unrecognized_opts"; then
2432 case $enable_option_checking in
2433 no) ;;
2434 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2435 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2436 esac
2439 # Check all directory arguments for consistency.
2440 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2441 datadir sysconfdir sharedstatedir localstatedir includedir \
2442 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2443 libdir localedir mandir runstatedir
2445 eval ac_val=\$$ac_var
2446 # Remove trailing slashes.
2447 case $ac_val in
2448 */ )
2449 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2450 eval $ac_var=\$ac_val;;
2451 esac
2452 # Be sure to have absolute directory names.
2453 case $ac_val in
2454 [\\/$]* | ?:[\\/]* ) continue;;
2455 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2456 esac
2457 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2458 done
2460 # There might be people who depend on the old broken behavior: `$host'
2461 # used to hold the argument of --host etc.
2462 # FIXME: To remove some day.
2463 build=$build_alias
2464 host=$host_alias
2465 target=$target_alias
2467 # FIXME: To remove some day.
2468 if test "x$host_alias" != x; then
2469 if test "x$build_alias" = x; then
2470 cross_compiling=maybe
2471 elif test "x$build_alias" != "x$host_alias"; then
2472 cross_compiling=yes
2476 ac_tool_prefix=
2477 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2479 test "$silent" = yes && exec 6>/dev/null
2482 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2483 ac_ls_di=`ls -di .` &&
2484 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2485 as_fn_error $? "working directory cannot be determined"
2486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2487 as_fn_error $? "pwd does not report name of working directory"
2490 # Find the source files, if location was not specified.
2491 if test -z "$srcdir"; then
2492 ac_srcdir_defaulted=yes
2493 # Try the directory containing this script, then the parent directory.
2494 ac_confdir=`$as_dirname -- "$as_myself" ||
2495 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2496 X"$as_myself" : 'X\(//\)[^/]' \| \
2497 X"$as_myself" : 'X\(//\)$' \| \
2498 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2499 $as_echo X"$as_myself" |
2500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2501 s//\1/
2504 /^X\(\/\/\)[^/].*/{
2505 s//\1/
2508 /^X\(\/\/\)$/{
2509 s//\1/
2512 /^X\(\/\).*/{
2513 s//\1/
2516 s/.*/./; q'`
2517 srcdir=$ac_confdir
2518 if test ! -r "$srcdir/$ac_unique_file"; then
2519 srcdir=..
2521 else
2522 ac_srcdir_defaulted=no
2524 if test ! -r "$srcdir/$ac_unique_file"; then
2525 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2526 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2528 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2529 ac_abs_confdir=`(
2530 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2531 pwd)`
2532 # When building in place, set srcdir=.
2533 if test "$ac_abs_confdir" = "$ac_pwd"; then
2534 srcdir=.
2536 # Remove unnecessary trailing slashes from srcdir.
2537 # Double slashes in file names in object file debugging info
2538 # mess up M-x gdb in Emacs.
2539 case $srcdir in
2540 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2541 esac
2542 for ac_var in $ac_precious_vars; do
2543 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2544 eval ac_env_${ac_var}_value=\$${ac_var}
2545 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2546 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2547 done
2550 # Report the --help message.
2552 if test "$ac_init_help" = "long"; then
2553 # Omit some internal or obsolete options to make the list less imposing.
2554 # This message is too long to be a string in the A/UX 3.1 sh.
2555 cat <<_ACEOF
2556 \`configure' configures Wine 6.21 to adapt to many kinds of systems.
2558 Usage: $0 [OPTION]... [VAR=VALUE]...
2560 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2561 VAR=VALUE. See below for descriptions of some of the useful variables.
2563 Defaults for the options are specified in brackets.
2565 Configuration:
2566 -h, --help display this help and exit
2567 --help=short display options specific to this package
2568 --help=recursive display the short help of all the included packages
2569 -V, --version display version information and exit
2570 -q, --quiet, --silent do not print \`checking ...' messages
2571 --cache-file=FILE cache test results in FILE [disabled]
2572 -C, --config-cache alias for \`--cache-file=config.cache'
2573 -n, --no-create do not create output files
2574 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2576 Installation directories:
2577 --prefix=PREFIX install architecture-independent files in PREFIX
2578 [$ac_default_prefix]
2579 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2580 [PREFIX]
2582 By default, \`make install' will install all the files in
2583 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2584 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2585 for instance \`--prefix=\$HOME'.
2587 For better control, use the options below.
2589 Fine tuning of the installation directories:
2590 --bindir=DIR user executables [EPREFIX/bin]
2591 --sbindir=DIR system admin executables [EPREFIX/sbin]
2592 --libexecdir=DIR program executables [EPREFIX/libexec]
2593 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2594 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2595 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2596 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2597 --libdir=DIR object code libraries [EPREFIX/lib]
2598 --includedir=DIR C header files [PREFIX/include]
2599 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2600 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2601 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2602 --infodir=DIR info documentation [DATAROOTDIR/info]
2603 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2604 --mandir=DIR man documentation [DATAROOTDIR/man]
2605 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2606 --htmldir=DIR html documentation [DOCDIR]
2607 --dvidir=DIR dvi documentation [DOCDIR]
2608 --pdfdir=DIR pdf documentation [DOCDIR]
2609 --psdir=DIR ps documentation [DOCDIR]
2610 _ACEOF
2612 cat <<\_ACEOF
2614 X features:
2615 --x-includes=DIR X include files are in DIR
2616 --x-libraries=DIR X library files are in DIR
2618 System types:
2619 --build=BUILD configure for building on BUILD [guessed]
2620 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2621 _ACEOF
2624 if test -n "$ac_init_help"; then
2625 case $ac_init_help in
2626 short | recursive ) echo "Configuration of Wine 6.21:";;
2627 esac
2628 cat <<\_ACEOF
2630 Optional Features:
2631 --disable-option-checking ignore unrecognized --enable/--with options
2632 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2633 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2634 --disable-win16 do not include Win16 support
2635 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2636 binaries)
2637 --disable-tests do not build the regression tests
2638 --enable-build-id include .buildid section in output objects
2639 --enable-maintainer-mode
2640 enable maintainer-specific build rules
2641 --enable-silent-rules use silent build rules (override: "make V=1")
2642 --enable-werror treat compilation warnings as errors
2643 --disable-largefile omit support for large files
2645 Optional Packages:
2646 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2647 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2648 --without-alsa do not use the Alsa sound support
2649 --without-capi do not use CAPI (ISDN support)
2650 --without-coreaudio do not use the CoreAudio sound support
2651 --without-cups do not use CUPS
2652 --without-dbus do not use DBus (dynamic device support)
2653 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2654 --without-fontconfig do not use fontconfig
2655 --without-freetype do not use the FreeType library
2656 --without-gettext do not use gettext
2657 --with-gettextpo use the GetTextPO library to rebuild po files
2658 --without-gphoto do not use gphoto (Digital Camera support)
2659 --without-gnutls do not use GnuTLS (schannel support)
2660 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2661 --without-gstreamer do not use GStreamer (codecs support)
2662 --without-hal do not use HAL (dynamic device support)
2663 --without-inotify do not use inotify (filesystem change notifications)
2664 --without-krb5 do not use krb5 (Kerberos)
2665 --without-ldap do not use LDAP
2666 --without-mingw do not use the MinGW cross-compiler
2667 --without-netapi do not use the Samba NetAPI library
2668 --without-openal do not use OpenAL
2669 --without-opencl do not use OpenCL
2670 --without-opengl do not use OpenGL
2671 --without-osmesa do not use the OSMesa library
2672 --without-oss do not use the OSS sound support
2673 --without-pcap do not use the Packet Capture library
2674 --without-pthread do not use the pthread library
2675 --without-pulse do not use PulseAudio sound support
2676 --without-quicktime do not use QuickTime support
2677 --without-sane do not use SANE (scanner support)
2678 --without-sdl do not use SDL
2679 --without-udev do not use udev (plug and play support)
2680 --without-unwind do not use the libunwind library (exception
2681 handling)
2682 --without-usb do not use the libusb library
2683 --without-v4l2 do not use v4l2 (video capture)
2684 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2685 --without-vulkan do not use Vulkan
2686 --without-xcomposite do not use the Xcomposite extension
2687 --without-xcursor do not use the Xcursor extension
2688 --without-xfixes do not use Xfixes for clipboard change notifications
2689 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2690 --without-xinput do not use the Xinput extension
2691 --without-xinput2 do not use the Xinput 2 extension
2692 --without-xrandr do not use Xrandr (multi-monitor support)
2693 --without-xrender do not use the Xrender extension
2694 --without-xshape do not use the Xshape extension
2695 --without-xshm do not use XShm (shared memory extension)
2696 --without-xxf86vm do not use XFree video mode extension
2697 --with-wine-tools=DIR use Wine tools from directory DIR
2698 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2699 --with-x use the X Window System
2701 Some influential environment variables:
2702 CC C compiler command
2703 CFLAGS C compiler flags
2704 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2705 nonstandard directory <lib dir>
2706 LIBS libraries to pass to the linker, e.g. -l<library>
2707 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2708 you have headers in a nonstandard directory <include dir>
2709 CXX C++ compiler command
2710 CXXFLAGS C++ compiler flags
2711 CPP C preprocessor
2712 OBJC Objective C compiler command
2713 OBJCFLAGS Objective C compiler flags
2714 OBJCPP Objective C preprocessor
2715 FAUDIO_PE_CFLAGS
2716 C compiler flags for the PE faudio, overriding the bundled
2717 version
2718 FAUDIO_PE_LIBS
2719 Linker flags for the PE faudio, overriding the bundled version
2720 GSM_PE_CFLAGS
2721 C compiler flags for the PE gsm, overriding the bundled version
2722 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2723 JPEG_PE_CFLAGS
2724 C compiler flags for the PE jpeg, overriding the bundled version
2725 JPEG_PE_LIBS
2726 Linker flags for the PE jpeg, overriding the bundled version
2727 JXR_PE_CFLAGS
2728 C compiler flags for the PE jxr, overriding the bundled version
2729 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2730 LCMS2_PE_CFLAGS
2731 C compiler flags for the PE lcms2, overriding the bundled
2732 version
2733 LCMS2_PE_LIBS
2734 Linker flags for the PE lcms2, overriding the bundled version
2735 MPG123_PE_CFLAGS
2736 C compiler flags for the PE mpg123, overriding the bundled
2737 version
2738 MPG123_PE_LIBS
2739 Linker flags for the PE mpg123, overriding the bundled version
2740 PNG_PE_CFLAGS
2741 C compiler flags for the PE png, overriding the bundled version
2742 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2743 TIFF_PE_CFLAGS
2744 C compiler flags for the PE tiff, overriding the bundled version
2745 TIFF_PE_LIBS
2746 Linker flags for the PE tiff, overriding the bundled version
2747 XML2_PE_CFLAGS
2748 C compiler flags for the PE libxml2, overriding the bundled
2749 version
2750 XML2_PE_LIBS
2751 Linker flags for the PE libxml2, overriding the bundled version
2752 XSLT_PE_CFLAGS
2753 C compiler flags for the PE libxslt, overriding the bundled
2754 version
2755 XSLT_PE_LIBS
2756 Linker flags for the PE libxslt, overriding the bundled version
2757 ZLIB_PE_CFLAGS
2758 C compiler flags for the PE zlib, overriding the bundled version
2759 ZLIB_PE_LIBS
2760 Linker flags for the PE zlib, overriding the bundled version
2761 XMKMF Path to xmkmf, Makefile generator for X Window System
2762 INOTIFY_CFLAGS
2763 C compiler flags for libinotify, overriding pkg-config
2764 INOTIFY_LIBS
2765 Linker flags for libinotify, overriding pkg-config
2766 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2767 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2768 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2769 HAL_LIBS Linker flags for hal, overriding pkg-config
2770 GNUTLS_CFLAGS
2771 C compiler flags for gnutls, overriding pkg-config
2772 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2773 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2774 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2775 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2776 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2777 GPHOTO2_CFLAGS
2778 C compiler flags for libgphoto2, overriding pkg-config
2779 GPHOTO2_LIBS
2780 Linker flags for libgphoto2, overriding pkg-config
2781 GPHOTO2_PORT_CFLAGS
2782 C compiler flags for libgphoto2_port, overriding pkg-config
2783 GPHOTO2_PORT_LIBS
2784 Linker flags for libgphoto2_port, overriding pkg-config
2785 FREETYPE_CFLAGS
2786 C compiler flags for freetype2, overriding pkg-config
2787 FREETYPE_LIBS
2788 Linker flags for freetype2, overriding pkg-config
2789 PULSE_CFLAGS
2790 C compiler flags for libpulse, overriding pkg-config
2791 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2792 GSTREAMER_CFLAGS
2793 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2794 gstreamer-audio-1.0, overriding pkg-config
2795 GSTREAMER_LIBS
2796 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2797 gstreamer-audio-1.0, overriding pkg-config
2798 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2799 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2800 UNWIND_CFLAGS
2801 C compiler flags for libunwind, overriding pkg-config
2802 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2803 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2804 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2805 CAPI20_CFLAGS
2806 C compiler flags for capi20, overriding pkg-config
2807 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2808 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2809 CUPS_LIBS Linker flags for cups, overriding pkg-config
2810 FONTCONFIG_CFLAGS
2811 C compiler flags for fontconfig, overriding pkg-config
2812 FONTCONFIG_LIBS
2813 Linker flags for fontconfig, overriding pkg-config
2814 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2815 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2816 GSSAPI_CFLAGS
2817 C compiler flags for krb5-gssapi, overriding pkg-config
2818 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2819 NETAPI_CFLAGS
2820 C compiler flags for netapi, overriding pkg-config
2821 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2822 VKD3D_CFLAGS
2823 C compiler flags for libvkd3d, overriding pkg-config
2824 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2825 VKD3D_SHADER_CFLAGS
2826 C compiler flags for libvkd3d-shader, overriding pkg-config
2827 VKD3D_SHADER_LIBS
2828 Linker flags for libvkd3d-shader, overriding pkg-config
2829 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2830 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2832 Use these variables to override the choices made by `configure' or to help
2833 it to find libraries and programs with nonstandard names/locations.
2835 Report bugs to <wine-devel@winehq.org>.
2836 Wine home page: <https://www.winehq.org>.
2837 _ACEOF
2838 ac_status=$?
2841 if test "$ac_init_help" = "recursive"; then
2842 # If there are subdirs, report their specific --help.
2843 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2844 test -d "$ac_dir" ||
2845 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2846 continue
2847 ac_builddir=.
2849 case "$ac_dir" in
2850 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2852 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2853 # A ".." for each directory in $ac_dir_suffix.
2854 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2855 case $ac_top_builddir_sub in
2856 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2857 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2858 esac ;;
2859 esac
2860 ac_abs_top_builddir=$ac_pwd
2861 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2862 # for backward compatibility:
2863 ac_top_builddir=$ac_top_build_prefix
2865 case $srcdir in
2866 .) # We are building in place.
2867 ac_srcdir=.
2868 ac_top_srcdir=$ac_top_builddir_sub
2869 ac_abs_top_srcdir=$ac_pwd ;;
2870 [\\/]* | ?:[\\/]* ) # Absolute name.
2871 ac_srcdir=$srcdir$ac_dir_suffix;
2872 ac_top_srcdir=$srcdir
2873 ac_abs_top_srcdir=$srcdir ;;
2874 *) # Relative name.
2875 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2876 ac_top_srcdir=$ac_top_build_prefix$srcdir
2877 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2878 esac
2879 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2881 cd "$ac_dir" || { ac_status=$?; continue; }
2882 # Check for guested configure.
2883 if test -f "$ac_srcdir/configure.gnu"; then
2884 echo &&
2885 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2886 elif test -f "$ac_srcdir/configure"; then
2887 echo &&
2888 $SHELL "$ac_srcdir/configure" --help=recursive
2889 else
2890 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2891 fi || ac_status=$?
2892 cd "$ac_pwd" || { ac_status=$?; break; }
2893 done
2896 test -n "$ac_init_help" && exit $ac_status
2897 if $ac_init_version; then
2898 cat <<\_ACEOF
2899 Wine configure 6.21
2900 generated by GNU Autoconf 2.69
2902 Copyright (C) 2012 Free Software Foundation, Inc.
2903 This configure script is free software; the Free Software Foundation
2904 gives unlimited permission to copy, distribute and modify it.
2905 _ACEOF
2906 exit
2909 ## ------------------------ ##
2910 ## Autoconf initialization. ##
2911 ## ------------------------ ##
2913 # ac_fn_c_try_compile LINENO
2914 # --------------------------
2915 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2916 ac_fn_c_try_compile ()
2918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2919 rm -f conftest.$ac_objext
2920 if { { ac_try="$ac_compile"
2921 case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2924 esac
2925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926 $as_echo "$ac_try_echo"; } >&5
2927 (eval "$ac_compile") 2>conftest.err
2928 ac_status=$?
2929 if test -s conftest.err; then
2930 grep -v '^ *+' conftest.err >conftest.er1
2931 cat conftest.er1 >&5
2932 mv -f conftest.er1 conftest.err
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; } && {
2936 test -z "$ac_c_werror_flag" ||
2937 test ! -s conftest.err
2938 } && test -s conftest.$ac_objext; then :
2939 ac_retval=0
2940 else
2941 $as_echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 ac_retval=1
2946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2947 as_fn_set_status $ac_retval
2949 } # ac_fn_c_try_compile
2951 # ac_fn_cxx_try_compile LINENO
2952 # ----------------------------
2953 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2954 ac_fn_cxx_try_compile ()
2956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2957 rm -f conftest.$ac_objext
2958 if { { ac_try="$ac_compile"
2959 case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2962 esac
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 $as_echo "$ac_try_echo"; } >&5
2965 (eval "$ac_compile") 2>conftest.err
2966 ac_status=$?
2967 if test -s conftest.err; then
2968 grep -v '^ *+' conftest.err >conftest.er1
2969 cat conftest.er1 >&5
2970 mv -f conftest.er1 conftest.err
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; } && {
2974 test -z "$ac_cxx_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest.$ac_objext; then :
2977 ac_retval=0
2978 else
2979 $as_echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_retval=1
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 as_fn_set_status $ac_retval
2987 } # ac_fn_cxx_try_compile
2989 # ac_fn_c_try_link LINENO
2990 # -----------------------
2991 # Try to link conftest.$ac_ext, and return whether this succeeded.
2992 ac_fn_c_try_link ()
2994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2995 rm -f conftest.$ac_objext conftest$ac_exeext
2996 if { { ac_try="$ac_link"
2997 case "(($ac_try" in
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3000 esac
3001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3002 $as_echo "$ac_try_echo"; } >&5
3003 (eval "$ac_link") 2>conftest.err
3004 ac_status=$?
3005 if test -s conftest.err; then
3006 grep -v '^ *+' conftest.err >conftest.er1
3007 cat conftest.er1 >&5
3008 mv -f conftest.er1 conftest.err
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; } && {
3012 test -z "$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3014 } && test -s conftest$ac_exeext && {
3015 test "$cross_compiling" = yes ||
3016 test -x conftest$ac_exeext
3017 }; then :
3018 ac_retval=0
3019 else
3020 $as_echo "$as_me: failed program was:" >&5
3021 sed 's/^/| /' conftest.$ac_ext >&5
3023 ac_retval=1
3025 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3026 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3027 # interfere with the next link command; also delete a directory that is
3028 # left behind by Apple's compiler. We do this before executing the actions.
3029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 as_fn_set_status $ac_retval
3033 } # ac_fn_c_try_link
3035 # ac_fn_c_try_cpp LINENO
3036 # ----------------------
3037 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3038 ac_fn_c_try_cpp ()
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 if { { ac_try="$ac_cpp conftest.$ac_ext"
3042 case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3049 ac_status=$?
3050 if test -s conftest.err; then
3051 grep -v '^ *+' conftest.err >conftest.er1
3052 cat conftest.er1 >&5
3053 mv -f conftest.er1 conftest.err
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; } > conftest.i && {
3057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3058 test ! -s conftest.err
3059 }; then :
3060 ac_retval=0
3061 else
3062 $as_echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3065 ac_retval=1
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3068 as_fn_set_status $ac_retval
3070 } # ac_fn_c_try_cpp
3072 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3073 # -------------------------------------------------------
3074 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3075 # the include files in INCLUDES and setting the cache variable VAR
3076 # accordingly.
3077 ac_fn_c_check_header_mongrel ()
3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 if eval \${$3+:} false; then :
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3082 $as_echo_n "checking for $2... " >&6; }
3083 if eval \${$3+:} false; then :
3084 $as_echo_n "(cached) " >&6
3086 eval ac_res=\$$3
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3088 $as_echo "$ac_res" >&6; }
3089 else
3090 # Is the header compilable?
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3092 $as_echo_n "checking $2 usability... " >&6; }
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3096 #include <$2>
3097 _ACEOF
3098 if ac_fn_c_try_compile "$LINENO"; then :
3099 ac_header_compiler=yes
3100 else
3101 ac_header_compiler=no
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3105 $as_echo "$ac_header_compiler" >&6; }
3107 # Is the header present?
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3109 $as_echo_n "checking $2 presence... " >&6; }
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3112 #include <$2>
3113 _ACEOF
3114 if ac_fn_c_try_cpp "$LINENO"; then :
3115 ac_header_preproc=yes
3116 else
3117 ac_header_preproc=no
3119 rm -f conftest.err conftest.i conftest.$ac_ext
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3121 $as_echo "$ac_header_preproc" >&6; }
3123 # So? What about this header?
3124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3125 yes:no: )
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3127 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3131 no:yes:* )
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3133 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3135 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3137 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3139 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3142 ( $as_echo "## ------------------------------------ ##
3143 ## Report this to wine-devel@winehq.org ##
3144 ## ------------------------------------ ##"
3145 ) | sed "s/^/$as_me: WARNING: /" >&2
3147 esac
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3149 $as_echo_n "checking for $2... " >&6; }
3150 if eval \${$3+:} false; then :
3151 $as_echo_n "(cached) " >&6
3152 else
3153 eval "$3=\$ac_header_compiler"
3155 eval ac_res=\$$3
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3157 $as_echo "$ac_res" >&6; }
3159 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3161 } # ac_fn_c_check_header_mongrel
3163 # ac_fn_c_try_run LINENO
3164 # ----------------------
3165 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3166 # that executables *can* be run.
3167 ac_fn_c_try_run ()
3169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3170 if { { ac_try="$ac_link"
3171 case "(($ac_try" in
3172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3174 esac
3175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176 $as_echo "$ac_try_echo"; } >&5
3177 (eval "$ac_link") 2>&5
3178 ac_status=$?
3179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3181 { { case "(($ac_try" in
3182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3184 esac
3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_try") 2>&5
3188 ac_status=$?
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }; }; then :
3191 ac_retval=0
3192 else
3193 $as_echo "$as_me: program exited with status $ac_status" >&5
3194 $as_echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3197 ac_retval=$ac_status
3199 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3200 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3201 as_fn_set_status $ac_retval
3203 } # ac_fn_c_try_run
3205 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3206 # -------------------------------------------------------
3207 # Tests whether HEADER exists and can be compiled using the include files in
3208 # INCLUDES, setting the cache variable VAR accordingly.
3209 ac_fn_c_check_header_compile ()
3211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3213 $as_echo_n "checking for $2... " >&6; }
3214 if eval \${$3+:} false; then :
3215 $as_echo_n "(cached) " >&6
3216 else
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3220 #include <$2>
3221 _ACEOF
3222 if ac_fn_c_try_compile "$LINENO"; then :
3223 eval "$3=yes"
3224 else
3225 eval "$3=no"
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 eval ac_res=\$$3
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3231 $as_echo "$ac_res" >&6; }
3232 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3234 } # ac_fn_c_check_header_compile
3236 # ac_fn_objc_try_compile LINENO
3237 # -----------------------------
3238 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3239 ac_fn_objc_try_compile ()
3241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3242 rm -f conftest.$ac_objext
3243 if { { ac_try="$ac_compile"
3244 case "(($ac_try" in
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3247 esac
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250 (eval "$ac_compile") 2>conftest.err
3251 ac_status=$?
3252 if test -s conftest.err; then
3253 grep -v '^ *+' conftest.err >conftest.er1
3254 cat conftest.er1 >&5
3255 mv -f conftest.er1 conftest.err
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; } && {
3259 test -z "$ac_objc_werror_flag" ||
3260 test ! -s conftest.err
3261 } && test -s conftest.$ac_objext; then :
3262 ac_retval=0
3263 else
3264 $as_echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3267 ac_retval=1
3269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3270 as_fn_set_status $ac_retval
3272 } # ac_fn_objc_try_compile
3274 # ac_fn_objc_try_cpp LINENO
3275 # -------------------------
3276 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3277 ac_fn_objc_try_cpp ()
3279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3280 if { { ac_try="$ac_cpp conftest.$ac_ext"
3281 case "(($ac_try" in
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3284 esac
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3288 ac_status=$?
3289 if test -s conftest.err; then
3290 grep -v '^ *+' conftest.err >conftest.er1
3291 cat conftest.er1 >&5
3292 mv -f conftest.er1 conftest.err
3294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3295 test $ac_status = 0; } > conftest.i && {
3296 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3297 test ! -s conftest.err
3298 }; then :
3299 ac_retval=0
3300 else
3301 $as_echo "$as_me: failed program was:" >&5
3302 sed 's/^/| /' conftest.$ac_ext >&5
3304 ac_retval=1
3306 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3307 as_fn_set_status $ac_retval
3309 } # ac_fn_objc_try_cpp
3311 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3312 # ----------------------------------------------------------
3313 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3314 # the include files in INCLUDES and setting the cache variable VAR
3315 # accordingly.
3316 ac_fn_objc_check_header_mongrel ()
3318 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3319 if eval \${$3+:} false; then :
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3321 $as_echo_n "checking for $2... " >&6; }
3322 if eval \${$3+:} false; then :
3323 $as_echo_n "(cached) " >&6
3325 eval ac_res=\$$3
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3327 $as_echo "$ac_res" >&6; }
3328 else
3329 # Is the header compilable?
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3331 $as_echo_n "checking $2 usability... " >&6; }
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3335 #include <$2>
3336 _ACEOF
3337 if ac_fn_objc_try_compile "$LINENO"; then :
3338 ac_header_compiler=yes
3339 else
3340 ac_header_compiler=no
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3344 $as_echo "$ac_header_compiler" >&6; }
3346 # Is the header present?
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3348 $as_echo_n "checking $2 presence... " >&6; }
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3351 #include <$2>
3352 _ACEOF
3353 if ac_fn_objc_try_cpp "$LINENO"; then :
3354 ac_header_preproc=yes
3355 else
3356 ac_header_preproc=no
3358 rm -f conftest.err conftest.i conftest.$ac_ext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3360 $as_echo "$ac_header_preproc" >&6; }
3362 # So? What about this header?
3363 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3364 yes:no: )
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3366 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3368 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3370 no:yes:* )
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3372 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3374 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3376 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3378 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3380 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3381 ( $as_echo "## ------------------------------------ ##
3382 ## Report this to wine-devel@winehq.org ##
3383 ## ------------------------------------ ##"
3384 ) | sed "s/^/$as_me: WARNING: /" >&2
3386 esac
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3388 $as_echo_n "checking for $2... " >&6; }
3389 if eval \${$3+:} false; then :
3390 $as_echo_n "(cached) " >&6
3391 else
3392 eval "$3=\$ac_header_compiler"
3394 eval ac_res=\$$3
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3396 $as_echo "$ac_res" >&6; }
3398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3400 } # ac_fn_objc_check_header_mongrel
3402 # ac_fn_c_check_func LINENO FUNC VAR
3403 # ----------------------------------
3404 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3405 ac_fn_c_check_func ()
3407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3409 $as_echo_n "checking for $2... " >&6; }
3410 if eval \${$3+:} false; then :
3411 $as_echo_n "(cached) " >&6
3412 else
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3415 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3417 #define $2 innocuous_$2
3419 /* System header to define __stub macros and hopefully few prototypes,
3420 which can conflict with char $2 (); below.
3421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3422 <limits.h> exists even on freestanding compilers. */
3424 #ifdef __STDC__
3425 # include <limits.h>
3426 #else
3427 # include <assert.h>
3428 #endif
3430 #undef $2
3432 /* Override any GCC internal prototype to avoid an error.
3433 Use char because int might match the return type of a GCC
3434 builtin and then its argument prototype would still apply. */
3435 #ifdef __cplusplus
3436 extern "C"
3437 #endif
3438 char $2 ();
3439 /* The GNU C library defines this for functions which it implements
3440 to always fail with ENOSYS. Some functions are actually named
3441 something starting with __ and the normal name is an alias. */
3442 #if defined __stub_$2 || defined __stub___$2
3443 choke me
3444 #endif
3447 main ()
3449 return $2 ();
3451 return 0;
3453 _ACEOF
3454 if ac_fn_c_try_link "$LINENO"; then :
3455 eval "$3=yes"
3456 else
3457 eval "$3=no"
3459 rm -f core conftest.err conftest.$ac_objext \
3460 conftest$ac_exeext conftest.$ac_ext
3462 eval ac_res=\$$3
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3464 $as_echo "$ac_res" >&6; }
3465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3467 } # ac_fn_c_check_func
3469 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3470 # ----------------------------------------------------
3471 # Tries to find if the field MEMBER exists in type AGGR, after including
3472 # INCLUDES, setting cache variable VAR accordingly.
3473 ac_fn_c_check_member ()
3475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3477 $as_echo_n "checking for $2.$3... " >&6; }
3478 if eval \${$4+:} false; then :
3479 $as_echo_n "(cached) " >&6
3480 else
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3485 main ()
3487 static $2 ac_aggr;
3488 if (ac_aggr.$3)
3489 return 0;
3491 return 0;
3493 _ACEOF
3494 if ac_fn_c_try_compile "$LINENO"; then :
3495 eval "$4=yes"
3496 else
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3501 main ()
3503 static $2 ac_aggr;
3504 if (sizeof ac_aggr.$3)
3505 return 0;
3507 return 0;
3509 _ACEOF
3510 if ac_fn_c_try_compile "$LINENO"; then :
3511 eval "$4=yes"
3512 else
3513 eval "$4=no"
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 eval ac_res=\$$4
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3521 $as_echo "$ac_res" >&6; }
3522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3524 } # ac_fn_c_check_member
3526 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3527 # -------------------------------------------
3528 # Tests whether TYPE exists after having included INCLUDES, setting cache
3529 # variable VAR accordingly.
3530 ac_fn_c_check_type ()
3532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3534 $as_echo_n "checking for $2... " >&6; }
3535 if eval \${$3+:} false; then :
3536 $as_echo_n "(cached) " >&6
3537 else
3538 eval "$3=no"
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3543 main ()
3545 if (sizeof ($2))
3546 return 0;
3548 return 0;
3550 _ACEOF
3551 if ac_fn_c_try_compile "$LINENO"; then :
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3556 main ()
3558 if (sizeof (($2)))
3559 return 0;
3561 return 0;
3563 _ACEOF
3564 if ac_fn_c_try_compile "$LINENO"; then :
3566 else
3567 eval "$3=yes"
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 eval ac_res=\$$3
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3575 $as_echo "$ac_res" >&6; }
3576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3578 } # ac_fn_c_check_type
3579 cat >config.log <<_ACEOF
3580 This file contains any messages produced by compilers while
3581 running configure, to aid debugging if configure makes a mistake.
3583 It was created by Wine $as_me 6.21, which was
3584 generated by GNU Autoconf 2.69. Invocation command line was
3586 $ $0 $@
3588 _ACEOF
3589 exec 5>>config.log
3591 cat <<_ASUNAME
3592 ## --------- ##
3593 ## Platform. ##
3594 ## --------- ##
3596 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3597 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3598 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3599 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3600 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3602 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3603 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3605 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3606 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3607 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3608 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3609 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3610 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3611 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3613 _ASUNAME
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 for as_dir in $PATH
3618 IFS=$as_save_IFS
3619 test -z "$as_dir" && as_dir=.
3620 $as_echo "PATH: $as_dir"
3621 done
3622 IFS=$as_save_IFS
3624 } >&5
3626 cat >&5 <<_ACEOF
3629 ## ----------- ##
3630 ## Core tests. ##
3631 ## ----------- ##
3633 _ACEOF
3636 # Keep a trace of the command line.
3637 # Strip out --no-create and --no-recursion so they do not pile up.
3638 # Strip out --silent because we don't want to record it for future runs.
3639 # Also quote any args containing shell meta-characters.
3640 # Make two passes to allow for proper duplicate-argument suppression.
3641 ac_configure_args=
3642 ac_configure_args0=
3643 ac_configure_args1=
3644 ac_must_keep_next=false
3645 for ac_pass in 1 2
3647 for ac_arg
3649 case $ac_arg in
3650 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3652 | -silent | --silent | --silen | --sile | --sil)
3653 continue ;;
3654 *\'*)
3655 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3656 esac
3657 case $ac_pass in
3658 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3660 as_fn_append ac_configure_args1 " '$ac_arg'"
3661 if test $ac_must_keep_next = true; then
3662 ac_must_keep_next=false # Got value, back to normal.
3663 else
3664 case $ac_arg in
3665 *=* | --config-cache | -C | -disable-* | --disable-* \
3666 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3667 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3668 | -with-* | --with-* | -without-* | --without-* | --x)
3669 case "$ac_configure_args0 " in
3670 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3671 esac
3673 -* ) ac_must_keep_next=true ;;
3674 esac
3676 as_fn_append ac_configure_args " '$ac_arg'"
3678 esac
3679 done
3680 done
3681 { ac_configure_args0=; unset ac_configure_args0;}
3682 { ac_configure_args1=; unset ac_configure_args1;}
3684 # When interrupted or exit'd, cleanup temporary files, and complete
3685 # config.log. We remove comments because anyway the quotes in there
3686 # would cause problems or look ugly.
3687 # WARNING: Use '\'' to represent an apostrophe within the trap.
3688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3689 trap 'exit_status=$?
3690 # Save into config.log some information that might help in debugging.
3692 echo
3694 $as_echo "## ---------------- ##
3695 ## Cache variables. ##
3696 ## ---------------- ##"
3697 echo
3698 # The following way of writing the cache mishandles newlines in values,
3700 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3701 eval ac_val=\$$ac_var
3702 case $ac_val in #(
3703 *${as_nl}*)
3704 case $ac_var in #(
3705 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3707 esac
3708 case $ac_var in #(
3709 _ | IFS | as_nl) ;; #(
3710 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3711 *) { eval $ac_var=; unset $ac_var;} ;;
3712 esac ;;
3713 esac
3714 done
3715 (set) 2>&1 |
3716 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3717 *${as_nl}ac_space=\ *)
3718 sed -n \
3719 "s/'\''/'\''\\\\'\'''\''/g;
3720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3721 ;; #(
3723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3725 esac |
3726 sort
3728 echo
3730 $as_echo "## ----------------- ##
3731 ## Output variables. ##
3732 ## ----------------- ##"
3733 echo
3734 for ac_var in $ac_subst_vars
3736 eval ac_val=\$$ac_var
3737 case $ac_val in
3738 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3739 esac
3740 $as_echo "$ac_var='\''$ac_val'\''"
3741 done | sort
3742 echo
3744 if test -n "$ac_subst_files"; then
3745 $as_echo "## ------------------- ##
3746 ## File substitutions. ##
3747 ## ------------------- ##"
3748 echo
3749 for ac_var in $ac_subst_files
3751 eval ac_val=\$$ac_var
3752 case $ac_val in
3753 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3754 esac
3755 $as_echo "$ac_var='\''$ac_val'\''"
3756 done | sort
3757 echo
3760 if test -s confdefs.h; then
3761 $as_echo "## ----------- ##
3762 ## confdefs.h. ##
3763 ## ----------- ##"
3764 echo
3765 cat confdefs.h
3766 echo
3768 test "$ac_signal" != 0 &&
3769 $as_echo "$as_me: caught signal $ac_signal"
3770 $as_echo "$as_me: exit $exit_status"
3771 } >&5
3772 rm -f core *.core core.conftest.* &&
3773 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3774 exit $exit_status
3776 for ac_signal in 1 2 13 15; do
3777 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3778 done
3779 ac_signal=0
3781 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3782 rm -f -r conftest* confdefs.h
3784 $as_echo "/* confdefs.h */" > confdefs.h
3786 # Predefined preprocessor variables.
3788 cat >>confdefs.h <<_ACEOF
3789 #define PACKAGE_NAME "$PACKAGE_NAME"
3790 _ACEOF
3792 cat >>confdefs.h <<_ACEOF
3793 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3794 _ACEOF
3796 cat >>confdefs.h <<_ACEOF
3797 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3798 _ACEOF
3800 cat >>confdefs.h <<_ACEOF
3801 #define PACKAGE_STRING "$PACKAGE_STRING"
3802 _ACEOF
3804 cat >>confdefs.h <<_ACEOF
3805 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3806 _ACEOF
3808 cat >>confdefs.h <<_ACEOF
3809 #define PACKAGE_URL "$PACKAGE_URL"
3810 _ACEOF
3813 # Let the site file select an alternate cache file if it wants to.
3814 # Prefer an explicitly selected file to automatically selected ones.
3815 ac_site_file1=NONE
3816 ac_site_file2=NONE
3817 if test -n "$CONFIG_SITE"; then
3818 # We do not want a PATH search for config.site.
3819 case $CONFIG_SITE in #((
3820 -*) ac_site_file1=./$CONFIG_SITE;;
3821 */*) ac_site_file1=$CONFIG_SITE;;
3822 *) ac_site_file1=./$CONFIG_SITE;;
3823 esac
3824 elif test "x$prefix" != xNONE; then
3825 ac_site_file1=$prefix/share/config.site
3826 ac_site_file2=$prefix/etc/config.site
3827 else
3828 ac_site_file1=$ac_default_prefix/share/config.site
3829 ac_site_file2=$ac_default_prefix/etc/config.site
3831 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3833 test "x$ac_site_file" = xNONE && continue
3834 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3836 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3837 sed 's/^/| /' "$ac_site_file" >&5
3838 . "$ac_site_file" \
3839 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error $? "failed to load site script $ac_site_file
3842 See \`config.log' for more details" "$LINENO" 5; }
3844 done
3846 if test -r "$cache_file"; then
3847 # Some versions of bash will fail to source /dev/null (special files
3848 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3849 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3851 $as_echo "$as_me: loading cache $cache_file" >&6;}
3852 case $cache_file in
3853 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3854 *) . "./$cache_file";;
3855 esac
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3859 $as_echo "$as_me: creating cache $cache_file" >&6;}
3860 >$cache_file
3863 # Check that the precious variables saved in the cache have kept the same
3864 # value.
3865 ac_cache_corrupted=false
3866 for ac_var in $ac_precious_vars; do
3867 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3868 eval ac_new_set=\$ac_env_${ac_var}_set
3869 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3870 eval ac_new_val=\$ac_env_${ac_var}_value
3871 case $ac_old_set,$ac_new_set in
3872 set,)
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3874 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3875 ac_cache_corrupted=: ;;
3876 ,set)
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3878 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3879 ac_cache_corrupted=: ;;
3880 ,);;
3882 if test "x$ac_old_val" != "x$ac_new_val"; then
3883 # differences in whitespace do not lead to failure.
3884 ac_old_val_w=`echo x $ac_old_val`
3885 ac_new_val_w=`echo x $ac_new_val`
3886 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3888 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3889 ac_cache_corrupted=:
3890 else
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3892 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3893 eval $ac_var=\$ac_old_val
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3896 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3898 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3899 fi;;
3900 esac
3901 # Pass precious variables to config.status.
3902 if test "$ac_new_set" = set; then
3903 case $ac_new_val in
3904 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3905 *) ac_arg=$ac_var=$ac_new_val ;;
3906 esac
3907 case " $ac_configure_args " in
3908 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3909 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3910 esac
3912 done
3913 if $ac_cache_corrupted; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3917 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3918 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3920 ## -------------------- ##
3921 ## Main body of script. ##
3922 ## -------------------- ##
3924 ac_ext=c
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3932 ac_config_headers="$ac_config_headers include/config.h"
3934 ac_aux_dir=
3935 for ac_dir in tools "$srcdir"/tools; do
3936 if test -f "$ac_dir/install-sh"; then
3937 ac_aux_dir=$ac_dir
3938 ac_install_sh="$ac_aux_dir/install-sh -c"
3939 break
3940 elif test -f "$ac_dir/install.sh"; then
3941 ac_aux_dir=$ac_dir
3942 ac_install_sh="$ac_aux_dir/install.sh -c"
3943 break
3944 elif test -f "$ac_dir/shtool"; then
3945 ac_aux_dir=$ac_dir
3946 ac_install_sh="$ac_aux_dir/shtool install -c"
3947 break
3949 done
3950 if test -z "$ac_aux_dir"; then
3951 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3954 # These three variables are undocumented and unsupported,
3955 # and are intended to be withdrawn in a future Autoconf release.
3956 # They can cause serious problems if a builder's source tree is in a directory
3957 # whose full name contains unusual characters.
3958 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3959 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3960 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3964 libwine_version="1.0"
3968 # Check whether --enable-win16 was given.
3969 if test "${enable_win16+set}" = set; then :
3970 enableval=$enable_win16;
3973 # Check whether --enable-win64 was given.
3974 if test "${enable_win64+set}" = set; then :
3975 enableval=$enable_win64;
3978 # Check whether --enable-tests was given.
3979 if test "${enable_tests+set}" = set; then :
3980 enableval=$enable_tests;
3983 # Check whether --enable-build-id was given.
3984 if test "${enable_build_id+set}" = set; then :
3985 enableval=$enable_build_id;
3988 # Check whether --enable-maintainer-mode was given.
3989 if test "${enable_maintainer_mode+set}" = set; then :
3990 enableval=$enable_maintainer_mode;
3993 # Check whether --enable-silent-rules was given.
3994 if test "${enable_silent_rules+set}" = set; then :
3995 enableval=$enable_silent_rules;
3998 # Check whether --enable-werror was given.
3999 if test "${enable_werror+set}" = set; then :
4000 enableval=$enable_werror;
4005 # Check whether --with-alsa was given.
4006 if test "${with_alsa+set}" = set; then :
4007 withval=$with_alsa;
4011 # Check whether --with-capi was given.
4012 if test "${with_capi+set}" = set; then :
4013 withval=$with_capi;
4017 # Check whether --with-coreaudio was given.
4018 if test "${with_coreaudio+set}" = set; then :
4019 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4023 # Check whether --with-cups was given.
4024 if test "${with_cups+set}" = set; then :
4025 withval=$with_cups;
4029 # Check whether --with-dbus was given.
4030 if test "${with_dbus+set}" = set; then :
4031 withval=$with_dbus;
4035 # Check whether --with-float-abi was given.
4036 if test "${with_float_abi+set}" = set; then :
4037 withval=$with_float_abi;
4041 # Check whether --with-fontconfig was given.
4042 if test "${with_fontconfig+set}" = set; then :
4043 withval=$with_fontconfig;
4047 # Check whether --with-freetype was given.
4048 if test "${with_freetype+set}" = set; then :
4049 withval=$with_freetype;
4053 # Check whether --with-gettext was given.
4054 if test "${with_gettext+set}" = set; then :
4055 withval=$with_gettext;
4059 # Check whether --with-gettextpo was given.
4060 if test "${with_gettextpo+set}" = set; then :
4061 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4065 # Check whether --with-gphoto was given.
4066 if test "${with_gphoto+set}" = set; then :
4067 withval=$with_gphoto;
4071 # Check whether --with-gnutls was given.
4072 if test "${with_gnutls+set}" = set; then :
4073 withval=$with_gnutls;
4077 # Check whether --with-gssapi was given.
4078 if test "${with_gssapi+set}" = set; then :
4079 withval=$with_gssapi;
4083 # Check whether --with-gstreamer was given.
4084 if test "${with_gstreamer+set}" = set; then :
4085 withval=$with_gstreamer;
4089 # Check whether --with-hal was given.
4090 if test "${with_hal+set}" = set; then :
4091 withval=$with_hal;
4095 # Check whether --with-inotify was given.
4096 if test "${with_inotify+set}" = set; then :
4097 withval=$with_inotify;
4101 # Check whether --with-krb5 was given.
4102 if test "${with_krb5+set}" = set; then :
4103 withval=$with_krb5;
4107 # Check whether --with-ldap was given.
4108 if test "${with_ldap+set}" = set; then :
4109 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4113 # Check whether --with-mingw was given.
4114 if test "${with_mingw+set}" = set; then :
4115 withval=$with_mingw;
4119 # Check whether --with-netapi was given.
4120 if test "${with_netapi+set}" = set; then :
4121 withval=$with_netapi;
4125 # Check whether --with-openal was given.
4126 if test "${with_openal+set}" = set; then :
4127 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4131 # Check whether --with-opencl was given.
4132 if test "${with_opencl+set}" = set; then :
4133 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4137 # Check whether --with-opengl was given.
4138 if test "${with_opengl+set}" = set; then :
4139 withval=$with_opengl;
4143 # Check whether --with-osmesa was given.
4144 if test "${with_osmesa+set}" = set; then :
4145 withval=$with_osmesa;
4149 # Check whether --with-oss was given.
4150 if test "${with_oss+set}" = set; then :
4151 withval=$with_oss;
4155 # Check whether --with-pcap was given.
4156 if test "${with_pcap+set}" = set; then :
4157 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4161 # Check whether --with-pthread was given.
4162 if test "${with_pthread+set}" = set; then :
4163 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4167 # Check whether --with-pulse was given.
4168 if test "${with_pulse+set}" = set; then :
4169 withval=$with_pulse;
4173 # Check whether --with-quicktime was given.
4174 if test "${with_quicktime+set}" = set; then :
4175 withval=$with_quicktime;
4179 # Check whether --with-sane was given.
4180 if test "${with_sane+set}" = set; then :
4181 withval=$with_sane;
4185 # Check whether --with-sdl was given.
4186 if test "${with_sdl+set}" = set; then :
4187 withval=$with_sdl;
4191 # Check whether --with-udev was given.
4192 if test "${with_udev+set}" = set; then :
4193 withval=$with_udev;
4197 # Check whether --with-unwind was given.
4198 if test "${with_unwind+set}" = set; then :
4199 withval=$with_unwind;
4203 # Check whether --with-usb was given.
4204 if test "${with_usb+set}" = set; then :
4205 withval=$with_usb;
4209 # Check whether --with-v4l2 was given.
4210 if test "${with_v4l2+set}" = set; then :
4211 withval=$with_v4l2;
4215 # Check whether --with-vkd3d was given.
4216 if test "${with_vkd3d+set}" = set; then :
4217 withval=$with_vkd3d;
4221 # Check whether --with-vulkan was given.
4222 if test "${with_vulkan+set}" = set; then :
4223 withval=$with_vulkan;
4227 # Check whether --with-xcomposite was given.
4228 if test "${with_xcomposite+set}" = set; then :
4229 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4233 # Check whether --with-xcursor was given.
4234 if test "${with_xcursor+set}" = set; then :
4235 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4239 # Check whether --with-xfixes was given.
4240 if test "${with_xfixes+set}" = set; then :
4241 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4245 # Check whether --with-xinerama was given.
4246 if test "${with_xinerama+set}" = set; then :
4247 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4251 # Check whether --with-xinput was given.
4252 if test "${with_xinput+set}" = set; then :
4253 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4257 # Check whether --with-xinput2 was given.
4258 if test "${with_xinput2+set}" = set; then :
4259 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4263 # Check whether --with-xrandr was given.
4264 if test "${with_xrandr+set}" = set; then :
4265 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4269 # Check whether --with-xrender was given.
4270 if test "${with_xrender+set}" = set; then :
4271 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4275 # Check whether --with-xshape was given.
4276 if test "${with_xshape+set}" = set; then :
4277 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4281 # Check whether --with-xshm was given.
4282 if test "${with_xshm+set}" = set; then :
4283 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4287 # Check whether --with-xxf86vm was given.
4288 if test "${with_xxf86vm+set}" = set; then :
4289 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
4294 # Check whether --with-wine-tools was given.
4295 if test "${with_wine_tools+set}" = set; then :
4296 withval=$with_wine_tools;
4300 # Check whether --with-wine64 was given.
4301 if test "${with_wine64+set}" = set; then :
4302 withval=$with_wine64;
4306 # Make sure we can run config.sub.
4307 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4308 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4311 $as_echo_n "checking build system type... " >&6; }
4312 if ${ac_cv_build+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314 else
4315 ac_build_alias=$build_alias
4316 test "x$ac_build_alias" = x &&
4317 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4318 test "x$ac_build_alias" = x &&
4319 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4320 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4321 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4325 $as_echo "$ac_cv_build" >&6; }
4326 case $ac_cv_build in
4327 *-*-*) ;;
4328 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4329 esac
4330 build=$ac_cv_build
4331 ac_save_IFS=$IFS; IFS='-'
4332 set x $ac_cv_build
4333 shift
4334 build_cpu=$1
4335 build_vendor=$2
4336 shift; shift
4337 # Remember, the first character of IFS is used to create $*,
4338 # except with old shells:
4339 build_os=$*
4340 IFS=$ac_save_IFS
4341 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4345 $as_echo_n "checking host system type... " >&6; }
4346 if ${ac_cv_host+:} false; then :
4347 $as_echo_n "(cached) " >&6
4348 else
4349 if test "x$host_alias" = x; then
4350 ac_cv_host=$ac_cv_build
4351 else
4352 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4353 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4358 $as_echo "$ac_cv_host" >&6; }
4359 case $ac_cv_host in
4360 *-*-*) ;;
4361 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4362 esac
4363 host=$ac_cv_host
4364 ac_save_IFS=$IFS; IFS='-'
4365 set x $ac_cv_host
4366 shift
4367 host_cpu=$1
4368 host_vendor=$2
4369 shift; shift
4370 # Remember, the first character of IFS is used to create $*,
4371 # except with old shells:
4372 host_os=$*
4373 IFS=$ac_save_IFS
4374 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4378 dlldir=\${libdir}/wine
4380 fontdir=\${datadir}/wine/fonts
4382 nlsdir=\${datadir}/wine/nls
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4388 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4389 set x ${MAKE-make}
4390 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4391 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4392 $as_echo_n "(cached) " >&6
4393 else
4394 cat >conftest.make <<\_ACEOF
4395 SHELL = /bin/sh
4396 all:
4397 @echo '@@@%%%=$(MAKE)=@@@%%%'
4398 _ACEOF
4399 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4400 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4401 *@@@%%%=?*=@@@%%%*)
4402 eval ac_cv_prog_make_${ac_make}_set=yes;;
4404 eval ac_cv_prog_make_${ac_make}_set=no;;
4405 esac
4406 rm -f conftest.make
4408 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4410 $as_echo "yes" >&6; }
4411 SET_MAKE=
4412 else
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4415 SET_MAKE="MAKE=${MAKE-make}"
4418 ac_ext=c
4419 ac_cpp='$CPP $CPPFLAGS'
4420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4423 if test -n "$ac_tool_prefix"; then
4424 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4425 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if ${ac_cv_prog_CC+:} false; then :
4429 $as_echo_n "(cached) " >&6
4430 else
4431 if test -n "$CC"; then
4432 ac_cv_prog_CC="$CC" # Let the user override the test.
4433 else
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 for as_dir in $PATH
4437 IFS=$as_save_IFS
4438 test -z "$as_dir" && as_dir=.
4439 for ac_exec_ext in '' $ac_executable_extensions; do
4440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 break 2
4445 done
4446 done
4447 IFS=$as_save_IFS
4451 CC=$ac_cv_prog_CC
4452 if test -n "$CC"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4454 $as_echo "$CC" >&6; }
4455 else
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4462 if test -z "$ac_cv_prog_CC"; then
4463 ac_ct_CC=$CC
4464 # Extract the first word of "gcc", so it can be a program name with args.
4465 set dummy gcc; ac_word=$2
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467 $as_echo_n "checking for $ac_word... " >&6; }
4468 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 if test -n "$ac_ct_CC"; then
4472 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4473 else
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 for as_dir in $PATH
4477 IFS=$as_save_IFS
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4481 ac_cv_prog_ac_ct_CC="gcc"
4482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 break 2
4485 done
4486 done
4487 IFS=$as_save_IFS
4491 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4492 if test -n "$ac_ct_CC"; then
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4494 $as_echo "$ac_ct_CC" >&6; }
4495 else
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4497 $as_echo "no" >&6; }
4500 if test "x$ac_ct_CC" = x; then
4501 CC=""
4502 else
4503 case $cross_compiling:$ac_tool_warned in
4504 yes:)
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4507 ac_tool_warned=yes ;;
4508 esac
4509 CC=$ac_ct_CC
4511 else
4512 CC="$ac_cv_prog_CC"
4515 if test -z "$CC"; then
4516 if test -n "$ac_tool_prefix"; then
4517 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4518 set dummy ${ac_tool_prefix}cc; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_CC+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 if test -n "$CC"; then
4525 ac_cv_prog_CC="$CC" # Let the user override the test.
4526 else
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in $PATH
4530 IFS=$as_save_IFS
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_CC="${ac_tool_prefix}cc"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 break 2
4538 done
4539 done
4540 IFS=$as_save_IFS
4544 CC=$ac_cv_prog_CC
4545 if test -n "$CC"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4547 $as_echo "$CC" >&6; }
4548 else
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4556 if test -z "$CC"; then
4557 # Extract the first word of "cc", so it can be a program name with args.
4558 set dummy cc; ac_word=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if ${ac_cv_prog_CC+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 if test -n "$CC"; then
4565 ac_cv_prog_CC="$CC" # Let the user override the test.
4566 else
4567 ac_prog_rejected=no
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH
4571 IFS=$as_save_IFS
4572 test -z "$as_dir" && as_dir=.
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4575 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4576 ac_prog_rejected=yes
4577 continue
4579 ac_cv_prog_CC="cc"
4580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 break 2
4583 done
4584 done
4585 IFS=$as_save_IFS
4587 if test $ac_prog_rejected = yes; then
4588 # We found a bogon in the path, so make sure we never use it.
4589 set dummy $ac_cv_prog_CC
4590 shift
4591 if test $# != 0; then
4592 # We chose a different compiler from the bogus one.
4593 # However, it has the same basename, so the bogon will be chosen
4594 # first if we set CC to just the basename; use the full file name.
4595 shift
4596 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4601 CC=$ac_cv_prog_CC
4602 if test -n "$CC"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4604 $as_echo "$CC" >&6; }
4605 else
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4612 if test -z "$CC"; then
4613 if test -n "$ac_tool_prefix"; then
4614 for ac_prog in cl.exe
4616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4617 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if ${ac_cv_prog_CC+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 if test -n "$CC"; then
4624 ac_cv_prog_CC="$CC" # Let the user override the test.
4625 else
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 for as_dir in $PATH
4629 IFS=$as_save_IFS
4630 test -z "$as_dir" && as_dir=.
4631 for ac_exec_ext in '' $ac_executable_extensions; do
4632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4633 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 break 2
4637 done
4638 done
4639 IFS=$as_save_IFS
4643 CC=$ac_cv_prog_CC
4644 if test -n "$CC"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4646 $as_echo "$CC" >&6; }
4647 else
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4653 test -n "$CC" && break
4654 done
4656 if test -z "$CC"; then
4657 ac_ct_CC=$CC
4658 for ac_prog in cl.exe
4660 # Extract the first word of "$ac_prog", so it can be a program name with args.
4661 set dummy $ac_prog; ac_word=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 if test -n "$ac_ct_CC"; then
4668 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4669 else
4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 for as_dir in $PATH
4673 IFS=$as_save_IFS
4674 test -z "$as_dir" && as_dir=.
4675 for ac_exec_ext in '' $ac_executable_extensions; do
4676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_ac_ct_CC="$ac_prog"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 break 2
4681 done
4682 done
4683 IFS=$as_save_IFS
4687 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4688 if test -n "$ac_ct_CC"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4690 $as_echo "$ac_ct_CC" >&6; }
4691 else
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4697 test -n "$ac_ct_CC" && break
4698 done
4700 if test "x$ac_ct_CC" = x; then
4701 CC=""
4702 else
4703 case $cross_compiling:$ac_tool_warned in
4704 yes:)
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4707 ac_tool_warned=yes ;;
4708 esac
4709 CC=$ac_ct_CC
4716 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4718 as_fn_error $? "no acceptable C compiler found in \$PATH
4719 See \`config.log' for more details" "$LINENO" 5; }
4721 # Provide some information about the compiler.
4722 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4723 set X $ac_compile
4724 ac_compiler=$2
4725 for ac_option in --version -v -V -qversion; do
4726 { { ac_try="$ac_compiler $ac_option >&5"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4732 $as_echo "$ac_try_echo"; } >&5
4733 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4734 ac_status=$?
4735 if test -s conftest.err; then
4736 sed '10a\
4737 ... rest of stderr output deleted ...
4738 10q' conftest.err >conftest.er1
4739 cat conftest.er1 >&5
4741 rm -f conftest.er1 conftest.err
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }
4744 done
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4750 main ()
4754 return 0;
4756 _ACEOF
4757 ac_clean_files_save=$ac_clean_files
4758 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4759 # Try to create an executable without -o first, disregard a.out.
4760 # It will help us diagnose broken compilers, and finding out an intuition
4761 # of exeext.
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4763 $as_echo_n "checking whether the C compiler works... " >&6; }
4764 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4766 # The possible output files:
4767 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4769 ac_rmfiles=
4770 for ac_file in $ac_files
4772 case $ac_file in
4773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4774 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4775 esac
4776 done
4777 rm -f $ac_rmfiles
4779 if { { ac_try="$ac_link_default"
4780 case "(($ac_try" in
4781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4782 *) ac_try_echo=$ac_try;;
4783 esac
4784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4785 $as_echo "$ac_try_echo"; } >&5
4786 (eval "$ac_link_default") 2>&5
4787 ac_status=$?
4788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4789 test $ac_status = 0; }; then :
4790 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4791 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4792 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4793 # so that the user can short-circuit this test for compilers unknown to
4794 # Autoconf.
4795 for ac_file in $ac_files ''
4797 test -f "$ac_file" || continue
4798 case $ac_file in
4799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4801 [ab].out )
4802 # We found the default executable, but exeext='' is most
4803 # certainly right.
4804 break;;
4805 *.* )
4806 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4807 then :; else
4808 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4810 # We set ac_cv_exeext here because the later test for it is not
4811 # safe: cross compilers may not add the suffix if given an `-o'
4812 # argument, so we may need to know it at that point already.
4813 # Even if this section looks crufty: it has the advantage of
4814 # actually working.
4815 break;;
4817 break;;
4818 esac
4819 done
4820 test "$ac_cv_exeext" = no && ac_cv_exeext=
4822 else
4823 ac_file=''
4825 if test -z "$ac_file"; then :
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4828 $as_echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4833 as_fn_error 77 "C compiler cannot create executables
4834 See \`config.log' for more details" "$LINENO" 5; }
4835 else
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4837 $as_echo "yes" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4840 $as_echo_n "checking for C compiler default output file name... " >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4842 $as_echo "$ac_file" >&6; }
4843 ac_exeext=$ac_cv_exeext
4845 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4846 ac_clean_files=$ac_clean_files_save
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4848 $as_echo_n "checking for suffix of executables... " >&6; }
4849 if { { ac_try="$ac_link"
4850 case "(($ac_try" in
4851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4852 *) ac_try_echo=$ac_try;;
4853 esac
4854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4855 $as_echo "$ac_try_echo"; } >&5
4856 (eval "$ac_link") 2>&5
4857 ac_status=$?
4858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4859 test $ac_status = 0; }; then :
4860 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4861 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4862 # work properly (i.e., refer to `conftest.exe'), while it won't with
4863 # `rm'.
4864 for ac_file in conftest.exe conftest conftest.*; do
4865 test -f "$ac_file" || continue
4866 case $ac_file in
4867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4868 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4869 break;;
4870 * ) break;;
4871 esac
4872 done
4873 else
4874 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4876 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4877 See \`config.log' for more details" "$LINENO" 5; }
4879 rm -f conftest conftest$ac_cv_exeext
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4881 $as_echo "$ac_cv_exeext" >&6; }
4883 rm -f conftest.$ac_ext
4884 EXEEXT=$ac_cv_exeext
4885 ac_exeext=$EXEEXT
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4888 #include <stdio.h>
4890 main ()
4892 FILE *f = fopen ("conftest.out", "w");
4893 return ferror (f) || fclose (f) != 0;
4896 return 0;
4898 _ACEOF
4899 ac_clean_files="$ac_clean_files conftest.out"
4900 # Check that the compiler produces executables we can run. If not, either
4901 # the compiler is broken, or we cross compile.
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4903 $as_echo_n "checking whether we are cross compiling... " >&6; }
4904 if test "$cross_compiling" != yes; then
4905 { { ac_try="$ac_link"
4906 case "(($ac_try" in
4907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908 *) ac_try_echo=$ac_try;;
4909 esac
4910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4911 $as_echo "$ac_try_echo"; } >&5
4912 (eval "$ac_link") 2>&5
4913 ac_status=$?
4914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4915 test $ac_status = 0; }
4916 if { ac_try='./conftest$ac_cv_exeext'
4917 { { case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4920 esac
4921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4922 $as_echo "$ac_try_echo"; } >&5
4923 (eval "$ac_try") 2>&5
4924 ac_status=$?
4925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4926 test $ac_status = 0; }; }; then
4927 cross_compiling=no
4928 else
4929 if test "$cross_compiling" = maybe; then
4930 cross_compiling=yes
4931 else
4932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4934 as_fn_error $? "cannot run C compiled programs.
4935 If you meant to cross compile, use \`--host'.
4936 See \`config.log' for more details" "$LINENO" 5; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4941 $as_echo "$cross_compiling" >&6; }
4943 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4944 ac_clean_files=$ac_clean_files_save
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4946 $as_echo_n "checking for suffix of object files... " >&6; }
4947 if ${ac_cv_objext+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4954 main ()
4958 return 0;
4960 _ACEOF
4961 rm -f conftest.o conftest.obj
4962 if { { ac_try="$ac_compile"
4963 case "(($ac_try" in
4964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4965 *) ac_try_echo=$ac_try;;
4966 esac
4967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4968 $as_echo "$ac_try_echo"; } >&5
4969 (eval "$ac_compile") 2>&5
4970 ac_status=$?
4971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4972 test $ac_status = 0; }; then :
4973 for ac_file in conftest.o conftest.obj conftest.*; do
4974 test -f "$ac_file" || continue;
4975 case $ac_file in
4976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4977 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4978 break;;
4979 esac
4980 done
4981 else
4982 $as_echo "$as_me: failed program was:" >&5
4983 sed 's/^/| /' conftest.$ac_ext >&5
4985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4987 as_fn_error $? "cannot compute suffix of object files: cannot compile
4988 See \`config.log' for more details" "$LINENO" 5; }
4990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4993 $as_echo "$ac_cv_objext" >&6; }
4994 OBJEXT=$ac_cv_objext
4995 ac_objext=$OBJEXT
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4997 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4998 if ${ac_cv_c_compiler_gnu+:} false; then :
4999 $as_echo_n "(cached) " >&6
5000 else
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5005 main ()
5007 #ifndef __GNUC__
5008 choke me
5009 #endif
5012 return 0;
5014 _ACEOF
5015 if ac_fn_c_try_compile "$LINENO"; then :
5016 ac_compiler_gnu=yes
5017 else
5018 ac_compiler_gnu=no
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5025 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5026 if test $ac_compiler_gnu = yes; then
5027 GCC=yes
5028 else
5029 GCC=
5031 ac_test_CFLAGS=${CFLAGS+set}
5032 ac_save_CFLAGS=$CFLAGS
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5034 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5035 if ${ac_cv_prog_cc_g+:} false; then :
5036 $as_echo_n "(cached) " >&6
5037 else
5038 ac_save_c_werror_flag=$ac_c_werror_flag
5039 ac_c_werror_flag=yes
5040 ac_cv_prog_cc_g=no
5041 CFLAGS="-g"
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5046 main ()
5050 return 0;
5052 _ACEOF
5053 if ac_fn_c_try_compile "$LINENO"; then :
5054 ac_cv_prog_cc_g=yes
5055 else
5056 CFLAGS=""
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5061 main ()
5065 return 0;
5067 _ACEOF
5068 if ac_fn_c_try_compile "$LINENO"; then :
5070 else
5071 ac_c_werror_flag=$ac_save_c_werror_flag
5072 CFLAGS="-g"
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5077 main ()
5081 return 0;
5083 _ACEOF
5084 if ac_fn_c_try_compile "$LINENO"; then :
5085 ac_cv_prog_cc_g=yes
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5092 ac_c_werror_flag=$ac_save_c_werror_flag
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5095 $as_echo "$ac_cv_prog_cc_g" >&6; }
5096 if test "$ac_test_CFLAGS" = set; then
5097 CFLAGS=$ac_save_CFLAGS
5098 elif test $ac_cv_prog_cc_g = yes; then
5099 if test "$GCC" = yes; then
5100 CFLAGS="-g -O2"
5101 else
5102 CFLAGS="-g"
5104 else
5105 if test "$GCC" = yes; then
5106 CFLAGS="-O2"
5107 else
5108 CFLAGS=
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5112 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5113 if ${ac_cv_prog_cc_c89+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 ac_cv_prog_cc_c89=no
5117 ac_save_CC=$CC
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5120 #include <stdarg.h>
5121 #include <stdio.h>
5122 struct stat;
5123 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5124 struct buf { int x; };
5125 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5126 static char *e (p, i)
5127 char **p;
5128 int i;
5130 return p[i];
5132 static char *f (char * (*g) (char **, int), char **p, ...)
5134 char *s;
5135 va_list v;
5136 va_start (v,p);
5137 s = g (p, va_arg (v,int));
5138 va_end (v);
5139 return s;
5142 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5143 function prototypes and stuff, but not '\xHH' hex character constants.
5144 These don't provoke an error unfortunately, instead are silently treated
5145 as 'x'. The following induces an error, until -std is added to get
5146 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5147 array size at least. It's necessary to write '\x00'==0 to get something
5148 that's true only with -std. */
5149 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5151 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5152 inside strings and character constants. */
5153 #define FOO(x) 'x'
5154 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5156 int test (int i, double x);
5157 struct s1 {int (*f) (int a);};
5158 struct s2 {int (*f) (double a);};
5159 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5160 int argc;
5161 char **argv;
5163 main ()
5165 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5167 return 0;
5169 _ACEOF
5170 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5171 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5173 CC="$ac_save_CC $ac_arg"
5174 if ac_fn_c_try_compile "$LINENO"; then :
5175 ac_cv_prog_cc_c89=$ac_arg
5177 rm -f core conftest.err conftest.$ac_objext
5178 test "x$ac_cv_prog_cc_c89" != "xno" && break
5179 done
5180 rm -f conftest.$ac_ext
5181 CC=$ac_save_CC
5184 # AC_CACHE_VAL
5185 case "x$ac_cv_prog_cc_c89" in
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5188 $as_echo "none needed" >&6; } ;;
5189 xno)
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5191 $as_echo "unsupported" >&6; } ;;
5193 CC="$CC $ac_cv_prog_cc_c89"
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5195 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5196 esac
5197 if test "x$ac_cv_prog_cc_c89" != xno; then :
5201 ac_ext=c
5202 ac_cpp='$CPP $CPPFLAGS'
5203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5207 ac_ext=cpp
5208 ac_cpp='$CXXCPP $CPPFLAGS'
5209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5212 if test -z "$CXX"; then
5213 if test -n "$CCC"; then
5214 CXX=$CCC
5215 else
5216 if test -n "$ac_tool_prefix"; then
5217 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if ${ac_cv_prog_CXX+:} false; then :
5224 $as_echo_n "(cached) " >&6
5225 else
5226 if test -n "$CXX"; then
5227 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5228 else
5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 for as_dir in $PATH
5232 IFS=$as_save_IFS
5233 test -z "$as_dir" && as_dir=.
5234 for ac_exec_ext in '' $ac_executable_extensions; do
5235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5236 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 break 2
5240 done
5241 done
5242 IFS=$as_save_IFS
5246 CXX=$ac_cv_prog_CXX
5247 if test -n "$CXX"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5249 $as_echo "$CXX" >&6; }
5250 else
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5256 test -n "$CXX" && break
5257 done
5259 if test -z "$CXX"; then
5260 ac_ct_CXX=$CXX
5261 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5263 # Extract the first word of "$ac_prog", so it can be a program name with args.
5264 set dummy $ac_prog; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$ac_ct_CXX"; then
5271 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_ac_ct_CXX="$ac_prog"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5284 done
5285 done
5286 IFS=$as_save_IFS
5290 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5291 if test -n "$ac_ct_CXX"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5293 $as_echo "$ac_ct_CXX" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5300 test -n "$ac_ct_CXX" && break
5301 done
5303 if test "x$ac_ct_CXX" = x; then
5304 CXX="g++"
5305 else
5306 case $cross_compiling:$ac_tool_warned in
5307 yes:)
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5311 esac
5312 CXX=$ac_ct_CXX
5318 # Provide some information about the compiler.
5319 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5320 set X $ac_compile
5321 ac_compiler=$2
5322 for ac_option in --version -v -V -qversion; do
5323 { { ac_try="$ac_compiler $ac_option >&5"
5324 case "(($ac_try" in
5325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5326 *) ac_try_echo=$ac_try;;
5327 esac
5328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5329 $as_echo "$ac_try_echo"; } >&5
5330 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5331 ac_status=$?
5332 if test -s conftest.err; then
5333 sed '10a\
5334 ... rest of stderr output deleted ...
5335 10q' conftest.err >conftest.er1
5336 cat conftest.er1 >&5
5338 rm -f conftest.er1 conftest.err
5339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5340 test $ac_status = 0; }
5341 done
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5344 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5345 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5346 $as_echo_n "(cached) " >&6
5347 else
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5352 main ()
5354 #ifndef __GNUC__
5355 choke me
5356 #endif
5359 return 0;
5361 _ACEOF
5362 if ac_fn_cxx_try_compile "$LINENO"; then :
5363 ac_compiler_gnu=yes
5364 else
5365 ac_compiler_gnu=no
5367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5368 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5372 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5373 if test $ac_compiler_gnu = yes; then
5374 GXX=yes
5375 else
5376 GXX=
5378 ac_test_CXXFLAGS=${CXXFLAGS+set}
5379 ac_save_CXXFLAGS=$CXXFLAGS
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5381 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5382 if ${ac_cv_prog_cxx_g+:} false; then :
5383 $as_echo_n "(cached) " >&6
5384 else
5385 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5386 ac_cxx_werror_flag=yes
5387 ac_cv_prog_cxx_g=no
5388 CXXFLAGS="-g"
5389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5390 /* end confdefs.h. */
5393 main ()
5397 return 0;
5399 _ACEOF
5400 if ac_fn_cxx_try_compile "$LINENO"; then :
5401 ac_cv_prog_cxx_g=yes
5402 else
5403 CXXFLAGS=""
5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h. */
5408 main ()
5412 return 0;
5414 _ACEOF
5415 if ac_fn_cxx_try_compile "$LINENO"; then :
5417 else
5418 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5419 CXXFLAGS="-g"
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5424 main ()
5428 return 0;
5430 _ACEOF
5431 if ac_fn_cxx_try_compile "$LINENO"; then :
5432 ac_cv_prog_cxx_g=yes
5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5439 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5442 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5443 if test "$ac_test_CXXFLAGS" = set; then
5444 CXXFLAGS=$ac_save_CXXFLAGS
5445 elif test $ac_cv_prog_cxx_g = yes; then
5446 if test "$GXX" = yes; then
5447 CXXFLAGS="-g -O2"
5448 else
5449 CXXFLAGS="-g"
5451 else
5452 if test "$GXX" = yes; then
5453 CXXFLAGS="-O2"
5454 else
5455 CXXFLAGS=
5458 ac_ext=c
5459 ac_cpp='$CPP $CPPFLAGS'
5460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5464 if test -n "$ac_tool_prefix"; then
5465 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5466 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_CPPBIN+:} false; then :
5470 $as_echo_n "(cached) " >&6
5471 else
5472 if test -n "$CPPBIN"; then
5473 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5474 else
5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5476 for as_dir in $PATH
5478 IFS=$as_save_IFS
5479 test -z "$as_dir" && as_dir=.
5480 for ac_exec_ext in '' $ac_executable_extensions; do
5481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5484 break 2
5486 done
5487 done
5488 IFS=$as_save_IFS
5492 CPPBIN=$ac_cv_prog_CPPBIN
5493 if test -n "$CPPBIN"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5495 $as_echo "$CPPBIN" >&6; }
5496 else
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5503 if test -z "$ac_cv_prog_CPPBIN"; then
5504 ac_ct_CPPBIN=$CPPBIN
5505 # Extract the first word of "cpp", so it can be a program name with args.
5506 set dummy cpp; ac_word=$2
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5508 $as_echo_n "checking for $ac_word... " >&6; }
5509 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5510 $as_echo_n "(cached) " >&6
5511 else
5512 if test -n "$ac_ct_CPPBIN"; then
5513 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5514 else
5515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5516 for as_dir in $PATH
5518 IFS=$as_save_IFS
5519 test -z "$as_dir" && as_dir=.
5520 for ac_exec_ext in '' $ac_executable_extensions; do
5521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5522 ac_cv_prog_ac_ct_CPPBIN="cpp"
5523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 break 2
5526 done
5527 done
5528 IFS=$as_save_IFS
5532 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5533 if test -n "$ac_ct_CPPBIN"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5535 $as_echo "$ac_ct_CPPBIN" >&6; }
5536 else
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5541 if test "x$ac_ct_CPPBIN" = x; then
5542 CPPBIN="cpp"
5543 else
5544 case $cross_compiling:$ac_tool_warned in
5545 yes:)
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5548 ac_tool_warned=yes ;;
5549 esac
5550 CPPBIN=$ac_ct_CPPBIN
5552 else
5553 CPPBIN="$ac_cv_prog_CPPBIN"
5557 cat >>confdefs.h <<_ACEOF
5558 #define EXEEXT "$ac_exeext"
5559 _ACEOF
5561 if test -n "$ac_tool_prefix"; then
5562 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5563 set dummy ${ac_tool_prefix}ld; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_LD+:} false; then :
5567 $as_echo_n "(cached) " >&6
5568 else
5569 if test -n "$LD"; then
5570 ac_cv_prog_LD="$LD" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_LD="${ac_tool_prefix}ld"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5589 LD=$ac_cv_prog_LD
5590 if test -n "$LD"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5592 $as_echo "$LD" >&6; }
5593 else
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5600 if test -z "$ac_cv_prog_LD"; then
5601 ac_ct_LD=$LD
5602 # Extract the first word of "ld", so it can be a program name with args.
5603 set dummy ld; ac_word=$2
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 $as_echo_n "checking for $ac_word... " >&6; }
5606 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -n "$ac_ct_LD"; then
5610 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5611 else
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 for as_dir in $PATH
5615 IFS=$as_save_IFS
5616 test -z "$as_dir" && as_dir=.
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5619 ac_cv_prog_ac_ct_LD="ld"
5620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 break 2
5623 done
5624 done
5625 IFS=$as_save_IFS
5629 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5630 if test -n "$ac_ct_LD"; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5632 $as_echo "$ac_ct_LD" >&6; }
5633 else
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5638 if test "x$ac_ct_LD" = x; then
5639 LD=""
5640 else
5641 case $cross_compiling:$ac_tool_warned in
5642 yes:)
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5645 ac_tool_warned=yes ;;
5646 esac
5647 LD=$ac_ct_LD
5649 else
5650 LD="$ac_cv_prog_LD"
5654 case $host in
5655 *-darwin*)
5656 with_fontconfig=${with_fontconfig:-no}
5658 *-mingw32*|*-cygwin*)
5659 enable_win16=${enable_win16:-no}
5660 with_mingw=${with_mingw:-no}
5662 esac
5665 case $host in
5666 x86_64*|amd64*)
5667 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5668 then
5669 CC="$CC -m32"
5670 CXX="$CXX -m32"
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5673 $as_echo_n "checking whether $CC works... " >&6; }
5674 if ${wine_cv_cc_m32+:} false; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5681 main ()
5685 return 0;
5687 _ACEOF
5688 if ac_fn_c_try_link "$LINENO"; then :
5689 wine_cv_cc_m32=yes
5690 else
5691 wine_cv_cc_m32=no
5693 rm -f core conftest.err conftest.$ac_objext \
5694 conftest$ac_exeext conftest.$ac_ext
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5697 $as_echo "$wine_cv_cc_m32" >&6; }
5698 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
5699 host_cpu="i386"
5700 notice_platform="32-bit "
5701 TARGETFLAGS="$TARGETFLAGS -m32"
5702 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5703 export PKG_CONFIG_PATH
5704 enable_win16=${enable_win16:-yes}
5705 with_unwind=${with_unwind:-no}
5706 else
5707 if test "x${GCC}" = "xyes"
5708 then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5710 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5711 if ${wine_cv_builtin_ms_va_list+:} false; then :
5712 $as_echo_n "(cached) " >&6
5713 else
5714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5716 #include <stdarg.h>
5718 main ()
5720 void func(__builtin_ms_va_list *args);
5722 return 0;
5724 _ACEOF
5725 if ac_fn_c_try_compile "$LINENO"; then :
5726 wine_cv_builtin_ms_va_list=yes
5727 else
5728 wine_cv_builtin_ms_va_list=no
5730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5733 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5734 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
5736 CC="$CC -m64"
5737 CXX="$CXX -m64"
5738 host_cpu="x86_64"
5739 notice_platform="64-bit "
5740 TARGETFLAGS="$TARGETFLAGS -m64"
5741 enable_wow64=${enable_wow64:-yes}
5742 enable_wow64win=${enable_wow64win:-yes}
5743 enable_wow64cpu=${enable_wow64cpu:-yes}
5746 arm*)
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5748 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5749 if ${wine_cv_thumb2+:} false; then :
5750 $as_echo_n "(cached) " >&6
5751 else
5752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5753 /* end confdefs.h. */
5756 main ()
5758 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5760 return 0;
5762 _ACEOF
5763 if ac_fn_c_try_link "$LINENO"; then :
5764 wine_cv_thumb2=yes
5765 else
5766 wine_cv_thumb2=no
5768 rm -f core conftest.err conftest.$ac_objext \
5769 conftest$ac_exeext conftest.$ac_ext
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5772 $as_echo "$wine_cv_thumb2" >&6; }
5773 if test x"$wine_cv_thumb2" = xyes
5774 then
5775 CFLAGS="$CFLAGS -mthumb"
5776 TARGETFLAGS="$TARGETFLAGS -mthumb"
5777 else
5778 CFLAGS="$CFLAGS -marm"
5779 TARGETFLAGS="$TARGETFLAGS -marm"
5781 case $with_float_abi in
5782 soft|softfp|hard)
5783 float_abi=$with_float_abi ;;
5785 case $host_os in
5786 *eabihf)
5787 float_abi=hard ;;
5789 float_abi=softfp
5790 saved_CFLAGS=$CFLAGS
5791 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5793 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5794 if ${wine_cv_float_abi+:} false; then :
5795 $as_echo_n "(cached) " >&6
5796 else
5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798 /* end confdefs.h. */
5801 main ()
5803 asm("vmrs r2,fpscr");
5805 return 0;
5807 _ACEOF
5808 if ac_fn_c_try_link "$LINENO"; then :
5809 wine_cv_float_abi=yes
5810 else
5811 wine_cv_float_abi=no
5813 rm -f core conftest.err conftest.$ac_objext \
5814 conftest$ac_exeext conftest.$ac_ext
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5817 $as_echo "$wine_cv_float_abi" >&6; }
5818 if test $wine_cv_float_abi = no
5819 then
5820 float_abi=soft
5821 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5823 CFLAGS=$saved_CFLAGS
5824 esac
5826 esac
5827 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5828 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5830 aarch64*)
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5832 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5833 if ${wine_cv_builtin_ms_va_list+:} false; then :
5834 $as_echo_n "(cached) " >&6
5835 else
5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */
5838 #include <stdarg.h>
5840 main ()
5842 void func(__builtin_ms_va_list *args);
5844 return 0;
5846 _ACEOF
5847 if ac_fn_c_try_compile "$LINENO"; then :
5848 wine_cv_builtin_ms_va_list=yes
5849 else
5850 wine_cv_builtin_ms_va_list=no
5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5855 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5856 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5857 enable_wow64=${enable_wow64:-yes}
5858 enable_wow64win=${enable_wow64win:-yes}
5860 i[3456789]86*)
5861 enable_win16=${enable_win16:-yes}
5862 with_unwind=${with_unwind:-no}
5864 esac
5866 enable_win16=${enable_win16:-no}
5867 enable_win64=${enable_win64:-no}
5868 enable_wow64=${enable_wow64:-no}
5869 enable_wow64win=${enable_wow64win:-no}
5870 enable_wow64cpu=${enable_wow64cpu:-no}
5872 enable_winetest=${enable_winetest:-$enable_tests}
5874 if test "x$enable_win64" = "xyes"
5875 then
5876 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5877 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5880 case $build_os in
5881 cygwin*|mingw32*) toolsext=".exe"
5883 *) toolsext=""
5885 esac
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5888 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5889 if ${wine_cv_toolsdir+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 wine_cv_toolsdir="$with_wine_tools"
5893 if test -z "$with_wine_tools"; then
5894 if test "$cross_compiling" = "yes"; then
5895 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5896 elif test -n "$with_wine64"; then
5897 wine_cv_toolsdir="$with_wine64"
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5902 $as_echo "$wine_cv_toolsdir" >&6; }
5903 if test -z "$wine_cv_toolsdir"; then
5904 wine_makedep=tools/makedep$toolsext
5905 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5906 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
5907 enable_tools=${enable_tools:-no}
5908 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5909 else
5910 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5912 toolsdir=$wine_cv_toolsdir
5914 MAKEDEP=$wine_makedep
5916 RUNTESTFLAGS="-q -P wine"
5918 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
5920 api_manext=3w
5923 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5924 then
5925 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5928 for ac_prog in flex
5930 # Extract the first word of "$ac_prog", so it can be a program name with args.
5931 set dummy $ac_prog; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_FLEX+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 if test -n "$FLEX"; then
5938 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5943 IFS=$as_save_IFS
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_FLEX="$ac_prog"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 break 2
5951 done
5952 done
5953 IFS=$as_save_IFS
5957 FLEX=$ac_cv_prog_FLEX
5958 if test -n "$FLEX"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5960 $as_echo "$FLEX" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5967 test -n "$FLEX" && break
5968 done
5969 test -n "$FLEX" || FLEX="none"
5971 if test "$FLEX" = "none"
5972 then
5973 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5976 $as_echo_n "checking whether flex is recent enough... " >&6; }
5977 if ${wine_cv_recent_flex+:} false; then :
5978 $as_echo_n "(cached) " >&6
5979 else
5980 cat >conftest.l <<EOF
5981 %top{
5982 #include "prediluvian.h"
5986 if $FLEX -t conftest.l >/dev/null 2>&5
5987 then
5988 wine_cv_recent_flex=yes
5989 else
5990 wine_cv_recent_flex=no
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5994 $as_echo "$wine_cv_recent_flex" >&6; }
5995 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
5997 for ac_prog in bison
5999 # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 set dummy $ac_prog; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002 $as_echo_n "checking for $ac_word... " >&6; }
6003 if ${ac_cv_prog_BISON+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 if test -n "$BISON"; then
6007 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6008 else
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 for as_dir in $PATH
6012 IFS=$as_save_IFS
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_BISON="$ac_prog"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 break 2
6020 done
6021 done
6022 IFS=$as_save_IFS
6026 BISON=$ac_cv_prog_BISON
6027 if test -n "$BISON"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6029 $as_echo "$BISON" >&6; }
6030 else
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032 $as_echo "no" >&6; }
6036 test -n "$BISON" && break
6037 done
6038 test -n "$BISON" || BISON="none"
6040 if test "$BISON" = "none"
6041 then
6042 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6045 $as_echo_n "checking whether bison is recent enough... " >&6; }
6046 if ${wine_cv_recent_bison+:} false; then :
6047 $as_echo_n "(cached) " >&6
6048 else
6049 cat >conftest.y <<EOF
6050 %define parse.error verbose
6052 empty: ;
6054 if $BISON conftest.y >/dev/null 2>&5
6055 then
6056 wine_cv_recent_bison=yes
6057 else
6058 wine_cv_recent_bison=no
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6062 $as_echo "$wine_cv_recent_bison" >&6; }
6063 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
6065 if test -n "$ac_tool_prefix"; then
6066 for ac_prog in ar gar
6068 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6069 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 $as_echo_n "checking for $ac_word... " >&6; }
6072 if ${ac_cv_prog_AR+:} false; then :
6073 $as_echo_n "(cached) " >&6
6074 else
6075 if test -n "$AR"; then
6076 ac_cv_prog_AR="$AR" # Let the user override the test.
6077 else
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 for as_dir in $PATH
6081 IFS=$as_save_IFS
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 AR=$ac_cv_prog_AR
6096 if test -n "$AR"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6098 $as_echo "$AR" >&6; }
6099 else
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6105 test -n "$AR" && break
6106 done
6108 if test -z "$AR"; then
6109 ac_ct_AR=$AR
6110 for ac_prog in ar gar
6112 # Extract the first word of "$ac_prog", so it can be a program name with args.
6113 set dummy $ac_prog; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$ac_ct_AR"; then
6120 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_ac_ct_AR="$ac_prog"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6140 if test -n "$ac_ct_AR"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6142 $as_echo "$ac_ct_AR" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6149 test -n "$ac_ct_AR" && break
6150 done
6152 if test "x$ac_ct_AR" = x; then
6153 AR="ar"
6154 else
6155 case $cross_compiling:$ac_tool_warned in
6156 yes:)
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6159 ac_tool_warned=yes ;;
6160 esac
6161 AR=$ac_ct_AR
6165 if test -n "$ac_tool_prefix"; then
6166 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6167 set dummy ${ac_tool_prefix}strip; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_STRIP+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 if test -n "$STRIP"; then
6174 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6175 else
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $PATH
6179 IFS=$as_save_IFS
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 break 2
6187 done
6188 done
6189 IFS=$as_save_IFS
6193 STRIP=$ac_cv_prog_STRIP
6194 if test -n "$STRIP"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6196 $as_echo "$STRIP" >&6; }
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6204 if test -z "$ac_cv_prog_STRIP"; then
6205 ac_ct_STRIP=$STRIP
6206 # Extract the first word of "strip", so it can be a program name with args.
6207 set dummy strip; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if test -n "$ac_ct_STRIP"; then
6214 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_ac_ct_STRIP="strip"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6227 done
6228 done
6229 IFS=$as_save_IFS
6233 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6234 if test -n "$ac_ct_STRIP"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6236 $as_echo "$ac_ct_STRIP" >&6; }
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6242 if test "x$ac_ct_STRIP" = x; then
6243 STRIP="strip"
6244 else
6245 case $cross_compiling:$ac_tool_warned in
6246 yes:)
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6249 ac_tool_warned=yes ;;
6250 esac
6251 STRIP=$ac_ct_STRIP
6253 else
6254 STRIP="$ac_cv_prog_STRIP"
6257 if test -n "$ac_tool_prefix"; then
6258 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6259 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 $as_echo_n "checking for $ac_word... " >&6; }
6262 if ${ac_cv_prog_RANLIB+:} false; then :
6263 $as_echo_n "(cached) " >&6
6264 else
6265 if test -n "$RANLIB"; then
6266 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6271 IFS=$as_save_IFS
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6275 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 break 2
6279 done
6280 done
6281 IFS=$as_save_IFS
6285 RANLIB=$ac_cv_prog_RANLIB
6286 if test -n "$RANLIB"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6288 $as_echo "$RANLIB" >&6; }
6289 else
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6296 if test -z "$ac_cv_prog_RANLIB"; then
6297 ac_ct_RANLIB=$RANLIB
6298 # Extract the first word of "ranlib", so it can be a program name with args.
6299 set dummy ranlib; ac_word=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6303 $as_echo_n "(cached) " >&6
6304 else
6305 if test -n "$ac_ct_RANLIB"; then
6306 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6307 else
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 for as_dir in $PATH
6311 IFS=$as_save_IFS
6312 test -z "$as_dir" && as_dir=.
6313 for ac_exec_ext in '' $ac_executable_extensions; do
6314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6315 ac_cv_prog_ac_ct_RANLIB="ranlib"
6316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317 break 2
6319 done
6320 done
6321 IFS=$as_save_IFS
6325 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6326 if test -n "$ac_ct_RANLIB"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6328 $as_echo "$ac_ct_RANLIB" >&6; }
6329 else
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6334 if test "x$ac_ct_RANLIB" = x; then
6335 RANLIB=":"
6336 else
6337 case $cross_compiling:$ac_tool_warned in
6338 yes:)
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6341 ac_tool_warned=yes ;;
6342 esac
6343 RANLIB=$ac_ct_RANLIB
6345 else
6346 RANLIB="$ac_cv_prog_RANLIB"
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6350 $as_echo_n "checking whether ln -s works... " >&6; }
6351 LN_S=$as_ln_s
6352 if test "$LN_S" = "ln -s"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6354 $as_echo "yes" >&6; }
6355 else
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6357 $as_echo "no, using $LN_S" >&6; }
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6361 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6362 if ${ac_cv_path_GREP+:} false; then :
6363 $as_echo_n "(cached) " >&6
6364 else
6365 if test -z "$GREP"; then
6366 ac_path_GREP_found=false
6367 # Loop through the user's path and test for each of PROGNAME-LIST
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6371 IFS=$as_save_IFS
6372 test -z "$as_dir" && as_dir=.
6373 for ac_prog in grep ggrep; do
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6376 as_fn_executable_p "$ac_path_GREP" || continue
6377 # Check for GNU ac_path_GREP and select it if it is found.
6378 # Check for GNU $ac_path_GREP
6379 case `"$ac_path_GREP" --version 2>&1` in
6380 *GNU*)
6381 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6383 ac_count=0
6384 $as_echo_n 0123456789 >"conftest.in"
6385 while :
6387 cat "conftest.in" "conftest.in" >"conftest.tmp"
6388 mv "conftest.tmp" "conftest.in"
6389 cp "conftest.in" "conftest.nl"
6390 $as_echo 'GREP' >> "conftest.nl"
6391 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6393 as_fn_arith $ac_count + 1 && ac_count=$as_val
6394 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6395 # Best one so far, save it but keep looking for a better one
6396 ac_cv_path_GREP="$ac_path_GREP"
6397 ac_path_GREP_max=$ac_count
6399 # 10*(2^10) chars as input seems more than enough
6400 test $ac_count -gt 10 && break
6401 done
6402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6403 esac
6405 $ac_path_GREP_found && break 3
6406 done
6407 done
6408 done
6409 IFS=$as_save_IFS
6410 if test -z "$ac_cv_path_GREP"; then
6411 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6413 else
6414 ac_cv_path_GREP=$GREP
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6419 $as_echo "$ac_cv_path_GREP" >&6; }
6420 GREP="$ac_cv_path_GREP"
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6424 $as_echo_n "checking for egrep... " >&6; }
6425 if ${ac_cv_path_EGREP+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6429 then ac_cv_path_EGREP="$GREP -E"
6430 else
6431 if test -z "$EGREP"; then
6432 ac_path_EGREP_found=false
6433 # Loop through the user's path and test for each of PROGNAME-LIST
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_prog in egrep; do
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6442 as_fn_executable_p "$ac_path_EGREP" || continue
6443 # Check for GNU ac_path_EGREP and select it if it is found.
6444 # Check for GNU $ac_path_EGREP
6445 case `"$ac_path_EGREP" --version 2>&1` in
6446 *GNU*)
6447 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6449 ac_count=0
6450 $as_echo_n 0123456789 >"conftest.in"
6451 while :
6453 cat "conftest.in" "conftest.in" >"conftest.tmp"
6454 mv "conftest.tmp" "conftest.in"
6455 cp "conftest.in" "conftest.nl"
6456 $as_echo 'EGREP' >> "conftest.nl"
6457 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6458 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6459 as_fn_arith $ac_count + 1 && ac_count=$as_val
6460 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6461 # Best one so far, save it but keep looking for a better one
6462 ac_cv_path_EGREP="$ac_path_EGREP"
6463 ac_path_EGREP_max=$ac_count
6465 # 10*(2^10) chars as input seems more than enough
6466 test $ac_count -gt 10 && break
6467 done
6468 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6469 esac
6471 $ac_path_EGREP_found && break 3
6472 done
6473 done
6474 done
6475 IFS=$as_save_IFS
6476 if test -z "$ac_cv_path_EGREP"; then
6477 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6479 else
6480 ac_cv_path_EGREP=$EGREP
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6486 $as_echo "$ac_cv_path_EGREP" >&6; }
6487 EGREP="$ac_cv_path_EGREP"
6490 # Extract the first word of "ldconfig", so it can be a program name with args.
6491 set dummy ldconfig; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493 $as_echo_n "checking for $ac_word... " >&6; }
6494 if ${ac_cv_path_LDCONFIG+:} false; then :
6495 $as_echo_n "(cached) " >&6
6496 else
6497 case $LDCONFIG in
6498 [\\/]* | ?:[\\/]*)
6499 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 for as_dir in /sbin /usr/sbin $PATH
6505 IFS=$as_save_IFS
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6509 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511 break 2
6513 done
6514 done
6515 IFS=$as_save_IFS
6517 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6519 esac
6521 LDCONFIG=$ac_cv_path_LDCONFIG
6522 if test -n "$LDCONFIG"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6524 $as_echo "$LDCONFIG" >&6; }
6525 else
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 $as_echo "no" >&6; }
6531 for ac_prog in msgfmt
6533 # Extract the first word of "$ac_prog", so it can be a program name with args.
6534 set dummy $ac_prog; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_MSGFMT+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6540 if test -n "$MSGFMT"; then
6541 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6542 else
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 for as_dir in $PATH
6546 IFS=$as_save_IFS
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_MSGFMT="$ac_prog"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 break 2
6554 done
6555 done
6556 IFS=$as_save_IFS
6560 MSGFMT=$ac_cv_prog_MSGFMT
6561 if test -n "$MSGFMT"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6563 $as_echo "$MSGFMT" >&6; }
6564 else
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6570 test -n "$MSGFMT" && break
6571 done
6572 test -n "$MSGFMT" || MSGFMT="false"
6574 if ${ac_tool_prefix+:} false; then :
6575 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6576 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$PKG_CONFIG"; then
6583 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6603 if test -n "$PKG_CONFIG"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6605 $as_echo "$PKG_CONFIG" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6613 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6614 if test "x$cross_compiling" = xyes; then :
6616 else
6617 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6618 # Extract the first word of "pkg-config", so it can be a program name with args.
6619 set dummy pkg-config; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$PKG_CONFIG"; then
6626 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_PKG_CONFIG="pkg-config"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6646 if test -n "$PKG_CONFIG"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6648 $as_echo "$PKG_CONFIG" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6656 else
6657 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6660 if test "x$enable_maintainer_mode" != "xyes"
6661 then
6662 FONTFORGE=""
6663 RSVG=""
6664 CONVERT=""
6665 ICOTOOL=""
6666 else
6667 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6668 for ac_prog in fontforge
6670 # Extract the first word of "$ac_prog", so it can be a program name with args.
6671 set dummy $ac_prog; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_FONTFORGE+:} false; then :
6675 $as_echo_n "(cached) " >&6
6676 else
6677 if test -n "$FONTFORGE"; then
6678 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6679 else
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 for as_dir in $PATH
6683 IFS=$as_save_IFS
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_FONTFORGE="$ac_prog"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 break 2
6691 done
6692 done
6693 IFS=$as_save_IFS
6697 FONTFORGE=$ac_cv_prog_FONTFORGE
6698 if test -n "$FONTFORGE"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6700 $as_echo "$FONTFORGE" >&6; }
6701 else
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6707 test -n "$FONTFORGE" && break
6708 done
6709 test -n "$FONTFORGE" || FONTFORGE="false"
6711 for ac_prog in rsvg-convert rsvg
6713 # Extract the first word of "$ac_prog", so it can be a program name with args.
6714 set dummy $ac_prog; ac_word=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if ${ac_cv_prog_RSVG+:} false; then :
6718 $as_echo_n "(cached) " >&6
6719 else
6720 if test -n "$RSVG"; then
6721 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6722 else
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 for as_dir in $PATH
6726 IFS=$as_save_IFS
6727 test -z "$as_dir" && as_dir=.
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_RSVG="$ac_prog"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 break 2
6734 done
6735 done
6736 IFS=$as_save_IFS
6740 RSVG=$ac_cv_prog_RSVG
6741 if test -n "$RSVG"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6743 $as_echo "$RSVG" >&6; }
6744 else
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 $as_echo "no" >&6; }
6750 test -n "$RSVG" && break
6751 done
6752 test -n "$RSVG" || RSVG="false"
6754 for ac_prog in convert
6756 # Extract the first word of "$ac_prog", so it can be a program name with args.
6757 set dummy $ac_prog; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 $as_echo_n "checking for $ac_word... " >&6; }
6760 if ${ac_cv_prog_CONVERT+:} false; then :
6761 $as_echo_n "(cached) " >&6
6762 else
6763 if test -n "$CONVERT"; then
6764 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6765 else
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 for as_dir in $PATH
6769 IFS=$as_save_IFS
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_CONVERT="$ac_prog"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 break 2
6777 done
6778 done
6779 IFS=$as_save_IFS
6783 CONVERT=$ac_cv_prog_CONVERT
6784 if test -n "$CONVERT"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6786 $as_echo "$CONVERT" >&6; }
6787 else
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 $as_echo "no" >&6; }
6793 test -n "$CONVERT" && break
6794 done
6795 test -n "$CONVERT" || CONVERT="false"
6797 for ac_prog in icotool
6799 # Extract the first word of "$ac_prog", so it can be a program name with args.
6800 set dummy $ac_prog; ac_word=$2
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802 $as_echo_n "checking for $ac_word... " >&6; }
6803 if ${ac_cv_prog_ICOTOOL+:} false; then :
6804 $as_echo_n "(cached) " >&6
6805 else
6806 if test -n "$ICOTOOL"; then
6807 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6808 else
6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 for as_dir in $PATH
6812 IFS=$as_save_IFS
6813 test -z "$as_dir" && as_dir=.
6814 for ac_exec_ext in '' $ac_executable_extensions; do
6815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6816 ac_cv_prog_ICOTOOL="$ac_prog"
6817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6818 break 2
6820 done
6821 done
6822 IFS=$as_save_IFS
6826 ICOTOOL=$ac_cv_prog_ICOTOOL
6827 if test -n "$ICOTOOL"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6829 $as_echo "$ICOTOOL" >&6; }
6830 else
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832 $as_echo "no" >&6; }
6836 test -n "$ICOTOOL" && break
6837 done
6838 test -n "$ICOTOOL" || ICOTOOL="false"
6840 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6841 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6843 if test "$CONVERT" = false
6844 then
6845 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6846 else
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6848 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6849 convert_version=`convert --version | head -n1`
6850 if test "x$convert_version" != "x"
6851 then
6852 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6853 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6854 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6855 then
6856 CONVERT=false
6859 if test "$CONVERT" = false
6860 then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6862 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6863 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6864 else
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6866 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6870 if test "$ICOTOOL" = false
6871 then
6872 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6873 else
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6875 $as_echo_n "checking for recent enough icotool... " >&6; }
6876 icotool_version=`icotool --version | head -n1`
6877 if test "x$icotool_version" != "x"
6878 then
6879 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6880 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6881 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6882 then
6883 ICOTOOL=false
6884 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6887 if test "$ICOTOOL" = false
6888 then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6890 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6891 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6892 else
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6894 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6898 with_gettext=yes
6899 with_gettextpo=yes
6901 enable_werror=yes
6904 test "x$with_gettext" != xno || MSGFMT=false
6905 if test "$MSGFMT" != "false"
6906 then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6908 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6909 if ${wine_cv_msgfmt_contexts+:} false; then :
6910 $as_echo_n "(cached) " >&6
6911 else
6912 cat >conftest.po <<EOF
6913 # comment
6914 msgctxt "ctxt"
6915 msgid "id"
6916 msgstr "str"
6918 if $MSGFMT -o /dev/null conftest.po 2>&5
6919 then
6920 wine_cv_msgfmt_contexts=yes
6921 else
6922 wine_cv_msgfmt_contexts=no
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6926 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6927 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6929 if test "$MSGFMT" = false; then :
6930 case "x$with_gettext" in
6931 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6932 xno) ;;
6933 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6934 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6935 esac
6936 enable_po=${enable_po:-no}
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6941 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6942 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6943 $as_echo_n "(cached) " >&6
6944 else
6945 ac_check_lib_save_LIBS=$LIBS
6946 LIBS="-li386 $LIBS"
6947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6950 /* Override any GCC internal prototype to avoid an error.
6951 Use char because int might match the return type of a GCC
6952 builtin and then its argument prototype would still apply. */
6953 #ifdef __cplusplus
6954 extern "C"
6955 #endif
6956 char i386_set_ldt ();
6958 main ()
6960 return i386_set_ldt ();
6962 return 0;
6964 _ACEOF
6965 if ac_fn_c_try_link "$LINENO"; then :
6966 ac_cv_lib_i386_i386_set_ldt=yes
6967 else
6968 ac_cv_lib_i386_i386_set_ldt=no
6970 rm -f core conftest.err conftest.$ac_objext \
6971 conftest$ac_exeext conftest.$ac_ext
6972 LIBS=$ac_check_lib_save_LIBS
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6975 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6976 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6977 I386_LIBS="-li386"
6982 OPENGL_LIBS=""
6986 # Check whether --enable-largefile was given.
6987 if test "${enable_largefile+set}" = set; then :
6988 enableval=$enable_largefile;
6991 if test "$enable_largefile" != no; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6994 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6995 if ${ac_cv_sys_largefile_CC+:} false; then :
6996 $as_echo_n "(cached) " >&6
6997 else
6998 ac_cv_sys_largefile_CC=no
6999 if test "$GCC" != yes; then
7000 ac_save_CC=$CC
7001 while :; do
7002 # IRIX 6.2 and later do not support large files by default,
7003 # so use the C compiler's -n32 option if that helps.
7004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 #include <sys/types.h>
7007 /* Check that off_t can represent 2**63 - 1 correctly.
7008 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7009 since some C++ compilers masquerading as C compilers
7010 incorrectly reject 9223372036854775807. */
7011 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7012 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7013 && LARGE_OFF_T % 2147483647 == 1)
7014 ? 1 : -1];
7016 main ()
7020 return 0;
7022 _ACEOF
7023 if ac_fn_c_try_compile "$LINENO"; then :
7024 break
7026 rm -f core conftest.err conftest.$ac_objext
7027 CC="$CC -n32"
7028 if ac_fn_c_try_compile "$LINENO"; then :
7029 ac_cv_sys_largefile_CC=' -n32'; break
7031 rm -f core conftest.err conftest.$ac_objext
7032 break
7033 done
7034 CC=$ac_save_CC
7035 rm -f conftest.$ac_ext
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7039 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7040 if test "$ac_cv_sys_largefile_CC" != no; then
7041 CC=$CC$ac_cv_sys_largefile_CC
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7045 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7046 if ${ac_cv_sys_file_offset_bits+:} false; then :
7047 $as_echo_n "(cached) " >&6
7048 else
7049 while :; do
7050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 /* end confdefs.h. */
7052 #include <sys/types.h>
7053 /* Check that off_t can represent 2**63 - 1 correctly.
7054 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7055 since some C++ compilers masquerading as C compilers
7056 incorrectly reject 9223372036854775807. */
7057 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7059 && LARGE_OFF_T % 2147483647 == 1)
7060 ? 1 : -1];
7062 main ()
7066 return 0;
7068 _ACEOF
7069 if ac_fn_c_try_compile "$LINENO"; then :
7070 ac_cv_sys_file_offset_bits=no; break
7072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7074 /* end confdefs.h. */
7075 #define _FILE_OFFSET_BITS 64
7076 #include <sys/types.h>
7077 /* Check that off_t can represent 2**63 - 1 correctly.
7078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7079 since some C++ compilers masquerading as C compilers
7080 incorrectly reject 9223372036854775807. */
7081 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7083 && LARGE_OFF_T % 2147483647 == 1)
7084 ? 1 : -1];
7086 main ()
7090 return 0;
7092 _ACEOF
7093 if ac_fn_c_try_compile "$LINENO"; then :
7094 ac_cv_sys_file_offset_bits=64; break
7096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7097 ac_cv_sys_file_offset_bits=unknown
7098 break
7099 done
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7102 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7103 case $ac_cv_sys_file_offset_bits in #(
7104 no | unknown) ;;
7106 cat >>confdefs.h <<_ACEOF
7107 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7108 _ACEOF
7110 esac
7111 rm -rf conftest*
7112 if test $ac_cv_sys_file_offset_bits = unknown; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7114 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7115 if ${ac_cv_sys_large_files+:} false; then :
7116 $as_echo_n "(cached) " >&6
7117 else
7118 while :; do
7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7120 /* end confdefs.h. */
7121 #include <sys/types.h>
7122 /* Check that off_t can represent 2**63 - 1 correctly.
7123 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7124 since some C++ compilers masquerading as C compilers
7125 incorrectly reject 9223372036854775807. */
7126 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7127 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7128 && LARGE_OFF_T % 2147483647 == 1)
7129 ? 1 : -1];
7131 main ()
7135 return 0;
7137 _ACEOF
7138 if ac_fn_c_try_compile "$LINENO"; then :
7139 ac_cv_sys_large_files=no; break
7141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7144 #define _LARGE_FILES 1
7145 #include <sys/types.h>
7146 /* Check that off_t can represent 2**63 - 1 correctly.
7147 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7148 since some C++ compilers masquerading as C compilers
7149 incorrectly reject 9223372036854775807. */
7150 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7151 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7152 && LARGE_OFF_T % 2147483647 == 1)
7153 ? 1 : -1];
7155 main ()
7159 return 0;
7161 _ACEOF
7162 if ac_fn_c_try_compile "$LINENO"; then :
7163 ac_cv_sys_large_files=1; break
7165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7166 ac_cv_sys_large_files=unknown
7167 break
7168 done
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7171 $as_echo "$ac_cv_sys_large_files" >&6; }
7172 case $ac_cv_sys_large_files in #(
7173 no | unknown) ;;
7175 cat >>confdefs.h <<_ACEOF
7176 #define _LARGE_FILES $ac_cv_sys_large_files
7177 _ACEOF
7179 esac
7180 rm -rf conftest*
7187 ac_ext=c
7188 ac_cpp='$CPP $CPPFLAGS'
7189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7193 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7194 # On Suns, sometimes $CPP names a directory.
7195 if test -n "$CPP" && test -d "$CPP"; then
7196 CPP=
7198 if test -z "$CPP"; then
7199 if ${ac_cv_prog_CPP+:} false; then :
7200 $as_echo_n "(cached) " >&6
7201 else
7202 # Double quotes because CPP needs to be expanded
7203 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7205 ac_preproc_ok=false
7206 for ac_c_preproc_warn_flag in '' yes
7208 # Use a header file that comes with gcc, so configuring glibc
7209 # with a fresh cross-compiler works.
7210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7211 # <limits.h> exists even on freestanding compilers.
7212 # On the NeXT, cc -E runs the code through the compiler's parser,
7213 # not just through cpp. "Syntax error" is here to catch this case.
7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215 /* end confdefs.h. */
7216 #ifdef __STDC__
7217 # include <limits.h>
7218 #else
7219 # include <assert.h>
7220 #endif
7221 Syntax error
7222 _ACEOF
7223 if ac_fn_c_try_cpp "$LINENO"; then :
7225 else
7226 # Broken: fails on valid input.
7227 continue
7229 rm -f conftest.err conftest.i conftest.$ac_ext
7231 # OK, works on sane cases. Now check whether nonexistent headers
7232 # can be detected and how.
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7234 /* end confdefs.h. */
7235 #include <ac_nonexistent.h>
7236 _ACEOF
7237 if ac_fn_c_try_cpp "$LINENO"; then :
7238 # Broken: success on invalid input.
7239 continue
7240 else
7241 # Passes both tests.
7242 ac_preproc_ok=:
7243 break
7245 rm -f conftest.err conftest.i conftest.$ac_ext
7247 done
7248 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7249 rm -f conftest.i conftest.err conftest.$ac_ext
7250 if $ac_preproc_ok; then :
7251 break
7254 done
7255 ac_cv_prog_CPP=$CPP
7258 CPP=$ac_cv_prog_CPP
7259 else
7260 ac_cv_prog_CPP=$CPP
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7263 $as_echo "$CPP" >&6; }
7264 ac_preproc_ok=false
7265 for ac_c_preproc_warn_flag in '' yes
7267 # Use a header file that comes with gcc, so configuring glibc
7268 # with a fresh cross-compiler works.
7269 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7270 # <limits.h> exists even on freestanding compilers.
7271 # On the NeXT, cc -E runs the code through the compiler's parser,
7272 # not just through cpp. "Syntax error" is here to catch this case.
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7275 #ifdef __STDC__
7276 # include <limits.h>
7277 #else
7278 # include <assert.h>
7279 #endif
7280 Syntax error
7281 _ACEOF
7282 if ac_fn_c_try_cpp "$LINENO"; then :
7284 else
7285 # Broken: fails on valid input.
7286 continue
7288 rm -f conftest.err conftest.i conftest.$ac_ext
7290 # OK, works on sane cases. Now check whether nonexistent headers
7291 # can be detected and how.
7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7294 #include <ac_nonexistent.h>
7295 _ACEOF
7296 if ac_fn_c_try_cpp "$LINENO"; then :
7297 # Broken: success on invalid input.
7298 continue
7299 else
7300 # Passes both tests.
7301 ac_preproc_ok=:
7302 break
7304 rm -f conftest.err conftest.i conftest.$ac_ext
7306 done
7307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7308 rm -f conftest.i conftest.err conftest.$ac_ext
7309 if $ac_preproc_ok; then :
7311 else
7312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7314 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7315 See \`config.log' for more details" "$LINENO" 5; }
7318 ac_ext=c
7319 ac_cpp='$CPP $CPPFLAGS'
7320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7326 $as_echo_n "checking for ANSI C header files... " >&6; }
7327 if ${ac_cv_header_stdc+:} false; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331 /* end confdefs.h. */
7332 #include <stdlib.h>
7333 #include <stdarg.h>
7334 #include <string.h>
7335 #include <float.h>
7338 main ()
7342 return 0;
7344 _ACEOF
7345 if ac_fn_c_try_compile "$LINENO"; then :
7346 ac_cv_header_stdc=yes
7347 else
7348 ac_cv_header_stdc=no
7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7352 if test $ac_cv_header_stdc = yes; then
7353 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7355 /* end confdefs.h. */
7356 #include <string.h>
7358 _ACEOF
7359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7360 $EGREP "memchr" >/dev/null 2>&1; then :
7362 else
7363 ac_cv_header_stdc=no
7365 rm -f conftest*
7369 if test $ac_cv_header_stdc = yes; then
7370 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7372 /* end confdefs.h. */
7373 #include <stdlib.h>
7375 _ACEOF
7376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7377 $EGREP "free" >/dev/null 2>&1; then :
7379 else
7380 ac_cv_header_stdc=no
7382 rm -f conftest*
7386 if test $ac_cv_header_stdc = yes; then
7387 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7388 if test "$cross_compiling" = yes; then :
7390 else
7391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7392 /* end confdefs.h. */
7393 #include <ctype.h>
7394 #include <stdlib.h>
7395 #if ((' ' & 0x0FF) == 0x020)
7396 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7397 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7398 #else
7399 # define ISLOWER(c) \
7400 (('a' <= (c) && (c) <= 'i') \
7401 || ('j' <= (c) && (c) <= 'r') \
7402 || ('s' <= (c) && (c) <= 'z'))
7403 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7404 #endif
7406 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7408 main ()
7410 int i;
7411 for (i = 0; i < 256; i++)
7412 if (XOR (islower (i), ISLOWER (i))
7413 || toupper (i) != TOUPPER (i))
7414 return 2;
7415 return 0;
7417 _ACEOF
7418 if ac_fn_c_try_run "$LINENO"; then :
7420 else
7421 ac_cv_header_stdc=no
7423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7424 conftest.$ac_objext conftest.beam conftest.$ac_ext
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7430 $as_echo "$ac_cv_header_stdc" >&6; }
7431 if test $ac_cv_header_stdc = yes; then
7433 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7437 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7438 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7439 inttypes.h stdint.h unistd.h
7440 do :
7441 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7442 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7444 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7445 cat >>confdefs.h <<_ACEOF
7446 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7447 _ACEOF
7451 done
7454 for ac_header in \
7455 AL/al.h \
7456 ApplicationServices/ApplicationServices.h \
7457 CL/cl.h \
7458 Carbon/Carbon.h \
7459 CoreAudio/CoreAudio.h \
7460 DiskArbitration/DiskArbitration.h \
7461 EGL/egl.h \
7462 IOKit/IOKitLib.h \
7463 IOKit/hid/IOHIDLib.h \
7464 OpenAL/al.h \
7465 OpenCL/opencl.h \
7466 QuickTime/ImageCompression.h \
7467 Security/Security.h \
7468 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7469 SystemConfiguration/SCNetworkConfiguration.h \
7470 alias.h \
7471 arpa/inet.h \
7472 arpa/nameser.h \
7473 asm/types.h \
7474 asm/user.h \
7475 dirent.h \
7476 elf.h \
7477 float.h \
7478 gettext-po.h \
7479 ieeefp.h \
7480 libproc.h \
7481 link.h \
7482 linux/cdrom.h \
7483 linux/filter.h \
7484 linux/hdreg.h \
7485 linux/hidraw.h \
7486 linux/input.h \
7487 linux/ioctl.h \
7488 linux/joystick.h \
7489 linux/major.h \
7490 linux/param.h \
7491 linux/serial.h \
7492 linux/types.h \
7493 linux/ucdrom.h \
7494 lwp.h \
7495 mach-o/loader.h \
7496 mach/mach.h \
7497 machine/cpu.h \
7498 machine/sysarch.h \
7499 mntent.h \
7500 netdb.h \
7501 netinet/in.h \
7502 netinet/in_systm.h \
7503 netinet/tcp.h \
7504 netinet/tcp_fsm.h \
7505 pcap/pcap.h \
7506 port.h \
7507 pthread.h \
7508 pwd.h \
7509 sasl/sasl.h \
7510 sched.h \
7511 scsi/scsi.h \
7512 scsi/scsi_ioctl.h \
7513 scsi/sg.h \
7514 stdint.h \
7515 sys/attr.h \
7516 sys/auxv.h \
7517 sys/cdio.h \
7518 sys/epoll.h \
7519 sys/event.h \
7520 sys/filio.h \
7521 sys/ioctl.h \
7522 sys/ipc.h \
7523 sys/link.h \
7524 sys/mman.h \
7525 sys/modem.h \
7526 sys/mtio.h \
7527 sys/param.h \
7528 sys/prctl.h \
7529 sys/protosw.h \
7530 sys/ptrace.h \
7531 sys/queue.h \
7532 sys/random.h \
7533 sys/resource.h \
7534 sys/scsiio.h \
7535 sys/shm.h \
7536 sys/signal.h \
7537 sys/socket.h \
7538 sys/socketvar.h \
7539 sys/sockio.h \
7540 sys/statvfs.h \
7541 sys/strtio.h \
7542 sys/syscall.h \
7543 sys/sysinfo.h \
7544 sys/time.h \
7545 sys/timeout.h \
7546 sys/times.h \
7547 sys/uio.h \
7548 sys/user.h \
7549 sys/utsname.h \
7550 sys/vnode.h \
7551 sys/wait.h \
7552 syscall.h \
7553 termios.h \
7554 unistd.h \
7555 utime.h \
7556 valgrind/memcheck.h \
7557 valgrind/valgrind.h
7559 do :
7560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7561 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7562 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7563 cat >>confdefs.h <<_ACEOF
7564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7565 _ACEOF
7569 done
7571 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7572 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7574 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7579 if test $ac_cv_header_sys_mkdev_h = no; then
7580 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7581 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7583 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7590 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7591 if ${ac_cv_header_stat_broken+:} false; then :
7592 $as_echo_n "(cached) " >&6
7593 else
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7596 #include <sys/types.h>
7597 #include <sys/stat.h>
7599 #if defined S_ISBLK && defined S_IFDIR
7600 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7601 #endif
7603 #if defined S_ISBLK && defined S_IFCHR
7604 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7605 #endif
7607 #if defined S_ISLNK && defined S_IFREG
7608 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7609 #endif
7611 #if defined S_ISSOCK && defined S_IFREG
7612 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7613 #endif
7615 _ACEOF
7616 if ac_fn_c_try_compile "$LINENO"; then :
7617 ac_cv_header_stat_broken=no
7618 else
7619 ac_cv_header_stat_broken=yes
7621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7624 $as_echo "$ac_cv_header_stat_broken" >&6; }
7625 if test $ac_cv_header_stat_broken = yes; then
7627 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7633 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7634 do :
7635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7636 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7637 #ifdef HAVE_SYS_PARAM_H
7638 # include <sys/param.h>
7639 #endif
7641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7642 cat >>confdefs.h <<_ACEOF
7643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7644 _ACEOF
7648 done
7651 saved_sysctl_h_CFLAGS=$CFLAGS
7652 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7653 for ac_header in sys/sysctl.h
7654 do :
7655 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7656 #ifdef HAVE_SYS_PARAM_H
7657 # include <sys/param.h>
7658 #endif
7660 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7661 cat >>confdefs.h <<_ACEOF
7662 #define HAVE_SYS_SYSCTL_H 1
7663 _ACEOF
7667 done
7669 CFLAGS=$saved_sysctl_h_CFLAGS
7671 for ac_header in \
7672 netinet/ip.h \
7673 net/if.h \
7674 net/if_arp.h \
7675 net/if_dl.h \
7676 net/if_types.h \
7677 net/route.h \
7678 netinet/if_ether.h \
7679 netinet/if_inarp.h \
7680 netinet/in_pcb.h \
7681 netinet/ip_icmp.h \
7682 netinet/ip_var.h \
7683 netinet/udp.h \
7684 netipx/ipx.h \
7685 sys/un.h \
7687 do :
7688 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7689 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7690 #ifdef HAVE_SYS_SOCKET_H
7691 # include <sys/socket.h>
7692 #endif
7693 #ifdef HAVE_SYS_SOCKETVAR_H
7694 # include <sys/socketvar.h>
7695 #endif
7696 #ifdef HAVE_NET_ROUTE_H
7697 # include <net/route.h>
7698 #endif
7699 #ifdef HAVE_NETINET_IN_H
7700 # include <netinet/in.h>
7701 #endif
7702 #ifdef HAVE_NETINET_IN_SYSTM_H
7703 # include <netinet/in_systm.h>
7704 #endif
7705 #ifdef HAVE_NET_IF_H
7706 # include <net/if.h>
7707 #endif
7708 #ifdef HAVE_NETINET_IP_H
7709 # include <netinet/ip.h>
7710 #endif
7712 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7713 cat >>confdefs.h <<_ACEOF
7714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7715 _ACEOF
7719 done
7722 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7723 do :
7724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7725 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7726 #ifdef HAVE_ALIAS_H
7727 # include <alias.h>
7728 #endif
7729 #ifdef HAVE_SYS_SOCKET_H
7730 # include <sys/socket.h>
7731 #endif
7732 #ifdef HAVE_SYS_SOCKETVAR_H
7733 # include <sys/socketvar.h>
7734 #endif
7735 #ifdef HAVE_SYS_TIMEOUT_H
7736 # include <sys/timeout.h>
7737 #endif
7738 #ifdef HAVE_NETINET_IN_H
7739 # include <netinet/in.h>
7740 #endif
7741 #ifdef HAVE_NETINET_IN_SYSTM_H
7742 # include <netinet/in_systm.h>
7743 #endif
7744 #ifdef HAVE_NETINET_IP_H
7745 # include <netinet/ip.h>
7746 #endif
7747 #ifdef HAVE_NETINET_IP_VAR_H
7748 # include <netinet/ip_var.h>
7749 #endif
7750 #ifdef HAVE_NETINET_IP_ICMP_H
7751 # include <netinet/ip_icmp.h>
7752 #endif
7753 #ifdef HAVE_NETINET_UDP_H
7754 # include <netinet/udp.h>
7755 #endif
7756 #ifdef HAVE_NETINET_TCP_H
7757 # include <netinet/tcp.h>
7758 #endif
7759 #ifdef HAVE_NETINET_TCP_TIMER_H
7760 #include <netinet/tcp_timer.h>
7761 #endif
7763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7766 _ACEOF
7770 done
7773 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7774 do :
7775 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7776 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7777 #ifdef HAVE_ASM_TYPES_H
7778 # include <asm/types.h>
7779 #endif
7780 #ifdef HAVE_SYS_SOCKET_H
7781 # include <sys/socket.h>
7782 #endif
7783 #ifdef HAVE_LINUX_TYPES_H
7784 # include <linux/types.h>
7785 #endif
7787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7788 cat >>confdefs.h <<_ACEOF
7789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7790 _ACEOF
7794 done
7797 for ac_header in resolv.h
7798 do :
7799 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7800 #ifdef HAVE_SYS_SOCKET_H
7801 # include <sys/socket.h>
7802 #endif
7803 #ifdef HAVE_NETINET_IN_H
7804 # include <netinet/in.h>
7805 #endif
7806 #ifdef HAVE_ARPA_NAMESER_H
7807 # include <arpa/nameser.h>
7808 #endif
7810 if test "x$ac_cv_header_resolv_h" = xyes; then :
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_RESOLV_H 1
7813 _ACEOF
7817 done
7820 for ac_header in ifaddrs.h
7821 do :
7822 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7824 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_IFADDRS_H 1
7827 _ACEOF
7831 done
7834 for ac_header in sys/ucontext.h
7835 do :
7836 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7838 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7839 cat >>confdefs.h <<_ACEOF
7840 #define HAVE_SYS_UCONTEXT_H 1
7841 _ACEOF
7845 done
7848 for ac_header in sys/thr.h
7849 do :
7850 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7851 #ifdef HAVE_SYS_UCONTEXT_H
7852 #include <sys/ucontext.h>
7853 #endif
7855 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7856 cat >>confdefs.h <<_ACEOF
7857 #define HAVE_SYS_THR_H 1
7858 _ACEOF
7862 done
7865 for ac_header in pthread_np.h
7866 do :
7867 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7868 #include <pthread.h>
7869 #endif
7871 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7872 cat >>confdefs.h <<_ACEOF
7873 #define HAVE_PTHREAD_NP_H 1
7874 _ACEOF
7878 done
7881 for ac_header in linux/videodev2.h
7882 do :
7883 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7884 #include <sys/time.h>
7885 #endif
7886 #include <sys/types.h>
7887 #ifdef HAVE_ASM_TYPES_H
7888 #include <asm/types.h>
7889 #endif
7891 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7892 cat >>confdefs.h <<_ACEOF
7893 #define HAVE_LINUX_VIDEODEV2_H 1
7894 _ACEOF
7898 done
7901 for ac_header in libprocstat.h
7902 do :
7903 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7904 #include <sys/param.h>
7905 #endif
7906 #ifdef HAVE_SYS_QUEUE_H
7907 #include <sys/queue.h>
7908 #endif
7909 #ifdef HAVE_SYS_SOCKET_H
7910 #include <sys/socket.h>
7911 #endif
7913 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7914 cat >>confdefs.h <<_ACEOF
7915 #define HAVE_LIBPROCSTAT_H 1
7916 _ACEOF
7920 done
7924 DLLFLAGS=""
7926 LDDLLFLAGS=""
7928 LDEXECFLAGS=""
7930 EXTRACFLAGS=""
7932 UNIXDLLFLAGS="-fPIC"
7934 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
7936 TOP_INSTALL_LIB=""
7938 TOP_INSTALL_DEV=""
7940 WINELOADER_LDFLAGS=""
7942 WINEPRELOADER_LDFLAGS=""
7944 LIBEXT="so"
7945 # Extract the first word of "ldd", so it can be a program name with args.
7946 set dummy ldd; ac_word=$2
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7948 $as_echo_n "checking for $ac_word... " >&6; }
7949 if ${ac_cv_path_LDD+:} false; then :
7950 $as_echo_n "(cached) " >&6
7951 else
7952 case $LDD in
7953 [\\/]* | ?:[\\/]*)
7954 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7958 as_dummy="/sbin:/usr/sbin:$PATH"
7959 for as_dir in $as_dummy
7961 IFS=$as_save_IFS
7962 test -z "$as_dir" && as_dir=.
7963 for ac_exec_ext in '' $ac_executable_extensions; do
7964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7965 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7967 break 2
7969 done
7970 done
7971 IFS=$as_save_IFS
7973 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7975 esac
7977 LDD=$ac_cv_path_LDD
7978 if test -n "$LDD"; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7980 $as_echo "$LDD" >&6; }
7981 else
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7983 $as_echo "no" >&6; }
7987 if test -n "$ac_tool_prefix"; then
7988 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7989 set dummy ${ac_tool_prefix}otool; ac_word=$2
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7991 $as_echo_n "checking for $ac_word... " >&6; }
7992 if ${ac_cv_prog_OTOOL+:} false; then :
7993 $as_echo_n "(cached) " >&6
7994 else
7995 if test -n "$OTOOL"; then
7996 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7997 else
7998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999 for as_dir in $PATH
8001 IFS=$as_save_IFS
8002 test -z "$as_dir" && as_dir=.
8003 for ac_exec_ext in '' $ac_executable_extensions; do
8004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8005 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8007 break 2
8009 done
8010 done
8011 IFS=$as_save_IFS
8015 OTOOL=$ac_cv_prog_OTOOL
8016 if test -n "$OTOOL"; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8018 $as_echo "$OTOOL" >&6; }
8019 else
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8021 $as_echo "no" >&6; }
8026 if test -z "$ac_cv_prog_OTOOL"; then
8027 ac_ct_OTOOL=$OTOOL
8028 # Extract the first word of "otool", so it can be a program name with args.
8029 set dummy otool; ac_word=$2
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8031 $as_echo_n "checking for $ac_word... " >&6; }
8032 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8033 $as_echo_n "(cached) " >&6
8034 else
8035 if test -n "$ac_ct_OTOOL"; then
8036 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8037 else
8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 for as_dir in $PATH
8041 IFS=$as_save_IFS
8042 test -z "$as_dir" && as_dir=.
8043 for ac_exec_ext in '' $ac_executable_extensions; do
8044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8045 ac_cv_prog_ac_ct_OTOOL="otool"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8047 break 2
8049 done
8050 done
8051 IFS=$as_save_IFS
8055 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8056 if test -n "$ac_ct_OTOOL"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8058 $as_echo "$ac_ct_OTOOL" >&6; }
8059 else
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8061 $as_echo "no" >&6; }
8064 if test "x$ac_ct_OTOOL" = x; then
8065 OTOOL="otool"
8066 else
8067 case $cross_compiling:$ac_tool_warned in
8068 yes:)
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8071 ac_tool_warned=yes ;;
8072 esac
8073 OTOOL=$ac_ct_OTOOL
8075 else
8076 OTOOL="$ac_cv_prog_OTOOL"
8079 if test -n "$ac_tool_prefix"; then
8080 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8081 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8083 $as_echo_n "checking for $ac_word... " >&6; }
8084 if ${ac_cv_prog_READELF+:} false; then :
8085 $as_echo_n "(cached) " >&6
8086 else
8087 if test -n "$READELF"; then
8088 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8089 else
8090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8091 for as_dir in $PATH
8093 IFS=$as_save_IFS
8094 test -z "$as_dir" && as_dir=.
8095 for ac_exec_ext in '' $ac_executable_extensions; do
8096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8097 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8099 break 2
8101 done
8102 done
8103 IFS=$as_save_IFS
8107 READELF=$ac_cv_prog_READELF
8108 if test -n "$READELF"; then
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8110 $as_echo "$READELF" >&6; }
8111 else
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8118 if test -z "$ac_cv_prog_READELF"; then
8119 ac_ct_READELF=$READELF
8120 # Extract the first word of "readelf", so it can be a program name with args.
8121 set dummy readelf; ac_word=$2
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8123 $as_echo_n "checking for $ac_word... " >&6; }
8124 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8125 $as_echo_n "(cached) " >&6
8126 else
8127 if test -n "$ac_ct_READELF"; then
8128 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8129 else
8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8131 for as_dir in $PATH
8133 IFS=$as_save_IFS
8134 test -z "$as_dir" && as_dir=.
8135 for ac_exec_ext in '' $ac_executable_extensions; do
8136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8137 ac_cv_prog_ac_ct_READELF="readelf"
8138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8139 break 2
8141 done
8142 done
8143 IFS=$as_save_IFS
8147 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8148 if test -n "$ac_ct_READELF"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8150 $as_echo "$ac_ct_READELF" >&6; }
8151 else
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8153 $as_echo "no" >&6; }
8156 if test "x$ac_ct_READELF" = x; then
8157 READELF="true"
8158 else
8159 case $cross_compiling:$ac_tool_warned in
8160 yes:)
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8163 ac_tool_warned=yes ;;
8164 esac
8165 READELF=$ac_ct_READELF
8167 else
8168 READELF="$ac_cv_prog_READELF"
8171 wine_rules="all:"
8172 SUBDIRS=""
8174 DISABLED_SUBDIRS=""
8176 CONFIGURE_TARGETS=""
8179 wine_fn_append_file ()
8181 as_fn_append $1 " \\$as_nl $2"
8184 wine_fn_append_rule ()
8186 as_fn_append wine_rules "$as_nl$1"
8189 wine_fn_config_makefile ()
8191 wine_fn_append_file SUBDIRS $1
8192 if eval test \"x\$"$2"\" = x"no"; then :
8193 wine_fn_append_file DISABLED_SUBDIRS $1
8197 wine_fn_config_symlink ()
8199 ac_links=$@
8200 wine_fn_append_rule \
8201 "$ac_links:
8202 @./config.status \$@"
8203 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8206 wine_binary="wine"
8207 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8208 WINELOADER_PROGRAMS="$wine_binary"
8210 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8212 case $host_os in
8213 cygwin*|mingw32*)
8214 if test -n "$ac_tool_prefix"; then
8215 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8216 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8218 $as_echo_n "checking for $ac_word... " >&6; }
8219 if ${ac_cv_prog_DLLTOOL+:} false; then :
8220 $as_echo_n "(cached) " >&6
8221 else
8222 if test -n "$DLLTOOL"; then
8223 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8224 else
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226 for as_dir in $PATH
8228 IFS=$as_save_IFS
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8232 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8234 break 2
8236 done
8237 done
8238 IFS=$as_save_IFS
8242 DLLTOOL=$ac_cv_prog_DLLTOOL
8243 if test -n "$DLLTOOL"; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8245 $as_echo "$DLLTOOL" >&6; }
8246 else
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8248 $as_echo "no" >&6; }
8253 if test -z "$ac_cv_prog_DLLTOOL"; then
8254 ac_ct_DLLTOOL=$DLLTOOL
8255 # Extract the first word of "dlltool", so it can be a program name with args.
8256 set dummy dlltool; ac_word=$2
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8258 $as_echo_n "checking for $ac_word... " >&6; }
8259 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 if test -n "$ac_ct_DLLTOOL"; then
8263 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8264 else
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8266 for as_dir in $PATH
8268 IFS=$as_save_IFS
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8272 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 break 2
8276 done
8277 done
8278 IFS=$as_save_IFS
8282 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8283 if test -n "$ac_ct_DLLTOOL"; then
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8285 $as_echo "$ac_ct_DLLTOOL" >&6; }
8286 else
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8288 $as_echo "no" >&6; }
8291 if test "x$ac_ct_DLLTOOL" = x; then
8292 DLLTOOL="false"
8293 else
8294 case $cross_compiling:$ac_tool_warned in
8295 yes:)
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8298 ac_tool_warned=yes ;;
8299 esac
8300 DLLTOOL=$ac_ct_DLLTOOL
8302 else
8303 DLLTOOL="$ac_cv_prog_DLLTOOL"
8306 LIBEXT="dll"
8307 EXTRACFLAGS="-D__WINE_PE_BUILD"
8308 case $host_cpu in
8309 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8310 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8311 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 ac_wine_try_cflags_saved=$CFLAGS
8315 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 int main(int argc, char **argv) { return 0; }
8319 _ACEOF
8320 if ac_fn_c_try_link "$LINENO"; then :
8321 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8322 else
8323 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8325 rm -f core conftest.err conftest.$ac_objext \
8326 conftest$ac_exeext conftest.$ac_ext
8327 CFLAGS=$ac_wine_try_cflags_saved
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8330 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8331 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8332 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8333 fi ;;
8334 esac
8335 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
8336 enable_loader=${enable_loader:-no}
8337 enable_server=${enable_server:-no}
8338 with_x=${with_x:-no}
8339 with_pthread=${with_pthread:-no}
8342 darwin*|macosx*)
8343 ac_ext=m
8344 ac_cpp='$OBJCPP $CPPFLAGS'
8345 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8346 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8347 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8349 ac_ext=m
8350 ac_cpp='$OBJCPP $CPPFLAGS'
8351 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8352 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8353 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8354 if test -n "$ac_tool_prefix"; then
8355 for ac_prog in gcc objcc objc cc CC
8357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_prog_OBJC+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 if test -n "$OBJC"; then
8365 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8366 else
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368 for as_dir in $PATH
8370 IFS=$as_save_IFS
8371 test -z "$as_dir" && as_dir=.
8372 for ac_exec_ext in '' $ac_executable_extensions; do
8373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8374 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8376 break 2
8378 done
8379 done
8380 IFS=$as_save_IFS
8384 OBJC=$ac_cv_prog_OBJC
8385 if test -n "$OBJC"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8387 $as_echo "$OBJC" >&6; }
8388 else
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8394 test -n "$OBJC" && break
8395 done
8397 if test -z "$OBJC"; then
8398 ac_ct_OBJC=$OBJC
8399 for ac_prog in gcc objcc objc cc CC
8401 # Extract the first word of "$ac_prog", so it can be a program name with args.
8402 set dummy $ac_prog; ac_word=$2
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8404 $as_echo_n "checking for $ac_word... " >&6; }
8405 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 if test -n "$ac_ct_OBJC"; then
8409 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8410 else
8411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8412 for as_dir in $PATH
8414 IFS=$as_save_IFS
8415 test -z "$as_dir" && as_dir=.
8416 for ac_exec_ext in '' $ac_executable_extensions; do
8417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8418 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8420 break 2
8422 done
8423 done
8424 IFS=$as_save_IFS
8428 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8429 if test -n "$ac_ct_OBJC"; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8431 $as_echo "$ac_ct_OBJC" >&6; }
8432 else
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8434 $as_echo "no" >&6; }
8438 test -n "$ac_ct_OBJC" && break
8439 done
8441 if test "x$ac_ct_OBJC" = x; then
8442 OBJC="gcc"
8443 else
8444 case $cross_compiling:$ac_tool_warned in
8445 yes:)
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8448 ac_tool_warned=yes ;;
8449 esac
8450 OBJC=$ac_ct_OBJC
8454 # Provide some information about the compiler.
8455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8456 set X $ac_compile
8457 ac_compiler=$2
8458 for ac_option in --version -v -V -qversion; do
8459 { { ac_try="$ac_compiler $ac_option >&5"
8460 case "(($ac_try" in
8461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8462 *) ac_try_echo=$ac_try;;
8463 esac
8464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8465 $as_echo "$ac_try_echo"; } >&5
8466 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8467 ac_status=$?
8468 if test -s conftest.err; then
8469 sed '10a\
8470 ... rest of stderr output deleted ...
8471 10q' conftest.err >conftest.er1
8472 cat conftest.er1 >&5
8474 rm -f conftest.er1 conftest.err
8475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8476 test $ac_status = 0; }
8477 done
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8480 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8481 if ${ac_cv_objc_compiler_gnu+:} false; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8488 main ()
8490 #ifndef __GNUC__
8491 choke me
8492 #endif
8495 return 0;
8497 _ACEOF
8498 if ac_fn_objc_try_compile "$LINENO"; then :
8499 ac_compiler_gnu=yes
8500 else
8501 ac_compiler_gnu=no
8503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8504 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8508 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8509 if test $ac_compiler_gnu = yes; then
8510 GOBJC=yes
8511 else
8512 GOBJC=
8514 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8515 ac_save_OBJCFLAGS=$OBJCFLAGS
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8517 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8518 if ${ac_cv_prog_objc_g+:} false; then :
8519 $as_echo_n "(cached) " >&6
8520 else
8521 ac_save_objc_werror_flag=$ac_objc_werror_flag
8522 ac_objc_werror_flag=yes
8523 ac_cv_prog_objc_g=no
8524 OBJCFLAGS="-g"
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8529 main ()
8533 return 0;
8535 _ACEOF
8536 if ac_fn_objc_try_compile "$LINENO"; then :
8537 ac_cv_prog_objc_g=yes
8538 else
8539 OBJCFLAGS=""
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8544 main ()
8548 return 0;
8550 _ACEOF
8551 if ac_fn_objc_try_compile "$LINENO"; then :
8553 else
8554 ac_objc_werror_flag=$ac_save_objc_werror_flag
8555 OBJCFLAGS="-g"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8560 main ()
8564 return 0;
8566 _ACEOF
8567 if ac_fn_objc_try_compile "$LINENO"; then :
8568 ac_cv_prog_objc_g=yes
8570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8575 ac_objc_werror_flag=$ac_save_objc_werror_flag
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8578 $as_echo "$ac_cv_prog_objc_g" >&6; }
8579 if test "$ac_test_OBJCFLAGS" = set; then
8580 OBJCFLAGS=$ac_save_OBJCFLAGS
8581 elif test $ac_cv_prog_objc_g = yes; then
8582 if test "$GOBJC" = yes; then
8583 OBJCFLAGS="-g -O2"
8584 else
8585 OBJCFLAGS="-g"
8587 else
8588 if test "$GOBJC" = yes; then
8589 OBJCFLAGS="-O2"
8590 else
8591 OBJCFLAGS=
8594 ac_ext=m
8595 ac_cpp='$OBJCPP $CPPFLAGS'
8596 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8597 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8598 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8601 ac_ext=m
8602 ac_cpp='$OBJCPP $CPPFLAGS'
8603 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8604 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8605 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8607 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8608 if test -z "$OBJCPP"; then
8609 if ${ac_cv_prog_OBJCPP+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
8612 # Double quotes because OBJCPP needs to be expanded
8613 for OBJCPP in "$OBJC -E" "/lib/cpp"
8615 ac_preproc_ok=false
8616 for ac_objc_preproc_warn_flag in '' yes
8618 # Use a header file that comes with gcc, so configuring glibc
8619 # with a fresh cross-compiler works.
8620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8621 # <limits.h> exists even on freestanding compilers.
8622 # On the NeXT, cc -E runs the code through the compiler's parser,
8623 # not just through cpp. "Syntax error" is here to catch this case.
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 #ifdef __STDC__
8627 # include <limits.h>
8628 #else
8629 # include <assert.h>
8630 #endif
8631 Syntax error
8632 _ACEOF
8633 if ac_fn_objc_try_cpp "$LINENO"; then :
8635 else
8636 # Broken: fails on valid input.
8637 continue
8639 rm -f conftest.err conftest.i conftest.$ac_ext
8641 # OK, works on sane cases. Now check whether nonexistent headers
8642 # can be detected and how.
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 #include <ac_nonexistent.h>
8646 _ACEOF
8647 if ac_fn_objc_try_cpp "$LINENO"; then :
8648 # Broken: success on invalid input.
8649 continue
8650 else
8651 # Passes both tests.
8652 ac_preproc_ok=:
8653 break
8655 rm -f conftest.err conftest.i conftest.$ac_ext
8657 done
8658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8659 rm -f conftest.i conftest.err conftest.$ac_ext
8660 if $ac_preproc_ok; then :
8661 break
8664 done
8665 ac_cv_prog_OBJCPP=$OBJCPP
8668 OBJCPP=$ac_cv_prog_OBJCPP
8669 else
8670 ac_cv_prog_OBJCPP=$OBJCPP
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8673 $as_echo "$OBJCPP" >&6; }
8674 ac_preproc_ok=false
8675 for ac_objc_preproc_warn_flag in '' yes
8677 # Use a header file that comes with gcc, so configuring glibc
8678 # with a fresh cross-compiler works.
8679 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8680 # <limits.h> exists even on freestanding compilers.
8681 # On the NeXT, cc -E runs the code through the compiler's parser,
8682 # not just through cpp. "Syntax error" is here to catch this case.
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 #ifdef __STDC__
8686 # include <limits.h>
8687 #else
8688 # include <assert.h>
8689 #endif
8690 Syntax error
8691 _ACEOF
8692 if ac_fn_objc_try_cpp "$LINENO"; then :
8694 else
8695 # Broken: fails on valid input.
8696 continue
8698 rm -f conftest.err conftest.i conftest.$ac_ext
8700 # OK, works on sane cases. Now check whether nonexistent headers
8701 # can be detected and how.
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 #include <ac_nonexistent.h>
8705 _ACEOF
8706 if ac_fn_objc_try_cpp "$LINENO"; then :
8707 # Broken: success on invalid input.
8708 continue
8709 else
8710 # Passes both tests.
8711 ac_preproc_ok=:
8712 break
8714 rm -f conftest.err conftest.i conftest.$ac_ext
8716 done
8717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8718 rm -f conftest.i conftest.err conftest.$ac_ext
8719 if $ac_preproc_ok; then :
8721 else
8722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8724 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8725 See \`config.log' for more details" "$LINENO" 5; }
8728 ac_ext=m
8729 ac_cpp='$OBJCPP $CPPFLAGS'
8730 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8731 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8732 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8735 for ac_header in Metal/Metal.h
8736 do :
8737 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8738 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8739 cat >>confdefs.h <<_ACEOF
8740 #define HAVE_METAL_METAL_H 1
8741 _ACEOF
8745 done
8747 ac_ext=c
8748 ac_cpp='$CPP $CPPFLAGS'
8749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8753 LIBEXT="dylib"
8754 DLLFLAGS="$DLLFLAGS -fPIC"
8755 LDDLLFLAGS="-fPIC"
8756 COREFOUNDATION_LIBS="-framework CoreFoundation"
8758 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8760 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8762 CORESERVICES_LIBS="-framework CoreServices"
8764 APPKIT_LIBS="-framework AppKit"
8766 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8769 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8771 wine_can_build_preloader=yes
8772 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"
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8774 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8775 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 ac_wine_try_cflags_saved=$CFLAGS
8779 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 int main(int argc, char **argv) { return 0; }
8783 _ACEOF
8784 if ac_fn_c_try_link "$LINENO"; then :
8785 ac_cv_cflags__Wl__no_new_main__e__main=yes
8786 else
8787 ac_cv_cflags__Wl__no_new_main__e__main=no
8789 rm -f core conftest.err conftest.$ac_objext \
8790 conftest$ac_exeext conftest.$ac_ext
8791 CFLAGS=$ac_wine_try_cflags_saved
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8794 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8795 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8796 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8797 { $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
8798 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8799 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8800 $as_echo_n "(cached) " >&6
8801 else
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8806 int main(int argc, char **argv) { return 0; }
8807 _ACEOF
8808 if ac_fn_c_try_link "$LINENO"; then :
8809 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8810 else
8811 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8813 rm -f core conftest.err conftest.$ac_objext \
8814 conftest$ac_exeext conftest.$ac_ext
8815 CFLAGS=$ac_wine_try_cflags_saved
8817 { $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
8818 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8819 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8820 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8821 else
8822 wine_can_build_preloader=no
8824 else
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8826 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8827 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8828 $as_echo_n "(cached) " >&6
8829 else
8830 ac_wine_try_cflags_saved=$CFLAGS
8831 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8834 int main(int argc, char **argv) { return 0; }
8835 _ACEOF
8836 if ac_fn_c_try_link "$LINENO"; then :
8837 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8838 else
8839 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8841 rm -f core conftest.err conftest.$ac_objext \
8842 conftest$ac_exeext conftest.$ac_ext
8843 CFLAGS=$ac_wine_try_cflags_saved
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8846 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8847 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8848 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8849 else
8850 wine_can_build_preloader=no
8853 if test "$wine_can_build_preloader" = "yes"
8854 then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8856 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8857 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8858 $as_echo_n "(cached) " >&6
8859 else
8860 ac_wine_try_cflags_saved=$CFLAGS
8861 CFLAGS="$CFLAGS -Wl,-no_pie"
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8864 int main(int argc, char **argv) { return 0; }
8865 _ACEOF
8866 if ac_fn_c_try_link "$LINENO"; then :
8867 ac_cv_cflags__Wl__no_pie=yes
8868 else
8869 ac_cv_cflags__Wl__no_pie=no
8871 rm -f core conftest.err conftest.$ac_objext \
8872 conftest$ac_exeext conftest.$ac_ext
8873 CFLAGS=$ac_wine_try_cflags_saved
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8876 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8877 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8878 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8880 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8881 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8882 else
8883 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8886 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8887 then
8888 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8891 if test "$ac_cv_header_Security_Security_h" = "yes"
8892 then
8893 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8896 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8897 then
8898 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8900 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8902 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8903 then
8904 OPENAL_LIBS="-framework OpenAL"
8907 cat >>confdefs.h <<_ACEOF
8908 #define HAVE_OPENAL 1
8909 _ACEOF
8911 ac_cv_lib_openal=yes
8913 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8914 then
8915 OPENCL_LIBS="-framework OpenCL"
8917 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8919 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8920 then
8921 ac_save_LIBS="$LIBS"
8922 LIBS="$LIBS $IOKIT_LIBS"
8923 for ac_func in IOHIDManagerCreate
8924 do :
8925 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8926 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8927 cat >>confdefs.h <<_ACEOF
8928 #define HAVE_IOHIDMANAGERCREATE 1
8929 _ACEOF
8932 done
8934 LIBS="$ac_save_LIBS"
8937 if test "x$with_quicktime" != "xno"
8938 then
8939 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8940 then
8941 ac_save_LIBS="$LIBS"
8942 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8944 $as_echo_n "checking for the QuickTime framework... " >&6; }
8945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946 /* end confdefs.h. */
8947 #include <QuickTime/ImageCompression.h>
8949 main ()
8951 CodecManagerVersion(NULL);
8953 return 0;
8955 _ACEOF
8956 if ac_fn_c_try_link "$LINENO"; then :
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8958 $as_echo "yes" >&6; }
8959 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8961 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8962 else
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8964 $as_echo "no" >&6; }
8965 ac_cv_header_QuickTime_ImageCompression_h=no
8967 rm -f core conftest.err conftest.$ac_objext \
8968 conftest$ac_exeext conftest.$ac_ext
8969 LIBS="$ac_save_LIBS"
8972 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
8973 case "x$with_quicktime" in
8974 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
8975 xno) ;;
8976 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
8977 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
8978 esac
8982 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8983 then
8984 CARBON_LIBS="-framework Carbon"
8987 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8988 then
8989 METAL_LIBS="-framework Metal -framework QuartzCore"
8993 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8994 then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8996 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8997 ac_ext=m
8998 ac_cpp='$OBJCPP $CPPFLAGS'
8999 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9000 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9001 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9005 #include <Metal/Metal.h>
9007 main ()
9009 id<MTLDevice> device; device.registryID;
9011 return 0;
9013 _ACEOF
9014 if ac_fn_objc_try_compile "$LINENO"; then :
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9016 $as_echo "yes" >&6; }
9018 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9020 else
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9022 $as_echo "no" >&6; }
9024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9025 ac_ext=c
9026 ac_cpp='$CPP $CPPFLAGS'
9027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9033 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9034 then
9035 ac_save_LIBS="$LIBS"
9036 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9037 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9038 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9039 enable_winemac_drv=${enable_winemac_drv:-yes}
9042 LIBS="$ac_save_LIBS"
9045 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
9046 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9048 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9050 WINELOADER_DEPENDS="wine_info.plist"
9052 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9055 linux-android*)
9057 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9059 DLLFLAGS="$DLLFLAGS -fPIC"
9060 LDDLLFLAGS="-fPIC"
9061 LDEXECFLAGS="-Wl,-pie"
9062 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9064 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9065 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 ac_wine_try_cflags_saved=$CFLAGS
9069 CFLAGS="$CFLAGS -Wl,-z,defs"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 int main(int argc, char **argv) { return 0; }
9073 _ACEOF
9074 if ac_fn_c_try_link "$LINENO"; then :
9075 ac_cv_cflags__Wl__z_defs=yes
9076 else
9077 ac_cv_cflags__Wl__z_defs=no
9079 rm -f core conftest.err conftest.$ac_objext \
9080 conftest$ac_exeext conftest.$ac_ext
9081 CFLAGS=$ac_wine_try_cflags_saved
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9084 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9085 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9086 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9089 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9090 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9091 $as_echo_n "(cached) " >&6
9092 else
9093 ac_wine_try_cflags_saved=$CFLAGS
9094 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9097 int main(int argc, char **argv) { return 0; }
9098 _ACEOF
9099 if ac_fn_c_try_link "$LINENO"; then :
9100 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9101 else
9102 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9104 rm -f core conftest.err conftest.$ac_objext \
9105 conftest$ac_exeext conftest.$ac_ext
9106 CFLAGS=$ac_wine_try_cflags_saved
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9109 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9110 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9111 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9113 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9116 $as_echo_n "checking for -lEGL... " >&6; }
9117 if ${ac_cv_lib_soname_EGL+:} false; then :
9118 $as_echo_n "(cached) " >&6
9119 else
9120 ac_check_soname_save_LIBS=$LIBS
9121 LIBS="-lEGL $LIBS"
9122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9125 /* Override any GCC internal prototype to avoid an error.
9126 Use char because int might match the return type of a GCC
9127 builtin and then its argument prototype would still apply. */
9128 #ifdef __cplusplus
9129 extern "C"
9130 #endif
9131 char eglGetProcAddress ();
9133 main ()
9135 return eglGetProcAddress ();
9137 return 0;
9139 _ACEOF
9140 if ac_fn_c_try_link "$LINENO"; then :
9141 case "$LIBEXT" in
9142 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9143 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'` ;;
9144 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9145 if ${ac_cv_lib_soname_EGL:+false} :; then :
9146 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9147 fi ;;
9148 esac
9149 else
9150 ac_cv_lib_soname_EGL=
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9154 LIBS=$ac_check_soname_save_LIBS
9156 if ${ac_cv_lib_soname_EGL:+false} :; then :
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9158 $as_echo "not found" >&6; }
9160 else
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9162 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9164 cat >>confdefs.h <<_ACEOF
9165 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9166 _ACEOF
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9171 $as_echo_n "checking for -lGLESv2... " >&6; }
9172 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_check_soname_save_LIBS=$LIBS
9176 LIBS="-lGLESv2 $LIBS"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 char glFlush ();
9188 main ()
9190 return glFlush ();
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 case "$LIBEXT" in
9197 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9198 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'` ;;
9199 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9200 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9201 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9202 fi ;;
9203 esac
9204 else
9205 ac_cv_lib_soname_GLESv2=
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 LIBS=$ac_check_soname_save_LIBS
9211 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9213 $as_echo "not found" >&6; }
9215 else
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9217 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9219 cat >>confdefs.h <<_ACEOF
9220 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9221 _ACEOF
9226 if test "x$exec_prefix" = xNONE
9227 then
9228 case $host_cpu in
9229 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9230 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9231 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9232 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9233 esac
9239 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9241 case $host_cpu in
9242 *i[3456789]86*)
9243 DLLFLAGS="$DLLFLAGS -fno-PIC"
9244 LDDLLFLAGS="-fno-PIC"
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9246 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9247 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9248 $as_echo_n "(cached) " >&6
9249 else
9250 ac_wine_try_cflags_saved=$CFLAGS
9251 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h. */
9254 int main(int argc, char **argv) { return 0; }
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9258 else
9259 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 CFLAGS=$ac_wine_try_cflags_saved
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9266 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9267 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9268 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9272 DLLFLAGS="$DLLFLAGS -fPIC"
9273 LDDLLFLAGS="-fPIC" ;;
9274 esac
9275 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9277 echo '{ global: *; };' >conftest.map
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9279 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9280 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9281 $as_echo_n "(cached) " >&6
9282 else
9283 ac_wine_try_cflags_saved=$CFLAGS
9284 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9287 int main(int argc, char **argv) { return 0; }
9288 _ACEOF
9289 if ac_fn_c_try_link "$LINENO"; then :
9290 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9291 else
9292 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9294 rm -f core conftest.err conftest.$ac_objext \
9295 conftest$ac_exeext conftest.$ac_ext
9296 CFLAGS=$ac_wine_try_cflags_saved
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9299 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9300 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9301 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9303 rm -f conftest.map
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9306 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9307 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 ac_wine_try_cflags_saved=$CFLAGS
9311 CFLAGS="$CFLAGS -Wl,-z,defs"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9314 int main(int argc, char **argv) { return 0; }
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 ac_cv_cflags__Wl__z_defs=yes
9318 else
9319 ac_cv_cflags__Wl__z_defs=no
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 CFLAGS=$ac_wine_try_cflags_saved
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9326 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9327 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9328 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9331 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9332 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9333 $as_echo_n "(cached) " >&6
9334 else
9335 ac_wine_try_cflags_saved=$CFLAGS
9336 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9339 int main(int argc, char **argv) { return 0; }
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 ac_cv_cflags__Wl___export_dynamic=yes
9343 else
9344 ac_cv_cflags__Wl___export_dynamic=no
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 CFLAGS=$ac_wine_try_cflags_saved
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9351 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9352 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9353 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9355 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9357 case $host_cpu in
9358 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9360 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9361 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9362 $as_echo_n "(cached) " >&6
9363 else
9364 ac_wine_try_cflags_saved=$CFLAGS
9365 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9368 int main(int argc, char **argv) { return 0; }
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9372 else
9373 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 CFLAGS=$ac_wine_try_cflags_saved
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9380 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9381 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9382 case $host_os in
9383 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9384 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9385 esac
9386 else
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9388 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9389 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9390 $as_echo_n "(cached) " >&6
9391 else
9392 ac_wine_try_cflags_saved=$CFLAGS
9393 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9396 int main(int argc, char **argv) { return 0; }
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9400 else
9401 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 CFLAGS=$ac_wine_try_cflags_saved
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9408 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9409 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9410 case $host_os in
9411 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9412 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9413 esac
9415 # Extract the first word of "prelink", so it can be a program name with args.
9416 set dummy prelink; ac_word=$2
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9418 $as_echo_n "checking for $ac_word... " >&6; }
9419 if ${ac_cv_path_PRELINK+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 case $PRELINK in
9423 [\\/]* | ?:[\\/]*)
9424 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9428 for as_dir in /sbin /usr/sbin $PATH
9430 IFS=$as_save_IFS
9431 test -z "$as_dir" && as_dir=.
9432 for ac_exec_ext in '' $ac_executable_extensions; do
9433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9434 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9436 break 2
9438 done
9439 done
9440 IFS=$as_save_IFS
9442 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9444 esac
9446 PRELINK=$ac_cv_path_PRELINK
9447 if test -n "$PRELINK"; then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9449 $as_echo "$PRELINK" >&6; }
9450 else
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9452 $as_echo "no" >&6; }
9456 if test "x$PRELINK" = xfalse
9457 then
9458 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9462 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9463 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_wine_try_cflags_saved=$CFLAGS
9467 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9470 int main(int argc, char **argv) { return 0; }
9471 _ACEOF
9472 if ac_fn_c_try_link "$LINENO"; then :
9473 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9474 else
9475 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9477 rm -f core conftest.err conftest.$ac_objext \
9478 conftest$ac_exeext conftest.$ac_ext
9479 CFLAGS=$ac_wine_try_cflags_saved
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9482 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9483 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9484 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9487 esac
9488 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9490 LIBWINE_DEPENDS="wine.map"
9492 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9494 esac
9496 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9497 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9498 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9499 enable_winemac_drv=${enable_winemac_drv:-no}
9500 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9503 if test "x$with_mingw" != xno
9504 then
9505 case "x$with_mingw" in
9506 x|xyes) case "$host_cpu" in
9507 aarch64*)
9508 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9509 arm*)
9510 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9511 i[3456789]86*)
9512 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
9513 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9514 mingw32-gcc clang" ;;
9515 x86_64)
9516 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
9517 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9519 ac_prefix_list="" ;;
9520 esac
9521 for ac_prog in $ac_prefix_list
9523 # Extract the first word of "$ac_prog", so it can be a program name with args.
9524 set dummy $ac_prog; ac_word=$2
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9526 $as_echo_n "checking for $ac_word... " >&6; }
9527 if ${ac_cv_prog_CROSSCC+:} false; then :
9528 $as_echo_n "(cached) " >&6
9529 else
9530 if test -n "$CROSSCC"; then
9531 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9532 else
9533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9534 for as_dir in $PATH
9536 IFS=$as_save_IFS
9537 test -z "$as_dir" && as_dir=.
9538 for ac_exec_ext in '' $ac_executable_extensions; do
9539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9540 ac_cv_prog_CROSSCC="$ac_prog"
9541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9542 break 2
9544 done
9545 done
9546 IFS=$as_save_IFS
9550 CROSSCC=$ac_cv_prog_CROSSCC
9551 if test -n "$CROSSCC"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9553 $as_echo "$CROSSCC" >&6; }
9554 else
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9560 test -n "$CROSSCC" && break
9561 done
9562 test -n "$CROSSCC" || CROSSCC="false"
9564 *) CROSSCC=$with_mingw ;;
9565 esac
9566 if test "$CROSSCC" != "false"
9567 then
9568 ac_save_CC="$CC"
9569 saved_CFLAGS=$CFLAGS
9570 saved_LDFLAGS=$LDFLAGS
9571 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9573 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
9577 CC="$CROSSCC"
9578 CFLAGS=$CROSSCFLAGS
9579 LDFLAGS=$CROSSLDFLAGS
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9581 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9582 if ${wine_cv_crosscc+:} false; then :
9583 $as_echo_n "(cached) " >&6
9584 else
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9589 main ()
9593 return 0;
9595 _ACEOF
9596 if ac_fn_c_try_compile "$LINENO"; then :
9597 wine_cv_crosscc=yes
9598 else
9599 wine_cv_crosscc=no
9601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9604 $as_echo "$wine_cv_crosscc" >&6; }
9605 if test $wine_cv_crosscc = yes
9606 then
9607 set x $CROSSCC
9608 shift
9609 while test $# -ge 1
9611 case "$1" in
9612 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9613 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9614 esac
9615 shift
9616 done
9618 llvm_target=$CROSSTARGET
9619 llvm_cflags="-fuse-ld=lld"
9620 if test -z "$llvm_target"
9621 then
9622 case $host_cpu in
9623 *i[3456789]86*) llvm_target=i686-windows ;;
9624 *) llvm_target=$host_cpu-windows ;;
9625 esac
9627 case $llvm_target in
9628 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9629 esac
9630 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9632 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9633 if eval \${$as_ac_var+:} false; then :
9634 $as_echo_n "(cached) " >&6
9635 else
9636 ac_wine_try_cflags_saved=$CFLAGS
9637 ac_wine_try_cflags_saved_cc=$CC
9638 ac_wine_try_cflags_saved_exeext=$ac_exeext
9639 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9640 CC="$CROSSCC"
9641 ac_exeext=".exe"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9644 int __cdecl mainCRTStartup(void) { return 0; }
9645 _ACEOF
9646 if ac_fn_c_try_link "$LINENO"; then :
9647 eval "$as_ac_var=yes"
9648 else
9649 eval "$as_ac_var=no"
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 CFLAGS=$ac_wine_try_cflags_saved
9654 CC=$ac_wine_try_cflags_saved_cc
9655 ac_exeext=$ac_wine_try_cflags_saved_exeext
9657 eval ac_res=\$$as_ac_var
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9659 $as_echo "$ac_res" >&6; }
9660 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9661 CROSSTARGET=$llvm_target
9662 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9663 DELAYLOADFLAG="-Wl,-delayload,"
9665 CFLAGS="$CFLAGS $llvm_cflags"
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9669 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9670 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9671 $as_echo_n "(cached) " >&6
9672 else
9673 ac_wine_try_cflags_saved=$CFLAGS
9674 ac_wine_try_cflags_saved_cc=$CC
9675 ac_wine_try_cflags_saved_exeext=$ac_exeext
9676 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9677 CC="$CROSSCC"
9678 ac_exeext=".exe"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9681 int __cdecl mainCRTStartup(void) { return 0; }
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684 ac_cv_crosscflags__fno_strict_aliasing=yes
9685 else
9686 ac_cv_crosscflags__fno_strict_aliasing=no
9688 rm -f core conftest.err conftest.$ac_objext \
9689 conftest$ac_exeext conftest.$ac_ext
9690 CFLAGS=$ac_wine_try_cflags_saved
9691 CC=$ac_wine_try_cflags_saved_cc
9692 ac_exeext=$ac_wine_try_cflags_saved_exeext
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9695 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9696 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9697 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9700 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9701 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9702 $as_echo_n "(cached) " >&6
9703 else
9704 ac_wine_try_cflags_saved=$CFLAGS
9705 ac_wine_try_cflags_saved_cc=$CC
9706 ac_wine_try_cflags_saved_exeext=$ac_exeext
9707 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9708 CC="$CROSSCC"
9709 ac_exeext=".exe"
9710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9711 /* end confdefs.h. */
9712 int __cdecl mainCRTStartup(void) { return 0; }
9713 _ACEOF
9714 if ac_fn_c_try_link "$LINENO"; then :
9715 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9716 else
9717 ac_cv_crosscflags__Werror_unknown_warning_option=no
9719 rm -f core conftest.err conftest.$ac_objext \
9720 conftest$ac_exeext conftest.$ac_ext
9721 CFLAGS=$ac_wine_try_cflags_saved
9722 CC=$ac_wine_try_cflags_saved_cc
9723 ac_exeext=$ac_wine_try_cflags_saved_exeext
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9726 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9727 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9728 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9731 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9732 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 ac_wine_try_cflags_saved=$CFLAGS
9736 ac_wine_try_cflags_saved_cc=$CC
9737 ac_wine_try_cflags_saved_exeext=$ac_exeext
9738 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9739 CC="$CROSSCC"
9740 ac_exeext=".exe"
9741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9742 /* end confdefs.h. */
9743 int __cdecl mainCRTStartup(void) { return 0; }
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9746 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9747 else
9748 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9750 rm -f core conftest.err conftest.$ac_objext \
9751 conftest$ac_exeext conftest.$ac_ext
9752 CFLAGS=$ac_wine_try_cflags_saved
9753 CC=$ac_wine_try_cflags_saved_cc
9754 ac_exeext=$ac_wine_try_cflags_saved_exeext
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9757 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9758 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9759 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9762 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9763 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9764 $as_echo_n "(cached) " >&6
9765 else
9766 ac_wine_try_cflags_saved=$CFLAGS
9767 ac_wine_try_cflags_saved_cc=$CC
9768 ac_wine_try_cflags_saved_exeext=$ac_exeext
9769 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9770 CC="$CROSSCC"
9771 ac_exeext=".exe"
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9774 int __cdecl mainCRTStartup(void) { return 0; }
9775 _ACEOF
9776 if ac_fn_c_try_link "$LINENO"; then :
9777 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9778 else
9779 ac_cv_crosscflags__Wdeclaration_after_statement=no
9781 rm -f core conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 CFLAGS=$ac_wine_try_cflags_saved
9784 CC=$ac_wine_try_cflags_saved_cc
9785 ac_exeext=$ac_wine_try_cflags_saved_exeext
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9788 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9789 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9790 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9793 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9794 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9795 $as_echo_n "(cached) " >&6
9796 else
9797 ac_wine_try_cflags_saved=$CFLAGS
9798 ac_wine_try_cflags_saved_cc=$CC
9799 ac_wine_try_cflags_saved_exeext=$ac_exeext
9800 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9801 CC="$CROSSCC"
9802 ac_exeext=".exe"
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9805 int __cdecl mainCRTStartup(void) { return 0; }
9806 _ACEOF
9807 if ac_fn_c_try_link "$LINENO"; then :
9808 ac_cv_crosscflags__Wempty_body=yes
9809 else
9810 ac_cv_crosscflags__Wempty_body=no
9812 rm -f core conftest.err conftest.$ac_objext \
9813 conftest$ac_exeext conftest.$ac_ext
9814 CFLAGS=$ac_wine_try_cflags_saved
9815 CC=$ac_wine_try_cflags_saved_cc
9816 ac_exeext=$ac_wine_try_cflags_saved_exeext
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9819 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9820 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9821 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9824 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9825 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 ac_wine_try_cflags_saved=$CFLAGS
9829 ac_wine_try_cflags_saved_cc=$CC
9830 ac_wine_try_cflags_saved_exeext=$ac_exeext
9831 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9832 CC="$CROSSCC"
9833 ac_exeext=".exe"
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9836 int __cdecl mainCRTStartup(void) { return 0; }
9837 _ACEOF
9838 if ac_fn_c_try_link "$LINENO"; then :
9839 ac_cv_crosscflags__Wignored_qualifiers=yes
9840 else
9841 ac_cv_crosscflags__Wignored_qualifiers=no
9843 rm -f core conftest.err conftest.$ac_objext \
9844 conftest$ac_exeext conftest.$ac_ext
9845 CFLAGS=$ac_wine_try_cflags_saved
9846 CC=$ac_wine_try_cflags_saved_cc
9847 ac_exeext=$ac_wine_try_cflags_saved_exeext
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9850 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9851 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9852 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9855 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9856 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9857 $as_echo_n "(cached) " >&6
9858 else
9859 ac_wine_try_cflags_saved=$CFLAGS
9860 ac_wine_try_cflags_saved_cc=$CC
9861 ac_wine_try_cflags_saved_exeext=$ac_exeext
9862 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9863 CC="$CROSSCC"
9864 ac_exeext=".exe"
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9867 int __cdecl mainCRTStartup(void) { return 0; }
9868 _ACEOF
9869 if ac_fn_c_try_link "$LINENO"; then :
9870 ac_cv_crosscflags__Winit_self=yes
9871 else
9872 ac_cv_crosscflags__Winit_self=no
9874 rm -f core conftest.err conftest.$ac_objext \
9875 conftest$ac_exeext conftest.$ac_ext
9876 CFLAGS=$ac_wine_try_cflags_saved
9877 CC=$ac_wine_try_cflags_saved_cc
9878 ac_exeext=$ac_wine_try_cflags_saved_exeext
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
9881 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
9882 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
9883 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9886 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9887 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9888 $as_echo_n "(cached) " >&6
9889 else
9890 ac_wine_try_cflags_saved=$CFLAGS
9891 ac_wine_try_cflags_saved_cc=$CC
9892 ac_wine_try_cflags_saved_exeext=$ac_exeext
9893 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9894 CC="$CROSSCC"
9895 ac_exeext=".exe"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9898 int __cdecl mainCRTStartup(void) { return 0; }
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 ac_cv_crosscflags__Wpacked_not_aligned=yes
9902 else
9903 ac_cv_crosscflags__Wpacked_not_aligned=no
9905 rm -f core conftest.err conftest.$ac_objext \
9906 conftest$ac_exeext conftest.$ac_ext
9907 CFLAGS=$ac_wine_try_cflags_saved
9908 CC=$ac_wine_try_cflags_saved_cc
9909 ac_exeext=$ac_wine_try_cflags_saved_exeext
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9912 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9913 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9914 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9917 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9918 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9919 $as_echo_n "(cached) " >&6
9920 else
9921 ac_wine_try_cflags_saved=$CFLAGS
9922 ac_wine_try_cflags_saved_cc=$CC
9923 ac_wine_try_cflags_saved_exeext=$ac_exeext
9924 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9925 CC="$CROSSCC"
9926 ac_exeext=".exe"
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 int __cdecl mainCRTStartup(void) { return 0; }
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"; then :
9932 ac_cv_crosscflags__Wpragma_pack=yes
9933 else
9934 ac_cv_crosscflags__Wpragma_pack=no
9936 rm -f core conftest.err conftest.$ac_objext \
9937 conftest$ac_exeext conftest.$ac_ext
9938 CFLAGS=$ac_wine_try_cflags_saved
9939 CC=$ac_wine_try_cflags_saved_cc
9940 ac_exeext=$ac_wine_try_cflags_saved_exeext
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9943 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9944 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9945 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9948 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9949 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9950 $as_echo_n "(cached) " >&6
9951 else
9952 ac_wine_try_cflags_saved=$CFLAGS
9953 ac_wine_try_cflags_saved_cc=$CC
9954 ac_wine_try_cflags_saved_exeext=$ac_exeext
9955 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
9956 CC="$CROSSCC"
9957 ac_exeext=".exe"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9960 int __cdecl mainCRTStartup(void) { return 0; }
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"; then :
9963 ac_cv_crosscflags__Wshift_overflow_2=yes
9964 else
9965 ac_cv_crosscflags__Wshift_overflow_2=no
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 CFLAGS=$ac_wine_try_cflags_saved
9970 CC=$ac_wine_try_cflags_saved_cc
9971 ac_exeext=$ac_wine_try_cflags_saved_exeext
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
9974 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
9975 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
9976 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
9979 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
9980 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
9981 $as_echo_n "(cached) " >&6
9982 else
9983 ac_wine_try_cflags_saved=$CFLAGS
9984 ac_wine_try_cflags_saved_cc=$CC
9985 ac_wine_try_cflags_saved_exeext=$ac_exeext
9986 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
9987 CC="$CROSSCC"
9988 ac_exeext=".exe"
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9991 int __cdecl mainCRTStartup(void) { return 0; }
9992 _ACEOF
9993 if ac_fn_c_try_link "$LINENO"; then :
9994 ac_cv_crosscflags__Wstrict_prototypes=yes
9995 else
9996 ac_cv_crosscflags__Wstrict_prototypes=no
9998 rm -f core conftest.err conftest.$ac_objext \
9999 conftest$ac_exeext conftest.$ac_ext
10000 CFLAGS=$ac_wine_try_cflags_saved
10001 CC=$ac_wine_try_cflags_saved_cc
10002 ac_exeext=$ac_wine_try_cflags_saved_exeext
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10005 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10006 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10007 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10010 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10011 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10012 $as_echo_n "(cached) " >&6
10013 else
10014 ac_wine_try_cflags_saved=$CFLAGS
10015 ac_wine_try_cflags_saved_cc=$CC
10016 ac_wine_try_cflags_saved_exeext=$ac_exeext
10017 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10018 CC="$CROSSCC"
10019 ac_exeext=".exe"
10020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10021 /* end confdefs.h. */
10022 int __cdecl mainCRTStartup(void) { return 0; }
10023 _ACEOF
10024 if ac_fn_c_try_link "$LINENO"; then :
10025 ac_cv_crosscflags__Wtype_limits=yes
10026 else
10027 ac_cv_crosscflags__Wtype_limits=no
10029 rm -f core conftest.err conftest.$ac_objext \
10030 conftest$ac_exeext conftest.$ac_ext
10031 CFLAGS=$ac_wine_try_cflags_saved
10032 CC=$ac_wine_try_cflags_saved_cc
10033 ac_exeext=$ac_wine_try_cflags_saved_exeext
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10036 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10037 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10038 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10041 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10042 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10043 $as_echo_n "(cached) " >&6
10044 else
10045 ac_wine_try_cflags_saved=$CFLAGS
10046 ac_wine_try_cflags_saved_cc=$CC
10047 ac_wine_try_cflags_saved_exeext=$ac_exeext
10048 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10049 CC="$CROSSCC"
10050 ac_exeext=".exe"
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10053 int __cdecl mainCRTStartup(void) { return 0; }
10054 _ACEOF
10055 if ac_fn_c_try_link "$LINENO"; then :
10056 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10057 else
10058 ac_cv_crosscflags__Wunused_but_set_parameter=no
10060 rm -f core conftest.err conftest.$ac_objext \
10061 conftest$ac_exeext conftest.$ac_ext
10062 CFLAGS=$ac_wine_try_cflags_saved
10063 CC=$ac_wine_try_cflags_saved_cc
10064 ac_exeext=$ac_wine_try_cflags_saved_exeext
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10067 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10068 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10069 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10072 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10073 if ${ac_cv_crosscflags__Wvla+:} false; then :
10074 $as_echo_n "(cached) " >&6
10075 else
10076 ac_wine_try_cflags_saved=$CFLAGS
10077 ac_wine_try_cflags_saved_cc=$CC
10078 ac_wine_try_cflags_saved_exeext=$ac_exeext
10079 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10080 CC="$CROSSCC"
10081 ac_exeext=".exe"
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10084 int __cdecl mainCRTStartup(void) { return 0; }
10085 _ACEOF
10086 if ac_fn_c_try_link "$LINENO"; then :
10087 ac_cv_crosscflags__Wvla=yes
10088 else
10089 ac_cv_crosscflags__Wvla=no
10091 rm -f core conftest.err conftest.$ac_objext \
10092 conftest$ac_exeext conftest.$ac_ext
10093 CFLAGS=$ac_wine_try_cflags_saved
10094 CC=$ac_wine_try_cflags_saved_cc
10095 ac_exeext=$ac_wine_try_cflags_saved_exeext
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10098 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10099 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10100 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10103 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10104 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10105 $as_echo_n "(cached) " >&6
10106 else
10107 ac_wine_try_cflags_saved=$CFLAGS
10108 ac_wine_try_cflags_saved_cc=$CC
10109 ac_wine_try_cflags_saved_exeext=$ac_exeext
10110 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10111 CC="$CROSSCC"
10112 ac_exeext=".exe"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10115 int __cdecl mainCRTStartup(void) { return 0; }
10116 _ACEOF
10117 if ac_fn_c_try_link "$LINENO"; then :
10118 ac_cv_crosscflags__Wwrite_strings=yes
10119 else
10120 ac_cv_crosscflags__Wwrite_strings=no
10122 rm -f core conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 CFLAGS=$ac_wine_try_cflags_saved
10125 CC=$ac_wine_try_cflags_saved_cc
10126 ac_exeext=$ac_wine_try_cflags_saved_exeext
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10129 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10130 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10131 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10134 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10135 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10136 $as_echo_n "(cached) " >&6
10137 else
10138 ac_wine_try_cflags_saved=$CFLAGS
10139 ac_wine_try_cflags_saved_cc=$CC
10140 ac_wine_try_cflags_saved_exeext=$ac_exeext
10141 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10142 CC="$CROSSCC"
10143 ac_exeext=".exe"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10146 int __cdecl mainCRTStartup(void) { return 0; }
10147 _ACEOF
10148 if ac_fn_c_try_link "$LINENO"; then :
10149 ac_cv_crosscflags__Wpointer_arith=yes
10150 else
10151 ac_cv_crosscflags__Wpointer_arith=no
10153 rm -f core conftest.err conftest.$ac_objext \
10154 conftest$ac_exeext conftest.$ac_ext
10155 CFLAGS=$ac_wine_try_cflags_saved
10156 CC=$ac_wine_try_cflags_saved_cc
10157 ac_exeext=$ac_wine_try_cflags_saved_exeext
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10160 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10161 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10162 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10165 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10166 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 ac_wine_try_cflags_saved=$CFLAGS
10170 ac_wine_try_cflags_saved_cc=$CC
10171 ac_wine_try_cflags_saved_exeext=$ac_exeext
10172 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10173 CC="$CROSSCC"
10174 ac_exeext=".exe"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10177 int __cdecl mainCRTStartup(void) { return 0; }
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"; then :
10180 ac_cv_crosscflags__Wlogical_op=yes
10181 else
10182 ac_cv_crosscflags__Wlogical_op=no
10184 rm -f core conftest.err conftest.$ac_objext \
10185 conftest$ac_exeext conftest.$ac_ext
10186 CFLAGS=$ac_wine_try_cflags_saved
10187 CC=$ac_wine_try_cflags_saved_cc
10188 ac_exeext=$ac_wine_try_cflags_saved_exeext
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10191 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10192 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10193 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10196 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10197 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10198 $as_echo_n "(cached) " >&6
10199 else
10200 ac_wine_try_cflags_saved=$CFLAGS
10201 ac_wine_try_cflags_saved_cc=$CC
10202 ac_wine_try_cflags_saved_exeext=$ac_exeext
10203 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10204 CC="$CROSSCC"
10205 ac_exeext=".exe"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10208 int __cdecl mainCRTStartup(void) { return 0; }
10209 _ACEOF
10210 if ac_fn_c_try_link "$LINENO"; then :
10211 ac_cv_crosscflags__Wabsolute_value=yes
10212 else
10213 ac_cv_crosscflags__Wabsolute_value=no
10215 rm -f core conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10217 CFLAGS=$ac_wine_try_cflags_saved
10218 CC=$ac_wine_try_cflags_saved_cc
10219 ac_exeext=$ac_wine_try_cflags_saved_exeext
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10222 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10223 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10224 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10227 case $host_cpu in
10228 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10229 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10230 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10231 $as_echo_n "(cached) " >&6
10232 else
10233 ac_wine_try_cflags_saved=$CFLAGS
10234 ac_wine_try_cflags_saved_cc=$CC
10235 ac_wine_try_cflags_saved_exeext=$ac_exeext
10236 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10237 CC="$CROSSCC"
10238 ac_exeext=".exe"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10241 int __cdecl mainCRTStartup(void) { return 0; }
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"; then :
10244 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10245 else
10246 ac_cv_crosscflags__fno_omit_frame_pointer=no
10248 rm -f core conftest.err conftest.$ac_objext \
10249 conftest$ac_exeext conftest.$ac_ext
10250 CFLAGS=$ac_wine_try_cflags_saved
10251 CC=$ac_wine_try_cflags_saved_cc
10252 ac_exeext=$ac_wine_try_cflags_saved_exeext
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10255 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10256 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10257 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10258 fi ;;
10259 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10260 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10261 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10262 $as_echo_n "(cached) " >&6
10263 else
10264 ac_wine_try_cflags_saved=$CFLAGS
10265 ac_wine_try_cflags_saved_cc=$CC
10266 ac_wine_try_cflags_saved_exeext=$ac_exeext
10267 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10268 CC="$CROSSCC"
10269 ac_exeext=".exe"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10272 int __cdecl mainCRTStartup(void) { return 0; }
10273 _ACEOF
10274 if ac_fn_c_try_link "$LINENO"; then :
10275 ac_cv_crosscflags__Wno_format=yes
10276 else
10277 ac_cv_crosscflags__Wno_format=no
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 CFLAGS=$ac_wine_try_cflags_saved
10282 CC=$ac_wine_try_cflags_saved_cc
10283 ac_exeext=$ac_wine_try_cflags_saved_exeext
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10286 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10287 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10288 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10291 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10292 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10293 $as_echo_n "(cached) " >&6
10294 else
10295 ac_wine_try_cflags_saved=$CFLAGS
10296 ac_wine_try_cflags_saved_cc=$CC
10297 ac_wine_try_cflags_saved_exeext=$ac_exeext
10298 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10299 CC="$CROSSCC"
10300 ac_exeext=".exe"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10303 int __cdecl mainCRTStartup(void) { return 0; }
10304 _ACEOF
10305 if ac_fn_c_try_link "$LINENO"; then :
10306 ac_cv_crosscflags__Wformat_overflow=yes
10307 else
10308 ac_cv_crosscflags__Wformat_overflow=no
10310 rm -f core conftest.err conftest.$ac_objext \
10311 conftest$ac_exeext conftest.$ac_ext
10312 CFLAGS=$ac_wine_try_cflags_saved
10313 CC=$ac_wine_try_cflags_saved_cc
10314 ac_exeext=$ac_wine_try_cflags_saved_exeext
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10317 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10318 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10319 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10322 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10323 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10324 $as_echo_n "(cached) " >&6
10325 else
10326 ac_wine_try_cflags_saved=$CFLAGS
10327 ac_wine_try_cflags_saved_cc=$CC
10328 ac_wine_try_cflags_saved_exeext=$ac_exeext
10329 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10330 CC="$CROSSCC"
10331 ac_exeext=".exe"
10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10334 int __cdecl mainCRTStartup(void) { return 0; }
10335 _ACEOF
10336 if ac_fn_c_try_link "$LINENO"; then :
10337 ac_cv_crosscflags__Wnonnull=yes
10338 else
10339 ac_cv_crosscflags__Wnonnull=no
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 CFLAGS=$ac_wine_try_cflags_saved
10344 CC=$ac_wine_try_cflags_saved_cc
10345 ac_exeext=$ac_wine_try_cflags_saved_exeext
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10348 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10349 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10350 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10353 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10354 if ${ac_cv_crosscflags__mcx16+:} false; then :
10355 $as_echo_n "(cached) " >&6
10356 else
10357 ac_wine_try_cflags_saved=$CFLAGS
10358 ac_wine_try_cflags_saved_cc=$CC
10359 ac_wine_try_cflags_saved_exeext=$ac_exeext
10360 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10361 CC="$CROSSCC"
10362 ac_exeext=".exe"
10363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10365 int __cdecl mainCRTStartup(void) { return 0; }
10366 _ACEOF
10367 if ac_fn_c_try_link "$LINENO"; then :
10368 ac_cv_crosscflags__mcx16=yes
10369 else
10370 ac_cv_crosscflags__mcx16=no
10372 rm -f core conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext
10374 CFLAGS=$ac_wine_try_cflags_saved
10375 CC=$ac_wine_try_cflags_saved_cc
10376 ac_exeext=$ac_wine_try_cflags_saved_exeext
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10379 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10380 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10381 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10382 fi ;;
10383 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10384 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10385 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10386 $as_echo_n "(cached) " >&6
10387 else
10388 ac_wine_try_cflags_saved=$CFLAGS
10389 ac_wine_try_cflags_saved_cc=$CC
10390 ac_wine_try_cflags_saved_exeext=$ac_exeext
10391 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10392 CC="$CROSSCC"
10393 ac_exeext=".exe"
10394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10396 int __cdecl mainCRTStartup(void) { return 0; }
10397 _ACEOF
10398 if ac_fn_c_try_link "$LINENO"; then :
10399 ac_cv_crosscflags__Wno_format=yes
10400 else
10401 ac_cv_crosscflags__Wno_format=no
10403 rm -f core conftest.err conftest.$ac_objext \
10404 conftest$ac_exeext conftest.$ac_ext
10405 CFLAGS=$ac_wine_try_cflags_saved
10406 CC=$ac_wine_try_cflags_saved_cc
10407 ac_exeext=$ac_wine_try_cflags_saved_exeext
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10410 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10411 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10412 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10413 fi ;;
10414 esac
10417 if test -z "$CROSSDEBUG"
10418 then
10419 for ac_flag in $CROSSCFLAGS; do
10420 case $ac_flag in
10421 -gdwarf*) CROSSDEBUG=dwarf ;;
10422 -gcodeview) CROSSDEBUG=pdb ;;
10423 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10424 esac
10425 done
10428 ac_debug_format_seen=""
10429 for ac_flag in $CROSSCFLAGS; do
10430 case $ac_flag in
10431 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
10432 esac
10433 done
10434 if test "x$ac_debug_format_seen" = x
10435 then
10436 case $CROSSDEBUG in
10437 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10438 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10439 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10440 $as_echo_n "(cached) " >&6
10441 else
10442 ac_wine_try_cflags_saved=$CFLAGS
10443 ac_wine_try_cflags_saved_cc=$CC
10444 ac_wine_try_cflags_saved_exeext=$ac_exeext
10445 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10446 CC="$CROSSCC"
10447 ac_exeext=".exe"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10450 int __cdecl mainCRTStartup(void) { return 0; }
10451 _ACEOF
10452 if ac_fn_c_try_link "$LINENO"; then :
10453 ac_cv_crosscflags__gdwarf_2=yes
10454 else
10455 ac_cv_crosscflags__gdwarf_2=no
10457 rm -f core conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10459 CFLAGS=$ac_wine_try_cflags_saved
10460 CC=$ac_wine_try_cflags_saved_cc
10461 ac_exeext=$ac_wine_try_cflags_saved_exeext
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10464 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10465 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10466 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10469 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10470 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10471 $as_echo_n "(cached) " >&6
10472 else
10473 ac_wine_try_cflags_saved=$CFLAGS
10474 ac_wine_try_cflags_saved_cc=$CC
10475 ac_wine_try_cflags_saved_exeext=$ac_exeext
10476 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10477 CC="$CROSSCC"
10478 ac_exeext=".exe"
10479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10481 int __cdecl mainCRTStartup(void) { return 0; }
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"; then :
10484 ac_cv_crosscflags__gstrict_dwarf=yes
10485 else
10486 ac_cv_crosscflags__gstrict_dwarf=no
10488 rm -f core conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10490 CFLAGS=$ac_wine_try_cflags_saved
10491 CC=$ac_wine_try_cflags_saved_cc
10492 ac_exeext=$ac_wine_try_cflags_saved_exeext
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10495 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10496 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10497 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10498 fi ;;
10499 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10500 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10501 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10502 $as_echo_n "(cached) " >&6
10503 else
10504 ac_wine_try_cflags_saved=$CFLAGS
10505 ac_wine_try_cflags_saved_cc=$CC
10506 ac_wine_try_cflags_saved_exeext=$ac_exeext
10507 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10508 CC="$CROSSCC"
10509 ac_exeext=".exe"
10510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10512 int __cdecl mainCRTStartup(void) { return 0; }
10513 _ACEOF
10514 if ac_fn_c_try_link "$LINENO"; then :
10515 ac_cv_crosscflags__gcodeview=yes
10516 else
10517 ac_cv_crosscflags__gcodeview=no
10519 rm -f core conftest.err conftest.$ac_objext \
10520 conftest$ac_exeext conftest.$ac_ext
10521 CFLAGS=$ac_wine_try_cflags_saved
10522 CC=$ac_wine_try_cflags_saved_cc
10523 ac_exeext=$ac_wine_try_cflags_saved_exeext
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10526 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10527 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10528 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10529 fi ;;
10530 esac
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10534 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10535 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10536 $as_echo_n "(cached) " >&6
10537 else
10538 ac_wine_try_cflags_saved=$CFLAGS
10539 ac_wine_try_cflags_saved_cc=$CC
10540 ac_wine_try_cflags_saved_exeext=$ac_exeext
10541 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10542 CC="$CROSSCC"
10543 ac_exeext=".exe"
10544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10546 int __cdecl mainCRTStartup(void) { return 0; }
10547 _ACEOF
10548 if ac_fn_c_try_link "$LINENO"; then :
10549 ac_cv_crosscflags__fexcess_precision_standard=yes
10550 else
10551 ac_cv_crosscflags__fexcess_precision_standard=no
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 CFLAGS=$ac_wine_try_cflags_saved
10556 CC=$ac_wine_try_cflags_saved_cc
10557 ac_exeext=$ac_wine_try_cflags_saved_exeext
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10560 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10561 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10562 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10566 if test "x$enable_werror" = "xyes"
10567 then
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10569 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10570 if ${ac_cv_crosscflags__Werror+:} false; then :
10571 $as_echo_n "(cached) " >&6
10572 else
10573 ac_wine_try_cflags_saved=$CFLAGS
10574 ac_wine_try_cflags_saved_cc=$CC
10575 ac_wine_try_cflags_saved_exeext=$ac_exeext
10576 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10577 CC="$CROSSCC"
10578 ac_exeext=".exe"
10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10581 int __cdecl mainCRTStartup(void) { return 0; }
10582 _ACEOF
10583 if ac_fn_c_try_link "$LINENO"; then :
10584 ac_cv_crosscflags__Werror=yes
10585 else
10586 ac_cv_crosscflags__Werror=no
10588 rm -f core conftest.err conftest.$ac_objext \
10589 conftest$ac_exeext conftest.$ac_ext
10590 CFLAGS=$ac_wine_try_cflags_saved
10591 CC=$ac_wine_try_cflags_saved_cc
10592 ac_exeext=$ac_wine_try_cflags_saved_exeext
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10595 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10596 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10597 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10600 if test "x$enable_build_id" = "xyes"
10601 then
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10603 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10604 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10605 $as_echo_n "(cached) " >&6
10606 else
10607 ac_wine_try_cflags_saved=$CFLAGS
10608 ac_wine_try_cflags_saved_cc=$CC
10609 ac_wine_try_cflags_saved_exeext=$ac_exeext
10610 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10611 CC="$CROSSCC"
10612 ac_exeext=".exe"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10615 int __cdecl mainCRTStartup(void) { return 0; }
10616 _ACEOF
10617 if ac_fn_c_try_link "$LINENO"; then :
10618 ac_cv_crosscflags__Wl___build_id=yes
10619 else
10620 ac_cv_crosscflags__Wl___build_id=no
10622 rm -f core conftest.err conftest.$ac_objext \
10623 conftest$ac_exeext conftest.$ac_ext
10624 CFLAGS=$ac_wine_try_cflags_saved
10625 CC=$ac_wine_try_cflags_saved_cc
10626 ac_exeext=$ac_wine_try_cflags_saved_exeext
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10629 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10630 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10631 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10632 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10636 CFLAGS=$saved_CFLAGS
10637 LDFLAGS=$saved_LDFLAGS
10638 CC="$ac_save_CC"
10641 if test "x$CROSSTARGET" = "x"; then :
10642 case "x$with_mingw" in
10643 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10644 xno) ;;
10645 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10646 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10647 esac
10652 if ${FAUDIO_PE_CFLAGS:+false} :; then :
10653 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
10654 else
10655 enable_faudio=no
10657 if ${FAUDIO_PE_LIBS:+false} :; then :
10658 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
10659 else
10660 enable_faudio=no
10662 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
10663 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
10665 if ${GSM_PE_CFLAGS:+false} :; then :
10666 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
10667 else
10668 enable_gsm=no
10670 if ${GSM_PE_LIBS:+false} :; then :
10671 GSM_PE_LIBS=gsm
10672 else
10673 enable_gsm=no
10675 $as_echo "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
10676 $as_echo "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
10678 if ${JPEG_PE_CFLAGS:+false} :; then :
10679 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
10680 else
10681 enable_jpeg=no
10683 if ${JPEG_PE_LIBS:+false} :; then :
10684 JPEG_PE_LIBS=jpeg
10685 else
10686 enable_jpeg=no
10688 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
10689 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
10691 if ${JXR_PE_CFLAGS:+false} :; then :
10692 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
10693 else
10694 enable_jxr=no
10696 if ${JXR_PE_LIBS:+false} :; then :
10697 JXR_PE_LIBS=jxr
10698 else
10699 enable_jxr=no
10701 $as_echo "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
10702 $as_echo "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
10704 if ${LCMS2_PE_CFLAGS:+false} :; then :
10705 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
10706 else
10707 enable_lcms2=no
10709 if ${LCMS2_PE_LIBS:+false} :; then :
10710 LCMS2_PE_LIBS=lcms2
10711 else
10712 enable_lcms2=no
10714 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
10715 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
10717 if ${MPG123_PE_CFLAGS:+false} :; then :
10718 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
10719 else
10720 enable_mpg123=no
10722 if ${MPG123_PE_LIBS:+false} :; then :
10723 MPG123_PE_LIBS=mpg123
10724 else
10725 enable_mpg123=no
10727 $as_echo "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
10728 $as_echo "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
10730 if ${PNG_PE_CFLAGS:+false} :; then :
10731 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
10732 else
10733 enable_png=no
10735 if ${PNG_PE_LIBS:+false} :; then :
10736 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
10737 else
10738 enable_png=no
10740 $as_echo "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
10741 $as_echo "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
10743 if ${TIFF_PE_CFLAGS:+false} :; then :
10744 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
10745 else
10746 enable_tiff=no
10748 if ${TIFF_PE_LIBS:+false} :; then :
10749 TIFF_PE_LIBS=tiff
10750 else
10751 enable_tiff=no
10753 $as_echo "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
10754 $as_echo "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
10756 if ${XML2_PE_CFLAGS:+false} :; then :
10757 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
10758 else
10759 enable_libxml2=no
10761 if ${XML2_PE_LIBS:+false} :; then :
10762 XML2_PE_LIBS=xml2
10763 else
10764 enable_libxml2=no
10766 $as_echo "$as_me:${as_lineno-$LINENO}: libxml2 cflags: $XML2_PE_CFLAGS" >&5
10767 $as_echo "$as_me:${as_lineno-$LINENO}: libxml2 libs: $XML2_PE_LIBS" >&5
10769 if ${XSLT_PE_CFLAGS:+false} :; then :
10770 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
10771 else
10772 enable_libxslt=no
10774 if ${XSLT_PE_LIBS:+false} :; then :
10775 XSLT_PE_LIBS=xslt
10776 else
10777 enable_libxslt=no
10779 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_PE_CFLAGS" >&5
10780 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_PE_LIBS" >&5
10782 if ${ZLIB_PE_CFLAGS:+false} :; then :
10783 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
10784 else
10785 enable_zlib=no
10787 if ${ZLIB_PE_LIBS:+false} :; then :
10788 ZLIB_PE_LIBS=z
10789 else
10790 enable_zlib=no
10792 $as_echo "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
10793 $as_echo "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
10797 if test "$ac_cv_header_pthread_h" = "yes"
10798 then
10799 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10800 if test "x$ac_cv_func_pthread_create" = xyes; then :
10802 else
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10804 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10805 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10806 $as_echo_n "(cached) " >&6
10807 else
10808 ac_check_lib_save_LIBS=$LIBS
10809 LIBS="-lpthread $LIBS"
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10816 #ifdef __cplusplus
10817 extern "C"
10818 #endif
10819 char pthread_create ();
10821 main ()
10823 return pthread_create ();
10825 return 0;
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"; then :
10829 ac_cv_lib_pthread_pthread_create=yes
10830 else
10831 ac_cv_lib_pthread_pthread_create=no
10833 rm -f core conftest.err conftest.$ac_objext \
10834 conftest$ac_exeext conftest.$ac_ext
10835 LIBS=$ac_check_lib_save_LIBS
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10838 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10839 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10840 PTHREAD_LIBS="-lpthread"
10847 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10848 case "x$with_pthread" in
10849 xno) ;;
10850 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10851 Wine cannot support threads without libpthread.
10852 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10853 esac
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10859 $as_echo_n "checking for X... " >&6; }
10862 # Check whether --with-x was given.
10863 if test "${with_x+set}" = set; then :
10864 withval=$with_x;
10867 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10868 if test "x$with_x" = xno; then
10869 # The user explicitly disabled X.
10870 have_x=disabled
10871 else
10872 case $x_includes,$x_libraries in #(
10873 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10874 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10875 $as_echo_n "(cached) " >&6
10876 else
10877 # One or both of the vars are not set, and there is no cached value.
10878 ac_x_includes=no ac_x_libraries=no
10879 rm -f -r conftest.dir
10880 if mkdir conftest.dir; then
10881 cd conftest.dir
10882 cat >Imakefile <<'_ACEOF'
10883 incroot:
10884 @echo incroot='${INCROOT}'
10885 usrlibdir:
10886 @echo usrlibdir='${USRLIBDIR}'
10887 libdir:
10888 @echo libdir='${LIBDIR}'
10889 _ACEOF
10890 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10891 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10892 for ac_var in incroot usrlibdir libdir; do
10893 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10894 done
10895 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10896 for ac_extension in a so sl dylib la dll; do
10897 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10898 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10899 ac_im_usrlibdir=$ac_im_libdir; break
10901 done
10902 # Screen out bogus values from the imake configuration. They are
10903 # bogus both because they are the default anyway, and because
10904 # using them would break gcc on systems where it needs fixed includes.
10905 case $ac_im_incroot in
10906 /usr/include) ac_x_includes= ;;
10907 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10908 esac
10909 case $ac_im_usrlibdir in
10910 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10911 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10912 esac
10914 cd ..
10915 rm -f -r conftest.dir
10918 # Standard set of common directories for X headers.
10919 # Check X11 before X11Rn because it is often a symlink to the current release.
10920 ac_x_header_dirs='
10921 /usr/X11/include
10922 /usr/X11R7/include
10923 /usr/X11R6/include
10924 /usr/X11R5/include
10925 /usr/X11R4/include
10927 /usr/include/X11
10928 /usr/include/X11R7
10929 /usr/include/X11R6
10930 /usr/include/X11R5
10931 /usr/include/X11R4
10933 /usr/local/X11/include
10934 /usr/local/X11R7/include
10935 /usr/local/X11R6/include
10936 /usr/local/X11R5/include
10937 /usr/local/X11R4/include
10939 /usr/local/include/X11
10940 /usr/local/include/X11R7
10941 /usr/local/include/X11R6
10942 /usr/local/include/X11R5
10943 /usr/local/include/X11R4
10945 /usr/X386/include
10946 /usr/x386/include
10947 /usr/XFree86/include/X11
10949 /usr/include
10950 /usr/local/include
10951 /usr/unsupported/include
10952 /usr/athena/include
10953 /usr/local/x11r5/include
10954 /usr/lpp/Xamples/include
10956 /usr/openwin/include
10957 /usr/openwin/share/include'
10959 if test "$ac_x_includes" = no; then
10960 # Guess where to find include files, by looking for Xlib.h.
10961 # First, try using that file with no special directory specified.
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10964 #include <X11/Xlib.h>
10965 _ACEOF
10966 if ac_fn_c_try_cpp "$LINENO"; then :
10967 # We can compile using X headers with no special include directory.
10968 ac_x_includes=
10969 else
10970 for ac_dir in $ac_x_header_dirs; do
10971 if test -r "$ac_dir/X11/Xlib.h"; then
10972 ac_x_includes=$ac_dir
10973 break
10975 done
10977 rm -f conftest.err conftest.i conftest.$ac_ext
10978 fi # $ac_x_includes = no
10980 if test "$ac_x_libraries" = no; then
10981 # Check for the libraries.
10982 # See if we find them without any special options.
10983 # Don't add to $LIBS permanently.
10984 ac_save_LIBS=$LIBS
10985 LIBS="-lX11 $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10988 #include <X11/Xlib.h>
10990 main ()
10992 XrmInitialize ()
10994 return 0;
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 LIBS=$ac_save_LIBS
10999 # We can link X programs with no special library path.
11000 ac_x_libraries=
11001 else
11002 LIBS=$ac_save_LIBS
11003 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11005 # Don't even attempt the hair of trying to link an X program!
11006 for ac_extension in a so sl dylib la dll; do
11007 if test -r "$ac_dir/libX11.$ac_extension"; then
11008 ac_x_libraries=$ac_dir
11009 break 2
11011 done
11012 done
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 fi # $ac_x_libraries = no
11018 case $ac_x_includes,$ac_x_libraries in #(
11019 no,* | *,no | *\'*)
11020 # Didn't find X, or a directory has "'" in its name.
11021 ac_cv_have_x="have_x=no";; #(
11023 # Record where we found X for the cache.
11024 ac_cv_have_x="have_x=yes\
11025 ac_x_includes='$ac_x_includes'\
11026 ac_x_libraries='$ac_x_libraries'"
11027 esac
11029 ;; #(
11030 *) have_x=yes;;
11031 esac
11032 eval "$ac_cv_have_x"
11033 fi # $with_x != no
11035 if test "$have_x" != yes; then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11037 $as_echo "$have_x" >&6; }
11038 no_x=yes
11039 else
11040 # If each of the values was on the command line, it overrides each guess.
11041 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11042 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11043 # Update the cache value to reflect the command line values.
11044 ac_cv_have_x="have_x=yes\
11045 ac_x_includes='$x_includes'\
11046 ac_x_libraries='$x_libraries'"
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11048 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11051 if test "$no_x" = yes; then
11052 # Not all programs may use this symbol, but it does not hurt to define it.
11054 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11056 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11057 else
11058 if test -n "$x_includes"; then
11059 X_CFLAGS="$X_CFLAGS -I$x_includes"
11062 # It would also be nice to do this for all -L options, not just this one.
11063 if test -n "$x_libraries"; then
11064 X_LIBS="$X_LIBS -L$x_libraries"
11065 # For Solaris; some versions of Sun CC require a space after -R and
11066 # others require no space. Words are not sufficient . . . .
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11068 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11069 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11070 ac_xsave_c_werror_flag=$ac_c_werror_flag
11071 ac_c_werror_flag=yes
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11076 main ()
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11085 $as_echo "no" >&6; }
11086 X_LIBS="$X_LIBS -R$x_libraries"
11087 else
11088 LIBS="$ac_xsave_LIBS -R $x_libraries"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11093 main ()
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11102 $as_echo "yes" >&6; }
11103 X_LIBS="$X_LIBS -R $x_libraries"
11104 else
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11106 $as_echo "neither works" >&6; }
11108 rm -f core conftest.err conftest.$ac_objext \
11109 conftest$ac_exeext conftest.$ac_ext
11111 rm -f core conftest.err conftest.$ac_objext \
11112 conftest$ac_exeext conftest.$ac_ext
11113 ac_c_werror_flag=$ac_xsave_c_werror_flag
11114 LIBS=$ac_xsave_LIBS
11117 # Check for system-dependent libraries X programs must link with.
11118 # Do this before checking for the system-independent R6 libraries
11119 # (-lICE), since we may need -lsocket or whatever for X linking.
11121 if test "$ISC" = yes; then
11122 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11123 else
11124 # Martyn Johnson says this is needed for Ultrix, if the X
11125 # libraries were built with DECnet support. And Karl Berry says
11126 # the Alpha needs dnet_stub (dnet does not exist).
11127 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11131 /* Override any GCC internal prototype to avoid an error.
11132 Use char because int might match the return type of a GCC
11133 builtin and then its argument prototype would still apply. */
11134 #ifdef __cplusplus
11135 extern "C"
11136 #endif
11137 char XOpenDisplay ();
11139 main ()
11141 return XOpenDisplay ();
11143 return 0;
11145 _ACEOF
11146 if ac_fn_c_try_link "$LINENO"; then :
11148 else
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11150 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11151 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-ldnet $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char dnet_ntoa ();
11167 main ()
11169 return dnet_ntoa ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_dnet_dnet_ntoa=yes
11176 else
11177 ac_cv_lib_dnet_dnet_ntoa=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11184 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11185 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11186 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11189 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11191 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11192 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11193 $as_echo_n "(cached) " >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-ldnet_stub $LIBS"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char dnet_ntoa ();
11208 main ()
11210 return dnet_ntoa ();
11212 return 0;
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"; then :
11216 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11217 else
11218 ac_cv_lib_dnet_stub_dnet_ntoa=no
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11225 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11226 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11227 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11232 rm -f core conftest.err conftest.$ac_objext \
11233 conftest$ac_exeext conftest.$ac_ext
11234 LIBS="$ac_xsave_LIBS"
11236 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11237 # to get the SysV transport functions.
11238 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11239 # needs -lnsl.
11240 # The nsl library prevents programs from opening the X display
11241 # on Irix 5.2, according to T.E. Dickey.
11242 # The functions gethostbyname, getservbyname, and inet_addr are
11243 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11244 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11245 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11249 if test $ac_cv_func_gethostbyname = no; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11251 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11252 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11253 $as_echo_n "(cached) " >&6
11254 else
11255 ac_check_lib_save_LIBS=$LIBS
11256 LIBS="-lnsl $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 gethostbyname ();
11268 main ()
11270 return gethostbyname ();
11272 return 0;
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276 ac_cv_lib_nsl_gethostbyname=yes
11277 else
11278 ac_cv_lib_nsl_gethostbyname=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_nsl_gethostbyname" >&5
11285 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11286 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11290 if test $ac_cv_lib_nsl_gethostbyname = no; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11292 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11293 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11294 $as_echo_n "(cached) " >&6
11295 else
11296 ac_check_lib_save_LIBS=$LIBS
11297 LIBS="-lbsd $LIBS"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11304 #ifdef __cplusplus
11305 extern "C"
11306 #endif
11307 char gethostbyname ();
11309 main ()
11311 return gethostbyname ();
11313 return 0;
11315 _ACEOF
11316 if ac_fn_c_try_link "$LINENO"; then :
11317 ac_cv_lib_bsd_gethostbyname=yes
11318 else
11319 ac_cv_lib_bsd_gethostbyname=no
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_lib_save_LIBS
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11326 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11327 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11328 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11334 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11335 # socket/setsockopt and other routines are undefined under SCO ODT
11336 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11337 # on later versions), says Simon Leinen: it contains gethostby*
11338 # variants that don't use the name server (or something). -lsocket
11339 # must be given before -lnsl if both are needed. We assume that
11340 # if connect needs -lnsl, so does gethostbyname.
11341 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11342 if test "x$ac_cv_func_connect" = xyes; then :
11346 if test $ac_cv_func_connect = no; then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11348 $as_echo_n "checking for connect in -lsocket... " >&6; }
11349 if ${ac_cv_lib_socket_connect+:} false; then :
11350 $as_echo_n "(cached) " >&6
11351 else
11352 ac_check_lib_save_LIBS=$LIBS
11353 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11360 #ifdef __cplusplus
11361 extern "C"
11362 #endif
11363 char connect ();
11365 main ()
11367 return connect ();
11369 return 0;
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"; then :
11373 ac_cv_lib_socket_connect=yes
11374 else
11375 ac_cv_lib_socket_connect=no
11377 rm -f core conftest.err conftest.$ac_objext \
11378 conftest$ac_exeext conftest.$ac_ext
11379 LIBS=$ac_check_lib_save_LIBS
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11382 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11383 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11384 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11389 # Guillermo Gomez says -lposix is necessary on A/UX.
11390 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11391 if test "x$ac_cv_func_remove" = xyes; then :
11395 if test $ac_cv_func_remove = no; then
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11397 $as_echo_n "checking for remove in -lposix... " >&6; }
11398 if ${ac_cv_lib_posix_remove+:} false; then :
11399 $as_echo_n "(cached) " >&6
11400 else
11401 ac_check_lib_save_LIBS=$LIBS
11402 LIBS="-lposix $LIBS"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11409 #ifdef __cplusplus
11410 extern "C"
11411 #endif
11412 char remove ();
11414 main ()
11416 return remove ();
11418 return 0;
11420 _ACEOF
11421 if ac_fn_c_try_link "$LINENO"; then :
11422 ac_cv_lib_posix_remove=yes
11423 else
11424 ac_cv_lib_posix_remove=no
11426 rm -f core conftest.err conftest.$ac_objext \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_lib_save_LIBS
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11431 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11432 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11433 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11438 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11439 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11440 if test "x$ac_cv_func_shmat" = xyes; then :
11444 if test $ac_cv_func_shmat = no; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11446 $as_echo_n "checking for shmat in -lipc... " >&6; }
11447 if ${ac_cv_lib_ipc_shmat+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-lipc $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char shmat ();
11463 main ()
11465 return shmat ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 ac_cv_lib_ipc_shmat=yes
11472 else
11473 ac_cv_lib_ipc_shmat=no
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_lib_save_LIBS
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11480 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11481 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11482 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11488 # Check for libraries that X11R6 Xt/Xaw programs need.
11489 ac_save_LDFLAGS=$LDFLAGS
11490 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11491 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11492 # check for ICE first), but we must link in the order -lSM -lICE or
11493 # we get undefined symbols. So assume we have SM if we have ICE.
11494 # These have to be linked with before -lX11, unlike the other
11495 # libraries we check for below, so use a different variable.
11496 # John Interrante, Karl Berry
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11498 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11499 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11500 $as_echo_n "(cached) " >&6
11501 else
11502 ac_check_lib_save_LIBS=$LIBS
11503 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11510 #ifdef __cplusplus
11511 extern "C"
11512 #endif
11513 char IceConnectionNumber ();
11515 main ()
11517 return IceConnectionNumber ();
11519 return 0;
11521 _ACEOF
11522 if ac_fn_c_try_link "$LINENO"; then :
11523 ac_cv_lib_ICE_IceConnectionNumber=yes
11524 else
11525 ac_cv_lib_ICE_IceConnectionNumber=no
11527 rm -f core conftest.err conftest.$ac_objext \
11528 conftest$ac_exeext conftest.$ac_ext
11529 LIBS=$ac_check_lib_save_LIBS
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11532 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11533 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11534 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11537 LDFLAGS=$ac_save_LDFLAGS
11542 if test "$have_x" = "yes"
11543 then
11544 ac_save_CPPFLAGS="$CPPFLAGS"
11545 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11548 $as_echo_n "checking for -lX11... " >&6; }
11549 if ${ac_cv_lib_soname_X11+:} false; then :
11550 $as_echo_n "(cached) " >&6
11551 else
11552 ac_check_soname_save_LIBS=$LIBS
11553 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11557 /* Override any GCC internal prototype to avoid an error.
11558 Use char because int might match the return type of a GCC
11559 builtin and then its argument prototype would still apply. */
11560 #ifdef __cplusplus
11561 extern "C"
11562 #endif
11563 char XCreateWindow ();
11565 main ()
11567 return XCreateWindow ();
11569 return 0;
11571 _ACEOF
11572 if ac_fn_c_try_link "$LINENO"; then :
11573 case "$LIBEXT" in
11574 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11575 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'` ;;
11576 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11577 if ${ac_cv_lib_soname_X11:+false} :; then :
11578 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11579 fi ;;
11580 esac
11581 else
11582 ac_cv_lib_soname_X11=
11584 rm -f core conftest.err conftest.$ac_objext \
11585 conftest$ac_exeext conftest.$ac_ext
11586 LIBS=$ac_check_soname_save_LIBS
11588 if ${ac_cv_lib_soname_X11:+false} :; then :
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11590 $as_echo "not found" >&6; }
11592 else
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11594 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11596 cat >>confdefs.h <<_ACEOF
11597 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11598 _ACEOF
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11603 $as_echo_n "checking for -lXext... " >&6; }
11604 if ${ac_cv_lib_soname_Xext+:} false; then :
11605 $as_echo_n "(cached) " >&6
11606 else
11607 ac_check_soname_save_LIBS=$LIBS
11608 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11615 #ifdef __cplusplus
11616 extern "C"
11617 #endif
11618 char XextCreateExtension ();
11620 main ()
11622 return XextCreateExtension ();
11624 return 0;
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"; then :
11628 case "$LIBEXT" in
11629 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11630 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'` ;;
11631 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11632 if ${ac_cv_lib_soname_Xext:+false} :; then :
11633 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11634 fi ;;
11635 esac
11636 else
11637 ac_cv_lib_soname_Xext=
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_soname_save_LIBS
11643 if ${ac_cv_lib_soname_Xext:+false} :; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11645 $as_echo "not found" >&6; }
11647 else
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11649 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11651 cat >>confdefs.h <<_ACEOF
11652 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11653 _ACEOF
11655 X_LIBS="$X_LIBS -lXext"
11657 X_LIBS="$X_LIBS -lX11"
11659 for ac_header in X11/Xlib.h \
11660 X11/XKBlib.h \
11661 X11/Xutil.h \
11662 X11/Xcursor/Xcursor.h \
11663 X11/extensions/shape.h \
11664 X11/extensions/XInput.h \
11665 X11/extensions/XInput2.h \
11666 X11/extensions/XShm.h \
11667 X11/extensions/Xcomposite.h \
11668 X11/extensions/Xfixes.h \
11669 X11/extensions/Xinerama.h \
11670 X11/extensions/Xrandr.h \
11671 X11/extensions/Xrender.h \
11672 X11/extensions/xf86vmode.h \
11673 X11/extensions/xf86vmproto.h
11674 do :
11675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11676 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11677 # include <X11/Xlib.h>
11678 #endif
11679 #ifdef HAVE_X11_XUTIL_H
11680 # include <X11/Xutil.h>
11681 #endif
11683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11684 cat >>confdefs.h <<_ACEOF
11685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11686 _ACEOF
11690 done
11693 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11694 then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11696 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11697 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 ac_check_lib_save_LIBS=$LIBS
11701 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11708 #ifdef __cplusplus
11709 extern "C"
11710 #endif
11711 char XkbQueryExtension ();
11713 main ()
11715 return XkbQueryExtension ();
11717 return 0;
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"; then :
11721 ac_cv_lib_X11_XkbQueryExtension=yes
11722 else
11723 ac_cv_lib_X11_XkbQueryExtension=no
11725 rm -f core conftest.err conftest.$ac_objext \
11726 conftest$ac_exeext conftest.$ac_ext
11727 LIBS=$ac_check_lib_save_LIBS
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11730 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11731 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11733 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11739 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11740 then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11742 $as_echo_n "checking for -lXcursor... " >&6; }
11743 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11744 $as_echo_n "(cached) " >&6
11745 else
11746 ac_check_soname_save_LIBS=$LIBS
11747 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11754 #ifdef __cplusplus
11755 extern "C"
11756 #endif
11757 char XcursorImageLoadCursor ();
11759 main ()
11761 return XcursorImageLoadCursor ();
11763 return 0;
11765 _ACEOF
11766 if ac_fn_c_try_link "$LINENO"; then :
11767 case "$LIBEXT" in
11768 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11769 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'` ;;
11770 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11771 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11772 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11773 fi ;;
11774 esac
11775 else
11776 ac_cv_lib_soname_Xcursor=
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_soname_save_LIBS
11782 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11784 $as_echo "not found" >&6; }
11786 else
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11788 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11790 cat >>confdefs.h <<_ACEOF
11791 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11792 _ACEOF
11797 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11798 case "x$with_xcursor" in
11799 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11800 xno) ;;
11801 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11802 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11803 esac
11807 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11808 then
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11810 $as_echo_n "checking for -lXi... " >&6; }
11811 if ${ac_cv_lib_soname_Xi+:} false; then :
11812 $as_echo_n "(cached) " >&6
11813 else
11814 ac_check_soname_save_LIBS=$LIBS
11815 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11819 /* Override any GCC internal prototype to avoid an error.
11820 Use char because int might match the return type of a GCC
11821 builtin and then its argument prototype would still apply. */
11822 #ifdef __cplusplus
11823 extern "C"
11824 #endif
11825 char XOpenDevice ();
11827 main ()
11829 return XOpenDevice ();
11831 return 0;
11833 _ACEOF
11834 if ac_fn_c_try_link "$LINENO"; then :
11835 case "$LIBEXT" in
11836 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11837 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'` ;;
11838 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11839 if ${ac_cv_lib_soname_Xi:+false} :; then :
11840 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11841 fi ;;
11842 esac
11843 else
11844 ac_cv_lib_soname_Xi=
11846 rm -f core conftest.err conftest.$ac_objext \
11847 conftest$ac_exeext conftest.$ac_ext
11848 LIBS=$ac_check_soname_save_LIBS
11850 if ${ac_cv_lib_soname_Xi:+false} :; then :
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11852 $as_echo "not found" >&6; }
11854 else
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11856 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11858 cat >>confdefs.h <<_ACEOF
11859 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11860 _ACEOF
11865 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11866 case "x$with_xinput" in
11867 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11868 xno) ;;
11869 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11870 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11871 esac
11875 if test "x$ac_cv_lib_soname_Xi" != x
11876 then
11877 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11878 case "x$with_xinput2" in
11879 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11880 xno) ;;
11881 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11882 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11883 esac
11888 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11889 then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11891 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11892 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11893 $as_echo_n "(cached) " >&6
11894 else
11895 ac_check_lib_save_LIBS=$LIBS
11896 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11900 /* Override any GCC internal prototype to avoid an error.
11901 Use char because int might match the return type of a GCC
11902 builtin and then its argument prototype would still apply. */
11903 #ifdef __cplusplus
11904 extern "C"
11905 #endif
11906 char XShmQueryExtension ();
11908 main ()
11910 return XShmQueryExtension ();
11912 return 0;
11914 _ACEOF
11915 if ac_fn_c_try_link "$LINENO"; then :
11916 ac_cv_lib_Xext_XShmQueryExtension=yes
11917 else
11918 ac_cv_lib_Xext_XShmQueryExtension=no
11920 rm -f core conftest.err conftest.$ac_objext \
11921 conftest$ac_exeext conftest.$ac_ext
11922 LIBS=$ac_check_lib_save_LIBS
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11925 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11926 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11928 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11933 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11934 case "x$with_xshm" in
11935 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11936 xno) ;;
11937 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11938 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11939 esac
11943 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11944 then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11946 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11947 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11948 $as_echo_n "(cached) " >&6
11949 else
11950 ac_check_lib_save_LIBS=$LIBS
11951 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11955 /* Override any GCC internal prototype to avoid an error.
11956 Use char because int might match the return type of a GCC
11957 builtin and then its argument prototype would still apply. */
11958 #ifdef __cplusplus
11959 extern "C"
11960 #endif
11961 char XShapeQueryExtension ();
11963 main ()
11965 return XShapeQueryExtension ();
11967 return 0;
11969 _ACEOF
11970 if ac_fn_c_try_link "$LINENO"; then :
11971 ac_cv_lib_Xext_XShapeQueryExtension=yes
11972 else
11973 ac_cv_lib_Xext_XShapeQueryExtension=no
11975 rm -f core conftest.err conftest.$ac_objext \
11976 conftest$ac_exeext conftest.$ac_ext
11977 LIBS=$ac_check_lib_save_LIBS
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11980 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11981 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11983 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11988 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11989 case "x$with_xshape" in
11990 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11991 xno) ;;
11992 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11993 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11994 esac
11998 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11999 then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
12001 $as_echo_n "checking for -lXxf86vm... " >&6; }
12002 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12003 $as_echo_n "(cached) " >&6
12004 else
12005 ac_check_soname_save_LIBS=$LIBS
12006 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12013 #ifdef __cplusplus
12014 extern "C"
12015 #endif
12016 char XF86VidModeQueryExtension ();
12018 main ()
12020 return XF86VidModeQueryExtension ();
12022 return 0;
12024 _ACEOF
12025 if ac_fn_c_try_link "$LINENO"; then :
12026 case "$LIBEXT" in
12027 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12028 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'` ;;
12029 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12030 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12031 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12032 fi ;;
12033 esac
12034 else
12035 ac_cv_lib_soname_Xxf86vm=
12037 rm -f core conftest.err conftest.$ac_objext \
12038 conftest$ac_exeext conftest.$ac_ext
12039 LIBS=$ac_check_soname_save_LIBS
12041 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12043 $as_echo "not found" >&6; }
12045 else
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12047 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12049 cat >>confdefs.h <<_ACEOF
12050 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12051 _ACEOF
12056 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12057 case "x$with_xxf86vm" in
12058 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12059 xno) ;;
12060 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12061 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12062 esac
12066 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12067 then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12069 $as_echo_n "checking for -lXrender... " >&6; }
12070 if ${ac_cv_lib_soname_Xrender+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_check_soname_save_LIBS=$LIBS
12074 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12081 #ifdef __cplusplus
12082 extern "C"
12083 #endif
12084 char XRenderQueryExtension ();
12086 main ()
12088 return XRenderQueryExtension ();
12090 return 0;
12092 _ACEOF
12093 if ac_fn_c_try_link "$LINENO"; then :
12094 case "$LIBEXT" in
12095 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12096 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'` ;;
12097 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12098 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12099 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12100 fi ;;
12101 esac
12102 else
12103 ac_cv_lib_soname_Xrender=
12105 rm -f core conftest.err conftest.$ac_objext \
12106 conftest$ac_exeext conftest.$ac_ext
12107 LIBS=$ac_check_soname_save_LIBS
12109 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12111 $as_echo "not found" >&6; }
12113 else
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12115 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12117 cat >>confdefs.h <<_ACEOF
12118 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12119 _ACEOF
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12122 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12123 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 ac_check_lib_save_LIBS=$LIBS
12127 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12134 #ifdef __cplusplus
12135 extern "C"
12136 #endif
12137 char XRenderSetPictureTransform ();
12139 main ()
12141 return XRenderSetPictureTransform ();
12143 return 0;
12145 _ACEOF
12146 if ac_fn_c_try_link "$LINENO"; then :
12147 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12148 else
12149 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12151 rm -f core conftest.err conftest.$ac_objext \
12152 conftest$ac_exeext conftest.$ac_ext
12153 LIBS=$ac_check_lib_save_LIBS
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12156 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12157 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12159 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12164 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12165 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12166 $as_echo_n "(cached) " >&6
12167 else
12168 ac_check_lib_save_LIBS=$LIBS
12169 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12176 #ifdef __cplusplus
12177 extern "C"
12178 #endif
12179 char XRenderCreateLinearGradient ();
12181 main ()
12183 return XRenderCreateLinearGradient ();
12185 return 0;
12187 _ACEOF
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12190 else
12191 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12198 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12199 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12201 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12208 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12209 case "x$with_xrender" in
12210 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12211 xno) ;;
12212 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12213 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12214 esac
12218 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12219 then
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12222 #include <X11/Xlib.h>
12223 #include <X11/extensions/Xrandr.h>
12225 main ()
12227 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12229 return 0;
12231 _ACEOF
12232 if ac_fn_c_try_compile "$LINENO"; then :
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12234 $as_echo_n "checking for -lXrandr... " >&6; }
12235 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_check_soname_save_LIBS=$LIBS
12239 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12246 #ifdef __cplusplus
12247 extern "C"
12248 #endif
12249 char XRRQueryExtension ();
12251 main ()
12253 return XRRQueryExtension ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 case "$LIBEXT" in
12260 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12261 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'` ;;
12262 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12263 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12264 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12265 fi ;;
12266 esac
12267 else
12268 ac_cv_lib_soname_Xrandr=
12270 rm -f core conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12272 LIBS=$ac_check_soname_save_LIBS
12274 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12276 $as_echo "not found" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12280 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12282 cat >>confdefs.h <<_ACEOF
12283 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12284 _ACEOF
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12288 #include <X11/Xlib.h>
12289 #include <X11/extensions/Xrandr.h>
12291 main ()
12293 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12295 return 0;
12297 _ACEOF
12298 if ac_fn_c_try_compile "$LINENO"; then :
12300 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12302 else
12303 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12310 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12311 case "x$with_xrandr" in
12312 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12313 xno) ;;
12314 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12315 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12316 esac
12320 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12321 then
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12324 #include <X11/Xlib.h>
12325 #include <X11/extensions/Xfixes.h>
12327 main ()
12329 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12331 return 0;
12333 _ACEOF
12334 if ac_fn_c_try_compile "$LINENO"; then :
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12336 $as_echo_n "checking for -lXfixes... " >&6; }
12337 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12338 $as_echo_n "(cached) " >&6
12339 else
12340 ac_check_soname_save_LIBS=$LIBS
12341 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12345 /* Override any GCC internal prototype to avoid an error.
12346 Use char because int might match the return type of a GCC
12347 builtin and then its argument prototype would still apply. */
12348 #ifdef __cplusplus
12349 extern "C"
12350 #endif
12351 char XFixesQueryVersion ();
12353 main ()
12355 return XFixesQueryVersion ();
12357 return 0;
12359 _ACEOF
12360 if ac_fn_c_try_link "$LINENO"; then :
12361 case "$LIBEXT" in
12362 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12363 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'` ;;
12364 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12365 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12366 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12367 fi ;;
12368 esac
12369 else
12370 ac_cv_lib_soname_Xfixes=
12372 rm -f core conftest.err conftest.$ac_objext \
12373 conftest$ac_exeext conftest.$ac_ext
12374 LIBS=$ac_check_soname_save_LIBS
12376 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12378 $as_echo "not found" >&6; }
12380 else
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12382 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12384 cat >>confdefs.h <<_ACEOF
12385 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12386 _ACEOF
12391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12393 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12394 case "x$with_xfixes" in
12395 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12396 xno) ;;
12397 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12398 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12399 esac
12403 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12404 then
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12407 #include <X11/Xlib.h>
12408 #include <X11/extensions/Xinerama.h>
12410 main ()
12412 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12414 return 0;
12416 _ACEOF
12417 if ac_fn_c_try_compile "$LINENO"; then :
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12419 $as_echo_n "checking for -lXinerama... " >&6; }
12420 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12421 $as_echo_n "(cached) " >&6
12422 else
12423 ac_check_soname_save_LIBS=$LIBS
12424 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 /* Override any GCC internal prototype to avoid an error.
12429 Use char because int might match the return type of a GCC
12430 builtin and then its argument prototype would still apply. */
12431 #ifdef __cplusplus
12432 extern "C"
12433 #endif
12434 char XineramaQueryScreens ();
12436 main ()
12438 return XineramaQueryScreens ();
12440 return 0;
12442 _ACEOF
12443 if ac_fn_c_try_link "$LINENO"; then :
12444 case "$LIBEXT" in
12445 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12446 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'` ;;
12447 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12448 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12449 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12450 fi ;;
12451 esac
12452 else
12453 ac_cv_lib_soname_Xinerama=
12455 rm -f core conftest.err conftest.$ac_objext \
12456 conftest$ac_exeext conftest.$ac_ext
12457 LIBS=$ac_check_soname_save_LIBS
12459 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12461 $as_echo "not found" >&6; }
12463 else
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12465 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12467 cat >>confdefs.h <<_ACEOF
12468 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12469 _ACEOF
12474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12476 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12477 case "x$with_xinerama" in
12478 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12479 xno) ;;
12480 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12481 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12482 esac
12486 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12487 then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12489 $as_echo_n "checking for -lXcomposite... " >&6; }
12490 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12491 $as_echo_n "(cached) " >&6
12492 else
12493 ac_check_soname_save_LIBS=$LIBS
12494 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 /* Override any GCC internal prototype to avoid an error.
12499 Use char because int might match the return type of a GCC
12500 builtin and then its argument prototype would still apply. */
12501 #ifdef __cplusplus
12502 extern "C"
12503 #endif
12504 char XCompositeRedirectWindow ();
12506 main ()
12508 return XCompositeRedirectWindow ();
12510 return 0;
12512 _ACEOF
12513 if ac_fn_c_try_link "$LINENO"; then :
12514 case "$LIBEXT" in
12515 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12516 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'` ;;
12517 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12518 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12519 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12520 fi ;;
12521 esac
12522 else
12523 ac_cv_lib_soname_Xcomposite=
12525 rm -f core conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12527 LIBS=$ac_check_soname_save_LIBS
12529 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12531 $as_echo "not found" >&6; }
12533 else
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12535 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12537 cat >>confdefs.h <<_ACEOF
12538 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12539 _ACEOF
12544 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12545 case "x$with_xcomposite" in
12546 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12547 xno) ;;
12548 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12549 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12550 esac
12554 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12555 #include <X11/Xlib.h>
12556 #endif
12558 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12560 cat >>confdefs.h <<_ACEOF
12561 #define HAVE_XICCALLBACK_CALLBACK 1
12562 _ACEOF
12566 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12567 #include <X11/Xlib.h>
12568 #endif
12570 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12572 cat >>confdefs.h <<_ACEOF
12573 #define HAVE_XEVENT_XCOOKIE 1
12574 _ACEOF
12581 opengl_msg=""
12582 if test "x$with_opengl" != "xno"
12583 then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12585 $as_echo_n "checking for -lGL... " >&6; }
12586 if ${ac_cv_lib_soname_GL+:} false; then :
12587 $as_echo_n "(cached) " >&6
12588 else
12589 ac_check_soname_save_LIBS=$LIBS
12590 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12597 #ifdef __cplusplus
12598 extern "C"
12599 #endif
12600 char glXCreateContext ();
12602 main ()
12604 return glXCreateContext ();
12606 return 0;
12608 _ACEOF
12609 if ac_fn_c_try_link "$LINENO"; then :
12610 case "$LIBEXT" in
12611 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12612 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'` ;;
12613 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12614 if ${ac_cv_lib_soname_GL:+false} :; then :
12615 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12616 fi ;;
12617 esac
12618 else
12619 ac_cv_lib_soname_GL=
12621 rm -f core conftest.err conftest.$ac_objext \
12622 conftest$ac_exeext conftest.$ac_ext
12623 LIBS=$ac_check_soname_save_LIBS
12625 if ${ac_cv_lib_soname_GL:+false} :; then :
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12627 $as_echo "not found" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12629 $as_echo_n "checking for -lGL... " >&6; }
12630 if ${ac_cv_lib_soname_GL+:} false; then :
12631 $as_echo_n "(cached) " >&6
12632 else
12633 ac_check_soname_save_LIBS=$LIBS
12634 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"
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12638 /* Override any GCC internal prototype to avoid an error.
12639 Use char because int might match the return type of a GCC
12640 builtin and then its argument prototype would still apply. */
12641 #ifdef __cplusplus
12642 extern "C"
12643 #endif
12644 char glXCreateContext ();
12646 main ()
12648 return glXCreateContext ();
12650 return 0;
12652 _ACEOF
12653 if ac_fn_c_try_link "$LINENO"; then :
12654 case "$LIBEXT" in
12655 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12656 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'` ;;
12657 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12658 if ${ac_cv_lib_soname_GL:+false} :; then :
12659 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12660 fi ;;
12661 esac
12662 else
12663 ac_cv_lib_soname_GL=
12665 rm -f core conftest.err conftest.$ac_objext \
12666 conftest$ac_exeext conftest.$ac_ext
12667 LIBS=$ac_check_soname_save_LIBS
12669 if ${ac_cv_lib_soname_GL:+false} :; then :
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12671 $as_echo "not found" >&6; }
12672 if test -f /usr/X11R6/lib/libGL.a
12673 then
12674 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12675 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12676 else
12677 opengl_msg="No OpenGL library found on this system."
12679 else
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12681 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12683 cat >>confdefs.h <<_ACEOF
12684 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12685 _ACEOF
12687 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"
12689 else
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12691 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12693 cat >>confdefs.h <<_ACEOF
12694 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12695 _ACEOF
12697 OPENGL_LIBS="-lGL"
12699 if test "x$with_osmesa" != "xno"
12700 then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12702 $as_echo_n "checking for -lOSMesa... " >&6; }
12703 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12704 $as_echo_n "(cached) " >&6
12705 else
12706 ac_check_soname_save_LIBS=$LIBS
12707 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 /* Override any GCC internal prototype to avoid an error.
12712 Use char because int might match the return type of a GCC
12713 builtin and then its argument prototype would still apply. */
12714 #ifdef __cplusplus
12715 extern "C"
12716 #endif
12717 char OSMesaGetProcAddress ();
12719 main ()
12721 return OSMesaGetProcAddress ();
12723 return 0;
12725 _ACEOF
12726 if ac_fn_c_try_link "$LINENO"; then :
12727 case "$LIBEXT" in
12728 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12729 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'` ;;
12730 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12731 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12732 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12733 fi ;;
12734 esac
12735 else
12736 ac_cv_lib_soname_OSMesa=
12738 rm -f core conftest.err conftest.$ac_objext \
12739 conftest$ac_exeext conftest.$ac_ext
12740 LIBS=$ac_check_soname_save_LIBS
12742 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12744 $as_echo "not found" >&6; }
12746 else
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12748 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12750 cat >>confdefs.h <<_ACEOF
12751 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12752 _ACEOF
12756 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12757 case "x$with_osmesa" in
12758 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12759 xno) ;;
12760 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12761 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12762 esac
12767 if test -n "$opengl_msg"; then :
12768 case "x$with_opengl" in
12769 x) as_fn_append wine_warnings "|$opengl_msg
12770 OpenGL and Direct3D won't be supported." ;;
12771 xno) ;;
12772 *) as_fn_error $? "$opengl_msg
12773 OpenGL and Direct3D won't be supported.
12774 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12775 esac
12779 CPPFLAGS="$ac_save_CPPFLAGS"
12780 else
12781 X_CFLAGS=""
12782 X_LIBS=""
12785 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12786 then
12787 if test "x$X_LIBS" = "x"; then :
12788 case "x$with_x" in
12789 xno) ;;
12790 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12791 without X support, which probably isn't what you want. You will need
12792 to install ${notice_platform}development packages of Xlib at the very least.
12793 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12794 esac
12795 enable_winex11_drv=${enable_winex11_drv:-no}
12797 else
12798 if test "x$X_LIBS" = "x"; then :
12799 case "x$with_x" in
12800 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12801 xno) ;;
12802 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12803 This is an error since --with-x was requested." "$LINENO" 5 ;;
12804 esac
12805 enable_winex11_drv=${enable_winex11_drv:-no}
12809 if test "$ac_cv_header_CL_cl_h" = "yes"
12810 then
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12812 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12813 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12814 $as_echo_n "(cached) " >&6
12815 else
12816 ac_check_lib_save_LIBS=$LIBS
12817 LIBS="-lOpenCL $LIBS"
12818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12821 /* Override any GCC internal prototype to avoid an error.
12822 Use char because int might match the return type of a GCC
12823 builtin and then its argument prototype would still apply. */
12824 #ifdef __cplusplus
12825 extern "C"
12826 #endif
12827 char clGetPlatformInfo ();
12829 main ()
12831 return clGetPlatformInfo ();
12833 return 0;
12835 _ACEOF
12836 if ac_fn_c_try_link "$LINENO"; then :
12837 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12838 else
12839 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12841 rm -f core conftest.err conftest.$ac_objext \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_lib_save_LIBS
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12846 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12847 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12848 OPENCL_LIBS="-lOpenCL"
12853 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12854 case "x$with_opencl" in
12855 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12856 xno) ;;
12857 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12858 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12859 esac
12860 enable_opencl=${enable_opencl:-no}
12863 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12864 then
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12866 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12867 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12868 $as_echo_n "(cached) " >&6
12869 else
12870 ac_check_lib_save_LIBS=$LIBS
12871 LIBS="-lpcap $LIBS"
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12875 /* Override any GCC internal prototype to avoid an error.
12876 Use char because int might match the return type of a GCC
12877 builtin and then its argument prototype would still apply. */
12878 #ifdef __cplusplus
12879 extern "C"
12880 #endif
12881 char pcap_create ();
12883 main ()
12885 return pcap_create ();
12887 return 0;
12889 _ACEOF
12890 if ac_fn_c_try_link "$LINENO"; then :
12891 ac_cv_lib_pcap_pcap_create=yes
12892 else
12893 ac_cv_lib_pcap_pcap_create=no
12895 rm -f core conftest.err conftest.$ac_objext \
12896 conftest$ac_exeext conftest.$ac_ext
12897 LIBS=$ac_check_lib_save_LIBS
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12900 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12901 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12902 PCAP_LIBS="-lpcap"
12907 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12908 case "x$with_pcap" in
12909 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12910 xno) ;;
12911 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12912 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12913 esac
12914 enable_wpcap=${enable_wpcap:-no}
12917 if test "x$with_inotify" != "xno"
12918 then
12919 if ${INOTIFY_CFLAGS:+false} :; then :
12920 if ${PKG_CONFIG+:} false; then :
12921 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
12925 if ${INOTIFY_LIBS:+false} :; then :
12926 if ${PKG_CONFIG+:} false; then :
12927 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
12932 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
12933 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
12934 ac_save_CPPFLAGS=$CPPFLAGS
12935 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
12936 for ac_header in sys/inotify.h
12937 do :
12938 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
12939 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
12940 cat >>confdefs.h <<_ACEOF
12941 #define HAVE_SYS_INOTIFY_H 1
12942 _ACEOF
12946 done
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
12949 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
12950 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
12951 $as_echo_n "(cached) " >&6
12952 else
12953 ac_check_lib_save_LIBS=$LIBS
12954 LIBS="-linotify $INOTIFY_LIBS $LIBS"
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12958 /* Override any GCC internal prototype to avoid an error.
12959 Use char because int might match the return type of a GCC
12960 builtin and then its argument prototype would still apply. */
12961 #ifdef __cplusplus
12962 extern "C"
12963 #endif
12964 char inotify_add_watch ();
12966 main ()
12968 return inotify_add_watch ();
12970 return 0;
12972 _ACEOF
12973 if ac_fn_c_try_link "$LINENO"; then :
12974 ac_cv_lib_inotify_inotify_add_watch=yes
12975 else
12976 ac_cv_lib_inotify_inotify_add_watch=no
12978 rm -f core conftest.err conftest.$ac_objext \
12979 conftest$ac_exeext conftest.$ac_ext
12980 LIBS=$ac_check_lib_save_LIBS
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
12983 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
12984 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
12986 else
12987 INOTIFY_LIBS=""
12990 CPPFLAGS=$ac_save_CPPFLAGS
12993 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
12994 case "x$with_inotify" in
12995 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
12996 xno) ;;
12997 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
12998 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
12999 esac
13003 if test "x$with_dbus" != "xno"
13004 then
13005 if ${DBUS_CFLAGS:+false} :; then :
13006 if ${PKG_CONFIG+:} false; then :
13007 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13011 if ${DBUS_LIBS:+false} :; then :
13012 if ${PKG_CONFIG+:} false; then :
13013 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13018 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13019 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13020 ac_save_CPPFLAGS=$CPPFLAGS
13021 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13022 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13023 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13025 $as_echo_n "checking for -ldbus-1... " >&6; }
13026 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13027 $as_echo_n "(cached) " >&6
13028 else
13029 ac_check_soname_save_LIBS=$LIBS
13030 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13034 /* Override any GCC internal prototype to avoid an error.
13035 Use char because int might match the return type of a GCC
13036 builtin and then its argument prototype would still apply. */
13037 #ifdef __cplusplus
13038 extern "C"
13039 #endif
13040 char dbus_connection_close ();
13042 main ()
13044 return dbus_connection_close ();
13046 return 0;
13048 _ACEOF
13049 if ac_fn_c_try_link "$LINENO"; then :
13050 case "$LIBEXT" in
13051 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13052 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'` ;;
13053 *) 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'`
13054 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13055 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13056 fi ;;
13057 esac
13058 else
13059 ac_cv_lib_soname_dbus_1=
13061 rm -f core conftest.err conftest.$ac_objext \
13062 conftest$ac_exeext conftest.$ac_ext
13063 LIBS=$ac_check_soname_save_LIBS
13065 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13067 $as_echo "not found" >&6; }
13068 DBUS_CFLAGS=""
13069 else
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13071 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13073 cat >>confdefs.h <<_ACEOF
13074 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13075 _ACEOF
13079 else
13080 DBUS_CFLAGS=""
13084 CPPFLAGS=$ac_save_CPPFLAGS
13087 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13088 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13089 case "x$with_dbus" in
13090 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13091 xno) ;;
13092 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13093 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13094 esac
13098 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13099 then
13100 if ${HAL_CFLAGS:+false} :; then :
13101 if ${PKG_CONFIG+:} false; then :
13102 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13106 if ${HAL_LIBS:+false} :; then :
13107 if ${PKG_CONFIG+:} false; then :
13108 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13112 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13113 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13114 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13115 ac_save_CPPFLAGS=$CPPFLAGS
13116 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13117 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13118 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13120 $as_echo_n "checking for -lhal... " >&6; }
13121 if ${ac_cv_lib_soname_hal+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124 ac_check_soname_save_LIBS=$LIBS
13125 LIBS="-lhal $HAL_LIBS $LIBS"
13126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13129 /* Override any GCC internal prototype to avoid an error.
13130 Use char because int might match the return type of a GCC
13131 builtin and then its argument prototype would still apply. */
13132 #ifdef __cplusplus
13133 extern "C"
13134 #endif
13135 char libhal_ctx_new ();
13137 main ()
13139 return libhal_ctx_new ();
13141 return 0;
13143 _ACEOF
13144 if ac_fn_c_try_link "$LINENO"; then :
13145 case "$LIBEXT" in
13146 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13147 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'` ;;
13148 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13149 if ${ac_cv_lib_soname_hal:+false} :; then :
13150 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13151 fi ;;
13152 esac
13153 else
13154 ac_cv_lib_soname_hal=
13156 rm -f core conftest.err conftest.$ac_objext \
13157 conftest$ac_exeext conftest.$ac_ext
13158 LIBS=$ac_check_soname_save_LIBS
13160 if ${ac_cv_lib_soname_hal:+false} :; then :
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13162 $as_echo "not found" >&6; }
13163 HAL_CFLAGS=""
13164 else
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13166 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13168 cat >>confdefs.h <<_ACEOF
13169 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13170 _ACEOF
13174 else
13175 HAL_CFLAGS=""
13179 CPPFLAGS=$ac_save_CPPFLAGS
13181 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13182 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13183 case "x$with_hal" in
13184 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13185 xno) ;;
13186 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13187 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13188 esac
13193 if test "x$with_gnutls" != "xno"
13194 then
13195 if ${GNUTLS_CFLAGS:+false} :; then :
13196 if ${PKG_CONFIG+:} false; then :
13197 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13201 if ${GNUTLS_LIBS:+false} :; then :
13202 if ${PKG_CONFIG+:} false; then :
13203 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13207 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13208 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13209 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13210 ac_save_CPPFLAGS=$CPPFLAGS
13211 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13212 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13213 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13216 #include <gnutls/gnutls.h>
13217 #include <gnutls/crypto.h>
13219 main ()
13221 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13223 return 0;
13225 _ACEOF
13226 if ac_fn_c_try_compile "$LINENO"; then :
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13228 $as_echo_n "checking for -lgnutls... " >&6; }
13229 if ${ac_cv_lib_soname_gnutls+:} false; then :
13230 $as_echo_n "(cached) " >&6
13231 else
13232 ac_check_soname_save_LIBS=$LIBS
13233 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13240 #ifdef __cplusplus
13241 extern "C"
13242 #endif
13243 char gnutls_global_init ();
13245 main ()
13247 return gnutls_global_init ();
13249 return 0;
13251 _ACEOF
13252 if ac_fn_c_try_link "$LINENO"; then :
13253 case "$LIBEXT" in
13254 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13255 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'` ;;
13256 *) 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'`
13257 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13258 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'`
13259 fi ;;
13260 esac
13261 else
13262 ac_cv_lib_soname_gnutls=
13264 rm -f core conftest.err conftest.$ac_objext \
13265 conftest$ac_exeext conftest.$ac_ext
13266 LIBS=$ac_check_soname_save_LIBS
13268 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13270 $as_echo "not found" >&6; }
13271 GNUTLS_CFLAGS=""
13272 else
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13274 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13276 cat >>confdefs.h <<_ACEOF
13277 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13278 _ACEOF
13282 ac_wine_check_funcs_save_LIBS="$LIBS"
13283 LIBS="$LIBS $GNUTLS_LIBS"
13284 for ac_func in gnutls_cipher_init
13285 do :
13286 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13287 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13288 cat >>confdefs.h <<_ACEOF
13289 #define HAVE_GNUTLS_CIPHER_INIT 1
13290 _ACEOF
13292 else
13293 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13295 done
13297 LIBS="$ac_wine_check_funcs_save_LIBS"
13299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13300 else
13301 GNUTLS_CFLAGS=""
13305 CPPFLAGS=$ac_save_CPPFLAGS
13308 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13309 case "x$with_gnutls" in
13310 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13311 xno) ;;
13312 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13313 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13314 esac
13318 if test "x$with_sane" != "xno"
13319 then
13320 if ${SANE_CFLAGS:+false} :; then :
13321 if ${PKG_CONFIG+:} false; then :
13322 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13325 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13326 if ${SANE_LIBS:+false} :; then :
13327 if ${PKG_CONFIG+:} false; then :
13328 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13331 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13333 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13334 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13335 ac_save_CPPFLAGS=$CPPFLAGS
13336 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13337 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13338 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
13340 $as_echo_n "checking for sane_init in -lsane... " >&6; }
13341 if ${ac_cv_lib_sane_sane_init+:} false; then :
13342 $as_echo_n "(cached) " >&6
13343 else
13344 ac_check_lib_save_LIBS=$LIBS
13345 LIBS="-lsane $SANE_LIBS $LIBS"
13346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 char sane_init ();
13357 main ()
13359 return sane_init ();
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_link "$LINENO"; then :
13365 ac_cv_lib_sane_sane_init=yes
13366 else
13367 ac_cv_lib_sane_sane_init=no
13369 rm -f core conftest.err conftest.$ac_objext \
13370 conftest$ac_exeext conftest.$ac_ext
13371 LIBS=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
13374 $as_echo "$ac_cv_lib_sane_sane_init" >&6; }
13375 if test "x$ac_cv_lib_sane_sane_init" = xyes; then :
13382 CPPFLAGS=$ac_save_CPPFLAGS
13385 if test "$ac_cv_lib_sane_sane_init" != "yes"; then :
13386 case "x$with_sane" in
13387 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13388 xno) ;;
13389 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13390 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13391 esac
13392 enable_sane_ds=${enable_sane_ds:-no}
13395 if test "x$with_usb" != "xno"
13396 then
13397 if ${USB_CFLAGS:+false} :; then :
13398 if ${PKG_CONFIG+:} false; then :
13399 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13403 if ${USB_LIBS:+false} :; then :
13404 if ${PKG_CONFIG+:} false; then :
13405 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13409 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13410 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13411 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13412 ac_save_CPPFLAGS=$CPPFLAGS
13413 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13414 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13415 if test "x$ac_cv_header_libusb_h" = xyes; then :
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13417 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13418 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13419 $as_echo_n "(cached) " >&6
13420 else
13421 ac_check_lib_save_LIBS=$LIBS
13422 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13424 /* end confdefs.h. */
13426 /* Override any GCC internal prototype to avoid an error.
13427 Use char because int might match the return type of a GCC
13428 builtin and then its argument prototype would still apply. */
13429 #ifdef __cplusplus
13430 extern "C"
13431 #endif
13432 char libusb_interrupt_event_handler ();
13434 main ()
13436 return libusb_interrupt_event_handler ();
13438 return 0;
13440 _ACEOF
13441 if ac_fn_c_try_link "$LINENO"; then :
13442 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13443 else
13444 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13446 rm -f core conftest.err conftest.$ac_objext \
13447 conftest$ac_exeext conftest.$ac_ext
13448 LIBS=$ac_check_lib_save_LIBS
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13451 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13452 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13454 else
13455 USB_LIBS=""
13458 else
13459 USB_LIBS=""
13463 CPPFLAGS=$ac_save_CPPFLAGS
13466 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13467 case "x$with_usb" in
13468 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13469 xno) ;;
13470 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13471 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13472 esac
13473 enable_wineusb_sys=${enable_wineusb_sys:-no}
13476 if test "x$with_v4l2" != "xno"
13477 then
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13479 $as_echo_n "checking for -lv4l2... " >&6; }
13480 if ${ac_cv_lib_soname_v4l2+:} false; then :
13481 $as_echo_n "(cached) " >&6
13482 else
13483 ac_check_soname_save_LIBS=$LIBS
13484 LIBS="-lv4l2 $LIBS"
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13488 /* Override any GCC internal prototype to avoid an error.
13489 Use char because int might match the return type of a GCC
13490 builtin and then its argument prototype would still apply. */
13491 #ifdef __cplusplus
13492 extern "C"
13493 #endif
13494 char v4l2_open ();
13496 main ()
13498 return v4l2_open ();
13500 return 0;
13502 _ACEOF
13503 if ac_fn_c_try_link "$LINENO"; then :
13504 case "$LIBEXT" in
13505 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13506 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'` ;;
13507 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13508 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13509 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13510 fi ;;
13511 esac
13512 else
13513 ac_cv_lib_soname_v4l2=
13515 rm -f core conftest.err conftest.$ac_objext \
13516 conftest$ac_exeext conftest.$ac_ext
13517 LIBS=$ac_check_soname_save_LIBS
13519 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13521 $as_echo "not found" >&6; }
13523 else
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13525 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13527 cat >>confdefs.h <<_ACEOF
13528 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13529 _ACEOF
13534 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13535 case "x$with_v4l2" in
13536 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13537 xno) ;;
13538 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13539 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13540 esac
13544 if test "x$with_gphoto" != "xno"
13545 then
13546 if ${GPHOTO2_CFLAGS:+false} :; then :
13547 if ${PKG_CONFIG+:} false; then :
13548 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13551 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13552 if ${GPHOTO2_LIBS:+false} :; then :
13553 if ${PKG_CONFIG+:} false; then :
13554 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13557 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13558 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13559 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13560 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13561 ac_save_CPPFLAGS=$CPPFLAGS
13562 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13563 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13564 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13566 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13567 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13568 $as_echo_n "(cached) " >&6
13569 else
13570 ac_check_lib_save_LIBS=$LIBS
13571 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13575 /* Override any GCC internal prototype to avoid an error.
13576 Use char because int might match the return type of a GCC
13577 builtin and then its argument prototype would still apply. */
13578 #ifdef __cplusplus
13579 extern "C"
13580 #endif
13581 char gp_camera_new ();
13583 main ()
13585 return gp_camera_new ();
13587 return 0;
13589 _ACEOF
13590 if ac_fn_c_try_link "$LINENO"; then :
13591 ac_cv_lib_gphoto2_gp_camera_new=yes
13592 else
13593 ac_cv_lib_gphoto2_gp_camera_new=no
13595 rm -f core conftest.err conftest.$ac_objext \
13596 conftest$ac_exeext conftest.$ac_ext
13597 LIBS=$ac_check_lib_save_LIBS
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13600 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13601 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13608 CPPFLAGS=$ac_save_CPPFLAGS
13610 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13611 if ${PKG_CONFIG+:} false; then :
13612 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13615 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13616 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13617 if ${PKG_CONFIG+:} false; then :
13618 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13621 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13622 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13623 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13624 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13625 ac_save_CPPFLAGS=$CPPFLAGS
13626 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13627 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13628 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13630 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13631 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13632 $as_echo_n "(cached) " >&6
13633 else
13634 ac_check_lib_save_LIBS=$LIBS
13635 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13639 /* Override any GCC internal prototype to avoid an error.
13640 Use char because int might match the return type of a GCC
13641 builtin and then its argument prototype would still apply. */
13642 #ifdef __cplusplus
13643 extern "C"
13644 #endif
13645 char gp_port_info_list_new ();
13647 main ()
13649 return gp_port_info_list_new ();
13651 return 0;
13653 _ACEOF
13654 if ac_fn_c_try_link "$LINENO"; then :
13655 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13656 else
13657 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13659 rm -f core conftest.err conftest.$ac_objext \
13660 conftest$ac_exeext conftest.$ac_ext
13661 LIBS=$ac_check_lib_save_LIBS
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13664 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13665 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13667 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13669 else
13670 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13673 else
13674 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13678 CPPFLAGS=$ac_save_CPPFLAGS
13681 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13682 case "x$with_gphoto" in
13683 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13684 xno) ;;
13685 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13686 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13687 esac
13688 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
13690 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13691 case "x$with_gphoto" in
13692 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13693 xno) ;;
13694 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13695 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13696 esac
13701 if test "$ac_cv_header_resolv_h" = "yes"
13702 then
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13704 $as_echo_n "checking for resolver library... " >&6; }
13705 if ${ac_cv_have_resolv+:} false; then :
13706 $as_echo_n "(cached) " >&6
13707 else
13708 ac_save_LIBS="$LIBS"
13709 for lib in '' -lresolv
13711 LIBS="$lib $ac_save_LIBS"
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13714 #ifdef HAVE_NETINET_IN_H
13715 #include <netinet/in.h>
13716 #endif
13717 #include <resolv.h>
13719 main ()
13721 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
13723 return 0;
13725 _ACEOF
13726 if ac_fn_c_try_link "$LINENO"; then :
13727 ac_cv_have_resolv=${lib:-"none required"}
13728 else
13729 ac_cv_have_resolv="not found"
13731 rm -f core conftest.err conftest.$ac_objext \
13732 conftest$ac_exeext conftest.$ac_ext
13733 test "x$ac_cv_have_resolv" = "xnot found" || break
13734 done
13735 LIBS="$ac_save_LIBS"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13738 $as_echo "$ac_cv_have_resolv" >&6; }
13740 case "$ac_cv_have_resolv" in
13741 "not found") ;;
13742 "none required")
13744 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13747 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13749 RESOLV_LIBS=$ac_cv_have_resolv
13751 esac
13753 if test "x$ac_cv_have_resolv" != "xnot found"
13754 then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
13756 $as_echo_n "checking for res_getservers... " >&6; }
13757 if ${ac_cv_have_res_getservers+:} false; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 ac_save_LIBS="$LIBS"
13761 LIBS="$RESOLV_LIBS $LIBS"
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13764 #include <resolv.h>
13766 main ()
13768 res_getservers(NULL, NULL, 0);
13770 return 0;
13772 _ACEOF
13773 if ac_fn_c_try_link "$LINENO"; then :
13774 ac_cv_have_res_getservers=yes
13775 else
13776 ac_cv_have_res_getservers=no
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780 LIBS="$ac_save_LIBS"
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
13783 $as_echo "$ac_cv_have_res_getservers" >&6; }
13784 if test "$ac_cv_have_res_getservers" = "yes"
13785 then
13787 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
13793 if test "x$with_freetype" != "xno"
13794 then
13795 if ${FREETYPE_CFLAGS:+false} :; then :
13796 if ${PKG_CONFIG+:} false; then :
13797 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13800 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13801 if ${FREETYPE_LIBS:+false} :; then :
13802 if ${PKG_CONFIG+:} false; then :
13803 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13806 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13807 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13808 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13809 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13810 ac_save_CPPFLAGS=$CPPFLAGS
13811 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13812 for ac_header in ft2build.h
13813 do :
13814 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13815 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13816 cat >>confdefs.h <<_ACEOF
13817 #define HAVE_FT2BUILD_H 1
13818 _ACEOF
13822 done
13824 if test "$ac_cv_header_ft2build_h" = "yes"
13825 then
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13827 $as_echo_n "checking for -lfreetype... " >&6; }
13828 if ${ac_cv_lib_soname_freetype+:} false; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 ac_check_soname_save_LIBS=$LIBS
13832 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 /* Override any GCC internal prototype to avoid an error.
13837 Use char because int might match the return type of a GCC
13838 builtin and then its argument prototype would still apply. */
13839 #ifdef __cplusplus
13840 extern "C"
13841 #endif
13842 char FT_Init_FreeType ();
13844 main ()
13846 return FT_Init_FreeType ();
13848 return 0;
13850 _ACEOF
13851 if ac_fn_c_try_link "$LINENO"; then :
13852 case "$LIBEXT" in
13853 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13854 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'` ;;
13855 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13856 if ${ac_cv_lib_soname_freetype:+false} :; then :
13857 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13858 fi ;;
13859 esac
13860 else
13861 ac_cv_lib_soname_freetype=
13863 rm -f core conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13865 LIBS=$ac_check_soname_save_LIBS
13867 if ${ac_cv_lib_soname_freetype:+false} :; then :
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13869 $as_echo "not found" >&6; }
13870 FREETYPE_LIBS=""
13871 else
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13873 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13875 cat >>confdefs.h <<_ACEOF
13876 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13877 _ACEOF
13880 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13882 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13883 #include FT_MODULE_H
13885 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13887 cat >>confdefs.h <<_ACEOF
13888 #define HAVE_FT_TRUETYPEENGINETYPE 1
13889 _ACEOF
13895 else
13896 FREETYPE_CFLAGS=""
13897 FREETYPE_LIBS=""
13899 CPPFLAGS=$ac_save_CPPFLAGS
13902 if test "x$ac_cv_lib_soname_freetype" = x; then :
13903 case "x$with_freetype" in
13904 xno) ;;
13905 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13906 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13907 esac
13908 enable_fonts=${enable_fonts:-no}
13911 ac_wine_check_funcs_save_LIBS="$LIBS"
13912 LIBS="$LIBS $PTHREAD_LIBS"
13913 for ac_func in \
13914 pthread_getthreadid_np
13915 do :
13916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13918 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13919 cat >>confdefs.h <<_ACEOF
13920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13921 _ACEOF
13924 done
13926 LIBS="$ac_wine_check_funcs_save_LIBS"
13928 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13929 then
13930 if test "$ac_cv_header_gettext_po_h" = "yes"
13931 then
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13933 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13934 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13935 $as_echo_n "(cached) " >&6
13936 else
13937 ac_check_lib_save_LIBS=$LIBS
13938 LIBS="-lgettextpo $LIBS"
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13942 /* Override any GCC internal prototype to avoid an error.
13943 Use char because int might match the return type of a GCC
13944 builtin and then its argument prototype would still apply. */
13945 #ifdef __cplusplus
13946 extern "C"
13947 #endif
13948 char po_message_msgctxt ();
13950 main ()
13952 return po_message_msgctxt ();
13954 return 0;
13956 _ACEOF
13957 if ac_fn_c_try_link "$LINENO"; then :
13958 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13959 else
13960 ac_cv_lib_gettextpo_po_message_msgctxt=no
13962 rm -f core conftest.err conftest.$ac_objext \
13963 conftest$ac_exeext conftest.$ac_ext
13964 LIBS=$ac_check_lib_save_LIBS
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13967 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13968 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13970 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13972 GETTEXTPO_LIBS="-lgettextpo"
13977 if test "x$GETTEXTPO_LIBS" = "x"; then :
13978 case "x$with_gettextpo" in
13979 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13980 xno) ;;
13981 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13982 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13983 esac
13986 if test "$srcdir" != .; then :
13987 case "x$with_gettextpo" in
13988 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13989 xno) ;;
13990 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13991 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13992 esac
13997 if test "x$with_pulse" != "xno";
13998 then
13999 if ${PULSE_CFLAGS:+false} :; then :
14000 if ${PKG_CONFIG+:} false; then :
14001 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14005 if ${PULSE_LIBS:+false} :; then :
14006 if ${PKG_CONFIG+:} false; then :
14007 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14012 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14013 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14014 ac_save_CPPFLAGS=$CPPFLAGS
14015 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14016 for ac_header in pulse/pulseaudio.h
14017 do :
14018 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14019 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14020 cat >>confdefs.h <<_ACEOF
14021 #define HAVE_PULSE_PULSEAUDIO_H 1
14022 _ACEOF
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14024 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14025 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 ac_check_lib_save_LIBS=$LIBS
14029 LIBS="-lpulse $PULSE_LIBS $LIBS"
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14033 /* Override any GCC internal prototype to avoid an error.
14034 Use char because int might match the return type of a GCC
14035 builtin and then its argument prototype would still apply. */
14036 #ifdef __cplusplus
14037 extern "C"
14038 #endif
14039 char pa_stream_is_corked ();
14041 main ()
14043 return pa_stream_is_corked ();
14045 return 0;
14047 _ACEOF
14048 if ac_fn_c_try_link "$LINENO"; then :
14049 ac_cv_lib_pulse_pa_stream_is_corked=yes
14050 else
14051 ac_cv_lib_pulse_pa_stream_is_corked=no
14053 rm -f core conftest.err conftest.$ac_objext \
14054 conftest$ac_exeext conftest.$ac_ext
14055 LIBS=$ac_check_lib_save_LIBS
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14058 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14059 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14061 else
14062 PULSE_LIBS=""
14065 else
14066 PULSE_LIBS=""
14069 done
14071 CPPFLAGS=$ac_save_CPPFLAGS
14074 if test -z "$PULSE_LIBS"; then :
14075 case "x$with_pulse" in
14076 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14077 xno) ;;
14078 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14079 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14080 esac
14081 enable_winepulse_drv=${enable_winepulse_drv:-no}
14084 if test "x$with_gstreamer" != "xno"
14085 then
14086 if ${GSTREAMER_CFLAGS:+false} :; then :
14087 if ${PKG_CONFIG+:} false; then :
14088 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14092 if ${GSTREAMER_LIBS:+false} :; then :
14093 if ${PKG_CONFIG+:} false; then :
14094 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14099 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14100 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14101 ac_save_CPPFLAGS=$CPPFLAGS
14102 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14103 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14104 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14106 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 #include <gst/gst.h>
14111 main ()
14113 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14115 return 0;
14117 _ACEOF
14118 if ac_fn_c_try_compile "$LINENO"; then :
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14120 $as_echo "yes" >&6; }
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14122 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14123 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 ac_check_lib_save_LIBS=$LIBS
14127 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14134 #ifdef __cplusplus
14135 extern "C"
14136 #endif
14137 char gst_pad_new ();
14139 main ()
14141 return gst_pad_new ();
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14148 else
14149 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14153 LIBS=$ac_check_lib_save_LIBS
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14156 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14157 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14161 else
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14163 $as_echo "no" >&6; }
14164 ac_glib2_broken=yes
14165 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14171 CPPFLAGS=$ac_save_CPPFLAGS
14174 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14175 then
14176 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14177 case "x$with_gstreamer" in
14178 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14179 xno) ;;
14180 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14181 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14182 esac
14186 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14188 ALSA_LIBS=""
14190 if test "x$with_alsa" != "xno"
14191 then
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14193 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14194 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14195 $as_echo_n "(cached) " >&6
14196 else
14197 ac_check_lib_save_LIBS=$LIBS
14198 LIBS="-lasound $LIBS"
14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14202 /* Override any GCC internal prototype to avoid an error.
14203 Use char because int might match the return type of a GCC
14204 builtin and then its argument prototype would still apply. */
14205 #ifdef __cplusplus
14206 extern "C"
14207 #endif
14208 char snd_pcm_hw_params_get_access_mask ();
14210 main ()
14212 return snd_pcm_hw_params_get_access_mask ();
14214 return 0;
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"; then :
14218 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14219 else
14220 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14222 rm -f core conftest.err conftest.$ac_objext \
14223 conftest$ac_exeext conftest.$ac_ext
14224 LIBS=$ac_check_lib_save_LIBS
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14227 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14228 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 #include <alsa/asoundlib.h>
14233 main ()
14235 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14237 return 0;
14239 _ACEOF
14240 if ac_fn_c_try_compile "$LINENO"; then :
14241 ALSA_LIBS="-lasound"
14243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14247 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14249 if test "x$with_oss" != xno
14250 then
14251 ac_save_CPPFLAGS="$CPPFLAGS"
14252 if test -f /etc/oss.conf
14253 then
14254 . /etc/oss.conf
14256 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14257 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14258 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14259 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14260 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14262 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14264 cat >>confdefs.h <<_ACEOF
14265 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14266 _ACEOF
14268 OSS4_CFLAGS="$ac_oss_incl"
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14271 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14272 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 ac_check_lib_save_LIBS=$LIBS
14276 LIBS="-lossaudio $LIBS"
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14280 /* Override any GCC internal prototype to avoid an error.
14281 Use char because int might match the return type of a GCC
14282 builtin and then its argument prototype would still apply. */
14283 #ifdef __cplusplus
14284 extern "C"
14285 #endif
14286 char _oss_ioctl ();
14288 main ()
14290 return _oss_ioctl ();
14292 return 0;
14294 _ACEOF
14295 if ac_fn_c_try_link "$LINENO"; then :
14296 ac_cv_lib_ossaudio__oss_ioctl=yes
14297 else
14298 ac_cv_lib_ossaudio__oss_ioctl=no
14300 rm -f core conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302 LIBS=$ac_check_lib_save_LIBS
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14305 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14306 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14307 OSS4_LIBS="-lossaudio"
14316 CPPFLAGS="$ac_save_CPPFLAGS"
14318 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14319 case "x$with_oss" in
14320 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14321 xno) ;;
14322 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14323 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14324 esac
14325 enable_wineoss_drv=${enable_wineoss_drv:-no}
14328 if test "x$with_udev" != "xno"
14329 then
14330 if ${UDEV_CFLAGS:+false} :; then :
14331 if ${PKG_CONFIG+:} false; then :
14332 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14336 if ${UDEV_LIBS:+false} :; then :
14337 if ${PKG_CONFIG+:} false; then :
14338 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14342 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14343 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14344 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14345 ac_save_CPPFLAGS=$CPPFLAGS
14346 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14347 for ac_header in libudev.h
14348 do :
14349 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14350 if test "x$ac_cv_header_libudev_h" = xyes; then :
14351 cat >>confdefs.h <<_ACEOF
14352 #define HAVE_LIBUDEV_H 1
14353 _ACEOF
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14355 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14356 if ${ac_cv_lib_udev_udev_new+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 ac_check_lib_save_LIBS=$LIBS
14360 LIBS="-ludev $UDEV_LIBS $LIBS"
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14364 /* Override any GCC internal prototype to avoid an error.
14365 Use char because int might match the return type of a GCC
14366 builtin and then its argument prototype would still apply. */
14367 #ifdef __cplusplus
14368 extern "C"
14369 #endif
14370 char udev_new ();
14372 main ()
14374 return udev_new ();
14376 return 0;
14378 _ACEOF
14379 if ac_fn_c_try_link "$LINENO"; then :
14380 ac_cv_lib_udev_udev_new=yes
14381 else
14382 ac_cv_lib_udev_udev_new=no
14384 rm -f core conftest.err conftest.$ac_objext \
14385 conftest$ac_exeext conftest.$ac_ext
14386 LIBS=$ac_check_lib_save_LIBS
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14389 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14390 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14392 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14394 else
14395 UDEV_LIBS=""
14398 else
14399 UDEV_LIBS=""
14402 done
14404 CPPFLAGS=$ac_save_CPPFLAGS
14407 if test "x$UDEV_LIBS" = "x"; then :
14408 case "x$with_udev" in
14409 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14410 xno) ;;
14411 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14412 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14413 esac
14417 if test "x$with_unwind" != xno
14418 then
14419 if ${UNWIND_CFLAGS:+false} :; then :
14420 if ${PKG_CONFIG+:} false; then :
14421 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14425 if ${UNWIND_LIBS:+false} :; then :
14426 if ${PKG_CONFIG+:} false; then :
14427 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14431 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14432 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14433 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14434 ac_save_CPPFLAGS=$CPPFLAGS
14435 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14437 $as_echo_n "checking for unw_step... " >&6; }
14438 if ${wine_cv_have_unw_step+:} false; then :
14439 $as_echo_n "(cached) " >&6
14440 else
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 #define UNW_LOCAL_ONLY
14444 #include <libunwind.h>
14446 main ()
14448 unw_cursor_t cursor; unw_step( &cursor );
14450 return 0;
14452 _ACEOF
14453 if ac_fn_c_try_link "$LINENO"; then :
14454 wine_cv_have_unw_step="yes"
14455 else
14456 wine_cv_have_unw_step="no"
14458 rm -f core conftest.err conftest.$ac_objext \
14459 conftest$ac_exeext conftest.$ac_ext
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14462 $as_echo "$wine_cv_have_unw_step" >&6; }
14463 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14464 then
14465 save_libs=$LIBS
14466 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14467 LIBS="$UNWIND_LIBS $LIBS"
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14469 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14470 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14471 $as_echo_n "(cached) " >&6
14472 else
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 #define UNW_LOCAL_ONLY
14476 #include <libunwind.h>
14478 main ()
14480 unw_cursor_t cursor; unw_step( &cursor );
14482 return 0;
14484 _ACEOF
14485 if ac_fn_c_try_link "$LINENO"; then :
14486 wine_cv_have_libunwind_unw_step="yes"
14487 else
14488 wine_cv_have_libunwind_unw_step="no"
14490 rm -f core conftest.err conftest.$ac_objext \
14491 conftest$ac_exeext conftest.$ac_ext
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14494 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14495 LIBS=$save_libs
14497 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14498 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14499 then
14501 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14504 CPPFLAGS=$ac_save_CPPFLAGS
14507 case $host in
14508 aarch64*|*-darwin*)
14509 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14510 case "x$with_unwind" in
14511 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14512 xno) ;;
14513 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14514 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14515 esac
14517 fi ;;
14518 esac
14520 if test "x$with_sdl" != "xno"
14521 then
14522 if ${SDL2_CFLAGS:+false} :; then :
14523 if ${PKG_CONFIG+:} false; then :
14524 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14528 if ${SDL2_LIBS:+false} :; then :
14529 if ${PKG_CONFIG+:} false; then :
14530 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14534 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14535 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14536 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14537 ac_save_CPPFLAGS=$CPPFLAGS
14538 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14539 for ac_header in SDL.h
14540 do :
14541 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14542 if test "x$ac_cv_header_SDL_h" = xyes; then :
14543 cat >>confdefs.h <<_ACEOF
14544 #define HAVE_SDL_H 1
14545 _ACEOF
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14547 $as_echo_n "checking for -lSDL2... " >&6; }
14548 if ${ac_cv_lib_soname_SDL2+:} false; then :
14549 $as_echo_n "(cached) " >&6
14550 else
14551 ac_check_soname_save_LIBS=$LIBS
14552 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14556 /* Override any GCC internal prototype to avoid an error.
14557 Use char because int might match the return type of a GCC
14558 builtin and then its argument prototype would still apply. */
14559 #ifdef __cplusplus
14560 extern "C"
14561 #endif
14562 char SDL_Init ();
14564 main ()
14566 return SDL_Init ();
14568 return 0;
14570 _ACEOF
14571 if ac_fn_c_try_link "$LINENO"; then :
14572 case "$LIBEXT" in
14573 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14574 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'` ;;
14575 *) 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'`
14576 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14577 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14578 fi ;;
14579 esac
14580 else
14581 ac_cv_lib_soname_SDL2=
14583 rm -f core conftest.err conftest.$ac_objext \
14584 conftest$ac_exeext conftest.$ac_ext
14585 LIBS=$ac_check_soname_save_LIBS
14587 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14589 $as_echo "not found" >&6; }
14591 else
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14593 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14595 cat >>confdefs.h <<_ACEOF
14596 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14597 _ACEOF
14603 done
14605 CPPFLAGS=$ac_save_CPPFLAGS
14608 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14609 case "x$with_sdl" in
14610 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14611 xno) ;;
14612 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14613 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14614 esac
14618 if test "x$with_capi" != "xno"
14619 then
14620 if ${CAPI20_CFLAGS:+false} :; then :
14621 if ${PKG_CONFIG+:} false; then :
14622 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14626 if ${CAPI20_LIBS:+false} :; then :
14627 if ${PKG_CONFIG+:} false; then :
14628 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14633 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14634 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14635 ac_save_CPPFLAGS=$CPPFLAGS
14636 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14637 for ac_header in capi20.h linux/capi.h
14638 do :
14639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14640 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14642 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14643 cat >>confdefs.h <<_ACEOF
14644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14645 _ACEOF
14649 done
14651 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14652 then
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
14654 $as_echo_n "checking for capi20_register in -lcapi20... " >&6; }
14655 if ${ac_cv_lib_capi20_capi20_register+:} false; then :
14656 $as_echo_n "(cached) " >&6
14657 else
14658 ac_check_lib_save_LIBS=$LIBS
14659 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14663 /* Override any GCC internal prototype to avoid an error.
14664 Use char because int might match the return type of a GCC
14665 builtin and then its argument prototype would still apply. */
14666 #ifdef __cplusplus
14667 extern "C"
14668 #endif
14669 char capi20_register ();
14671 main ()
14673 return capi20_register ();
14675 return 0;
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_lib_capi20_capi20_register=yes
14680 else
14681 ac_cv_lib_capi20_capi20_register=no
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 LIBS=$ac_check_lib_save_LIBS
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
14688 $as_echo "$ac_cv_lib_capi20_capi20_register" >&6; }
14689 if test "x$ac_cv_lib_capi20_capi20_register" = xyes; then :
14691 else
14692 CAPI20_LIBS=""
14696 CPPFLAGS=$ac_save_CPPFLAGS
14699 if test "x$ac_cv_lib_capi20_capi20_register" = "x"; then :
14700 case "x$with_capi" in
14701 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14702 xno) ;;
14703 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14704 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14705 esac
14706 enable_capi2032=${enable_capi2032:-no}
14709 if test "x$with_cups" != "xno"
14710 then
14711 if ${CUPS_CFLAGS:+false} :; then :
14712 if ${PKG_CONFIG+:} false; then :
14713 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14716 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14717 if ${CUPS_LIBS:+false} :; then :
14718 if ${PKG_CONFIG+:} false; then :
14719 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14722 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14723 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14724 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14725 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14726 ac_save_CPPFLAGS=$CPPFLAGS
14727 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14728 for ac_header in cups/cups.h cups/ppd.h
14729 do :
14730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14731 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14733 cat >>confdefs.h <<_ACEOF
14734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14735 _ACEOF
14739 done
14741 if test "$ac_cv_header_cups_cups_h" = "yes"
14742 then
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14744 $as_echo_n "checking for -lcups... " >&6; }
14745 if ${ac_cv_lib_soname_cups+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 ac_check_soname_save_LIBS=$LIBS
14749 LIBS="-lcups $CUPS_LIBS $LIBS"
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14753 /* Override any GCC internal prototype to avoid an error.
14754 Use char because int might match the return type of a GCC
14755 builtin and then its argument prototype would still apply. */
14756 #ifdef __cplusplus
14757 extern "C"
14758 #endif
14759 char cupsGetDefault ();
14761 main ()
14763 return cupsGetDefault ();
14765 return 0;
14767 _ACEOF
14768 if ac_fn_c_try_link "$LINENO"; then :
14769 case "$LIBEXT" in
14770 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14771 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'` ;;
14772 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14773 if ${ac_cv_lib_soname_cups:+false} :; then :
14774 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14775 fi ;;
14776 esac
14777 else
14778 ac_cv_lib_soname_cups=
14780 rm -f core conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14782 LIBS=$ac_check_soname_save_LIBS
14784 if ${ac_cv_lib_soname_cups:+false} :; then :
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14786 $as_echo "not found" >&6; }
14787 CUPS_LIBS=""
14788 else
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14790 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14792 cat >>confdefs.h <<_ACEOF
14793 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14794 _ACEOF
14798 else
14799 CUPS_CFLAGS=""
14800 CUPS_LIBS=""
14802 CPPFLAGS=$ac_save_CPPFLAGS
14805 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14806 case "x$with_cups" in
14807 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14808 xno) ;;
14809 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14810 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14811 esac
14815 if test "x$with_fontconfig" != "xno"
14816 then
14817 if ${FONTCONFIG_CFLAGS:+false} :; then :
14818 if ${PKG_CONFIG+:} false; then :
14819 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14822 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14823 if ${FONTCONFIG_LIBS:+false} :; then :
14824 if ${PKG_CONFIG+:} false; then :
14825 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14828 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14830 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14831 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14832 ac_save_CPPFLAGS=$CPPFLAGS
14833 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14834 for ac_header in fontconfig/fontconfig.h
14835 do :
14836 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14837 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14838 cat >>confdefs.h <<_ACEOF
14839 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14840 _ACEOF
14844 done
14846 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14847 then
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14849 $as_echo_n "checking for -lfontconfig... " >&6; }
14850 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 ac_check_soname_save_LIBS=$LIBS
14854 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14861 #ifdef __cplusplus
14862 extern "C"
14863 #endif
14864 char FcInit ();
14866 main ()
14868 return FcInit ();
14870 return 0;
14872 _ACEOF
14873 if ac_fn_c_try_link "$LINENO"; then :
14874 case "$LIBEXT" in
14875 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14876 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'` ;;
14877 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14878 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14879 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14880 fi ;;
14881 esac
14882 else
14883 ac_cv_lib_soname_fontconfig=
14885 rm -f core conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14887 LIBS=$ac_check_soname_save_LIBS
14889 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14891 $as_echo "not found" >&6; }
14892 FONTCONFIG_CFLAGS=""
14893 else
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14895 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14897 cat >>confdefs.h <<_ACEOF
14898 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14899 _ACEOF
14903 else
14904 FONTCONFIG_CFLAGS=""
14906 CPPFLAGS=$ac_save_CPPFLAGS
14909 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14910 case "x$with_fontconfig" in
14911 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14912 xno) ;;
14913 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14914 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14915 esac
14919 if test "x$with_krb5" != "xno"
14920 then
14921 if ${KRB5_CFLAGS:+false} :; then :
14922 if ${PKG_CONFIG+:} false; then :
14923 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14926 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14927 if ${KRB5_LIBS:+false} :; then :
14928 if ${PKG_CONFIG+:} false; then :
14929 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14932 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14934 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14935 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14936 ac_save_CPPFLAGS=$CPPFLAGS
14937 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14938 for ac_header in krb5/krb5.h
14939 do :
14940 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14941 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14942 cat >>confdefs.h <<_ACEOF
14943 #define HAVE_KRB5_KRB5_H 1
14944 _ACEOF
14948 done
14950 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14951 then
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14953 $as_echo_n "checking for -lkrb5... " >&6; }
14954 if ${ac_cv_lib_soname_krb5+:} false; then :
14955 $as_echo_n "(cached) " >&6
14956 else
14957 ac_check_soname_save_LIBS=$LIBS
14958 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14962 /* Override any GCC internal prototype to avoid an error.
14963 Use char because int might match the return type of a GCC
14964 builtin and then its argument prototype would still apply. */
14965 #ifdef __cplusplus
14966 extern "C"
14967 #endif
14968 char krb5_is_config_principal ();
14970 main ()
14972 return krb5_is_config_principal ();
14974 return 0;
14976 _ACEOF
14977 if ac_fn_c_try_link "$LINENO"; then :
14978 case "$LIBEXT" in
14979 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14980 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'` ;;
14981 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14982 if ${ac_cv_lib_soname_krb5:+false} :; then :
14983 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14984 fi ;;
14985 esac
14986 else
14987 ac_cv_lib_soname_krb5=
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext conftest.$ac_ext
14991 LIBS=$ac_check_soname_save_LIBS
14993 if ${ac_cv_lib_soname_krb5:+false} :; then :
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14995 $as_echo "not found" >&6; }
14996 KRB5_CFLAGS=""
14997 else
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14999 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15001 cat >>confdefs.h <<_ACEOF
15002 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15003 _ACEOF
15007 else
15008 KRB5_CFLAGS=""
15010 CPPFLAGS=$ac_save_CPPFLAGS
15013 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15014 case "x$with_krb5" in
15015 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15016 xno) ;;
15017 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15018 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15019 esac
15022 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15024 if test "x$with_gssapi" != "xno"
15025 then
15026 if ${GSSAPI_CFLAGS:+false} :; then :
15027 if ${PKG_CONFIG+:} false; then :
15028 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15031 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15032 if ${GSSAPI_LIBS:+false} :; then :
15033 if ${PKG_CONFIG+:} false; then :
15034 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15037 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15039 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15040 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15041 ac_save_CPPFLAGS=$CPPFLAGS
15042 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15043 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15044 do :
15045 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15046 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15047 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15048 cat >>confdefs.h <<_ACEOF
15049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15050 _ACEOF
15054 done
15056 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15057 then
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15059 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15060 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15061 $as_echo_n "(cached) " >&6
15062 else
15063 ac_check_soname_save_LIBS=$LIBS
15064 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15068 /* Override any GCC internal prototype to avoid an error.
15069 Use char because int might match the return type of a GCC
15070 builtin and then its argument prototype would still apply. */
15071 #ifdef __cplusplus
15072 extern "C"
15073 #endif
15074 char gss_init_sec_context ();
15076 main ()
15078 return gss_init_sec_context ();
15080 return 0;
15082 _ACEOF
15083 if ac_fn_c_try_link "$LINENO"; then :
15084 case "$LIBEXT" in
15085 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15086 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'` ;;
15087 *) 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'`
15088 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15089 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15090 fi ;;
15091 esac
15092 else
15093 ac_cv_lib_soname_gssapi_krb5=
15095 rm -f core conftest.err conftest.$ac_objext \
15096 conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_check_soname_save_LIBS
15099 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15101 $as_echo "not found" >&6; }
15102 GSSAPI_CFLAGS=""
15103 else
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15105 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15107 cat >>confdefs.h <<_ACEOF
15108 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15109 _ACEOF
15113 else
15114 GSSAPI_CFLAGS=""
15116 CPPFLAGS=$ac_save_CPPFLAGS
15119 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15120 case "x$with_gssapi" in
15121 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15122 xno) ;;
15123 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15124 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15125 esac
15129 if test "$ac_cv_header_AL_al_h" = "yes"
15130 then
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15132 $as_echo_n "checking for -lopenal... " >&6; }
15133 if ${ac_cv_lib_soname_openal+:} false; then :
15134 $as_echo_n "(cached) " >&6
15135 else
15136 ac_check_soname_save_LIBS=$LIBS
15137 LIBS="-lopenal $LIBS"
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15141 /* Override any GCC internal prototype to avoid an error.
15142 Use char because int might match the return type of a GCC
15143 builtin and then its argument prototype would still apply. */
15144 #ifdef __cplusplus
15145 extern "C"
15146 #endif
15147 char alGetSource3i ();
15149 main ()
15151 return alGetSource3i ();
15153 return 0;
15155 _ACEOF
15156 if ac_fn_c_try_link "$LINENO"; then :
15157 case "$LIBEXT" in
15158 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15159 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'` ;;
15160 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15161 if ${ac_cv_lib_soname_openal:+false} :; then :
15162 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15163 fi ;;
15164 esac
15165 else
15166 ac_cv_lib_soname_openal=
15168 rm -f core conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15170 LIBS=$ac_check_soname_save_LIBS
15172 if ${ac_cv_lib_soname_openal:+false} :; then :
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15174 $as_echo "not found" >&6; }
15176 else
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15178 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15180 cat >>confdefs.h <<_ACEOF
15181 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15182 _ACEOF
15184 OPENAL_LIBS="-lopenal"
15186 ac_cv_lib_openal=yes
15188 cat >>confdefs.h <<_ACEOF
15189 #define HAVE_OPENAL 1
15190 _ACEOF
15194 if test "x$ac_cv_lib_openal" != xyes; then :
15195 case "x$with_openal" in
15196 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15197 xno) ;;
15198 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15199 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15200 esac
15201 enable_openal32=${enable_openal32:-no}
15204 if test "$ac_cv_header_libprocstat_h" = "yes"
15205 then
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15207 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15208 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15209 $as_echo_n "(cached) " >&6
15210 else
15211 ac_check_lib_save_LIBS=$LIBS
15212 LIBS="-lprocstat $LIBS"
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15216 /* Override any GCC internal prototype to avoid an error.
15217 Use char because int might match the return type of a GCC
15218 builtin and then its argument prototype would still apply. */
15219 #ifdef __cplusplus
15220 extern "C"
15221 #endif
15222 char procstat_open_sysctl ();
15224 main ()
15226 return procstat_open_sysctl ();
15228 return 0;
15230 _ACEOF
15231 if ac_fn_c_try_link "$LINENO"; then :
15232 ac_cv_lib_procstat_procstat_open_sysctl=yes
15233 else
15234 ac_cv_lib_procstat_procstat_open_sysctl=no
15236 rm -f core conftest.err conftest.$ac_objext \
15237 conftest$ac_exeext conftest.$ac_ext
15238 LIBS=$ac_check_lib_save_LIBS
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15241 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15242 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15244 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15246 PROCSTAT_LIBS="-lprocstat"
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15253 $as_echo_n "checking for -lodbc... " >&6; }
15254 if ${ac_cv_lib_soname_odbc+:} false; then :
15255 $as_echo_n "(cached) " >&6
15256 else
15257 ac_check_soname_save_LIBS=$LIBS
15258 LIBS="-lodbc $LIBS"
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15262 /* Override any GCC internal prototype to avoid an error.
15263 Use char because int might match the return type of a GCC
15264 builtin and then its argument prototype would still apply. */
15265 #ifdef __cplusplus
15266 extern "C"
15267 #endif
15268 char SQLConnect ();
15270 main ()
15272 return SQLConnect ();
15274 return 0;
15276 _ACEOF
15277 if ac_fn_c_try_link "$LINENO"; then :
15278 case "$LIBEXT" in
15279 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15280 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'` ;;
15281 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15282 if ${ac_cv_lib_soname_odbc:+false} :; then :
15283 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15284 fi ;;
15285 esac
15286 else
15287 ac_cv_lib_soname_odbc=
15289 rm -f core conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15291 LIBS=$ac_check_soname_save_LIBS
15293 if ${ac_cv_lib_soname_odbc:+false} :; then :
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15295 $as_echo "not found" >&6; }
15296 cat >>confdefs.h <<_ACEOF
15297 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15298 _ACEOF
15300 else
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15302 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15304 cat >>confdefs.h <<_ACEOF
15305 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15306 _ACEOF
15311 if test "x$with_netapi" != "xno"
15312 then
15313 if ${NETAPI_CFLAGS:+false} :; then :
15314 if ${PKG_CONFIG+:} false; then :
15315 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15319 if ${NETAPI_LIBS:+false} :; then :
15320 if ${PKG_CONFIG+:} false; then :
15321 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15326 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15327 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15328 ac_save_CPPFLAGS=$CPPFLAGS
15329 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15331 $as_echo_n "checking for -lnetapi... " >&6; }
15332 if ${ac_cv_lib_soname_netapi+:} false; then :
15333 $as_echo_n "(cached) " >&6
15334 else
15335 ac_check_soname_save_LIBS=$LIBS
15336 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15340 /* Override any GCC internal prototype to avoid an error.
15341 Use char because int might match the return type of a GCC
15342 builtin and then its argument prototype would still apply. */
15343 #ifdef __cplusplus
15344 extern "C"
15345 #endif
15346 char libnetapi_init ();
15348 main ()
15350 return libnetapi_init ();
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_link "$LINENO"; then :
15356 case "$LIBEXT" in
15357 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15358 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'` ;;
15359 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15360 if ${ac_cv_lib_soname_netapi:+false} :; then :
15361 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15362 fi ;;
15363 esac
15364 else
15365 ac_cv_lib_soname_netapi=
15367 rm -f core conftest.err conftest.$ac_objext \
15368 conftest$ac_exeext conftest.$ac_ext
15369 LIBS=$ac_check_soname_save_LIBS
15371 if ${ac_cv_lib_soname_netapi:+false} :; then :
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15373 $as_echo "not found" >&6; }
15374 cat >>confdefs.h <<_ACEOF
15375 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15376 _ACEOF
15378 else
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15380 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15382 cat >>confdefs.h <<_ACEOF
15383 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15384 _ACEOF
15388 CPPFLAGS=$ac_save_CPPFLAGS
15392 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15393 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15394 then
15395 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15398 if test "x$with_vulkan" != "xno"
15399 then
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15401 $as_echo_n "checking for -lvulkan... " >&6; }
15402 if ${ac_cv_lib_soname_vulkan+:} false; then :
15403 $as_echo_n "(cached) " >&6
15404 else
15405 ac_check_soname_save_LIBS=$LIBS
15406 LIBS="-lvulkan $LIBS"
15407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15408 /* end confdefs.h. */
15410 /* Override any GCC internal prototype to avoid an error.
15411 Use char because int might match the return type of a GCC
15412 builtin and then its argument prototype would still apply. */
15413 #ifdef __cplusplus
15414 extern "C"
15415 #endif
15416 char vkGetInstanceProcAddr ();
15418 main ()
15420 return vkGetInstanceProcAddr ();
15422 return 0;
15424 _ACEOF
15425 if ac_fn_c_try_link "$LINENO"; then :
15426 case "$LIBEXT" in
15427 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15428 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'` ;;
15429 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15430 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15431 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15432 fi ;;
15433 esac
15434 else
15435 ac_cv_lib_soname_vulkan=
15437 rm -f core conftest.err conftest.$ac_objext \
15438 conftest$ac_exeext conftest.$ac_ext
15439 LIBS=$ac_check_soname_save_LIBS
15441 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15443 $as_echo "not found" >&6; }
15445 else
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15447 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15449 cat >>confdefs.h <<_ACEOF
15450 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15451 _ACEOF
15455 if test "x$ac_cv_lib_soname_vulkan" = "x"
15456 then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15458 $as_echo_n "checking for -lMoltenVK... " >&6; }
15459 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15460 $as_echo_n "(cached) " >&6
15461 else
15462 ac_check_soname_save_LIBS=$LIBS
15463 LIBS="-lMoltenVK $LIBS"
15464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15467 /* Override any GCC internal prototype to avoid an error.
15468 Use char because int might match the return type of a GCC
15469 builtin and then its argument prototype would still apply. */
15470 #ifdef __cplusplus
15471 extern "C"
15472 #endif
15473 char vkGetInstanceProcAddr ();
15475 main ()
15477 return vkGetInstanceProcAddr ();
15479 return 0;
15481 _ACEOF
15482 if ac_fn_c_try_link "$LINENO"; then :
15483 case "$LIBEXT" in
15484 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15485 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'` ;;
15486 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15487 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15488 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15489 fi ;;
15490 esac
15491 else
15492 ac_cv_lib_soname_MoltenVK=
15494 rm -f core conftest.err conftest.$ac_objext \
15495 conftest$ac_exeext conftest.$ac_ext
15496 LIBS=$ac_check_soname_save_LIBS
15498 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15500 $as_echo "not found" >&6; }
15502 else
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15504 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15506 cat >>confdefs.h <<_ACEOF
15507 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15508 _ACEOF
15514 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15515 case "x$with_vulkan" in
15516 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15517 xno) ;;
15518 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15519 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15520 esac
15524 if test "x$with_vkd3d" != "xno"
15525 then
15526 if ${VKD3D_CFLAGS:+false} :; then :
15527 if ${PKG_CONFIG+:} false; then :
15528 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15532 if ${VKD3D_LIBS:+false} :; then :
15533 if ${PKG_CONFIG+:} false; then :
15534 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15539 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15540 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15541 ac_save_CPPFLAGS=$CPPFLAGS
15542 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15544 $as_echo_n "checking for -lvkd3d... " >&6; }
15545 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15546 $as_echo_n "(cached) " >&6
15547 else
15548 ac_check_soname_save_LIBS=$LIBS
15549 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551 /* end confdefs.h. */
15553 /* Override any GCC internal prototype to avoid an error.
15554 Use char because int might match the return type of a GCC
15555 builtin and then its argument prototype would still apply. */
15556 #ifdef __cplusplus
15557 extern "C"
15558 #endif
15559 char vkd3d_serialize_versioned_root_signature ();
15561 main ()
15563 return vkd3d_serialize_versioned_root_signature ();
15565 return 0;
15567 _ACEOF
15568 if ac_fn_c_try_link "$LINENO"; then :
15569 case "$LIBEXT" in
15570 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15571 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'` ;;
15572 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15573 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15574 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15575 fi ;;
15576 esac
15577 else
15578 ac_cv_lib_soname_vkd3d=
15580 rm -f core conftest.err conftest.$ac_objext \
15581 conftest$ac_exeext conftest.$ac_ext
15582 LIBS=$ac_check_soname_save_LIBS
15584 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15586 $as_echo "not found" >&6; }
15588 else
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15590 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15592 cat >>confdefs.h <<_ACEOF
15593 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15594 _ACEOF
15598 CPPFLAGS=$ac_save_CPPFLAGS
15600 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
15601 if ${PKG_CONFIG+:} false; then :
15602 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
15606 if ${VKD3D_SHADER_LIBS:+false} :; then :
15607 if ${PKG_CONFIG+:} false; then :
15608 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
15613 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
15614 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
15615 ac_save_CPPFLAGS=$CPPFLAGS
15616 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
15618 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
15619 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
15620 $as_echo_n "(cached) " >&6
15621 else
15622 ac_check_soname_save_LIBS=$LIBS
15623 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
15624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15625 /* end confdefs.h. */
15627 /* Override any GCC internal prototype to avoid an error.
15628 Use char because int might match the return type of a GCC
15629 builtin and then its argument prototype would still apply. */
15630 #ifdef __cplusplus
15631 extern "C"
15632 #endif
15633 char vkd3d_shader_compile ();
15635 main ()
15637 return vkd3d_shader_compile ();
15639 return 0;
15641 _ACEOF
15642 if ac_fn_c_try_link "$LINENO"; then :
15643 case "$LIBEXT" in
15644 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15645 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'` ;;
15646 *) 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'`
15647 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
15648 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15649 fi ;;
15650 esac
15651 else
15652 ac_cv_lib_soname_vkd3d_shader=
15654 rm -f core conftest.err conftest.$ac_objext \
15655 conftest$ac_exeext conftest.$ac_ext
15656 LIBS=$ac_check_soname_save_LIBS
15658 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15660 $as_echo "not found" >&6; }
15662 else
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
15664 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
15666 cat >>confdefs.h <<_ACEOF
15667 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
15668 _ACEOF
15672 CPPFLAGS=$ac_save_CPPFLAGS
15675 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15676 case "x$with_vkd3d" in
15677 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
15678 xno) ;;
15679 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
15680 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15681 esac
15684 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15687 if test "x${GCC}" = "xyes"
15688 then
15689 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
15691 saved_CFLAGS=$CFLAGS
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15693 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15694 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15695 $as_echo_n "(cached) " >&6
15696 else
15697 ac_wine_try_cflags_saved=$CFLAGS
15698 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15701 int main(int argc, char **argv) { return 0; }
15702 _ACEOF
15703 if ac_fn_c_try_link "$LINENO"; then :
15704 ac_cv_cflags__Werror_unknown_warning_option=yes
15705 else
15706 ac_cv_cflags__Werror_unknown_warning_option=no
15708 rm -f core conftest.err conftest.$ac_objext \
15709 conftest$ac_exeext conftest.$ac_ext
15710 CFLAGS=$ac_wine_try_cflags_saved
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15713 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15714 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15715 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
15718 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
15719 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
15720 $as_echo_n "(cached) " >&6
15721 else
15722 ac_wine_try_cflags_saved=$CFLAGS
15723 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15725 /* end confdefs.h. */
15726 int main(int argc, char **argv) { return 0; }
15727 _ACEOF
15728 if ac_fn_c_try_link "$LINENO"; then :
15729 ac_cv_cflags__Werror_unused_command_line_argument=yes
15730 else
15731 ac_cv_cflags__Werror_unused_command_line_argument=no
15733 rm -f core conftest.err conftest.$ac_objext \
15734 conftest$ac_exeext conftest.$ac_ext
15735 CFLAGS=$ac_wine_try_cflags_saved
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
15738 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
15739 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
15740 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
15743 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
15744 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
15745 $as_echo_n "(cached) " >&6
15746 else
15747 ac_wine_try_cflags_saved=$CFLAGS
15748 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
15749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15751 int main(int argc, char **argv) { return 0; }
15752 _ACEOF
15753 if ac_fn_c_try_link "$LINENO"; then :
15754 ac_cv_cflags__Werror_ignored_optimization_argument=yes
15755 else
15756 ac_cv_cflags__Werror_ignored_optimization_argument=no
15758 rm -f core conftest.err conftest.$ac_objext \
15759 conftest$ac_exeext conftest.$ac_ext
15760 CFLAGS=$ac_wine_try_cflags_saved
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
15763 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
15764 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
15765 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
15768 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
15769 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
15770 $as_echo_n "(cached) " >&6
15771 else
15772 ac_wine_try_cflags_saved=$CFLAGS
15773 CFLAGS="$CFLAGS -fcf-protection=none"
15774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15775 /* end confdefs.h. */
15776 int main(int argc, char **argv) { return 0; }
15777 _ACEOF
15778 if ac_fn_c_try_link "$LINENO"; then :
15779 ac_cv_cflags__fcf_protection_none=yes
15780 else
15781 ac_cv_cflags__fcf_protection_none=no
15783 rm -f core conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext conftest.$ac_ext
15785 CFLAGS=$ac_wine_try_cflags_saved
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
15788 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
15789 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
15790 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
15793 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
15794 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
15795 $as_echo_n "(cached) " >&6
15796 else
15797 ac_wine_try_cflags_saved=$CFLAGS
15798 CFLAGS="$CFLAGS -fno-stack-protector"
15799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15801 int main(int argc, char **argv) { return 0; }
15802 _ACEOF
15803 if ac_fn_c_try_link "$LINENO"; then :
15804 ac_cv_cflags__fno_stack_protector=yes
15805 else
15806 ac_cv_cflags__fno_stack_protector=no
15808 rm -f core conftest.err conftest.$ac_objext \
15809 conftest$ac_exeext conftest.$ac_ext
15810 CFLAGS=$ac_wine_try_cflags_saved
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
15813 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
15814 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
15815 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15818 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15819 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15820 $as_echo_n "(cached) " >&6
15821 else
15822 ac_wine_try_cflags_saved=$CFLAGS
15823 CFLAGS="$CFLAGS -fno-strict-aliasing"
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 int main(int argc, char **argv) { return 0; }
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"; then :
15829 ac_cv_cflags__fno_strict_aliasing=yes
15830 else
15831 ac_cv_cflags__fno_strict_aliasing=no
15833 rm -f core conftest.err conftest.$ac_objext \
15834 conftest$ac_exeext conftest.$ac_ext
15835 CFLAGS=$ac_wine_try_cflags_saved
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15838 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15839 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15840 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15843 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15844 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15845 $as_echo_n "(cached) " >&6
15846 else
15847 ac_wine_try_cflags_saved=$CFLAGS
15848 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15851 int main(int argc, char **argv) { return 0; }
15852 _ACEOF
15853 if ac_fn_c_try_link "$LINENO"; then :
15854 ac_cv_cflags__Wdeclaration_after_statement=yes
15855 else
15856 ac_cv_cflags__Wdeclaration_after_statement=no
15858 rm -f core conftest.err conftest.$ac_objext \
15859 conftest$ac_exeext conftest.$ac_ext
15860 CFLAGS=$ac_wine_try_cflags_saved
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15863 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15864 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15865 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15868 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15869 if ${ac_cv_cflags__Wempty_body+:} false; then :
15870 $as_echo_n "(cached) " >&6
15871 else
15872 ac_wine_try_cflags_saved=$CFLAGS
15873 CFLAGS="$CFLAGS -Wempty-body"
15874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15875 /* end confdefs.h. */
15876 int main(int argc, char **argv) { return 0; }
15877 _ACEOF
15878 if ac_fn_c_try_link "$LINENO"; then :
15879 ac_cv_cflags__Wempty_body=yes
15880 else
15881 ac_cv_cflags__Wempty_body=no
15883 rm -f core conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15885 CFLAGS=$ac_wine_try_cflags_saved
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15888 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15889 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15890 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15893 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15894 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 ac_wine_try_cflags_saved=$CFLAGS
15898 CFLAGS="$CFLAGS -Wignored-qualifiers"
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 int main(int argc, char **argv) { return 0; }
15902 _ACEOF
15903 if ac_fn_c_try_link "$LINENO"; then :
15904 ac_cv_cflags__Wignored_qualifiers=yes
15905 else
15906 ac_cv_cflags__Wignored_qualifiers=no
15908 rm -f core conftest.err conftest.$ac_objext \
15909 conftest$ac_exeext conftest.$ac_ext
15910 CFLAGS=$ac_wine_try_cflags_saved
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15913 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15914 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15915 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
15918 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
15919 if ${ac_cv_cflags__Winit_self+:} false; then :
15920 $as_echo_n "(cached) " >&6
15921 else
15922 ac_wine_try_cflags_saved=$CFLAGS
15923 CFLAGS="$CFLAGS -Winit-self"
15924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15925 /* end confdefs.h. */
15926 int main(int argc, char **argv) { return 0; }
15927 _ACEOF
15928 if ac_fn_c_try_link "$LINENO"; then :
15929 ac_cv_cflags__Winit_self=yes
15930 else
15931 ac_cv_cflags__Winit_self=no
15933 rm -f core conftest.err conftest.$ac_objext \
15934 conftest$ac_exeext conftest.$ac_ext
15935 CFLAGS=$ac_wine_try_cflags_saved
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
15938 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
15939 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
15940 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15943 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15944 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15945 $as_echo_n "(cached) " >&6
15946 else
15947 ac_wine_try_cflags_saved=$CFLAGS
15948 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15951 int main(int argc, char **argv) { return 0; }
15952 _ACEOF
15953 if ac_fn_c_try_link "$LINENO"; then :
15954 ac_cv_cflags__Wpacked_not_aligned=yes
15955 else
15956 ac_cv_cflags__Wpacked_not_aligned=no
15958 rm -f core conftest.err conftest.$ac_objext \
15959 conftest$ac_exeext conftest.$ac_ext
15960 CFLAGS=$ac_wine_try_cflags_saved
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15963 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15964 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15965 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15968 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15969 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15970 $as_echo_n "(cached) " >&6
15971 else
15972 ac_wine_try_cflags_saved=$CFLAGS
15973 CFLAGS="$CFLAGS -Wpragma-pack"
15974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15976 int main(int argc, char **argv) { return 0; }
15977 _ACEOF
15978 if ac_fn_c_try_link "$LINENO"; then :
15979 ac_cv_cflags__Wpragma_pack=yes
15980 else
15981 ac_cv_cflags__Wpragma_pack=no
15983 rm -f core conftest.err conftest.$ac_objext \
15984 conftest$ac_exeext conftest.$ac_ext
15985 CFLAGS=$ac_wine_try_cflags_saved
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15988 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15989 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15990 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15993 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15994 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15995 $as_echo_n "(cached) " >&6
15996 else
15997 ac_wine_try_cflags_saved=$CFLAGS
15998 CFLAGS="$CFLAGS -Wshift-overflow=2"
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16001 int main(int argc, char **argv) { return 0; }
16002 _ACEOF
16003 if ac_fn_c_try_link "$LINENO"; then :
16004 ac_cv_cflags__Wshift_overflow_2=yes
16005 else
16006 ac_cv_cflags__Wshift_overflow_2=no
16008 rm -f core conftest.err conftest.$ac_objext \
16009 conftest$ac_exeext conftest.$ac_ext
16010 CFLAGS=$ac_wine_try_cflags_saved
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16013 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16014 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16015 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16018 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16019 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16020 $as_echo_n "(cached) " >&6
16021 else
16022 ac_wine_try_cflags_saved=$CFLAGS
16023 CFLAGS="$CFLAGS -Wstrict-prototypes"
16024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16025 /* end confdefs.h. */
16026 int main(int argc, char **argv) { return 0; }
16027 _ACEOF
16028 if ac_fn_c_try_link "$LINENO"; then :
16029 ac_cv_cflags__Wstrict_prototypes=yes
16030 else
16031 ac_cv_cflags__Wstrict_prototypes=no
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext conftest.$ac_ext
16035 CFLAGS=$ac_wine_try_cflags_saved
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16038 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16039 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16040 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16043 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16044 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16045 $as_echo_n "(cached) " >&6
16046 else
16047 ac_wine_try_cflags_saved=$CFLAGS
16048 CFLAGS="$CFLAGS -Wtype-limits"
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16051 int main(int argc, char **argv) { return 0; }
16052 _ACEOF
16053 if ac_fn_c_try_link "$LINENO"; then :
16054 ac_cv_cflags__Wtype_limits=yes
16055 else
16056 ac_cv_cflags__Wtype_limits=no
16058 rm -f core conftest.err conftest.$ac_objext \
16059 conftest$ac_exeext conftest.$ac_ext
16060 CFLAGS=$ac_wine_try_cflags_saved
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16063 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16064 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16065 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16068 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16069 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16070 $as_echo_n "(cached) " >&6
16071 else
16072 ac_wine_try_cflags_saved=$CFLAGS
16073 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16076 int main(int argc, char **argv) { return 0; }
16077 _ACEOF
16078 if ac_fn_c_try_link "$LINENO"; then :
16079 ac_cv_cflags__Wunused_but_set_parameter=yes
16080 else
16081 ac_cv_cflags__Wunused_but_set_parameter=no
16083 rm -f core conftest.err conftest.$ac_objext \
16084 conftest$ac_exeext conftest.$ac_ext
16085 CFLAGS=$ac_wine_try_cflags_saved
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16088 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16089 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16090 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16093 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16094 if ${ac_cv_cflags__Wvla+:} false; then :
16095 $as_echo_n "(cached) " >&6
16096 else
16097 ac_wine_try_cflags_saved=$CFLAGS
16098 CFLAGS="$CFLAGS -Wvla"
16099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16100 /* end confdefs.h. */
16101 int main(int argc, char **argv) { return 0; }
16102 _ACEOF
16103 if ac_fn_c_try_link "$LINENO"; then :
16104 ac_cv_cflags__Wvla=yes
16105 else
16106 ac_cv_cflags__Wvla=no
16108 rm -f core conftest.err conftest.$ac_objext \
16109 conftest$ac_exeext conftest.$ac_ext
16110 CFLAGS=$ac_wine_try_cflags_saved
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16113 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16114 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16115 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16118 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16119 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16120 $as_echo_n "(cached) " >&6
16121 else
16122 ac_wine_try_cflags_saved=$CFLAGS
16123 CFLAGS="$CFLAGS -Wwrite-strings"
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16126 int main(int argc, char **argv) { return 0; }
16127 _ACEOF
16128 if ac_fn_c_try_link "$LINENO"; then :
16129 ac_cv_cflags__Wwrite_strings=yes
16130 else
16131 ac_cv_cflags__Wwrite_strings=no
16133 rm -f core conftest.err conftest.$ac_objext \
16134 conftest$ac_exeext conftest.$ac_ext
16135 CFLAGS=$ac_wine_try_cflags_saved
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16138 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16139 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16140 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16143 if test -z "$CROSSTARGET"
16144 then
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16146 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16147 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 ac_wine_try_cflags_saved=$CFLAGS
16151 CFLAGS="$CFLAGS -fexcess-precision=standard"
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16154 int main(int argc, char **argv) { return 0; }
16155 _ACEOF
16156 if ac_fn_c_try_link "$LINENO"; then :
16157 ac_cv_cflags__fexcess_precision_standard=yes
16158 else
16159 ac_cv_cflags__fexcess_precision_standard=no
16161 rm -f core conftest.err conftest.$ac_objext \
16162 conftest$ac_exeext conftest.$ac_ext
16163 CFLAGS=$ac_wine_try_cflags_saved
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16166 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16167 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16168 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16174 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16175 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16176 $as_echo_n "(cached) " >&6
16177 else
16178 ac_wine_try_cflags_saved=$CFLAGS
16179 CFLAGS="$CFLAGS -Wpointer-arith"
16180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16182 int main(int argc, char **argv) { return 0; }
16183 _ACEOF
16184 if ac_fn_c_try_link "$LINENO"; then :
16185 ac_cv_cflags__Wpointer_arith=yes
16186 else
16187 ac_cv_cflags__Wpointer_arith=no
16189 rm -f core conftest.err conftest.$ac_objext \
16190 conftest$ac_exeext conftest.$ac_ext
16191 CFLAGS=$ac_wine_try_cflags_saved
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16194 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16195 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16196 saved_string_h_CFLAGS=$CFLAGS
16197 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16199 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16200 if ${ac_cv_c_string_h_warnings+:} false; then :
16201 $as_echo_n "(cached) " >&6
16202 else
16203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16204 /* end confdefs.h. */
16205 #include <string.h>
16207 main ()
16211 return 0;
16213 _ACEOF
16214 if ac_fn_c_try_compile "$LINENO"; then :
16215 ac_cv_c_string_h_warnings=no
16216 else
16217 ac_cv_c_string_h_warnings=yes
16219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16222 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16223 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16224 CFLAGS=$saved_string_h_CFLAGS
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16228 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16229 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16230 $as_echo_n "(cached) " >&6
16231 else
16232 ac_wine_try_cflags_saved=$CFLAGS
16233 CFLAGS="$CFLAGS -Wlogical-op"
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16236 int main(int argc, char **argv) { return 0; }
16237 _ACEOF
16238 if ac_fn_c_try_link "$LINENO"; then :
16239 ac_cv_cflags__Wlogical_op=yes
16240 else
16241 ac_cv_cflags__Wlogical_op=no
16243 rm -f core conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16245 CFLAGS=$ac_wine_try_cflags_saved
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16248 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16249 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16250 saved_string_h_CFLAGS=$CFLAGS
16251 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16253 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16254 if ${ac_cv_c_logicalop_noisy+:} false; then :
16255 $as_echo_n "(cached) " >&6
16256 else
16257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16258 /* end confdefs.h. */
16259 #include <string.h>
16260 char*f(const char *h,char n) {return strchr(h,n);}
16262 main ()
16266 return 0;
16268 _ACEOF
16269 if ac_fn_c_try_compile "$LINENO"; then :
16270 ac_cv_c_logicalop_noisy=no
16271 else
16272 ac_cv_c_logicalop_noisy=yes
16274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16277 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16278 CFLAGS=$saved_string_h_CFLAGS
16279 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
16283 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
16284 if ${wine_cv_64bit_compare_swap+:} false; then :
16285 $as_echo_n "(cached) " >&6
16286 else
16287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16289 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
16290 #error no
16291 #endif
16293 main ()
16297 return 0;
16299 _ACEOF
16300 if ac_fn_c_try_compile "$LINENO"; then :
16301 wine_cv_64bit_compare_swap="none needed"
16302 else
16303 case $host_cpu in
16304 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
16305 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
16306 *) wine_cv_64bit_compare_swap="unknown" ;;
16307 esac
16308 if test "x$wine_cv_64bit_compare_swap" != xunknown
16309 then
16310 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
16311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16313 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
16314 #error no
16315 #endif
16317 main ()
16321 return 0;
16323 _ACEOF
16324 if ac_fn_c_try_compile "$LINENO"; then :
16326 else
16327 wine_cv_64bit_compare_swap="unknown"
16329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16330 CFLAGS=$saved_CFLAGS
16333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
16336 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
16337 case "$wine_cv_64bit_compare_swap" in
16338 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
16339 "none needed") ;;
16340 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
16341 esac
16343 ac_debug_format_seen=""
16344 for ac_flag in $CFLAGS; do
16345 case $ac_flag in
16346 -gdwarf*) ac_debug_format_seen=yes ;;
16347 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
16348 esac
16349 done
16350 if test "x$ac_debug_format_seen" = xdefault
16351 then
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16353 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16354 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16355 $as_echo_n "(cached) " >&6
16356 else
16357 ac_wine_try_cflags_saved=$CFLAGS
16358 CFLAGS="$CFLAGS -gdwarf-2"
16359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16360 /* end confdefs.h. */
16361 int main(int argc, char **argv) { return 0; }
16362 _ACEOF
16363 if ac_fn_c_try_link "$LINENO"; then :
16364 ac_cv_cflags__gdwarf_2=yes
16365 else
16366 ac_cv_cflags__gdwarf_2=no
16368 rm -f core conftest.err conftest.$ac_objext \
16369 conftest$ac_exeext conftest.$ac_ext
16370 CFLAGS=$ac_wine_try_cflags_saved
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16373 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16374 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16375 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16378 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16379 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16380 $as_echo_n "(cached) " >&6
16381 else
16382 ac_wine_try_cflags_saved=$CFLAGS
16383 CFLAGS="$CFLAGS -gstrict-dwarf"
16384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16386 int main(int argc, char **argv) { return 0; }
16387 _ACEOF
16388 if ac_fn_c_try_link "$LINENO"; then :
16389 ac_cv_cflags__gstrict_dwarf=yes
16390 else
16391 ac_cv_cflags__gstrict_dwarf=no
16393 rm -f core conftest.err conftest.$ac_objext \
16394 conftest$ac_exeext conftest.$ac_ext
16395 CFLAGS=$ac_wine_try_cflags_saved
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16398 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16399 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16400 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16404 MSVCRTFLAGS=""
16406 case $host_os in
16407 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
16408 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
16409 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
16410 $as_echo_n "(cached) " >&6
16411 else
16412 ac_wine_try_cflags_saved=$CFLAGS
16413 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 int main(int argc, char **argv) { return 0; }
16417 _ACEOF
16418 if ac_fn_c_try_link "$LINENO"; then :
16419 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
16420 else
16421 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
16423 rm -f core conftest.err conftest.$ac_objext \
16424 conftest$ac_exeext conftest.$ac_ext
16425 CFLAGS=$ac_wine_try_cflags_saved
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
16428 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
16429 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
16430 DELAYLOADFLAG="-Wl,-delayload,"
16432 fi ;;
16433 *) MSVCRTFLAGS="-D_WIN32"
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
16435 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
16436 if ${ac_cv_cflags__fno_builtin+:} false; then :
16437 $as_echo_n "(cached) " >&6
16438 else
16439 ac_wine_try_cflags_saved=$CFLAGS
16440 CFLAGS="$CFLAGS -fno-builtin"
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 int main(int argc, char **argv) { return 0; }
16444 _ACEOF
16445 if ac_fn_c_try_link "$LINENO"; then :
16446 ac_cv_cflags__fno_builtin=yes
16447 else
16448 ac_cv_cflags__fno_builtin=no
16450 rm -f core conftest.err conftest.$ac_objext \
16451 conftest$ac_exeext conftest.$ac_ext
16452 CFLAGS=$ac_wine_try_cflags_saved
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
16455 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
16456 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
16457 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
16460 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
16461 if ${ac_cv_cflags__fshort_wchar+:} false; then :
16462 $as_echo_n "(cached) " >&6
16463 else
16464 ac_wine_try_cflags_saved=$CFLAGS
16465 CFLAGS="$CFLAGS -fshort-wchar"
16466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16467 /* end confdefs.h. */
16468 int main(int argc, char **argv) { return 0; }
16469 _ACEOF
16470 if ac_fn_c_try_link "$LINENO"; then :
16471 ac_cv_cflags__fshort_wchar=yes
16472 else
16473 ac_cv_cflags__fshort_wchar=no
16475 rm -f core conftest.err conftest.$ac_objext \
16476 conftest$ac_exeext conftest.$ac_ext
16477 CFLAGS=$ac_wine_try_cflags_saved
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
16480 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
16481 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
16482 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
16483 fi ;;
16484 esac
16486 case $host_cpu in
16487 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16488 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16489 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16490 $as_echo_n "(cached) " >&6
16491 else
16492 ac_wine_try_cflags_saved=$CFLAGS
16493 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 int main(int argc, char **argv) { return 0; }
16497 _ACEOF
16498 if ac_fn_c_try_link "$LINENO"; then :
16499 ac_cv_cflags__fno_omit_frame_pointer=yes
16500 else
16501 ac_cv_cflags__fno_omit_frame_pointer=no
16503 rm -f core conftest.err conftest.$ac_objext \
16504 conftest$ac_exeext conftest.$ac_ext
16505 CFLAGS=$ac_wine_try_cflags_saved
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16508 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16509 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16510 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16511 fi ;;
16512 *x86_64*)
16513 case $host_os in
16514 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16515 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16516 if ${ac_cv_cflags__Wno_format+:} false; then :
16517 $as_echo_n "(cached) " >&6
16518 else
16519 ac_wine_try_cflags_saved=$CFLAGS
16520 CFLAGS="$CFLAGS -Wno-format"
16521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16523 int main(int argc, char **argv) { return 0; }
16524 _ACEOF
16525 if ac_fn_c_try_link "$LINENO"; then :
16526 ac_cv_cflags__Wno_format=yes
16527 else
16528 ac_cv_cflags__Wno_format=no
16530 rm -f core conftest.err conftest.$ac_objext \
16531 conftest$ac_exeext conftest.$ac_ext
16532 CFLAGS=$ac_wine_try_cflags_saved
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16535 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16536 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16537 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16538 fi ;;
16539 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
16540 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
16541 if ${ac_cv_cflags__mabi_ms+:} false; then :
16542 $as_echo_n "(cached) " >&6
16543 else
16544 ac_wine_try_cflags_saved=$CFLAGS
16545 CFLAGS="$CFLAGS -mabi=ms"
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16548 int main(int argc, char **argv) { return 0; }
16549 _ACEOF
16550 if ac_fn_c_try_link "$LINENO"; then :
16551 ac_cv_cflags__mabi_ms=yes
16552 else
16553 ac_cv_cflags__mabi_ms=no
16555 rm -f core conftest.err conftest.$ac_objext \
16556 conftest$ac_exeext conftest.$ac_ext
16557 CFLAGS=$ac_wine_try_cflags_saved
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
16560 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
16561 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
16562 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
16563 fi ;;
16564 esac ;;
16565 esac
16567 CFLAGS=$saved_CFLAGS
16569 if test "x$enable_werror" = "xyes"
16570 then
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16572 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16573 if ${ac_cv_cflags__Werror+:} false; then :
16574 $as_echo_n "(cached) " >&6
16575 else
16576 ac_wine_try_cflags_saved=$CFLAGS
16577 CFLAGS="$CFLAGS -Werror"
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16580 int main(int argc, char **argv) { return 0; }
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"; then :
16583 ac_cv_cflags__Werror=yes
16584 else
16585 ac_cv_cflags__Werror=no
16587 rm -f core conftest.err conftest.$ac_objext \
16588 conftest$ac_exeext conftest.$ac_ext
16589 CFLAGS=$ac_wine_try_cflags_saved
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16592 $as_echo "$ac_cv_cflags__Werror" >&6; }
16593 if test "x$ac_cv_cflags__Werror" = xyes; then :
16594 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16597 if test "x$enable_build_id" = "xyes"
16598 then
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
16600 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
16601 if ${ac_cv_cflags__Wl___build_id+:} false; then :
16602 $as_echo_n "(cached) " >&6
16603 else
16604 ac_wine_try_cflags_saved=$CFLAGS
16605 CFLAGS="$CFLAGS -Wl,--build-id"
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16608 int main(int argc, char **argv) { return 0; }
16609 _ACEOF
16610 if ac_fn_c_try_link "$LINENO"; then :
16611 ac_cv_cflags__Wl___build_id=yes
16612 else
16613 ac_cv_cflags__Wl___build_id=no
16615 rm -f core conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16617 CFLAGS=$ac_wine_try_cflags_saved
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
16620 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
16621 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
16622 CFLAGS="$CFLAGS -Wl,--build-id"
16623 LDFLAGS="$LDFLAGS -Wl,--build-id"
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16630 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16631 if ${ac_cv_c_fortify_enabled+:} false; then :
16632 $as_echo_n "(cached) " >&6
16633 else
16634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16635 /* end confdefs.h. */
16636 #include <string.h>
16638 main ()
16640 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16641 #error Fortify enabled
16642 #endif
16644 return 0;
16646 _ACEOF
16647 if ac_fn_c_try_compile "$LINENO"; then :
16648 ac_cv_c_fortify_enabled=no
16649 else
16650 ac_cv_c_fortify_enabled=yes
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16655 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16656 if test "$ac_cv_c_fortify_enabled" = yes
16657 then
16658 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16663 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16664 if ${ac_cv_c_cfi_support+:} false; then :
16665 $as_echo_n "(cached) " >&6
16666 else
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16669 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16671 main ()
16675 return 0;
16677 _ACEOF
16678 if ac_fn_c_try_compile "$LINENO"; then :
16679 ac_cv_c_cfi_support="yes"
16680 else
16681 ac_cv_c_cfi_support="no"
16683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16686 $as_echo "$ac_cv_c_cfi_support" >&6; }
16687 if test "$ac_cv_c_cfi_support" = "yes"
16688 then
16689 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
16690 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
16691 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
16692 else
16693 if test "x$enable_win64" = "xyes"
16694 then
16695 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16700 case $host_os in
16701 linux*)
16702 case $host_cpu in
16703 *i[3456789]86*|x86_64*|*aarch64*|arm*)
16704 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16705 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16707 esac
16709 esac
16712 ac_save_CFLAGS="$CFLAGS"
16713 CFLAGS="$CFLAGS $BUILTINFLAG"
16714 for ac_func in \
16715 epoll_create \
16716 fstatfs \
16717 futimens \
16718 futimes \
16719 futimesat \
16720 getattrlist \
16721 getauxval \
16722 getifaddrs \
16723 getrandom \
16724 kqueue \
16725 mach_continuous_time \
16726 pipe2 \
16727 port_create \
16728 posix_fadvise \
16729 posix_fallocate \
16730 prctl \
16731 proc_pidinfo \
16732 setproctitle \
16733 setprogname \
16734 sigprocmask \
16735 sysinfo \
16736 tcdrain \
16737 thr_kill2
16739 do :
16740 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16742 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16743 cat >>confdefs.h <<_ACEOF
16744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16745 _ACEOF
16748 done
16750 CFLAGS="$ac_save_CFLAGS"
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16753 $as_echo_n "checking for library containing dlopen... " >&6; }
16754 if ${ac_cv_search_dlopen+:} false; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16757 ac_func_search_save_LIBS=$LIBS
16758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16759 /* end confdefs.h. */
16761 /* Override any GCC internal prototype to avoid an error.
16762 Use char because int might match the return type of a GCC
16763 builtin and then its argument prototype would still apply. */
16764 #ifdef __cplusplus
16765 extern "C"
16766 #endif
16767 char dlopen ();
16769 main ()
16771 return dlopen ();
16773 return 0;
16775 _ACEOF
16776 for ac_lib in '' dl; do
16777 if test -z "$ac_lib"; then
16778 ac_res="none required"
16779 else
16780 ac_res=-l$ac_lib
16781 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16783 if ac_fn_c_try_link "$LINENO"; then :
16784 ac_cv_search_dlopen=$ac_res
16786 rm -f core conftest.err conftest.$ac_objext \
16787 conftest$ac_exeext
16788 if ${ac_cv_search_dlopen+:} false; then :
16789 break
16791 done
16792 if ${ac_cv_search_dlopen+:} false; then :
16794 else
16795 ac_cv_search_dlopen=no
16797 rm conftest.$ac_ext
16798 LIBS=$ac_func_search_save_LIBS
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16801 $as_echo "$ac_cv_search_dlopen" >&6; }
16802 ac_res=$ac_cv_search_dlopen
16803 if test "$ac_res" != no; then :
16804 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16808 ac_wine_check_funcs_save_LIBS="$LIBS"
16809 LIBS="$LIBS $DL_LIBS"
16810 for ac_func in dlinfo
16811 do :
16812 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
16813 if test "x$ac_cv_func_dlinfo" = xyes; then :
16814 cat >>confdefs.h <<_ACEOF
16815 #define HAVE_DLINFO 1
16816 _ACEOF
16819 done
16821 LIBS="$ac_wine_check_funcs_save_LIBS"
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16824 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16825 if ${ac_cv_search_gethostbyname+:} false; then :
16826 $as_echo_n "(cached) " >&6
16827 else
16828 ac_func_search_save_LIBS=$LIBS
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16832 /* Override any GCC internal prototype to avoid an error.
16833 Use char because int might match the return type of a GCC
16834 builtin and then its argument prototype would still apply. */
16835 #ifdef __cplusplus
16836 extern "C"
16837 #endif
16838 char gethostbyname ();
16840 main ()
16842 return gethostbyname ();
16844 return 0;
16846 _ACEOF
16847 for ac_lib in '' nsl; do
16848 if test -z "$ac_lib"; then
16849 ac_res="none required"
16850 else
16851 ac_res=-l$ac_lib
16852 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16854 if ac_fn_c_try_link "$LINENO"; then :
16855 ac_cv_search_gethostbyname=$ac_res
16857 rm -f core conftest.err conftest.$ac_objext \
16858 conftest$ac_exeext
16859 if ${ac_cv_search_gethostbyname+:} false; then :
16860 break
16862 done
16863 if ${ac_cv_search_gethostbyname+:} false; then :
16865 else
16866 ac_cv_search_gethostbyname=no
16868 rm conftest.$ac_ext
16869 LIBS=$ac_func_search_save_LIBS
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16872 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16873 ac_res=$ac_cv_search_gethostbyname
16874 if test "$ac_res" != no; then :
16875 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16881 $as_echo_n "checking for library containing connect... " >&6; }
16882 if ${ac_cv_search_connect+:} false; then :
16883 $as_echo_n "(cached) " >&6
16884 else
16885 ac_func_search_save_LIBS=$LIBS
16886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16887 /* end confdefs.h. */
16889 /* Override any GCC internal prototype to avoid an error.
16890 Use char because int might match the return type of a GCC
16891 builtin and then its argument prototype would still apply. */
16892 #ifdef __cplusplus
16893 extern "C"
16894 #endif
16895 char connect ();
16897 main ()
16899 return connect ();
16901 return 0;
16903 _ACEOF
16904 for ac_lib in '' socket; do
16905 if test -z "$ac_lib"; then
16906 ac_res="none required"
16907 else
16908 ac_res=-l$ac_lib
16909 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16911 if ac_fn_c_try_link "$LINENO"; then :
16912 ac_cv_search_connect=$ac_res
16914 rm -f core conftest.err conftest.$ac_objext \
16915 conftest$ac_exeext
16916 if ${ac_cv_search_connect+:} false; then :
16917 break
16919 done
16920 if ${ac_cv_search_connect+:} false; then :
16922 else
16923 ac_cv_search_connect=no
16925 rm conftest.$ac_ext
16926 LIBS=$ac_func_search_save_LIBS
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16929 $as_echo "$ac_cv_search_connect" >&6; }
16930 ac_res=$ac_cv_search_connect
16931 if test "$ac_res" != no; then :
16932 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16938 $as_echo_n "checking for library containing inet_aton... " >&6; }
16939 if ${ac_cv_search_inet_aton+:} false; then :
16940 $as_echo_n "(cached) " >&6
16941 else
16942 ac_func_search_save_LIBS=$LIBS
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16946 /* Override any GCC internal prototype to avoid an error.
16947 Use char because int might match the return type of a GCC
16948 builtin and then its argument prototype would still apply. */
16949 #ifdef __cplusplus
16950 extern "C"
16951 #endif
16952 char inet_aton ();
16954 main ()
16956 return inet_aton ();
16958 return 0;
16960 _ACEOF
16961 for ac_lib in '' resolv; do
16962 if test -z "$ac_lib"; then
16963 ac_res="none required"
16964 else
16965 ac_res=-l$ac_lib
16966 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16968 if ac_fn_c_try_link "$LINENO"; then :
16969 ac_cv_search_inet_aton=$ac_res
16971 rm -f core conftest.err conftest.$ac_objext \
16972 conftest$ac_exeext
16973 if ${ac_cv_search_inet_aton+:} false; then :
16974 break
16976 done
16977 if ${ac_cv_search_inet_aton+:} false; then :
16979 else
16980 ac_cv_search_inet_aton=no
16982 rm conftest.$ac_ext
16983 LIBS=$ac_func_search_save_LIBS
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16986 $as_echo "$ac_cv_search_inet_aton" >&6; }
16987 ac_res=$ac_cv_search_inet_aton
16988 if test "$ac_res" != no; then :
16989 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16994 for ac_func in getaddrinfo
16995 do :
16996 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
16997 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
16998 cat >>confdefs.h <<_ACEOF
16999 #define HAVE_GETADDRINFO 1
17000 _ACEOF
17003 done
17006 case $host_os in
17007 darwin*|macosx*) ;;
17008 *) ac_save_LIBS=$LIBS
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17010 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17011 if ${ac_cv_search_clock_gettime+:} false; then :
17012 $as_echo_n "(cached) " >&6
17013 else
17014 ac_func_search_save_LIBS=$LIBS
17015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17018 /* Override any GCC internal prototype to avoid an error.
17019 Use char because int might match the return type of a GCC
17020 builtin and then its argument prototype would still apply. */
17021 #ifdef __cplusplus
17022 extern "C"
17023 #endif
17024 char clock_gettime ();
17026 main ()
17028 return clock_gettime ();
17030 return 0;
17032 _ACEOF
17033 for ac_lib in '' rt; do
17034 if test -z "$ac_lib"; then
17035 ac_res="none required"
17036 else
17037 ac_res=-l$ac_lib
17038 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17040 if ac_fn_c_try_link "$LINENO"; then :
17041 ac_cv_search_clock_gettime=$ac_res
17043 rm -f core conftest.err conftest.$ac_objext \
17044 conftest$ac_exeext
17045 if ${ac_cv_search_clock_gettime+:} false; then :
17046 break
17048 done
17049 if ${ac_cv_search_clock_gettime+:} false; then :
17051 else
17052 ac_cv_search_clock_gettime=no
17054 rm conftest.$ac_ext
17055 LIBS=$ac_func_search_save_LIBS
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17058 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17059 ac_res=$ac_cv_search_clock_gettime
17060 if test "$ac_res" != no; then :
17061 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17063 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17065 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17069 LIBS=$ac_save_LIBS
17071 esac
17073 if test "x$with_ldap" != "xno"
17074 then
17075 if ${LDAP_CFLAGS:+false} :; then :
17076 if ${PKG_CONFIG+:} false; then :
17077 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17081 if ${LDAP_LIBS:+false} :; then :
17082 if ${PKG_CONFIG+:} false; then :
17083 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17087 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17088 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17089 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17090 ac_save_CPPFLAGS=$CPPFLAGS
17091 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17092 for ac_header in ldap.h lber.h
17093 do :
17094 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17095 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17096 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17097 cat >>confdefs.h <<_ACEOF
17098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17099 _ACEOF
17103 done
17105 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17106 then
17107 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17109 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17111 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17112 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17113 $as_echo_n "(cached) " >&6
17114 else
17115 ac_check_lib_save_LIBS=$LIBS
17116 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17120 /* Override any GCC internal prototype to avoid an error.
17121 Use char because int might match the return type of a GCC
17122 builtin and then its argument prototype would still apply. */
17123 #ifdef __cplusplus
17124 extern "C"
17125 #endif
17126 char ldap_initialize ();
17128 main ()
17130 return ldap_initialize ();
17132 return 0;
17134 _ACEOF
17135 if ac_fn_c_try_link "$LINENO"; then :
17136 ac_cv_lib_ldap_r_ldap_initialize=yes
17137 else
17138 ac_cv_lib_ldap_r_ldap_initialize=no
17140 rm -f core conftest.err conftest.$ac_objext \
17141 conftest$ac_exeext conftest.$ac_ext
17142 LIBS=$ac_check_lib_save_LIBS
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17145 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17146 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17148 $as_echo_n "checking for ber_init in -llber... " >&6; }
17149 if ${ac_cv_lib_lber_ber_init+:} false; then :
17150 $as_echo_n "(cached) " >&6
17151 else
17152 ac_check_lib_save_LIBS=$LIBS
17153 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17157 /* Override any GCC internal prototype to avoid an error.
17158 Use char because int might match the return type of a GCC
17159 builtin and then its argument prototype would still apply. */
17160 #ifdef __cplusplus
17161 extern "C"
17162 #endif
17163 char ber_init ();
17165 main ()
17167 return ber_init ();
17169 return 0;
17171 _ACEOF
17172 if ac_fn_c_try_link "$LINENO"; then :
17173 ac_cv_lib_lber_ber_init=yes
17174 else
17175 ac_cv_lib_lber_ber_init=no
17177 rm -f core conftest.err conftest.$ac_objext \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_lib_save_LIBS
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17182 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17183 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17185 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17187 else
17188 LDAP_LIBS=""
17191 else
17192 LDAP_LIBS=""
17195 else
17196 LDAP_LIBS=""
17199 ac_wine_check_funcs_save_LIBS="$LIBS"
17200 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17201 for ac_func in \
17202 ldap_count_references \
17203 ldap_first_reference \
17204 ldap_next_reference \
17205 ldap_parse_reference \
17206 ldap_parse_sort_control \
17207 ldap_parse_sortresponse_control \
17208 ldap_parse_vlv_control \
17209 ldap_parse_vlvresponse_control
17210 do :
17211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17213 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17214 cat >>confdefs.h <<_ACEOF
17215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17216 _ACEOF
17219 done
17221 LIBS="$ac_wine_check_funcs_save_LIBS"
17222 else
17223 LDAP_LIBS=""
17225 CPPFLAGS=$ac_save_CPPFLAGS
17228 if test "x$LDAP_LIBS" = "x"; then :
17229 case "x$with_ldap" in
17230 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17231 xno) ;;
17232 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17233 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17234 esac
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17239 $as_echo_n "checking for sched_setaffinity... " >&6; }
17240 if ${wine_cv_have_sched_setaffinity+:} false; then :
17241 $as_echo_n "(cached) " >&6
17242 else
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17245 #include <sched.h>
17247 main ()
17249 sched_setaffinity(0, 0, 0);
17251 return 0;
17253 _ACEOF
17254 if ac_fn_c_try_link "$LINENO"; then :
17255 wine_cv_have_sched_setaffinity=yes
17256 else
17257 wine_cv_have_sched_setaffinity=no
17259 rm -f core conftest.err conftest.$ac_objext \
17260 conftest$ac_exeext conftest.$ac_ext
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17263 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17264 if test "$wine_cv_have_sched_setaffinity" = "yes"
17265 then
17267 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17273 $as_echo_n "checking for inline... " >&6; }
17274 if ${ac_cv_c_inline+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 ac_cv_c_inline=no
17278 for ac_kw in inline __inline__ __inline; do
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 #ifndef __cplusplus
17282 typedef int foo_t;
17283 static $ac_kw foo_t static_foo () {return 0; }
17284 $ac_kw foo_t foo () {return 0; }
17285 #endif
17287 _ACEOF
17288 if ac_fn_c_try_compile "$LINENO"; then :
17289 ac_cv_c_inline=$ac_kw
17291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17292 test "$ac_cv_c_inline" != no && break
17293 done
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17297 $as_echo "$ac_cv_c_inline" >&6; }
17299 case $ac_cv_c_inline in
17300 inline | yes) ;;
17302 case $ac_cv_c_inline in
17303 no) ac_val=;;
17304 *) ac_val=$ac_cv_c_inline;;
17305 esac
17306 cat >>confdefs.h <<_ACEOF
17307 #ifndef __cplusplus
17308 #define inline $ac_val
17309 #endif
17310 _ACEOF
17312 esac
17314 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17315 #include <signal.h>
17317 if test "x$ac_cv_type_sigset_t" = xyes; then :
17319 cat >>confdefs.h <<_ACEOF
17320 #define HAVE_SIGSET_T 1
17321 _ACEOF
17326 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17328 if test "x$ac_cv_type_request_sense" = xyes; then :
17330 cat >>confdefs.h <<_ACEOF
17331 #define HAVE_REQUEST_SENSE 1
17332 _ACEOF
17338 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17339 #ifdef HAVE_SYS_SOCKET_H
17340 #include <sys/socket.h>
17341 #endif
17342 #ifdef HAVE_SYS_SOCKETVAR_H
17343 #include <sys/socketvar.h>
17344 #endif
17345 #ifdef HAVE_NET_ROUTE_H
17346 #include <net/route.h>
17347 #endif
17348 #ifdef HAVE_NETINET_IN_H
17349 #include <netinet/in.h>
17350 #endif
17351 #ifdef HAVE_NETINET_IN_SYSTM_H
17352 #include <netinet/in_systm.h>
17353 #endif
17354 #ifdef HAVE_NETINET_IP_H
17355 #include <netinet/ip.h>
17356 #endif
17357 #ifdef HAVE_NETINET_IN_PCB_H
17358 #include <netinet/in_pcb.h>
17359 #endif
17361 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17363 cat >>confdefs.h <<_ACEOF
17364 #define HAVE_STRUCT_XINPGEN 1
17365 _ACEOF
17371 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17372 #include <linux/input.h>
17373 #endif
17375 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17377 cat >>confdefs.h <<_ACEOF
17378 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17379 _ACEOF
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17386 $as_echo_n "checking for sigaddset... " >&6; }
17387 if ${wine_cv_have_sigaddset+:} false; then :
17388 $as_echo_n "(cached) " >&6
17389 else
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392 #include <signal.h>
17394 main ()
17396 sigset_t set; sigaddset(&set,SIGTERM);
17398 return 0;
17400 _ACEOF
17401 if ac_fn_c_try_link "$LINENO"; then :
17402 wine_cv_have_sigaddset=yes
17403 else
17404 wine_cv_have_sigaddset=no
17406 rm -f core conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17410 $as_echo "$wine_cv_have_sigaddset" >&6; }
17411 if test "$wine_cv_have_sigaddset" = "yes"
17412 then
17414 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17420 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17421 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17426 #include <netdb.h>
17428 main ()
17431 char *name=0;
17432 struct hostent he;
17433 struct hostent *result;
17434 char *buf=0;
17435 int bufsize=0;
17436 int errnr;
17437 char *addr=0;
17438 int addrlen=0;
17439 int addrtype=0;
17440 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17441 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17444 return 0;
17446 _ACEOF
17447 if ac_fn_c_try_link "$LINENO"; then :
17448 wine_cv_linux_gethostbyname_r_6=yes
17449 else
17450 wine_cv_linux_gethostbyname_r_6=no
17453 rm -f core conftest.err conftest.$ac_objext \
17454 conftest$ac_exeext conftest.$ac_ext
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17458 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17459 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17460 then
17462 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17466 if test "$ac_cv_header_linux_joystick_h" = "yes"
17467 then
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17469 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17470 if ${wine_cv_linux_joystick_22_api+:} false; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17476 #include <sys/ioctl.h>
17477 #include <sys/types.h>
17478 #include <linux/joystick.h>
17480 struct js_event blub;
17481 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17482 #error "no 2.2 header"
17483 #endif
17486 main ()
17488 /*empty*/
17490 return 0;
17492 _ACEOF
17493 if ac_fn_c_try_compile "$LINENO"; then :
17494 wine_cv_linux_joystick_22_api=yes
17495 else
17496 wine_cv_linux_joystick_22_api=no
17498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17502 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17503 if test "$wine_cv_linux_joystick_22_api" = "yes"
17504 then
17506 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17511 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17512 #ifdef HAVE_SYS_SOCKET_H
17513 # include <sys/socket.h>
17514 #endif
17515 #ifdef HAVE_SYS_UN_H
17516 # include <sys/un.h>
17517 #endif
17519 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17521 cat >>confdefs.h <<_ACEOF
17522 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17523 _ACEOF
17527 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17528 #ifdef HAVE_SYS_SOCKET_H
17529 # include <sys/socket.h>
17530 #endif
17531 #ifdef HAVE_SYS_UN_H
17532 # include <sys/un.h>
17533 #endif
17535 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17537 cat >>confdefs.h <<_ACEOF
17538 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17539 _ACEOF
17545 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17546 #ifdef HAVE_SCSI_SG_H
17547 #include <scsi/sg.h>
17548 #endif
17550 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17552 cat >>confdefs.h <<_ACEOF
17553 #define HAVE_SCSIREQ_T_CMD 1
17554 _ACEOF
17558 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>
17559 #ifdef HAVE_SCSI_SG_H
17560 #include <scsi/sg.h>
17561 #endif
17563 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17565 cat >>confdefs.h <<_ACEOF
17566 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17567 _ACEOF
17573 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17575 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17577 cat >>confdefs.h <<_ACEOF
17578 #define HAVE_SIGINFO_T_SI_FD 1
17579 _ACEOF
17585 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17586 #ifdef HAVE_SYS_MTIO_H
17587 #include <sys/mtio.h>
17588 #endif
17590 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17592 cat >>confdefs.h <<_ACEOF
17593 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17594 _ACEOF
17598 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17599 #ifdef HAVE_SYS_MTIO_H
17600 #include <sys/mtio.h>
17601 #endif
17603 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17605 cat >>confdefs.h <<_ACEOF
17606 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17607 _ACEOF
17611 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17612 #ifdef HAVE_SYS_MTIO_H
17613 #include <sys/mtio.h>
17614 #endif
17616 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17618 cat >>confdefs.h <<_ACEOF
17619 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17620 _ACEOF
17626 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17627 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17629 cat >>confdefs.h <<_ACEOF
17630 #define HAVE_STRUCT_STAT_ST_MTIM 1
17631 _ACEOF
17635 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17636 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17638 cat >>confdefs.h <<_ACEOF
17639 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17640 _ACEOF
17644 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17645 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17647 cat >>confdefs.h <<_ACEOF
17648 #define HAVE_STRUCT_STAT_ST_CTIM 1
17649 _ACEOF
17653 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17654 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17656 cat >>confdefs.h <<_ACEOF
17657 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17658 _ACEOF
17662 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17663 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17665 cat >>confdefs.h <<_ACEOF
17666 #define HAVE_STRUCT_STAT_ST_ATIM 1
17667 _ACEOF
17671 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17672 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17674 cat >>confdefs.h <<_ACEOF
17675 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17676 _ACEOF
17680 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17681 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17683 cat >>confdefs.h <<_ACEOF
17684 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17685 _ACEOF
17689 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17690 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17692 cat >>confdefs.h <<_ACEOF
17693 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17694 _ACEOF
17698 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17699 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17701 cat >>confdefs.h <<_ACEOF
17702 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17703 _ACEOF
17707 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17708 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17710 cat >>confdefs.h <<_ACEOF
17711 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17712 _ACEOF
17716 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17717 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17719 cat >>confdefs.h <<_ACEOF
17720 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17721 _ACEOF
17727 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
17728 #include <sys/types.h>
17729 #endif
17730 #ifdef HAVE_NETINET_IN_H
17731 #include <netinet/in.h>
17732 #endif
17734 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17736 cat >>confdefs.h <<_ACEOF
17737 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17738 _ACEOF
17744 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17745 #include <sys/types.h>
17746 #endif
17747 #ifdef HAVE_NETINET_IN_H
17748 #include <netinet/in.h>
17749 #endif
17750 #ifdef HAVE_RESOLV_H
17751 #include <resolv.h>
17752 #endif
17754 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17756 cat >>confdefs.h <<_ACEOF
17757 #define HAVE_STRUCT___RES_STATE 1
17758 _ACEOF
17764 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
17765 #include <resolv.h>
17766 #endif
17768 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17770 cat >>confdefs.h <<_ACEOF
17771 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17772 _ACEOF
17778 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17779 #include <sys/types.h>
17780 #endif
17781 #ifdef HAVE_NETINET_IN_H
17782 #include <netinet/in.h>
17783 #endif
17784 #ifdef HAVE_NETINET_IP_H
17785 #include <netinet/ip.h>
17786 #endif
17787 #ifdef HAVE_NETINET_IP_ICMP_H
17788 #include <netinet/ip_icmp.h>
17789 #endif
17790 #ifdef HAVE_NETINET_ICMP_VAR_H
17791 #include <netinet/icmp_var.h>
17792 #endif
17794 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17796 cat >>confdefs.h <<_ACEOF
17797 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17798 _ACEOF
17804 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17805 #include <sys/types.h>
17806 #endif
17807 #ifdef HAVE_ALIAS_H
17808 #include <alias.h>
17809 #endif
17810 #ifdef HAVE_SYS_SOCKET_H
17811 #include <sys/socket.h>
17812 #endif
17813 #ifdef HAVE_SYS_SOCKETVAR_H
17814 #include <sys/socketvar.h>
17815 #endif
17816 #ifdef HAVE_SYS_TIMEOUT_H
17817 #include <sys/timeout.h>
17818 #endif
17819 #ifdef HAVE_NETINET_IN_H
17820 #include <netinet/in.h>
17821 #endif
17822 #ifdef HAVE_NETINET_IN_SYSTM_H
17823 #include <netinet/in_systm.h>
17824 #endif
17825 #ifdef HAVE_NETINET_IP_H
17826 #include <netinet/ip.h>
17827 #endif
17828 #ifdef HAVE_NETINET_IP_VAR_H
17829 #include <netinet/ip_var.h>
17830 #endif
17831 #ifdef HAVE_NETINET_IP_ICMP_H
17832 #include <netinet/ip_icmp.h>
17833 #endif
17834 #ifdef HAVE_NETINET_ICMP_VAR_H
17835 #include <netinet/icmp_var.h>
17836 #endif
17838 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17840 cat >>confdefs.h <<_ACEOF
17841 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17842 _ACEOF
17848 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
17849 #include <netinet/in.h>
17850 #endif
17852 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
17854 cat >>confdefs.h <<_ACEOF
17855 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
17856 _ACEOF
17862 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17863 #include <sys/types.h>
17864 #endif
17865 #ifdef HAVE_SYS_SOCKETVAR_H
17866 #include <sys/socketvar.h>
17867 #endif
17868 #ifdef HAVE_NETINET_IN_H
17869 #include <netinet/in.h>
17870 #endif
17871 #ifdef HAVE_NETINET_IP_VAR_H
17872 #include <netinet/ip_var.h>
17873 #endif
17875 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17877 cat >>confdefs.h <<_ACEOF
17878 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17879 _ACEOF
17885 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
17886 #include <netinet/ip_var.h>
17887 #endif
17889 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17891 cat >>confdefs.h <<_ACEOF
17892 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17893 _ACEOF
17899 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17900 #include <sys/types.h>
17901 #endif
17902 #ifdef HAVE_SYS_SOCKETVAR_H
17903 #include <sys/socketvar.h>
17904 #endif
17905 #ifdef HAVE_NETINET_IN_H
17906 #include <netinet/in.h>
17907 #endif
17908 #ifdef HAVE_NETINET_TCP_H
17909 #include <netinet/tcp.h>
17910 #endif
17911 #ifdef HAVE_NETINET_TCP_VAR_H
17912 #include <netinet/tcp_var.h>
17913 #endif
17915 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17917 cat >>confdefs.h <<_ACEOF
17918 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17919 _ACEOF
17925 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
17926 #include <netinet/tcp_var.h>
17927 #endif
17929 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17931 cat >>confdefs.h <<_ACEOF
17932 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17933 _ACEOF
17939 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17940 #include <sys/types.h>
17941 #endif
17942 #ifdef HAVE_NETINET_IN_H
17943 #include <netinet/in.h>
17944 #endif
17945 #ifdef HAVE_NETINET_IP_VAR_H
17946 #include <netinet/ip_var.h>
17947 #endif
17948 #ifdef HAVE_NETINET_UDP_H
17949 #include <netinet/udp.h>
17950 #endif
17951 #ifdef HAVE_NETINET_UDP_VAR_H
17952 #include <netinet/udp_var.h>
17953 #endif
17955 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17957 cat >>confdefs.h <<_ACEOF
17958 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17959 _ACEOF
17965 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17966 #include <sys/types.h>
17967 #endif
17968 #ifdef HAVE_NET_IF_H
17969 # include <net/if.h>
17970 #endif
17972 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17974 cat >>confdefs.h <<_ACEOF
17975 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17976 _ACEOF
17982 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
17983 # include <sys/sysinfo.h>
17984 #endif
17986 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
17988 cat >>confdefs.h <<_ACEOF
17989 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
17990 _ACEOF
17994 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
17995 # include <sys/sysinfo.h>
17996 #endif
17998 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
18000 cat >>confdefs.h <<_ACEOF
18001 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
18002 _ACEOF
18008 ac_save_LIBS="$LIBS"
18009 LIBS="$LIBS -lm"
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18011 $as_echo_n "checking for isfinite... " >&6; }
18012 if ${ac_cv_have_isfinite+:} false; then :
18013 $as_echo_n "(cached) " >&6
18014 else
18015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18017 #include <math.h>
18019 main ()
18021 float f = 0.0; return isfinite(f)
18023 return 0;
18025 _ACEOF
18026 if ac_fn_c_try_link "$LINENO"; then :
18027 ac_cv_have_isfinite="yes"
18028 else
18029 ac_cv_have_isfinite="no"
18031 rm -f core conftest.err conftest.$ac_objext \
18032 conftest$ac_exeext conftest.$ac_ext
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18035 $as_echo "$ac_cv_have_isfinite" >&6; }
18036 if test "$ac_cv_have_isfinite" = "yes"
18037 then
18039 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18044 $as_echo_n "checking for isinf... " >&6; }
18045 if ${ac_cv_have_isinf+:} false; then :
18046 $as_echo_n "(cached) " >&6
18047 else
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18050 #include <math.h>
18052 main ()
18054 float f = 0.0; return isinf(f)
18056 return 0;
18058 _ACEOF
18059 if ac_fn_c_try_link "$LINENO"; then :
18060 ac_cv_have_isinf="yes"
18061 else
18062 ac_cv_have_isinf="no"
18064 rm -f core conftest.err conftest.$ac_objext \
18065 conftest$ac_exeext conftest.$ac_ext
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18068 $as_echo "$ac_cv_have_isinf" >&6; }
18069 if test "$ac_cv_have_isinf" = "yes"
18070 then
18072 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18077 $as_echo_n "checking for isnan... " >&6; }
18078 if ${ac_cv_have_isnan+:} false; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18083 #include <math.h>
18085 main ()
18087 float f = 0.0; return isnan(f)
18089 return 0;
18091 _ACEOF
18092 if ac_fn_c_try_link "$LINENO"; then :
18093 ac_cv_have_isnan="yes"
18094 else
18095 ac_cv_have_isnan="no"
18097 rm -f core conftest.err conftest.$ac_objext \
18098 conftest$ac_exeext conftest.$ac_ext
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18101 $as_echo "$ac_cv_have_isnan" >&6; }
18102 if test "$ac_cv_have_isnan" = "yes"
18103 then
18105 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18109 LIBS="$ac_save_LIBS"
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18112 $as_echo_n "checking for __builtin_popcount... " >&6; }
18113 if ${ac_cv_have___builtin_popcount+:} false; then :
18114 $as_echo_n "(cached) " >&6
18115 else
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18120 main ()
18122 return __builtin_popcount(1)
18124 return 0;
18126 _ACEOF
18127 if ac_fn_c_try_link "$LINENO"; then :
18128 ac_cv_have___builtin_popcount="yes"
18129 else
18130 ac_cv_have___builtin_popcount="no"
18132 rm -f core conftest.err conftest.$ac_objext \
18133 conftest$ac_exeext conftest.$ac_ext
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18136 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18137 if test "$ac_cv_have___builtin_popcount" = "yes"
18138 then
18140 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18145 $as_echo_n "checking for __clear_cache... " >&6; }
18146 if ${ac_cv_have___clear_cache+:} false; then :
18147 $as_echo_n "(cached) " >&6
18148 else
18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h. */
18153 main ()
18155 __clear_cache((void*)0, (void*)0); return 0;
18157 return 0;
18159 _ACEOF
18160 if ac_fn_c_try_link "$LINENO"; then :
18161 ac_cv_have___clear_cache="yes"
18162 else
18163 ac_cv_have___clear_cache="no"
18165 rm -f core conftest.err conftest.$ac_objext \
18166 conftest$ac_exeext conftest.$ac_ext
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18169 $as_echo "$ac_cv_have___clear_cache" >&6; }
18170 if test "$ac_cv_have___clear_cache" = "yes"
18171 then
18173 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18178 case $host_cpu in
18179 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18180 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18181 if ${ac_cv_cpp_def___i386__+:} false; then :
18182 $as_echo_n "(cached) " >&6
18183 else
18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18186 #ifndef __i386__
18188 #endif
18189 _ACEOF
18190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18191 $EGREP "yes" >/dev/null 2>&1; then :
18192 ac_cv_cpp_def___i386__=yes
18193 else
18194 ac_cv_cpp_def___i386__=no
18196 rm -f conftest*
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18200 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18201 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18202 CFLAGS="$CFLAGS -D__i386__"
18203 LINTFLAGS="$LINTFLAGS -D__i386__"
18204 fi ;;
18205 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18206 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18207 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211 /* end confdefs.h. */
18212 #ifndef __x86_64__
18214 #endif
18215 _ACEOF
18216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18217 $EGREP "yes" >/dev/null 2>&1; then :
18218 ac_cv_cpp_def___x86_64__=yes
18219 else
18220 ac_cv_cpp_def___x86_64__=no
18222 rm -f conftest*
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18226 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18227 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18228 CFLAGS="$CFLAGS -D__x86_64__"
18229 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18230 fi ;;
18231 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18232 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18233 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18234 $as_echo_n "(cached) " >&6
18235 else
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h. */
18238 #ifndef __sparc64__
18240 #endif
18241 _ACEOF
18242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18243 $EGREP "yes" >/dev/null 2>&1; then :
18244 ac_cv_cpp_def___sparc64__=yes
18245 else
18246 ac_cv_cpp_def___sparc64__=no
18248 rm -f conftest*
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18252 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18253 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18254 CFLAGS="$CFLAGS -D__sparc64__"
18255 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18256 fi ;;
18257 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18258 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18259 if ${ac_cv_cpp_def___sparc__+:} false; then :
18260 $as_echo_n "(cached) " >&6
18261 else
18262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18264 #ifndef __sparc__
18266 #endif
18267 _ACEOF
18268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18269 $EGREP "yes" >/dev/null 2>&1; then :
18270 ac_cv_cpp_def___sparc__=yes
18271 else
18272 ac_cv_cpp_def___sparc__=no
18274 rm -f conftest*
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18278 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18279 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18280 CFLAGS="$CFLAGS -D__sparc__"
18281 LINTFLAGS="$LINTFLAGS -D__sparc__"
18282 fi ;;
18283 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18284 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18285 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18286 $as_echo_n "(cached) " >&6
18287 else
18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18290 #ifndef __powerpc64__
18292 #endif
18293 _ACEOF
18294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18295 $EGREP "yes" >/dev/null 2>&1; then :
18296 ac_cv_cpp_def___powerpc64__=yes
18297 else
18298 ac_cv_cpp_def___powerpc64__=no
18300 rm -f conftest*
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18304 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18305 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18306 CFLAGS="$CFLAGS -D__powerpc64__"
18307 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18308 fi ;;
18309 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18310 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18311 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18312 $as_echo_n "(cached) " >&6
18313 else
18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18316 #ifndef __powerpc__
18318 #endif
18319 _ACEOF
18320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18321 $EGREP "yes" >/dev/null 2>&1; then :
18322 ac_cv_cpp_def___powerpc__=yes
18323 else
18324 ac_cv_cpp_def___powerpc__=no
18326 rm -f conftest*
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18330 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18331 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18332 CFLAGS="$CFLAGS -D__powerpc__"
18333 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18334 fi ;;
18335 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18336 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18337 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18338 $as_echo_n "(cached) " >&6
18339 else
18340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h. */
18342 #ifndef __aarch64__
18344 #endif
18345 _ACEOF
18346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18347 $EGREP "yes" >/dev/null 2>&1; then :
18348 ac_cv_cpp_def___aarch64__=yes
18349 else
18350 ac_cv_cpp_def___aarch64__=no
18352 rm -f conftest*
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18356 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18357 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18358 CFLAGS="$CFLAGS -D__aarch64__"
18359 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18360 fi ;;
18361 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18362 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18363 if ${ac_cv_cpp_def___arm__+:} false; then :
18364 $as_echo_n "(cached) " >&6
18365 else
18366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18367 /* end confdefs.h. */
18368 #ifndef __arm__
18370 #endif
18371 _ACEOF
18372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18373 $EGREP "yes" >/dev/null 2>&1; then :
18374 ac_cv_cpp_def___arm__=yes
18375 else
18376 ac_cv_cpp_def___arm__=no
18378 rm -f conftest*
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18382 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18383 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18384 CFLAGS="$CFLAGS -D__arm__"
18385 LINTFLAGS="$LINTFLAGS -D__arm__"
18386 fi ;;
18387 esac
18389 case $host_vendor in
18390 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18391 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18392 if ${ac_cv_cpp_def___sun__+:} false; then :
18393 $as_echo_n "(cached) " >&6
18394 else
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #ifndef __sun__
18399 #endif
18400 _ACEOF
18401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18402 $EGREP "yes" >/dev/null 2>&1; then :
18403 ac_cv_cpp_def___sun__=yes
18404 else
18405 ac_cv_cpp_def___sun__=no
18407 rm -f conftest*
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18411 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18412 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18413 CFLAGS="$CFLAGS -D__sun__"
18414 LINTFLAGS="$LINTFLAGS -D__sun__"
18415 fi ;;
18416 esac
18422 ac_config_commands="$ac_config_commands include/stamp-h"
18424 $as_echo_n "creating Makefile rules..." >&6
18426 makedep_flags=""
18427 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
18429 wine_srcdir=
18430 test "$srcdir" = . || wine_srcdir="$srcdir/"
18432 ac_config_links="$ac_config_links wine:tools/winewrapper"
18433 wine_fn_config_symlink wine
18434 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
18435 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18436 wine_fn_config_symlink wine64
18439 wine_fn_config_makefile dlls/acledit enable_acledit
18440 wine_fn_config_makefile dlls/aclui enable_aclui
18441 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
18442 wine_fn_config_makefile dlls/activeds enable_activeds
18443 wine_fn_config_makefile dlls/activeds/tests enable_tests
18444 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18445 wine_fn_config_makefile dlls/adsldp enable_adsldp
18446 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18447 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18448 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18449 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18450 wine_fn_config_makefile dlls/advpack enable_advpack
18451 wine_fn_config_makefile dlls/advpack/tests enable_tests
18452 wine_fn_config_makefile dlls/amsi enable_amsi
18453 wine_fn_config_makefile dlls/amstream enable_amstream
18454 wine_fn_config_makefile dlls/amstream/tests enable_tests
18455 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18456 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18457 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18458 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18459 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18460 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18461 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18462 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18463 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18464 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18465 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18466 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
18467 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18468 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
18469 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18470 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
18471 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18472 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18473 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18474 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18475 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18476 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18477 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18478 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18479 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18480 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18481 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18482 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18483 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
18484 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18485 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18486 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
18487 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
18488 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18489 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18490 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18491 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18492 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18493 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18494 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18495 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18496 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18497 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18498 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18499 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18500 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18501 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18502 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18503 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18504 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18505 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18506 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18507 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18508 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
18509 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
18510 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18511 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18512 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18513 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18514 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18515 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18516 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18517 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
18518 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18519 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18520 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18521 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
18522 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18523 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18524 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18525 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18526 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18527 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18528 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18529 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18530 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18531 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
18532 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
18533 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18534 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
18535 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18536 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18537 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18538 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18539 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18540 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18541 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18542 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18543 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18544 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18545 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18546 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
18547 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
18548 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18549 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18550 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18551 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18552 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18553 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
18554 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18555 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18556 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
18557 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18558 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18559 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
18560 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18561 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18562 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18563 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18564 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18565 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18566 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18567 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18568 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18569 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18570 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18571 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18572 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
18573 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18574 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18575 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18576 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18577 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18578 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18579 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18580 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
18581 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18582 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18583 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18584 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18585 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18586 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18587 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18588 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18589 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18590 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18591 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18592 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18593 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18594 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18595 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18596 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18597 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18598 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18599 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18600 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18601 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
18602 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18603 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18604 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18605 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18606 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18607 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18608 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18609 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18610 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18611 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18612 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18613 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18614 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18615 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18616 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18617 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18618 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18619 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18620 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18621 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
18622 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18623 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18624 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18625 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18626 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
18627 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18628 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18629 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18630 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18631 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18632 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18633 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18634 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18635 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18636 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18637 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18638 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18639 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18640 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18641 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
18642 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18643 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18644 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18645 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18646 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18647 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18648 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18649 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
18650 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18651 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18652 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18653 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18654 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18655 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18656 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18657 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18658 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18659 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18660 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18661 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18662 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18663 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18664 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18665 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18666 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
18667 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18668 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18669 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18670 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18671 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18672 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18673 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18674 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18675 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18676 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18677 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18678 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18679 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18680 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18681 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18682 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18683 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18684 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
18685 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18686 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18687 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
18688 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18689 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18690 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18691 wine_fn_config_makefile dlls/apphelp enable_apphelp
18692 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18693 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18694 wine_fn_config_makefile dlls/atl enable_atl
18695 wine_fn_config_makefile dlls/atl/tests enable_tests
18696 wine_fn_config_makefile dlls/atl100 enable_atl100
18697 wine_fn_config_makefile dlls/atl100/tests enable_tests
18698 wine_fn_config_makefile dlls/atl110 enable_atl110
18699 wine_fn_config_makefile dlls/atl80 enable_atl80
18700 wine_fn_config_makefile dlls/atl80/tests enable_tests
18701 wine_fn_config_makefile dlls/atl90 enable_atl90
18702 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
18703 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
18704 wine_fn_config_makefile dlls/atmlib enable_atmlib
18705 wine_fn_config_makefile dlls/authz enable_authz
18706 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18707 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18708 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18709 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18710 wine_fn_config_makefile dlls/avrt enable_avrt
18711 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18712 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18713 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18714 wine_fn_config_makefile dlls/browseui enable_browseui
18715 wine_fn_config_makefile dlls/browseui/tests enable_tests
18716 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18717 wine_fn_config_makefile dlls/cabinet enable_cabinet
18718 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18719 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18720 wine_fn_config_makefile dlls/cards enable_cards
18721 wine_fn_config_makefile dlls/cdosys enable_cdosys
18722 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18723 wine_fn_config_makefile dlls/clusapi enable_clusapi
18724 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
18725 wine_fn_config_makefile dlls/combase enable_combase
18726 wine_fn_config_makefile dlls/combase/tests enable_tests
18727 wine_fn_config_makefile dlls/comcat enable_comcat
18728 wine_fn_config_makefile dlls/comcat/tests enable_tests
18729 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18730 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18731 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18732 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18733 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18734 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18735 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18736 wine_fn_config_makefile dlls/compstui enable_compstui
18737 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18738 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
18739 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18740 wine_fn_config_makefile dlls/concrt140/tests enable_tests
18741 wine_fn_config_makefile dlls/connect enable_connect
18742 wine_fn_config_makefile dlls/credui enable_credui
18743 wine_fn_config_makefile dlls/credui/tests enable_tests
18744 wine_fn_config_makefile dlls/crtdll enable_crtdll
18745 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18746 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18747 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18748 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18749 wine_fn_config_makefile dlls/cryptext enable_cryptext
18750 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18751 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18752 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
18753 wine_fn_config_makefile dlls/cryptui enable_cryptui
18754 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18755 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18756 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18757 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18758 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18759 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18760 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18761 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18762 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18763 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18764 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18765 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18766 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18767 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18768 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18769 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18770 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18771 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18772 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18773 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
18774 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18775 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18776 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18777 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18778 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18779 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18780 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18781 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18782 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18783 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18784 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18785 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18786 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18787 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18788 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18789 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
18790 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18791 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
18792 wine_fn_config_makefile dlls/d3dim enable_d3dim
18793 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
18794 wine_fn_config_makefile dlls/d3drm enable_d3drm
18795 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18796 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18797 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18798 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
18799 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18800 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
18801 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18802 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
18803 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18804 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
18805 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18806 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
18807 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18808 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
18809 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18810 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
18811 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18812 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
18813 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18814 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
18815 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18816 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18817 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18818 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
18819 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18820 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18821 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18822 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18823 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18824 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18825 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18826 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18827 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18828 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18829 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18830 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18831 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18832 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18833 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18834 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18835 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18836 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18837 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18838 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18839 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18840 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18841 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18842 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18843 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18844 wine_fn_config_makefile dlls/davclnt enable_davclnt
18845 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18846 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
18847 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18848 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
18849 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18850 wine_fn_config_makefile dlls/dcomp enable_dcomp
18851 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18852 wine_fn_config_makefile dlls/ddraw enable_ddraw
18853 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18854 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18855 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18856 wine_fn_config_makefile dlls/devenum enable_devenum
18857 wine_fn_config_makefile dlls/devenum/tests enable_tests
18858 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18859 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
18860 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
18861 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18862 wine_fn_config_makefile dlls/difxapi enable_difxapi
18863 wine_fn_config_makefile dlls/dinput enable_dinput
18864 wine_fn_config_makefile dlls/dinput/tests enable_tests
18865 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18866 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18867 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
18868 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
18869 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18870 wine_fn_config_makefile dlls/dispex enable_dispex
18871 wine_fn_config_makefile dlls/dispex/tests enable_tests
18872 wine_fn_config_makefile dlls/display.drv16 enable_win16
18873 wine_fn_config_makefile dlls/dmband enable_dmband
18874 wine_fn_config_makefile dlls/dmband/tests enable_tests
18875 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18876 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18877 wine_fn_config_makefile dlls/dmime enable_dmime
18878 wine_fn_config_makefile dlls/dmime/tests enable_tests
18879 wine_fn_config_makefile dlls/dmloader enable_dmloader
18880 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18881 wine_fn_config_makefile dlls/dmscript enable_dmscript
18882 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18883 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18884 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18885 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18886 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18887 wine_fn_config_makefile dlls/dmusic enable_dmusic
18888 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18889 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18890 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18891 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18892 wine_fn_config_makefile dlls/dplay enable_dplay
18893 wine_fn_config_makefile dlls/dplayx enable_dplayx
18894 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18895 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18896 wine_fn_config_makefile dlls/dpnet enable_dpnet
18897 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18898 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18899 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
18900 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18901 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18902 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18903 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18904 wine_fn_config_makefile dlls/drmclien enable_drmclien
18905 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
18906 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
18907 wine_fn_config_makefile dlls/dsound enable_dsound
18908 wine_fn_config_makefile dlls/dsound/tests enable_tests
18909 wine_fn_config_makefile dlls/dsquery enable_dsquery
18910 wine_fn_config_makefile dlls/dssenh enable_dssenh
18911 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18912 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
18913 wine_fn_config_makefile dlls/dswave enable_dswave
18914 wine_fn_config_makefile dlls/dswave/tests enable_tests
18915 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18916 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
18917 wine_fn_config_makefile dlls/dwrite enable_dwrite
18918 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18919 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18920 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18921 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18922 wine_fn_config_makefile dlls/dxgi enable_dxgi
18923 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18924 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
18925 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18926 wine_fn_config_makefile dlls/dxva2/tests enable_tests
18927 wine_fn_config_makefile dlls/esent enable_esent
18928 wine_fn_config_makefile dlls/evr enable_evr
18929 wine_fn_config_makefile dlls/evr/tests enable_tests
18930 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18931 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18932 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18933 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18934 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18935 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
18936 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18937 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18938 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18939 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
18940 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18941 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
18942 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
18943 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18944 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18945 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18946 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
18947 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18948 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
18949 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18950 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18951 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
18952 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18953 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
18954 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
18955 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18956 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18957 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18958 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18959 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18960 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18961 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
18962 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18963 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18964 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
18965 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18966 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18967 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18968 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18969 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18970 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18971 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18972 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
18973 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18974 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18975 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18976 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18977 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18978 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18979 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18980 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
18981 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
18982 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
18983 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
18984 wine_fn_config_makefile dlls/faultrep enable_faultrep
18985 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18986 wine_fn_config_makefile dlls/feclient enable_feclient
18987 wine_fn_config_makefile dlls/fltlib enable_fltlib
18988 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18989 wine_fn_config_makefile dlls/fntcache enable_fntcache
18990 wine_fn_config_makefile dlls/fontsub enable_fontsub
18991 wine_fn_config_makefile dlls/fusion enable_fusion
18992 wine_fn_config_makefile dlls/fusion/tests enable_tests
18993 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18994 wine_fn_config_makefile dlls/gameux enable_gameux
18995 wine_fn_config_makefile dlls/gameux/tests enable_tests
18996 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
18997 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18998 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18999 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19000 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19001 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19002 wine_fn_config_makefile dlls/glu32 enable_glu32
19003 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19004 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19005 wine_fn_config_makefile dlls/hal enable_hal
19006 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19007 wine_fn_config_makefile dlls/hid enable_hid
19008 wine_fn_config_makefile dlls/hid/tests enable_tests
19009 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19010 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
19011 wine_fn_config_makefile dlls/hlink enable_hlink
19012 wine_fn_config_makefile dlls/hlink/tests enable_tests
19013 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19014 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19015 wine_fn_config_makefile dlls/http.sys enable_http_sys
19016 wine_fn_config_makefile dlls/httpapi enable_httpapi
19017 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19018 wine_fn_config_makefile dlls/iccvid enable_iccvid
19019 wine_fn_config_makefile dlls/icmp enable_icmp
19020 wine_fn_config_makefile dlls/ieframe enable_ieframe
19021 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19022 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19023 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19024 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19025 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19026 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19027 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19028 wine_fn_config_makefile dlls/imm32 enable_imm32
19029 wine_fn_config_makefile dlls/imm32/tests enable_tests
19030 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19031 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19032 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19033 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19034 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19035 wine_fn_config_makefile dlls/infosoft enable_infosoft
19036 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19037 wine_fn_config_makefile dlls/initpki enable_initpki
19038 wine_fn_config_makefile dlls/inkobj enable_inkobj
19039 wine_fn_config_makefile dlls/inseng enable_inseng
19040 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19041 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19042 wine_fn_config_makefile dlls/iprop enable_iprop
19043 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19044 wine_fn_config_makefile dlls/itircl enable_itircl
19045 wine_fn_config_makefile dlls/itss enable_itss
19046 wine_fn_config_makefile dlls/itss/tests enable_tests
19047 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19048 wine_fn_config_makefile dlls/jscript enable_jscript
19049 wine_fn_config_makefile dlls/jscript/tests enable_tests
19050 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19051 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19052 wine_fn_config_makefile dlls/kerberos enable_kerberos
19053 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19054 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19055 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19056 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19057 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19058 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19059 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
19060 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
19061 wine_fn_config_makefile dlls/ksuser enable_ksuser
19062 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19063 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19064 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
19065 wine_fn_config_makefile dlls/loadperf enable_loadperf
19066 wine_fn_config_makefile dlls/localspl enable_localspl
19067 wine_fn_config_makefile dlls/localspl/tests enable_tests
19068 wine_fn_config_makefile dlls/localui enable_localui
19069 wine_fn_config_makefile dlls/localui/tests enable_tests
19070 wine_fn_config_makefile dlls/lz32 enable_lz32
19071 wine_fn_config_makefile dlls/lz32/tests enable_tests
19072 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19073 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19074 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19075 wine_fn_config_makefile dlls/mapistub enable_mapistub
19076 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19077 wine_fn_config_makefile dlls/mcicda enable_mcicda
19078 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19079 wine_fn_config_makefile dlls/mciseq enable_mciseq
19080 wine_fn_config_makefile dlls/mciwave enable_mciwave
19081 wine_fn_config_makefile dlls/mf enable_mf
19082 wine_fn_config_makefile dlls/mf/tests enable_tests
19083 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19084 wine_fn_config_makefile dlls/mferror enable_mferror
19085 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
19086 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
19087 wine_fn_config_makefile dlls/mfplat enable_mfplat
19088 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19089 wine_fn_config_makefile dlls/mfplay enable_mfplay
19090 wine_fn_config_makefile dlls/mfplay/tests enable_tests
19091 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19092 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19093 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19094 wine_fn_config_makefile dlls/midimap enable_midimap
19095 wine_fn_config_makefile dlls/mlang enable_mlang
19096 wine_fn_config_makefile dlls/mlang/tests enable_tests
19097 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19098 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19099 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19100 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19101 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19102 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19103 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19104 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19105 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19106 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19107 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19108 wine_fn_config_makefile dlls/mpr enable_mpr
19109 wine_fn_config_makefile dlls/mpr/tests enable_tests
19110 wine_fn_config_makefile dlls/mprapi enable_mprapi
19111 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19112 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19113 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19114 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19115 wine_fn_config_makefile dlls/msado15 enable_msado15
19116 wine_fn_config_makefile dlls/msado15/tests enable_tests
19117 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19118 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19119 wine_fn_config_makefile dlls/msasn1/tests enable_tests
19120 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19121 wine_fn_config_makefile dlls/mscms enable_mscms
19122 wine_fn_config_makefile dlls/mscms/tests enable_tests
19123 wine_fn_config_makefile dlls/mscoree enable_mscoree
19124 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19125 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
19126 wine_fn_config_makefile dlls/msctf enable_msctf
19127 wine_fn_config_makefile dlls/msctf/tests enable_tests
19128 wine_fn_config_makefile dlls/msctfp enable_msctfp
19129 wine_fn_config_makefile dlls/msdaps enable_msdaps
19130 wine_fn_config_makefile dlls/msdasql enable_msdasql
19131 wine_fn_config_makefile dlls/msdasql/tests enable_tests
19132 wine_fn_config_makefile dlls/msdelta enable_msdelta
19133 wine_fn_config_makefile dlls/msdmo enable_msdmo
19134 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19135 wine_fn_config_makefile dlls/msdrm enable_msdrm
19136 wine_fn_config_makefile dlls/msftedit enable_msftedit
19137 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19138 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19139 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19140 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19141 wine_fn_config_makefile dlls/mshtml enable_mshtml
19142 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19143 wine_fn_config_makefile dlls/msi enable_msi
19144 wine_fn_config_makefile dlls/msi/tests enable_tests
19145 wine_fn_config_makefile dlls/msident enable_msident
19146 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19147 wine_fn_config_makefile dlls/msimsg enable_msimsg
19148 wine_fn_config_makefile dlls/msimtf enable_msimtf
19149 wine_fn_config_makefile dlls/msisip enable_msisip
19150 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19151 wine_fn_config_makefile dlls/msls31 enable_msls31
19152 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19153 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19154 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
19155 wine_fn_config_makefile dlls/msports enable_msports
19156 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19157 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19158 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19159 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19160 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19161 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19162 wine_fn_config_makefile dlls/mstask enable_mstask
19163 wine_fn_config_makefile dlls/mstask/tests enable_tests
19164 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
19165 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19166 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19167 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19168 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19169 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19170 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19171 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19172 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19173 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19174 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19175 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19176 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19177 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19178 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
19179 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
19180 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19181 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19182 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19183 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19184 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19185 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19186 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19187 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19188 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19189 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19190 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19191 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19192 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19193 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19194 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19195 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19196 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19197 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19198 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19199 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19200 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19201 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19202 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19203 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19204 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19205 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19206 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19207 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19208 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19209 wine_fn_config_makefile dlls/mswsock enable_mswsock
19210 wine_fn_config_makefile dlls/msxml enable_msxml
19211 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19212 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19213 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19214 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19215 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19216 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19217 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19218 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19219 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19220 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
19221 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19222 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19223 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19224 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19225 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
19226 wine_fn_config_makefile dlls/netprofm enable_netprofm
19227 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19228 wine_fn_config_makefile dlls/netutils enable_netutils
19229 wine_fn_config_makefile dlls/newdev enable_newdev
19230 wine_fn_config_makefile dlls/ninput enable_ninput
19231 wine_fn_config_makefile dlls/ninput/tests enable_tests
19232 wine_fn_config_makefile dlls/normaliz enable_normaliz
19233 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19234 wine_fn_config_makefile dlls/npptools enable_npptools
19235 wine_fn_config_makefile dlls/nsi enable_nsi
19236 wine_fn_config_makefile dlls/nsi/tests enable_tests
19237 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
19238 wine_fn_config_makefile dlls/ntdll enable_ntdll
19239 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19240 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19241 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19242 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19243 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19244 wine_fn_config_makefile dlls/ntprint enable_ntprint
19245 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19246 wine_fn_config_makefile dlls/objsel enable_objsel
19247 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19248 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
19249 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19250 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19251 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19252 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19253 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19254 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19255 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19256 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19257 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19258 wine_fn_config_makefile dlls/ole32 enable_ole32
19259 wine_fn_config_makefile dlls/ole32/tests enable_tests
19260 wine_fn_config_makefile dlls/oleacc enable_oleacc
19261 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19262 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19263 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19264 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19265 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19266 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19267 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19268 wine_fn_config_makefile dlls/oledlg enable_oledlg
19269 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19270 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19271 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19272 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19273 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19274 wine_fn_config_makefile dlls/opcservices enable_opcservices
19275 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19276 wine_fn_config_makefile dlls/openal32 enable_openal32
19277 wine_fn_config_makefile dlls/opencl enable_opencl
19278 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19279 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19280 wine_fn_config_makefile dlls/packager enable_packager
19281 wine_fn_config_makefile dlls/packager/tests enable_tests
19282 wine_fn_config_makefile dlls/pdh enable_pdh
19283 wine_fn_config_makefile dlls/pdh/tests enable_tests
19284 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19285 wine_fn_config_makefile dlls/pidgen enable_pidgen
19286 wine_fn_config_makefile dlls/powrprof enable_powrprof
19287 wine_fn_config_makefile dlls/printui enable_printui
19288 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19289 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
19290 wine_fn_config_makefile dlls/propsys enable_propsys
19291 wine_fn_config_makefile dlls/propsys/tests enable_tests
19292 wine_fn_config_makefile dlls/psapi enable_psapi
19293 wine_fn_config_makefile dlls/psapi/tests enable_tests
19294 wine_fn_config_makefile dlls/pstorec enable_pstorec
19295 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19296 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
19297 wine_fn_config_makefile dlls/qasf enable_qasf
19298 wine_fn_config_makefile dlls/qasf/tests enable_tests
19299 wine_fn_config_makefile dlls/qcap enable_qcap
19300 wine_fn_config_makefile dlls/qcap/tests enable_tests
19301 wine_fn_config_makefile dlls/qdvd enable_qdvd
19302 wine_fn_config_makefile dlls/qdvd/tests enable_tests
19303 wine_fn_config_makefile dlls/qedit enable_qedit
19304 wine_fn_config_makefile dlls/qedit/tests enable_tests
19305 wine_fn_config_makefile dlls/qmgr enable_qmgr
19306 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19307 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19308 wine_fn_config_makefile dlls/quartz enable_quartz
19309 wine_fn_config_makefile dlls/quartz/tests enable_tests
19310 wine_fn_config_makefile dlls/query enable_query
19311 wine_fn_config_makefile dlls/qwave enable_qwave
19312 wine_fn_config_makefile dlls/qwave/tests enable_tests
19313 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19314 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19315 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19316 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19317 wine_fn_config_makefile dlls/regapi enable_regapi
19318 wine_fn_config_makefile dlls/resutils enable_resutils
19319 wine_fn_config_makefile dlls/riched20 enable_riched20
19320 wine_fn_config_makefile dlls/riched20/tests enable_tests
19321 wine_fn_config_makefile dlls/riched32 enable_riched32
19322 wine_fn_config_makefile dlls/riched32/tests enable_tests
19323 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19324 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19325 wine_fn_config_makefile dlls/rsabase enable_rsabase
19326 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19327 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19328 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19329 wine_fn_config_makefile dlls/rtutils enable_rtutils
19330 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
19331 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
19332 wine_fn_config_makefile dlls/samlib enable_samlib
19333 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19334 wine_fn_config_makefile dlls/sapi enable_sapi
19335 wine_fn_config_makefile dlls/sapi/tests enable_tests
19336 wine_fn_config_makefile dlls/sas enable_sas
19337 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19338 wine_fn_config_makefile dlls/sccbase enable_sccbase
19339 wine_fn_config_makefile dlls/schannel enable_schannel
19340 wine_fn_config_makefile dlls/schannel/tests enable_tests
19341 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19342 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19343 wine_fn_config_makefile dlls/scrobj enable_scrobj
19344 wine_fn_config_makefile dlls/scrobj/tests enable_tests
19345 wine_fn_config_makefile dlls/scrrun enable_scrrun
19346 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19347 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19348 wine_fn_config_makefile dlls/sechost enable_sechost
19349 wine_fn_config_makefile dlls/secur32 enable_secur32
19350 wine_fn_config_makefile dlls/secur32/tests enable_tests
19351 wine_fn_config_makefile dlls/security enable_security
19352 wine_fn_config_makefile dlls/sensapi enable_sensapi
19353 wine_fn_config_makefile dlls/serialui enable_serialui
19354 wine_fn_config_makefile dlls/serialui/tests enable_tests
19355 wine_fn_config_makefile dlls/setupapi enable_setupapi
19356 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19357 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19358 wine_fn_config_makefile dlls/sfc enable_sfc
19359 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19360 wine_fn_config_makefile dlls/shcore enable_shcore
19361 wine_fn_config_makefile dlls/shcore/tests enable_tests
19362 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19363 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19364 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19365 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19366 wine_fn_config_makefile dlls/shell32 enable_shell32
19367 wine_fn_config_makefile dlls/shell32/tests enable_tests
19368 wine_fn_config_makefile dlls/shfolder enable_shfolder
19369 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19370 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19371 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19372 wine_fn_config_makefile dlls/slc enable_slc
19373 wine_fn_config_makefile dlls/slc/tests enable_tests
19374 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19375 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19376 wine_fn_config_makefile dlls/softpub enable_softpub
19377 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19378 wine_fn_config_makefile dlls/spoolss enable_spoolss
19379 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19380 wine_fn_config_makefile dlls/sppc enable_sppc
19381 wine_fn_config_makefile dlls/srclient enable_srclient
19382 wine_fn_config_makefile dlls/srvcli enable_srvcli
19383 wine_fn_config_makefile dlls/sspicli enable_sspicli
19384 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19385 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19386 wine_fn_config_makefile dlls/sti enable_sti
19387 wine_fn_config_makefile dlls/sti/tests enable_tests
19388 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19389 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19390 wine_fn_config_makefile dlls/strmbase enable_strmbase
19391 wine_fn_config_makefile dlls/strmdll enable_strmdll
19392 wine_fn_config_makefile dlls/svrapi enable_svrapi
19393 wine_fn_config_makefile dlls/sxs enable_sxs
19394 wine_fn_config_makefile dlls/sxs/tests enable_tests
19395 wine_fn_config_makefile dlls/system.drv16 enable_win16
19396 wine_fn_config_makefile dlls/t2embed enable_t2embed
19397 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19398 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19399 wine_fn_config_makefile dlls/tapi32/tests enable_tests
19400 wine_fn_config_makefile dlls/taskschd enable_taskschd
19401 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19402 wine_fn_config_makefile dlls/tbs enable_tbs
19403 wine_fn_config_makefile dlls/tdh enable_tdh
19404 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19405 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19406 wine_fn_config_makefile dlls/traffic enable_traffic
19407 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19408 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19409 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19410 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19411 wine_fn_config_makefile dlls/tzres enable_tzres
19412 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19413 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19414 wine_fn_config_makefile dlls/uianimation enable_uianimation
19415 wine_fn_config_makefile dlls/uianimation/tests enable_tests
19416 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19417 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
19418 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19419 wine_fn_config_makefile dlls/unicows enable_unicows
19420 wine_fn_config_makefile dlls/updspapi enable_updspapi
19421 wine_fn_config_makefile dlls/url enable_url
19422 wine_fn_config_makefile dlls/urlmon enable_urlmon
19423 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19424 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19425 wine_fn_config_makefile dlls/user.exe16 enable_win16
19426 wine_fn_config_makefile dlls/user32 enable_user32
19427 wine_fn_config_makefile dlls/user32/tests enable_tests
19428 wine_fn_config_makefile dlls/userenv enable_userenv
19429 wine_fn_config_makefile dlls/userenv/tests enable_tests
19430 wine_fn_config_makefile dlls/usp10 enable_usp10
19431 wine_fn_config_makefile dlls/usp10/tests enable_tests
19432 wine_fn_config_makefile dlls/utildll enable_utildll
19433 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19434 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19435 wine_fn_config_makefile dlls/vbscript enable_vbscript
19436 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19437 wine_fn_config_makefile dlls/vcomp enable_vcomp
19438 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19439 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19440 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19441 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
19442 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19443 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19444 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19445 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19446 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
19447 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19448 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19449 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19450 wine_fn_config_makefile dlls/version enable_version
19451 wine_fn_config_makefile dlls/version/tests enable_tests
19452 wine_fn_config_makefile dlls/vga enable_vga
19453 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19454 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19455 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19456 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19457 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19458 wine_fn_config_makefile dlls/vssapi enable_vssapi
19459 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19460 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19461 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19462 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19463 wine_fn_config_makefile dlls/w32skrnl enable_win16
19464 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19465 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19466 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19467 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19468 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19469 wine_fn_config_makefile dlls/wdscore enable_wdscore
19470 wine_fn_config_makefile dlls/webservices enable_webservices
19471 wine_fn_config_makefile dlls/webservices/tests enable_tests
19472 wine_fn_config_makefile dlls/websocket enable_websocket
19473 wine_fn_config_makefile dlls/wer enable_wer
19474 wine_fn_config_makefile dlls/wer/tests enable_tests
19475 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19476 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
19477 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
19478 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19479 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19480 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19481 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19482 wine_fn_config_makefile dlls/win32u enable_win32u
19483 wine_fn_config_makefile dlls/win32u/tests enable_tests
19484 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19485 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19486 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19487 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
19488 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
19489 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
19490 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
19491 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
19492 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
19493 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
19494 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
19495 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
19496 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19497 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19498 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19499 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19500 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19501 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19502 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19503 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19504 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19505 wine_fn_config_makefile dlls/wined3d enable_wined3d
19506 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19507 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19508 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19509 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19510 wine_fn_config_makefile dlls/winemapi enable_winemapi
19511 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19512 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19513 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19514 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19515 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19516 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
19517 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19518 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19519 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
19520 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19521 wine_fn_config_makefile dlls/wing32 enable_wing32
19522 wine_fn_config_makefile dlls/winhttp enable_winhttp
19523 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19524 wine_fn_config_makefile dlls/wininet enable_wininet
19525 wine_fn_config_makefile dlls/wininet/tests enable_tests
19526 wine_fn_config_makefile dlls/winmm enable_winmm
19527 wine_fn_config_makefile dlls/winmm/tests enable_tests
19528 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19529 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19530 wine_fn_config_makefile dlls/winscard enable_winscard
19531 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19532 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19533 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19534 wine_fn_config_makefile dlls/winsta enable_winsta
19535 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19536 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19537 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19538 wine_fn_config_makefile dlls/wintrust enable_wintrust
19539 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19540 wine_fn_config_makefile dlls/winusb enable_winusb
19541 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19542 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19543 wine_fn_config_makefile dlls/wlanui enable_wlanui
19544 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19545 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19546 wine_fn_config_makefile dlls/wmasf enable_wmasf
19547 wine_fn_config_makefile dlls/wmi enable_wmi
19548 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19549 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19550 wine_fn_config_makefile dlls/wmp enable_wmp
19551 wine_fn_config_makefile dlls/wmp/tests enable_tests
19552 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19553 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19554 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19555 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19556 wine_fn_config_makefile dlls/wow32 enable_win16
19557 wine_fn_config_makefile dlls/wow64 enable_wow64
19558 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
19559 wine_fn_config_makefile dlls/wow64win enable_wow64win
19560 wine_fn_config_makefile dlls/wpc enable_wpc
19561 wine_fn_config_makefile dlls/wpc/tests enable_tests
19562 wine_fn_config_makefile dlls/wpcap enable_wpcap
19563 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19564 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19565 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19566 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19567 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19568 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19569 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19570 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19571 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19572 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19573 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19574 wine_fn_config_makefile dlls/wuapi enable_wuapi
19575 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19576 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19577 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19578 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19579 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19580 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19581 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19582 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19583 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19584 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
19585 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
19586 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
19587 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
19588 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
19589 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
19590 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
19591 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
19592 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
19593 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
19594 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
19595 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
19596 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
19597 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19598 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19599 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19600 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19601 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19602 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19603 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19604 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19605 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19606 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19607 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19608 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19609 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19610 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19611 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19612 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19613 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19614 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19615 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19616 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19617 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19618 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19619 wine_fn_config_makefile dlls/xmllite enable_xmllite
19620 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19621 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19622 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19623 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19624 wine_fn_config_makefile fonts enable_fonts
19625 wine_fn_config_makefile include enable_include
19626 wine_fn_config_makefile libs/adsiid enable_adsiid
19627 wine_fn_config_makefile libs/dmoguids enable_dmoguids
19628 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
19629 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
19630 wine_fn_config_makefile libs/dxguid enable_dxguid
19631 wine_fn_config_makefile libs/faudio enable_faudio
19632 wine_fn_config_makefile libs/gsm enable_gsm
19633 wine_fn_config_makefile libs/jpeg enable_jpeg
19634 wine_fn_config_makefile libs/jxr enable_jxr
19635 wine_fn_config_makefile libs/lcms2 enable_lcms2
19636 wine_fn_config_makefile libs/mfuuid enable_mfuuid
19637 wine_fn_config_makefile libs/mpg123 enable_mpg123
19638 wine_fn_config_makefile libs/png enable_png
19639 wine_fn_config_makefile libs/strmiids enable_strmiids
19640 wine_fn_config_makefile libs/tiff enable_tiff
19641 wine_fn_config_makefile libs/uuid enable_uuid
19642 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
19643 wine_fn_config_makefile libs/wine enable_wine
19644 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
19645 wine_fn_config_makefile libs/xml2 enable_xml2
19646 wine_fn_config_makefile libs/xslt enable_xslt
19647 wine_fn_config_makefile libs/zlib enable_zlib
19648 wine_fn_config_makefile loader enable_loader
19649 wine_fn_config_makefile nls enable_nls
19650 wine_fn_config_makefile po enable_po
19651 wine_fn_config_makefile programs/arp enable_arp
19652 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19653 wine_fn_config_makefile programs/attrib enable_attrib
19654 wine_fn_config_makefile programs/cabarc enable_cabarc
19655 wine_fn_config_makefile programs/cacls enable_cacls
19656 wine_fn_config_makefile programs/chcp.com enable_chcp_com
19657 wine_fn_config_makefile programs/clock enable_clock
19658 wine_fn_config_makefile programs/cmd enable_cmd
19659 wine_fn_config_makefile programs/cmd/tests enable_tests
19660 wine_fn_config_makefile programs/conhost enable_conhost
19661 wine_fn_config_makefile programs/conhost/tests enable_tests
19662 wine_fn_config_makefile programs/control enable_control
19663 wine_fn_config_makefile programs/cscript enable_cscript
19664 wine_fn_config_makefile programs/dism enable_dism
19665 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
19666 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19667 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
19668 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19669 wine_fn_config_makefile programs/eject enable_eject
19670 wine_fn_config_makefile programs/expand enable_expand
19671 wine_fn_config_makefile programs/explorer enable_explorer
19672 wine_fn_config_makefile programs/extrac32 enable_extrac32
19673 wine_fn_config_makefile programs/fc enable_fc
19674 wine_fn_config_makefile programs/find enable_find
19675 wine_fn_config_makefile programs/find/tests enable_tests
19676 wine_fn_config_makefile programs/findstr enable_findstr
19677 wine_fn_config_makefile programs/fsutil enable_fsutil
19678 wine_fn_config_makefile programs/fsutil/tests enable_tests
19679 wine_fn_config_makefile programs/hh enable_hh
19680 wine_fn_config_makefile programs/hostname enable_hostname
19681 wine_fn_config_makefile programs/icacls enable_icacls
19682 wine_fn_config_makefile programs/icinfo enable_icinfo
19683 wine_fn_config_makefile programs/iexplore enable_iexplore
19684 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19685 wine_fn_config_makefile programs/lodctr enable_lodctr
19686 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19687 wine_fn_config_makefile programs/mshta enable_mshta
19688 wine_fn_config_makefile programs/msidb enable_msidb
19689 wine_fn_config_makefile programs/msiexec enable_msiexec
19690 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19691 wine_fn_config_makefile programs/net enable_net
19692 wine_fn_config_makefile programs/netsh enable_netsh
19693 wine_fn_config_makefile programs/netstat enable_netstat
19694 wine_fn_config_makefile programs/ngen enable_ngen
19695 wine_fn_config_makefile programs/notepad enable_notepad
19696 wine_fn_config_makefile programs/oleview enable_oleview
19697 wine_fn_config_makefile programs/ping enable_ping
19698 wine_fn_config_makefile programs/plugplay enable_plugplay
19699 wine_fn_config_makefile programs/powershell enable_powershell
19700 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19701 wine_fn_config_makefile programs/progman enable_progman
19702 wine_fn_config_makefile programs/reg enable_reg
19703 wine_fn_config_makefile programs/reg/tests enable_tests
19704 wine_fn_config_makefile programs/regasm enable_regasm
19705 wine_fn_config_makefile programs/regedit enable_regedit
19706 wine_fn_config_makefile programs/regedit/tests enable_tests
19707 wine_fn_config_makefile programs/regini enable_regini
19708 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19709 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19710 wine_fn_config_makefile programs/robocopy enable_robocopy
19711 wine_fn_config_makefile programs/rpcss enable_rpcss
19712 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19713 wine_fn_config_makefile programs/rundll32 enable_rundll32
19714 wine_fn_config_makefile programs/sc enable_sc
19715 wine_fn_config_makefile programs/schtasks enable_schtasks
19716 wine_fn_config_makefile programs/schtasks/tests enable_tests
19717 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19718 wine_fn_config_makefile programs/secedit enable_secedit
19719 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19720 wine_fn_config_makefile programs/services enable_services
19721 wine_fn_config_makefile programs/services/tests enable_tests
19722 wine_fn_config_makefile programs/shutdown enable_shutdown
19723 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19724 wine_fn_config_makefile programs/start enable_start
19725 wine_fn_config_makefile programs/subst enable_subst
19726 wine_fn_config_makefile programs/svchost enable_svchost
19727 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19728 wine_fn_config_makefile programs/taskkill enable_taskkill
19729 wine_fn_config_makefile programs/tasklist enable_tasklist
19730 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19731 wine_fn_config_makefile programs/termsv enable_termsv
19732 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19733 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19734 wine_fn_config_makefile programs/view enable_view
19735 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19736 wine_fn_config_makefile programs/where enable_where
19737 wine_fn_config_makefile programs/whoami enable_whoami
19738 wine_fn_config_makefile programs/wineboot enable_wineboot
19739 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19740 wine_fn_config_makefile programs/winecfg enable_winecfg
19741 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19742 wine_fn_config_makefile programs/winedbg enable_winedbg
19743 wine_fn_config_makefile programs/winedevice enable_winedevice
19744 wine_fn_config_makefile programs/winefile enable_winefile
19745 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19746 wine_fn_config_makefile programs/winemine enable_winemine
19747 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19748 wine_fn_config_makefile programs/winepath enable_winepath
19749 wine_fn_config_makefile programs/winetest enable_winetest
19750 wine_fn_config_makefile programs/winevdm enable_win16
19751 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19752 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19753 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19754 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19755 wine_fn_config_makefile programs/winver enable_winver
19756 wine_fn_config_makefile programs/wmic enable_wmic
19757 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19758 wine_fn_config_makefile programs/wordpad enable_wordpad
19759 wine_fn_config_makefile programs/write enable_write
19760 wine_fn_config_makefile programs/wscript enable_wscript
19761 wine_fn_config_makefile programs/wscript/tests enable_tests
19762 wine_fn_config_makefile programs/wuauserv enable_wuauserv
19763 wine_fn_config_makefile programs/wusa enable_wusa
19764 wine_fn_config_makefile programs/xcopy enable_xcopy
19765 wine_fn_config_makefile programs/xcopy/tests enable_tests
19766 wine_fn_config_makefile server enable_server
19767 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19768 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19769 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19770 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19771 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19772 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19773 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19774 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19775 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19778 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19779 wine_fn_append_file CONFIGURE_TARGETS "tags"
19780 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19781 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19782 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19783 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19784 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19785 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19787 if test "x$enable_tools" != xno
19788 then
19789 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19790 ac_config_commands="$ac_config_commands tools/makedep"
19794 ac_config_commands="$ac_config_commands Makefile"
19798 SHELL=/bin/sh
19801 wine_fn_append_rule "all: wine
19802 @echo \"Wine build complete.\"
19803 .INIT: Makefile
19804 .MAKEFILEDEPS:
19805 all: Makefile
19806 Makefile: config.status \$(MAKEDEP)
19807 @./config.status Makefile
19808 depend: \$(MAKEDEP)
19809 \$(MAKEDEP)$makedep_flags"
19812 wine_fn_append_rule "config.status: ${wine_srcdir}configure
19813 @./config.status --recheck
19814 include/config.h: include/stamp-h
19815 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
19816 @./config.status include/config.h include/stamp-h"
19818 if test "x$enable_maintainer_mode" = xyes
19819 then
19820 wine_fn_append_rule "configure: configure.ac aclocal.m4
19821 autoconf --warnings=all
19822 include/config.h.in: include/stamp-h.in
19823 include/stamp-h.in: configure.ac aclocal.m4
19824 autoheader --warnings=all
19825 @echo timestamp > \$@"
19828 if test "x$enable_tools" != xno
19829 then
19830 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
19831 @./config.status tools/makedep
19832 Makefile: tools/makedep$ac_exeext"
19833 else
19834 wine_fn_append_rule "\$(MAKEDEP):
19835 @echo \"You need to run make in $toolsdir first\" && false"
19839 if test -n "$with_wine64"
19840 then
19841 case "$with_wine64" in
19842 /*) reldir="" ;;
19843 *) reldir="../" ;;
19844 esac
19845 rm -f fonts server 2>/dev/null
19846 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19847 loader/wine64 loader/wine64-preloader:
19848 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
19849 $with_wine64/loader/wine:
19850 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19851 $with_wine64/loader/wine-preloader:
19852 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19853 clean::
19854 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19855 else
19856 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
19857 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
19858 fonts \
19859 loader/wine.inf \
19860 nls \
19861 programs/msidb/msidb \
19862 programs/msiexec/msiexec \
19863 programs/notepad/notepad \
19864 programs/regedit/regedit \
19865 programs/regsvr32/regsvr32 \
19866 programs/wineboot/wineboot \
19867 programs/winecfg/winecfg \
19868 programs/wineconsole/wineconsole \
19869 programs/winedbg/winedbg \
19870 programs/winefile/winefile \
19871 programs/winemine/winemine \
19872 programs/winepath/winepath \
19873 server/wineserver"
19875 case $host_os in
19876 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19877 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
19878 esac
19882 wine_fn_append_rule "distclean:: clean
19883 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
19886 wine_fn_append_rule "install-manpages:: manpages
19887 for i in documentation/man\$(api_manext)/*.\$(api_manext); do ${wine_srcdir}tools/install-sh -m 644 \$(INSTALL_DATA_FLAGS) \$\$i \$(DESTDIR)\$(mandir)/\$\$i; done"
19890 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
19891 @version=\`(GIT_DIR=${wine_srcdir}.git git describe HEAD 2>/dev/null || echo \"wine-\$(PACKAGE_VERSION)\") | sed -n -e '\$\$s/\(.*\)/const char wine_build[] = \"\\1\";/p'\` && (echo \$\$version | cmp -s - \$@) || echo \$\$version >\$@ || (rm -f \$@ && exit 1)
19892 programs/winetest/build.rc: dummy
19893 @build=\"STRINGTABLE { 1 \\\"\`GIT_DIR=${wine_srcdir}.git git rev-parse HEAD 2>/dev/null\`\\\" }\" && (echo \$\$build | cmp -s - \$@) || echo \$\$build >\$@ || (rm -f \$@ && exit 1)
19894 programs/winetest/build.nfo:
19895 @-\$(CC) -v 2>\$@
19896 dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle ${wine_srcdir}dlls/wineandroid.drv/AndroidManifest.xml ${wine_srcdir}dlls/wineandroid.drv/WineActivity.java ${wine_srcdir}dlls/wineandroid.drv/wine.svg
19897 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
19898 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
19901 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
19903 wine_fn_append_rule "TAGS etags:
19904 rm -f TAGS
19905 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
19906 tags ctags:
19907 rm -f tags
19908 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
19909 dummy:
19910 .PHONY: depend dummy install-manpages"
19912 $as_echo " done" >&6
19913 cat >confcache <<\_ACEOF
19914 # This file is a shell script that caches the results of configure
19915 # tests run on this system so they can be shared between configure
19916 # scripts and configure runs, see configure's option --config-cache.
19917 # It is not useful on other systems. If it contains results you don't
19918 # want to keep, you may remove or edit it.
19920 # config.status only pays attention to the cache file if you give it
19921 # the --recheck option to rerun configure.
19923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19925 # following values.
19927 _ACEOF
19929 # The following way of writing the cache mishandles newlines in values,
19930 # but we know of no workaround that is simple, portable, and efficient.
19931 # So, we kill variables containing newlines.
19932 # Ultrix sh set writes to stderr and can't be redirected directly,
19933 # and sets the high bit in the cache file unless we assign to the vars.
19935 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19936 eval ac_val=\$$ac_var
19937 case $ac_val in #(
19938 *${as_nl}*)
19939 case $ac_var in #(
19940 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19941 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19942 esac
19943 case $ac_var in #(
19944 _ | IFS | as_nl) ;; #(
19945 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19946 *) { eval $ac_var=; unset $ac_var;} ;;
19947 esac ;;
19948 esac
19949 done
19951 (set) 2>&1 |
19952 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19953 *${as_nl}ac_space=\ *)
19954 # `set' does not quote correctly, so add quotes: double-quote
19955 # substitution turns \\\\ into \\, and sed turns \\ into \.
19956 sed -n \
19957 "s/'/'\\\\''/g;
19958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19959 ;; #(
19961 # `set' quotes correctly as required by POSIX, so do not add quotes.
19962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19964 esac |
19965 sort
19967 sed '
19968 /^ac_cv_env_/b end
19969 t clear
19970 :clear
19971 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19972 t end
19973 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19974 :end' >>confcache
19975 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19976 if test -w "$cache_file"; then
19977 if test "x$cache_file" != "x/dev/null"; then
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19979 $as_echo "$as_me: updating cache $cache_file" >&6;}
19980 if test ! -f "$cache_file" || test -h "$cache_file"; then
19981 cat confcache >"$cache_file"
19982 else
19983 case $cache_file in #(
19984 */* | ?:*)
19985 mv -f confcache "$cache_file"$$ &&
19986 mv -f "$cache_file"$$ "$cache_file" ;; #(
19988 mv -f confcache "$cache_file" ;;
19989 esac
19992 else
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19994 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19997 rm -f confcache
19999 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20000 # Let make expand exec_prefix.
20001 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20003 DEFS=-DHAVE_CONFIG_H
20005 ac_libobjs=
20006 ac_ltlibobjs=
20008 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20009 # 1. Remove the extension, and $U if already installed.
20010 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20011 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20012 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20013 # will be set to the directory where LIBOBJS objects are built.
20014 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20015 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20016 done
20017 LIBOBJS=$ac_libobjs
20019 LTLIBOBJS=$ac_ltlibobjs
20023 : "${CONFIG_STATUS=./config.status}"
20024 ac_write_fail=0
20025 ac_clean_files_save=$ac_clean_files
20026 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20028 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20029 as_write_fail=0
20030 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20031 #! $SHELL
20032 # Generated by $as_me.
20033 # Run this file to recreate the current configuration.
20034 # Compiler output produced by configure, useful for debugging
20035 # configure, is in config.log if it exists.
20037 debug=false
20038 ac_cs_recheck=false
20039 ac_cs_silent=false
20041 SHELL=\${CONFIG_SHELL-$SHELL}
20042 export SHELL
20043 _ASEOF
20044 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20045 ## -------------------- ##
20046 ## M4sh Initialization. ##
20047 ## -------------------- ##
20049 # Be more Bourne compatible
20050 DUALCASE=1; export DUALCASE # for MKS sh
20051 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20052 emulate sh
20053 NULLCMD=:
20054 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20055 # is contrary to our usage. Disable this feature.
20056 alias -g '${1+"$@"}'='"$@"'
20057 setopt NO_GLOB_SUBST
20058 else
20059 case `(set -o) 2>/dev/null` in #(
20060 *posix*) :
20061 set -o posix ;; #(
20062 *) :
20064 esac
20068 as_nl='
20070 export as_nl
20071 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20072 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20073 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20074 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20075 # Prefer a ksh shell builtin over an external printf program on Solaris,
20076 # but without wasting forks for bash or zsh.
20077 if test -z "$BASH_VERSION$ZSH_VERSION" \
20078 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20079 as_echo='print -r --'
20080 as_echo_n='print -rn --'
20081 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20082 as_echo='printf %s\n'
20083 as_echo_n='printf %s'
20084 else
20085 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20086 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20087 as_echo_n='/usr/ucb/echo -n'
20088 else
20089 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20090 as_echo_n_body='eval
20091 arg=$1;
20092 case $arg in #(
20093 *"$as_nl"*)
20094 expr "X$arg" : "X\\(.*\\)$as_nl";
20095 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20096 esac;
20097 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20099 export as_echo_n_body
20100 as_echo_n='sh -c $as_echo_n_body as_echo'
20102 export as_echo_body
20103 as_echo='sh -c $as_echo_body as_echo'
20106 # The user is always right.
20107 if test "${PATH_SEPARATOR+set}" != set; then
20108 PATH_SEPARATOR=:
20109 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20110 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20111 PATH_SEPARATOR=';'
20116 # IFS
20117 # We need space, tab and new line, in precisely that order. Quoting is
20118 # there to prevent editors from complaining about space-tab.
20119 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20120 # splitting by setting IFS to empty value.)
20121 IFS=" "" $as_nl"
20123 # Find who we are. Look in the path if we contain no directory separator.
20124 as_myself=
20125 case $0 in #((
20126 *[\\/]* ) as_myself=$0 ;;
20127 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20128 for as_dir in $PATH
20130 IFS=$as_save_IFS
20131 test -z "$as_dir" && as_dir=.
20132 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20133 done
20134 IFS=$as_save_IFS
20137 esac
20138 # We did not find ourselves, most probably we were run as `sh COMMAND'
20139 # in which case we are not to be found in the path.
20140 if test "x$as_myself" = x; then
20141 as_myself=$0
20143 if test ! -f "$as_myself"; then
20144 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20145 exit 1
20148 # Unset variables that we do not need and which cause bugs (e.g. in
20149 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20150 # suppresses any "Segmentation fault" message there. '((' could
20151 # trigger a bug in pdksh 5.2.14.
20152 for as_var in BASH_ENV ENV MAIL MAILPATH
20153 do eval test x\${$as_var+set} = xset \
20154 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20155 done
20156 PS1='$ '
20157 PS2='> '
20158 PS4='+ '
20160 # NLS nuisances.
20161 LC_ALL=C
20162 export LC_ALL
20163 LANGUAGE=C
20164 export LANGUAGE
20166 # CDPATH.
20167 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20170 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20171 # ----------------------------------------
20172 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20173 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20174 # script with STATUS, using 1 if that was 0.
20175 as_fn_error ()
20177 as_status=$1; test $as_status -eq 0 && as_status=1
20178 if test "$4"; then
20179 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20180 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20182 $as_echo "$as_me: error: $2" >&2
20183 as_fn_exit $as_status
20184 } # as_fn_error
20187 # as_fn_set_status STATUS
20188 # -----------------------
20189 # Set $? to STATUS, without forking.
20190 as_fn_set_status ()
20192 return $1
20193 } # as_fn_set_status
20195 # as_fn_exit STATUS
20196 # -----------------
20197 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20198 as_fn_exit ()
20200 set +e
20201 as_fn_set_status $1
20202 exit $1
20203 } # as_fn_exit
20205 # as_fn_unset VAR
20206 # ---------------
20207 # Portably unset VAR.
20208 as_fn_unset ()
20210 { eval $1=; unset $1;}
20212 as_unset=as_fn_unset
20213 # as_fn_append VAR VALUE
20214 # ----------------------
20215 # Append the text in VALUE to the end of the definition contained in VAR. Take
20216 # advantage of any shell optimizations that allow amortized linear growth over
20217 # repeated appends, instead of the typical quadratic growth present in naive
20218 # implementations.
20219 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20220 eval 'as_fn_append ()
20222 eval $1+=\$2
20224 else
20225 as_fn_append ()
20227 eval $1=\$$1\$2
20229 fi # as_fn_append
20231 # as_fn_arith ARG...
20232 # ------------------
20233 # Perform arithmetic evaluation on the ARGs, and store the result in the
20234 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20235 # must be portable across $(()) and expr.
20236 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20237 eval 'as_fn_arith ()
20239 as_val=$(( $* ))
20241 else
20242 as_fn_arith ()
20244 as_val=`expr "$@" || test $? -eq 1`
20246 fi # as_fn_arith
20249 if expr a : '\(a\)' >/dev/null 2>&1 &&
20250 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20251 as_expr=expr
20252 else
20253 as_expr=false
20256 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20257 as_basename=basename
20258 else
20259 as_basename=false
20262 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20263 as_dirname=dirname
20264 else
20265 as_dirname=false
20268 as_me=`$as_basename -- "$0" ||
20269 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20270 X"$0" : 'X\(//\)$' \| \
20271 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20272 $as_echo X/"$0" |
20273 sed '/^.*\/\([^/][^/]*\)\/*$/{
20274 s//\1/
20277 /^X\/\(\/\/\)$/{
20278 s//\1/
20281 /^X\/\(\/\).*/{
20282 s//\1/
20285 s/.*/./; q'`
20287 # Avoid depending upon Character Ranges.
20288 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20289 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20290 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20291 as_cr_digits='0123456789'
20292 as_cr_alnum=$as_cr_Letters$as_cr_digits
20294 ECHO_C= ECHO_N= ECHO_T=
20295 case `echo -n x` in #(((((
20296 -n*)
20297 case `echo 'xy\c'` in
20298 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20299 xy) ECHO_C='\c';;
20300 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20301 ECHO_T=' ';;
20302 esac;;
20304 ECHO_N='-n';;
20305 esac
20307 rm -f conf$$ conf$$.exe conf$$.file
20308 if test -d conf$$.dir; then
20309 rm -f conf$$.dir/conf$$.file
20310 else
20311 rm -f conf$$.dir
20312 mkdir conf$$.dir 2>/dev/null
20314 if (echo >conf$$.file) 2>/dev/null; then
20315 if ln -s conf$$.file conf$$ 2>/dev/null; then
20316 as_ln_s='ln -s'
20317 # ... but there are two gotchas:
20318 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20319 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20320 # In both cases, we have to default to `cp -pR'.
20321 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20322 as_ln_s='cp -pR'
20323 elif ln conf$$.file conf$$ 2>/dev/null; then
20324 as_ln_s=ln
20325 else
20326 as_ln_s='cp -pR'
20328 else
20329 as_ln_s='cp -pR'
20331 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20332 rmdir conf$$.dir 2>/dev/null
20335 # as_fn_mkdir_p
20336 # -------------
20337 # Create "$as_dir" as a directory, including parents if necessary.
20338 as_fn_mkdir_p ()
20341 case $as_dir in #(
20342 -*) as_dir=./$as_dir;;
20343 esac
20344 test -d "$as_dir" || eval $as_mkdir_p || {
20345 as_dirs=
20346 while :; do
20347 case $as_dir in #(
20348 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20349 *) as_qdir=$as_dir;;
20350 esac
20351 as_dirs="'$as_qdir' $as_dirs"
20352 as_dir=`$as_dirname -- "$as_dir" ||
20353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20354 X"$as_dir" : 'X\(//\)[^/]' \| \
20355 X"$as_dir" : 'X\(//\)$' \| \
20356 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20357 $as_echo X"$as_dir" |
20358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20359 s//\1/
20362 /^X\(\/\/\)[^/].*/{
20363 s//\1/
20366 /^X\(\/\/\)$/{
20367 s//\1/
20370 /^X\(\/\).*/{
20371 s//\1/
20374 s/.*/./; q'`
20375 test -d "$as_dir" && break
20376 done
20377 test -z "$as_dirs" || eval "mkdir $as_dirs"
20378 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20381 } # as_fn_mkdir_p
20382 if mkdir -p . 2>/dev/null; then
20383 as_mkdir_p='mkdir -p "$as_dir"'
20384 else
20385 test -d ./-p && rmdir ./-p
20386 as_mkdir_p=false
20390 # as_fn_executable_p FILE
20391 # -----------------------
20392 # Test if FILE is an executable regular file.
20393 as_fn_executable_p ()
20395 test -f "$1" && test -x "$1"
20396 } # as_fn_executable_p
20397 as_test_x='test -x'
20398 as_executable_p=as_fn_executable_p
20400 # Sed expression to map a string onto a valid CPP name.
20401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20403 # Sed expression to map a string onto a valid variable name.
20404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20407 exec 6>&1
20408 ## ----------------------------------- ##
20409 ## Main body of $CONFIG_STATUS script. ##
20410 ## ----------------------------------- ##
20411 _ASEOF
20412 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20415 # Save the log message, to keep $0 and so on meaningful, and to
20416 # report actual input values of CONFIG_FILES etc. instead of their
20417 # values after options handling.
20418 ac_log="
20419 This file was extended by Wine $as_me 6.21, which was
20420 generated by GNU Autoconf 2.69. Invocation command line was
20422 CONFIG_FILES = $CONFIG_FILES
20423 CONFIG_HEADERS = $CONFIG_HEADERS
20424 CONFIG_LINKS = $CONFIG_LINKS
20425 CONFIG_COMMANDS = $CONFIG_COMMANDS
20426 $ $0 $@
20428 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20431 _ACEOF
20434 case $ac_config_headers in *"
20435 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20436 esac
20439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20440 # Files that config.status was made for.
20441 config_headers="$ac_config_headers"
20442 config_links="$ac_config_links"
20443 config_commands="$ac_config_commands"
20445 _ACEOF
20447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20448 ac_cs_usage="\
20449 \`$as_me' instantiates files and other configuration actions
20450 from templates according to the current configuration. Unless the files
20451 and actions are specified as TAGs, all are instantiated by default.
20453 Usage: $0 [OPTION]... [TAG]...
20455 -h, --help print this help, then exit
20456 -V, --version print version number and configuration settings, then exit
20457 --config print configuration, then exit
20458 -q, --quiet, --silent
20459 do not print progress messages
20460 -d, --debug don't remove temporary files
20461 --recheck update $as_me by reconfiguring in the same conditions
20462 --header=FILE[:TEMPLATE]
20463 instantiate the configuration header FILE
20465 Configuration headers:
20466 $config_headers
20468 Configuration links:
20469 $config_links
20471 Configuration commands:
20472 $config_commands
20474 Report bugs to <wine-devel@winehq.org>.
20475 Wine home page: <https://www.winehq.org>."
20477 _ACEOF
20478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20479 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20480 ac_cs_version="\\
20481 Wine config.status 6.21
20482 configured by $0, generated by GNU Autoconf 2.69,
20483 with options \\"\$ac_cs_config\\"
20485 Copyright (C) 2012 Free Software Foundation, Inc.
20486 This config.status script is free software; the Free Software Foundation
20487 gives unlimited permission to copy, distribute and modify it."
20489 ac_pwd='$ac_pwd'
20490 srcdir='$srcdir'
20491 test -n "\$AWK" || AWK=awk
20492 _ACEOF
20494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20495 # The default lists apply if the user does not specify any file.
20496 ac_need_defaults=:
20497 while test $# != 0
20499 case $1 in
20500 --*=?*)
20501 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20502 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20503 ac_shift=:
20505 --*=)
20506 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20507 ac_optarg=
20508 ac_shift=:
20511 ac_option=$1
20512 ac_optarg=$2
20513 ac_shift=shift
20515 esac
20517 case $ac_option in
20518 # Handling of the options.
20519 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20520 ac_cs_recheck=: ;;
20521 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20522 $as_echo "$ac_cs_version"; exit ;;
20523 --config | --confi | --conf | --con | --co | --c )
20524 $as_echo "$ac_cs_config"; exit ;;
20525 --debug | --debu | --deb | --de | --d | -d )
20526 debug=: ;;
20527 --header | --heade | --head | --hea )
20528 $ac_shift
20529 case $ac_optarg in
20530 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20531 esac
20532 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20533 ac_need_defaults=false;;
20534 --he | --h)
20535 # Conflict between --help and --header
20536 as_fn_error $? "ambiguous option: \`$1'
20537 Try \`$0 --help' for more information.";;
20538 --help | --hel | -h )
20539 $as_echo "$ac_cs_usage"; exit ;;
20540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20541 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20542 ac_cs_silent=: ;;
20544 # This is an error.
20545 -*) as_fn_error $? "unrecognized option: \`$1'
20546 Try \`$0 --help' for more information." ;;
20548 *) as_fn_append ac_config_targets " $1"
20549 ac_need_defaults=false ;;
20551 esac
20552 shift
20553 done
20555 ac_configure_extra_args=
20557 if $ac_cs_silent; then
20558 exec 6>/dev/null
20559 ac_configure_extra_args="$ac_configure_extra_args --silent"
20562 _ACEOF
20563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20564 if \$ac_cs_recheck; then
20565 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20566 shift
20567 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20568 CONFIG_SHELL='$SHELL'
20569 export CONFIG_SHELL
20570 exec "\$@"
20573 _ACEOF
20574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20575 exec 5>>config.log
20577 echo
20578 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20579 ## Running $as_me. ##
20580 _ASBOX
20581 $as_echo "$ac_log"
20582 } >&5
20584 _ACEOF
20585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20587 # INIT-COMMANDS
20589 wine_fn_output_makedep ()
20591 as_dir=tools; as_fn_mkdir_p
20592 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
20594 wine_fn_output_makefile ()
20596 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
20597 # This Makefile understands the following targets:
20599 # all (default): build wine
20600 # clean: remove all intermediate files
20601 # distclean: also remove all files created by configure
20602 # test: run tests
20603 # testclean: clean test results to force running all tests again
20604 # install-lib: install libraries needed to run applications
20605 # install-dev: install development environment
20606 # install: install everything
20607 # uninstall: uninstall everything
20608 # ctags: create a tags file for vim and others.
20609 # etags: create a TAGS file for Emacs.
20610 # manpages: compile manpages for Wine API
20611 # htmlpages: compile html pages for Wine API
20612 # sgmlpages: compile sgml source for the Wine API Guide
20613 # xmlpages: compile xml source for the Wine API Guide
20615 SHELL = $SHELL
20616 PATH_SEPARATOR = $PATH_SEPARATOR
20617 PACKAGE_NAME = $PACKAGE_NAME
20618 PACKAGE_TARNAME = $PACKAGE_TARNAME
20619 PACKAGE_VERSION = $PACKAGE_VERSION
20620 PACKAGE_STRING = $PACKAGE_STRING
20621 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
20622 PACKAGE_URL = $PACKAGE_URL
20623 exec_prefix = $exec_prefix
20624 prefix = $prefix
20625 program_transform_name = $program_transform_name
20626 bindir = $bindir
20627 sbindir = $sbindir
20628 libexecdir = $libexecdir
20629 datarootdir = $datarootdir
20630 datadir = $datadir
20631 sysconfdir = $sysconfdir
20632 sharedstatedir = $sharedstatedir
20633 localstatedir = $localstatedir
20634 runstatedir = $runstatedir
20635 includedir = $includedir
20636 oldincludedir = $oldincludedir
20637 docdir = $docdir
20638 infodir = $infodir
20639 htmldir = $htmldir
20640 dvidir = $dvidir
20641 pdfdir = $pdfdir
20642 psdir = $psdir
20643 libdir = $libdir
20644 localedir = $localedir
20645 mandir = $mandir
20646 DEFS = $DEFS
20647 ECHO_C = $ECHO_C
20648 ECHO_N = $ECHO_N
20649 ECHO_T = $ECHO_T
20650 LIBS = $LIBS
20651 build_alias = $build_alias
20652 host_alias = $host_alias
20653 target_alias = $target_alias
20654 build = $build
20655 build_cpu = $build_cpu
20656 build_vendor = $build_vendor
20657 build_os = $build_os
20658 host = $host
20659 host_cpu = $host_cpu
20660 host_vendor = $host_vendor
20661 host_os = $host_os
20662 dlldir = $dlldir
20663 fontdir = $fontdir
20664 nlsdir = $nlsdir
20665 srcdir = $srcdir
20666 SET_MAKE = $SET_MAKE
20667 CC = $CC
20668 CFLAGS = $CFLAGS
20669 LDFLAGS = $LDFLAGS
20670 CPPFLAGS = $CPPFLAGS
20671 ac_ct_CC = $ac_ct_CC
20672 EXEEXT = $EXEEXT
20673 OBJEXT = $OBJEXT
20674 CXX = $CXX
20675 CXXFLAGS = $CXXFLAGS
20676 ac_ct_CXX = $ac_ct_CXX
20677 CPPBIN = $CPPBIN
20678 LD = $LD
20679 TARGETFLAGS = $TARGETFLAGS
20680 toolsext = $toolsext
20681 toolsdir = $toolsdir
20682 MAKEDEP = $MAKEDEP
20683 RUNTESTFLAGS = $RUNTESTFLAGS
20684 SED_CMD = $SED_CMD
20685 api_manext = $api_manext
20686 FLEX = $FLEX
20687 BISON = $BISON
20688 AR = $AR
20689 ac_ct_AR = $ac_ct_AR
20690 STRIP = $STRIP
20691 RANLIB = $RANLIB
20692 LN_S = $LN_S
20693 GREP = $GREP
20694 EGREP = $EGREP
20695 LDCONFIG = $LDCONFIG
20696 MSGFMT = $MSGFMT
20697 PKG_CONFIG = $PKG_CONFIG
20698 FONTFORGE = $FONTFORGE
20699 RSVG = $RSVG
20700 CONVERT = $CONVERT
20701 ICOTOOL = $ICOTOOL
20702 I386_LIBS = $I386_LIBS
20703 OPENGL_LIBS = $OPENGL_LIBS
20704 CPP = $CPP
20705 DLLFLAGS = $DLLFLAGS
20706 LDDLLFLAGS = $LDDLLFLAGS
20707 LDEXECFLAGS = $LDEXECFLAGS
20708 EXTRACFLAGS = $EXTRACFLAGS
20709 UNIXDLLFLAGS = $UNIXDLLFLAGS
20710 UNIXLDFLAGS = $UNIXLDFLAGS
20711 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
20712 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
20713 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
20714 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
20715 LDD = $LDD
20716 OTOOL = $OTOOL
20717 READELF = $READELF
20718 SUBDIRS = $SUBDIRS
20719 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
20720 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
20721 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
20722 DLLTOOL = $DLLTOOL
20723 OBJC = $OBJC
20724 OBJCFLAGS = $OBJCFLAGS
20725 ac_ct_OBJC = $ac_ct_OBJC
20726 OBJCPP = $OBJCPP
20727 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20728 IOKIT_LIBS = $IOKIT_LIBS
20729 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20730 CORESERVICES_LIBS = $CORESERVICES_LIBS
20731 APPKIT_LIBS = $APPKIT_LIBS
20732 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20733 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20734 SECURITY_LIBS = $SECURITY_LIBS
20735 COREAUDIO_LIBS = $COREAUDIO_LIBS
20736 OPENAL_LIBS = $OPENAL_LIBS
20737 OPENCL_LIBS = $OPENCL_LIBS
20738 QUICKTIME_LIBS = $QUICKTIME_LIBS
20739 CARBON_LIBS = $CARBON_LIBS
20740 METAL_LIBS = $METAL_LIBS
20741 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
20742 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
20743 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
20744 PRELINK = $PRELINK
20745 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
20746 CROSSTARGET = $CROSSTARGET
20747 CROSSCC = $CROSSCC
20748 CROSSCFLAGS = $CROSSCFLAGS
20749 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
20750 CROSSLDFLAGS = $CROSSLDFLAGS
20751 DELAYLOADFLAG = $DELAYLOADFLAG
20752 CROSSDEBUG = $CROSSDEBUG
20753 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20754 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
20755 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
20756 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
20757 GSM_PE_LIBS = $GSM_PE_LIBS
20758 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
20759 JPEG_PE_LIBS = $JPEG_PE_LIBS
20760 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
20761 JXR_PE_LIBS = $JXR_PE_LIBS
20762 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
20763 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
20764 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
20765 MPG123_PE_LIBS = $MPG123_PE_LIBS
20766 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
20767 PNG_PE_LIBS = $PNG_PE_LIBS
20768 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
20769 TIFF_PE_LIBS = $TIFF_PE_LIBS
20770 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
20771 XML2_PE_LIBS = $XML2_PE_LIBS
20772 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
20773 XSLT_PE_LIBS = $XSLT_PE_LIBS
20774 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
20775 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
20776 PTHREAD_LIBS = $PTHREAD_LIBS
20777 XMKMF = $XMKMF
20778 X_CFLAGS = $X_CFLAGS
20779 X_PRE_LIBS = $X_PRE_LIBS
20780 X_LIBS = $X_LIBS
20781 X_EXTRA_LIBS = $X_EXTRA_LIBS
20782 PCAP_LIBS = $PCAP_LIBS
20783 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20784 INOTIFY_LIBS = $INOTIFY_LIBS
20785 DBUS_CFLAGS = $DBUS_CFLAGS
20786 DBUS_LIBS = $DBUS_LIBS
20787 HAL_CFLAGS = $HAL_CFLAGS
20788 HAL_LIBS = $HAL_LIBS
20789 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20790 GNUTLS_LIBS = $GNUTLS_LIBS
20791 SANE_CFLAGS = $SANE_CFLAGS
20792 SANE_LIBS = $SANE_LIBS
20793 USB_CFLAGS = $USB_CFLAGS
20794 USB_LIBS = $USB_LIBS
20795 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20796 GPHOTO2_LIBS = $GPHOTO2_LIBS
20797 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20798 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20799 RESOLV_LIBS = $RESOLV_LIBS
20800 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20801 FREETYPE_LIBS = $FREETYPE_LIBS
20802 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20803 PULSE_CFLAGS = $PULSE_CFLAGS
20804 PULSE_LIBS = $PULSE_LIBS
20805 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20806 GSTREAMER_LIBS = $GSTREAMER_LIBS
20807 ALSA_LIBS = $ALSA_LIBS
20808 OSS4_CFLAGS = $OSS4_CFLAGS
20809 OSS4_LIBS = $OSS4_LIBS
20810 UDEV_CFLAGS = $UDEV_CFLAGS
20811 UDEV_LIBS = $UDEV_LIBS
20812 UNWIND_CFLAGS = $UNWIND_CFLAGS
20813 UNWIND_LIBS = $UNWIND_LIBS
20814 SDL2_CFLAGS = $SDL2_CFLAGS
20815 SDL2_LIBS = $SDL2_LIBS
20816 CAPI20_CFLAGS = $CAPI20_CFLAGS
20817 CAPI20_LIBS = $CAPI20_LIBS
20818 CUPS_CFLAGS = $CUPS_CFLAGS
20819 CUPS_LIBS = $CUPS_LIBS
20820 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20821 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20822 KRB5_CFLAGS = $KRB5_CFLAGS
20823 KRB5_LIBS = $KRB5_LIBS
20824 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20825 GSSAPI_LIBS = $GSSAPI_LIBS
20826 PROCSTAT_LIBS = $PROCSTAT_LIBS
20827 NETAPI_CFLAGS = $NETAPI_CFLAGS
20828 NETAPI_LIBS = $NETAPI_LIBS
20829 VKD3D_CFLAGS = $VKD3D_CFLAGS
20830 VKD3D_LIBS = $VKD3D_LIBS
20831 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20832 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20833 MSVCRTFLAGS = $MSVCRTFLAGS
20834 RT_LIBS = $RT_LIBS
20835 LDAP_CFLAGS = $LDAP_CFLAGS
20836 LDAP_LIBS = $LDAP_LIBS
20837 TAGSFLAGS = $TAGSFLAGS
20838 LIBOBJS = $LIBOBJS
20839 LTLIBOBJS = $LTLIBOBJS
20840 $SET_MAKE
20841 $wine_rules
20842 _WINE_EOF
20843 as_fn_error $? "could not create Makefile" "$LINENO" 5
20846 _ACEOF
20848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20850 # Handling of arguments.
20851 for ac_config_target in $ac_config_targets
20853 case $ac_config_target in
20854 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20855 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20856 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20857 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20858 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20859 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20861 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20862 esac
20863 done
20866 # If the user did not use the arguments to specify the items to instantiate,
20867 # then the envvar interface is used. Set only those that are not.
20868 # We use the long form for the default assignment because of an extremely
20869 # bizarre bug on SunOS 4.1.3.
20870 if $ac_need_defaults; then
20871 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20872 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20873 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20876 # Have a temporary directory for convenience. Make it in the build tree
20877 # simply because there is no reason against having it here, and in addition,
20878 # creating and moving files from /tmp can sometimes cause problems.
20879 # Hook for its removal unless debugging.
20880 # Note that there is a small window in which the directory will not be cleaned:
20881 # after its creation but before its name has been assigned to `$tmp'.
20882 $debug ||
20884 tmp= ac_tmp=
20885 trap 'exit_status=$?
20886 : "${ac_tmp:=$tmp}"
20887 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20889 trap 'as_fn_exit 1' 1 2 13 15
20891 # Create a (secure) tmp directory for tmp files.
20894 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20895 test -d "$tmp"
20896 } ||
20898 tmp=./conf$$-$RANDOM
20899 (umask 077 && mkdir "$tmp")
20900 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20901 ac_tmp=$tmp
20903 # Set up the scripts for CONFIG_HEADERS section.
20904 # No need to generate them if there are no CONFIG_HEADERS.
20905 # This happens for instance with `./config.status Makefile'.
20906 if test -n "$CONFIG_HEADERS"; then
20907 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20908 BEGIN {
20909 _ACEOF
20911 # Transform confdefs.h into an awk script `defines.awk', embedded as
20912 # here-document in config.status, that substitutes the proper values into
20913 # config.h.in to produce config.h.
20915 # Create a delimiter string that does not exist in confdefs.h, to ease
20916 # handling of long lines.
20917 ac_delim='%!_!# '
20918 for ac_last_try in false false :; do
20919 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20920 if test -z "$ac_tt"; then
20921 break
20922 elif $ac_last_try; then
20923 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20924 else
20925 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20927 done
20929 # For the awk script, D is an array of macro values keyed by name,
20930 # likewise P contains macro parameters if any. Preserve backslash
20931 # newline sequences.
20933 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20934 sed -n '
20935 s/.\{148\}/&'"$ac_delim"'/g
20936 t rset
20937 :rset
20938 s/^[ ]*#[ ]*define[ ][ ]*/ /
20939 t def
20941 :def
20942 s/\\$//
20943 t bsnl
20944 s/["\\]/\\&/g
20945 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20946 D["\1"]=" \3"/p
20947 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20949 :bsnl
20950 s/["\\]/\\&/g
20951 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20952 D["\1"]=" \3\\\\\\n"\\/p
20953 t cont
20954 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20955 t cont
20957 :cont
20959 s/.\{148\}/&'"$ac_delim"'/g
20960 t clear
20961 :clear
20962 s/\\$//
20963 t bsnlc
20964 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20966 :bsnlc
20967 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20968 b cont
20969 ' <confdefs.h | sed '
20970 s/'"$ac_delim"'/"\\\
20971 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20974 for (key in D) D_is_set[key] = 1
20975 FS = "\a"
20977 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20978 line = \$ 0
20979 split(line, arg, " ")
20980 if (arg[1] == "#") {
20981 defundef = arg[2]
20982 mac1 = arg[3]
20983 } else {
20984 defundef = substr(arg[1], 2)
20985 mac1 = arg[2]
20987 split(mac1, mac2, "(") #)
20988 macro = mac2[1]
20989 prefix = substr(line, 1, index(line, defundef) - 1)
20990 if (D_is_set[macro]) {
20991 # Preserve the white space surrounding the "#".
20992 print prefix "define", macro P[macro] D[macro]
20993 next
20994 } else {
20995 # Replace #undef with comments. This is necessary, for example,
20996 # in the case of _POSIX_SOURCE, which is predefined and required
20997 # on some systems where configure will not decide to define it.
20998 if (defundef == "undef") {
20999 print "/*", prefix defundef, macro, "*/"
21000 next
21004 { print }
21005 _ACAWK
21006 _ACEOF
21007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21008 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21009 fi # test -n "$CONFIG_HEADERS"
21012 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21013 shift
21014 for ac_tag
21016 case $ac_tag in
21017 :[FHLC]) ac_mode=$ac_tag; continue;;
21018 esac
21019 case $ac_mode$ac_tag in
21020 :[FHL]*:*);;
21021 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21022 :[FH]-) ac_tag=-:-;;
21023 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21024 esac
21025 ac_save_IFS=$IFS
21026 IFS=:
21027 set x $ac_tag
21028 IFS=$ac_save_IFS
21029 shift
21030 ac_file=$1
21031 shift
21033 case $ac_mode in
21034 :L) ac_source=$1;;
21035 :[FH])
21036 ac_file_inputs=
21037 for ac_f
21039 case $ac_f in
21040 -) ac_f="$ac_tmp/stdin";;
21041 *) # Look for the file first in the build tree, then in the source tree
21042 # (if the path is not absolute). The absolute path cannot be DOS-style,
21043 # because $ac_f cannot contain `:'.
21044 test -f "$ac_f" ||
21045 case $ac_f in
21046 [\\/$]*) false;;
21047 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21048 esac ||
21049 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21050 esac
21051 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21052 as_fn_append ac_file_inputs " '$ac_f'"
21053 done
21055 # Let's still pretend it is `configure' which instantiates (i.e., don't
21056 # use $as_me), people would be surprised to read:
21057 # /* config.h. Generated by config.status. */
21058 configure_input='Generated from '`
21059 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21060 `' by configure.'
21061 if test x"$ac_file" != x-; then
21062 configure_input="$ac_file. $configure_input"
21063 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21064 $as_echo "$as_me: creating $ac_file" >&6;}
21066 # Neutralize special characters interpreted by sed in replacement strings.
21067 case $configure_input in #(
21068 *\&* | *\|* | *\\* )
21069 ac_sed_conf_input=`$as_echo "$configure_input" |
21070 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21071 *) ac_sed_conf_input=$configure_input;;
21072 esac
21074 case $ac_tag in
21075 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21076 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21077 esac
21079 esac
21081 ac_dir=`$as_dirname -- "$ac_file" ||
21082 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21083 X"$ac_file" : 'X\(//\)[^/]' \| \
21084 X"$ac_file" : 'X\(//\)$' \| \
21085 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21086 $as_echo X"$ac_file" |
21087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21088 s//\1/
21091 /^X\(\/\/\)[^/].*/{
21092 s//\1/
21095 /^X\(\/\/\)$/{
21096 s//\1/
21099 /^X\(\/\).*/{
21100 s//\1/
21103 s/.*/./; q'`
21104 as_dir="$ac_dir"; as_fn_mkdir_p
21105 ac_builddir=.
21107 case "$ac_dir" in
21108 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21110 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21111 # A ".." for each directory in $ac_dir_suffix.
21112 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21113 case $ac_top_builddir_sub in
21114 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21115 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21116 esac ;;
21117 esac
21118 ac_abs_top_builddir=$ac_pwd
21119 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21120 # for backward compatibility:
21121 ac_top_builddir=$ac_top_build_prefix
21123 case $srcdir in
21124 .) # We are building in place.
21125 ac_srcdir=.
21126 ac_top_srcdir=$ac_top_builddir_sub
21127 ac_abs_top_srcdir=$ac_pwd ;;
21128 [\\/]* | ?:[\\/]* ) # Absolute name.
21129 ac_srcdir=$srcdir$ac_dir_suffix;
21130 ac_top_srcdir=$srcdir
21131 ac_abs_top_srcdir=$srcdir ;;
21132 *) # Relative name.
21133 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21134 ac_top_srcdir=$ac_top_build_prefix$srcdir
21135 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21136 esac
21137 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21140 case $ac_mode in
21144 # CONFIG_HEADER
21146 if test x"$ac_file" != x-; then
21148 $as_echo "/* $configure_input */" \
21149 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21150 } >"$ac_tmp/config.h" \
21151 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21152 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21154 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21155 else
21156 rm -f "$ac_file"
21157 mv "$ac_tmp/config.h" "$ac_file" \
21158 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21160 else
21161 $as_echo "/* $configure_input */" \
21162 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21163 || as_fn_error $? "could not create -" "$LINENO" 5
21168 # CONFIG_LINK
21171 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21173 else
21174 # Prefer the file from the source tree if names are identical.
21175 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21176 ac_source=$srcdir/$ac_source
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21180 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21182 if test ! -r "$ac_source"; then
21183 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21185 rm -f "$ac_file"
21187 # Try a relative symlink, then a hard link, then a copy.
21188 case $ac_source in
21189 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21190 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21191 esac
21192 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21193 ln "$ac_source" "$ac_file" 2>/dev/null ||
21194 cp -p "$ac_source" "$ac_file" ||
21195 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21198 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21199 $as_echo "$as_me: executing $ac_file commands" >&6;}
21201 esac
21204 case $ac_file$ac_mode in
21205 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21206 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21207 "Makefile":C) wine_fn_output_makefile Makefile ;;
21209 esac
21210 done # for ac_tag
21213 as_fn_exit 0
21214 _ACEOF
21215 ac_clean_files=$ac_clean_files_save
21217 test $ac_write_fail = 0 ||
21218 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21221 # configure is writing to config.log, and then calls config.status.
21222 # config.status does its own redirection, appending to config.log.
21223 # Unfortunately, on DOS this fails, as config.log is still kept open
21224 # by configure, so config.status won't be able to write to it; its
21225 # output is simply discarded. So we exec the FD to /dev/null,
21226 # effectively closing config.log, so it can be properly (re)opened and
21227 # appended to by config.status. When coming back to configure, we
21228 # need to make the FD available again.
21229 if test "$no_create" != yes; then
21230 ac_cs_success=:
21231 ac_config_status_args=
21232 test "$silent" = yes &&
21233 ac_config_status_args="$ac_config_status_args --quiet"
21234 exec 5>/dev/null
21235 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21236 exec 5>>config.log
21237 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21238 # would make configure fail if this is the last instruction.
21239 $ac_cs_success || as_fn_exit 1
21241 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21243 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21247 if test "$no_create" = "yes"
21248 then
21249 exit 0
21252 ac_save_IFS="$IFS"
21253 if test "x$wine_notices" != x; then
21254 echo >&6
21255 IFS="|"
21256 for msg in $wine_notices; do
21257 IFS="$ac_save_IFS"
21258 if ${msg:+false} :; then :
21260 else
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21262 $as_echo "$as_me: $msg" >&6;}
21264 done
21266 IFS="|"
21267 for msg in $wine_warnings; do
21268 IFS="$ac_save_IFS"
21269 if ${msg:+false} :; then :
21271 else
21272 echo >&2
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21274 $as_echo "$as_me: WARNING: $msg" >&2;}
21276 done
21277 IFS="$ac_save_IFS"
21279 $as_echo "
21280 $as_me: Finished. Do '${ac_make}' to compile Wine.
21281 " >&6