msdasql/tests: Initial tests.
[wine.git] / configure
blobfcf8fbdcc6215a9babc1281067c100ac6c394231
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.20.
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.20'
584 PACKAGE_STRING='Wine 6.20'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 TOOLSEXT
632 MSVCRTFLAGS
633 VKD3D_SHADER_LIBS
634 VKD3D_SHADER_CFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 JPEG_LIBS
641 JPEG_CFLAGS
642 GSSAPI_LIBS
643 GSSAPI_CFLAGS
644 KRB5_LIBS
645 KRB5_CFLAGS
646 FONTCONFIG_LIBS
647 FONTCONFIG_CFLAGS
648 CUPS_LIBS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 SDL2_LIBS
653 SDL2_CFLAGS
654 UNWIND_LIBS
655 UNWIND_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_LIBS
659 OSS4_CFLAGS
660 ALSA_LIBS
661 GSTREAMER_LIBS
662 GSTREAMER_CFLAGS
663 PULSE_LIBS
664 PULSE_CFLAGS
665 GETTEXTPO_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 RESOLV_LIBS
669 GPHOTO2_PORT_LIBS
670 GPHOTO2_PORT_CFLAGS
671 GPHOTO2_LIBS
672 GPHOTO2_CFLAGS
673 USB_LIBS
674 USB_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 INOTIFY_LIBS
684 INOTIFY_CFLAGS
685 PCAP_LIBS
686 X_EXTRA_LIBS
687 X_LIBS
688 X_PRE_LIBS
689 X_CFLAGS
690 XMKMF
691 PTHREAD_LIBS
692 ZLIB_PE_LIBS
693 ZLIB_PE_CFLAGS
694 XSLT_PE_LIBS
695 XSLT_PE_CFLAGS
696 XML2_PE_LIBS
697 XML2_PE_CFLAGS
698 TIFF_PE_LIBS
699 TIFF_PE_CFLAGS
700 PNG_PE_LIBS
701 PNG_PE_CFLAGS
702 MPG123_PE_LIBS
703 MPG123_PE_CFLAGS
704 LCMS2_PE_LIBS
705 LCMS2_PE_CFLAGS
706 JXR_PE_LIBS
707 JXR_PE_CFLAGS
708 JPEG_PE_LIBS
709 JPEG_PE_CFLAGS
710 GSM_PE_LIBS
711 GSM_PE_CFLAGS
712 FAUDIO_PE_LIBS
713 FAUDIO_PE_CFLAGS
714 EXCESS_PRECISION_CFLAGS
715 CROSSDEBUG
716 DELAYLOADFLAG
717 CROSSLDFLAGS
718 EXTRACROSSCFLAGS
719 CROSSCFLAGS
720 CROSSCC
721 CROSSTARGET
722 LIBWINE_DEPENDS
723 PRELINK
724 WINELOADER_DEPENDS
725 LIBWINE_LDFLAGS
726 LIBWINE_SHAREDLIB
727 METAL_LIBS
728 CARBON_LIBS
729 QUICKTIME_LIBS
730 OPENCL_LIBS
731 OPENAL_LIBS
732 COREAUDIO_LIBS
733 SECURITY_LIBS
734 DISKARBITRATION_LIBS
735 SYSTEMCONFIGURATION_LIBS
736 APPKIT_LIBS
737 CORESERVICES_LIBS
738 APPLICATIONSERVICES_LIBS
739 IOKIT_LIBS
740 COREFOUNDATION_LIBS
741 OBJCPP
742 ac_ct_OBJC
743 OBJCFLAGS
744 OBJC
745 DLLTOOL
746 WINELOADER_PROGRAMS
747 CONFIGURE_TARGETS
748 DISABLED_SUBDIRS
749 SUBDIRS
750 READELF
751 OTOOL
753 WINEPRELOADER_LDFLAGS
754 WINELOADER_LDFLAGS
755 TOP_INSTALL_DEV
756 TOP_INSTALL_LIB
757 UNIXLDFLAGS
758 UNIXDLLFLAGS
759 EXTRACFLAGS
760 LDEXECFLAGS
761 LDDLLFLAGS
762 DLLFLAGS
764 OPENGL_LIBS
765 I386_LIBS
766 ICOTOOL
767 CONVERT
768 RSVG
769 FONTFORGE
770 PKG_CONFIG
771 MSGFMT
772 LDCONFIG
773 EGREP
774 GREP
775 LN_S
776 RANLIB
777 STRIP
778 ac_ct_AR
780 BISON
781 FLEX
782 TOOLSDIR
783 TARGETFLAGS
785 CPPBIN
786 ac_ct_CXX
787 CXXFLAGS
789 OBJEXT
790 EXEEXT
791 ac_ct_CC
792 CPPFLAGS
793 LDFLAGS
794 CFLAGS
796 SET_MAKE
797 host_os
798 host_vendor
799 host_cpu
800 host
801 build_os
802 build_vendor
803 build_cpu
804 build
805 target_alias
806 host_alias
807 build_alias
808 LIBS
809 ECHO_T
810 ECHO_N
811 ECHO_C
812 DEFS
813 mandir
814 localedir
815 libdir
816 psdir
817 pdfdir
818 dvidir
819 htmldir
820 infodir
821 docdir
822 oldincludedir
823 includedir
824 runstatedir
825 localstatedir
826 sharedstatedir
827 sysconfdir
828 datadir
829 datarootdir
830 libexecdir
831 sbindir
832 bindir
833 program_transform_name
834 prefix
835 exec_prefix
836 PACKAGE_URL
837 PACKAGE_BUGREPORT
838 PACKAGE_STRING
839 PACKAGE_VERSION
840 PACKAGE_TARNAME
841 PACKAGE_NAME
842 PATH_SEPARATOR
843 SHELL'
844 ac_subst_files=''
845 ac_user_opts='
846 enable_option_checking
847 enable_win16
848 enable_win64
849 enable_tests
850 enable_build_id
851 enable_maintainer_mode
852 enable_silent_rules
853 enable_werror
854 with_alsa
855 with_capi
856 with_coreaudio
857 with_cups
858 with_dbus
859 with_float_abi
860 with_fontconfig
861 with_freetype
862 with_gettext
863 with_gettextpo
864 with_gphoto
865 with_gnutls
866 with_gssapi
867 with_gstreamer
868 with_hal
869 with_inotify
870 with_jpeg
871 with_krb5
872 with_ldap
873 with_mingw
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_pthread
882 with_pulse
883 with_quicktime
884 with_sane
885 with_sdl
886 with_udev
887 with_unwind
888 with_usb
889 with_v4l2
890 with_vkd3d
891 with_vulkan
892 with_xcomposite
893 with_xcursor
894 with_xfixes
895 with_xinerama
896 with_xinput
897 with_xinput2
898 with_xrandr
899 with_xrender
900 with_xshape
901 with_xshm
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l1_2_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_console_l3_2_0
934 enable_api_ms_win_core_crt_l1_1_0
935 enable_api_ms_win_core_crt_l2_1_0
936 enable_api_ms_win_core_datetime_l1_1_0
937 enable_api_ms_win_core_datetime_l1_1_1
938 enable_api_ms_win_core_debug_l1_1_0
939 enable_api_ms_win_core_debug_l1_1_1
940 enable_api_ms_win_core_delayload_l1_1_0
941 enable_api_ms_win_core_delayload_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_0
943 enable_api_ms_win_core_errorhandling_l1_1_1
944 enable_api_ms_win_core_errorhandling_l1_1_2
945 enable_api_ms_win_core_errorhandling_l1_1_3
946 enable_api_ms_win_core_featurestaging_l1_1_0
947 enable_api_ms_win_core_fibers_l1_1_0
948 enable_api_ms_win_core_fibers_l1_1_1
949 enable_api_ms_win_core_file_ansi_l2_1_0
950 enable_api_ms_win_core_file_fromapp_l1_1_0
951 enable_api_ms_win_core_file_l1_1_0
952 enable_api_ms_win_core_file_l1_2_0
953 enable_api_ms_win_core_file_l1_2_1
954 enable_api_ms_win_core_file_l1_2_2
955 enable_api_ms_win_core_file_l2_1_0
956 enable_api_ms_win_core_file_l2_1_1
957 enable_api_ms_win_core_file_l2_1_2
958 enable_api_ms_win_core_handle_l1_1_0
959 enable_api_ms_win_core_heap_l1_1_0
960 enable_api_ms_win_core_heap_l1_2_0
961 enable_api_ms_win_core_heap_l2_1_0
962 enable_api_ms_win_core_heap_obsolete_l1_1_0
963 enable_api_ms_win_core_interlocked_l1_1_0
964 enable_api_ms_win_core_interlocked_l1_2_0
965 enable_api_ms_win_core_io_l1_1_0
966 enable_api_ms_win_core_io_l1_1_1
967 enable_api_ms_win_core_job_l1_1_0
968 enable_api_ms_win_core_job_l2_1_0
969 enable_api_ms_win_core_kernel32_legacy_l1_1_0
970 enable_api_ms_win_core_kernel32_legacy_l1_1_1
971 enable_api_ms_win_core_kernel32_legacy_l1_1_2
972 enable_api_ms_win_core_kernel32_legacy_l1_1_5
973 enable_api_ms_win_core_kernel32_private_l1_1_1
974 enable_api_ms_win_core_largeinteger_l1_1_0
975 enable_api_ms_win_core_libraryloader_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_1
977 enable_api_ms_win_core_libraryloader_l1_2_0
978 enable_api_ms_win_core_libraryloader_l1_2_1
979 enable_api_ms_win_core_libraryloader_l1_2_2
980 enable_api_ms_win_core_libraryloader_l2_1_0
981 enable_api_ms_win_core_localization_l1_1_0
982 enable_api_ms_win_core_localization_l1_2_0
983 enable_api_ms_win_core_localization_l1_2_1
984 enable_api_ms_win_core_localization_l1_2_2
985 enable_api_ms_win_core_localization_l2_1_0
986 enable_api_ms_win_core_localization_obsolete_l1_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_2_0
988 enable_api_ms_win_core_localization_obsolete_l1_3_0
989 enable_api_ms_win_core_localization_private_l1_1_0
990 enable_api_ms_win_core_localregistry_l1_1_0
991 enable_api_ms_win_core_memory_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_1
993 enable_api_ms_win_core_memory_l1_1_2
994 enable_api_ms_win_core_memory_l1_1_3
995 enable_api_ms_win_core_memory_l1_1_4
996 enable_api_ms_win_core_misc_l1_1_0
997 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
998 enable_api_ms_win_core_namedpipe_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_2_0
1000 enable_api_ms_win_core_namespace_l1_1_0
1001 enable_api_ms_win_core_normalization_l1_1_0
1002 enable_api_ms_win_core_path_l1_1_0
1003 enable_api_ms_win_core_privateprofile_l1_1_1
1004 enable_api_ms_win_core_processenvironment_l1_1_0
1005 enable_api_ms_win_core_processenvironment_l1_2_0
1006 enable_api_ms_win_core_processthreads_l1_1_0
1007 enable_api_ms_win_core_processthreads_l1_1_1
1008 enable_api_ms_win_core_processthreads_l1_1_2
1009 enable_api_ms_win_core_processthreads_l1_1_3
1010 enable_api_ms_win_core_processtopology_l1_1_0
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_psm_appnotify_l1_1_0
1017 enable_api_ms_win_core_quirks_l1_1_0
1018 enable_api_ms_win_core_realtime_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_1
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_cng_sys
1178 enable_combase
1179 enable_comcat
1180 enable_comctl32
1181 enable_comdlg32
1182 enable_compstui
1183 enable_comsvcs
1184 enable_concrt140
1185 enable_connect
1186 enable_credui
1187 enable_crtdll
1188 enable_crypt32
1189 enable_cryptdlg
1190 enable_cryptdll
1191 enable_cryptext
1192 enable_cryptnet
1193 enable_cryptsp
1194 enable_cryptui
1195 enable_ctapi32
1196 enable_ctl3d32
1197 enable_d2d1
1198 enable_d3d10
1199 enable_d3d10_1
1200 enable_d3d10core
1201 enable_d3d11
1202 enable_d3d12
1203 enable_d3d8
1204 enable_d3d8thk
1205 enable_d3d9
1206 enable_d3dcompiler_33
1207 enable_d3dcompiler_34
1208 enable_d3dcompiler_35
1209 enable_d3dcompiler_36
1210 enable_d3dcompiler_37
1211 enable_d3dcompiler_38
1212 enable_d3dcompiler_39
1213 enable_d3dcompiler_40
1214 enable_d3dcompiler_41
1215 enable_d3dcompiler_42
1216 enable_d3dcompiler_43
1217 enable_d3dcompiler_46
1218 enable_d3dcompiler_47
1219 enable_d3dim
1220 enable_d3dim700
1221 enable_d3drm
1222 enable_d3dx10_33
1223 enable_d3dx10_34
1224 enable_d3dx10_35
1225 enable_d3dx10_36
1226 enable_d3dx10_37
1227 enable_d3dx10_38
1228 enable_d3dx10_39
1229 enable_d3dx10_40
1230 enable_d3dx10_41
1231 enable_d3dx10_42
1232 enable_d3dx10_43
1233 enable_d3dx11_42
1234 enable_d3dx11_43
1235 enable_d3dx9_24
1236 enable_d3dx9_25
1237 enable_d3dx9_26
1238 enable_d3dx9_27
1239 enable_d3dx9_28
1240 enable_d3dx9_29
1241 enable_d3dx9_30
1242 enable_d3dx9_31
1243 enable_d3dx9_32
1244 enable_d3dx9_33
1245 enable_d3dx9_34
1246 enable_d3dx9_35
1247 enable_d3dx9_36
1248 enable_d3dx9_37
1249 enable_d3dx9_38
1250 enable_d3dx9_39
1251 enable_d3dx9_40
1252 enable_d3dx9_41
1253 enable_d3dx9_42
1254 enable_d3dx9_43
1255 enable_d3dxof
1256 enable_davclnt
1257 enable_dbgeng
1258 enable_dbghelp
1259 enable_dciman32
1260 enable_dcomp
1261 enable_ddraw
1262 enable_ddrawex
1263 enable_devenum
1264 enable_dhcpcsvc
1265 enable_dhcpcsvc6
1266 enable_dhtmled_ocx
1267 enable_difxapi
1268 enable_dinput
1269 enable_dinput8
1270 enable_directmanipulation
1271 enable_dispex
1272 enable_dmband
1273 enable_dmcompos
1274 enable_dmime
1275 enable_dmloader
1276 enable_dmscript
1277 enable_dmstyle
1278 enable_dmsynth
1279 enable_dmusic
1280 enable_dmusic32
1281 enable_dnsapi
1282 enable_dplay
1283 enable_dplayx
1284 enable_dpnaddr
1285 enable_dpnet
1286 enable_dpnhpast
1287 enable_dpnhupnp
1288 enable_dpnlobby
1289 enable_dpvoice
1290 enable_dpwsockx
1291 enable_drmclien
1292 enable_dsdmo
1293 enable_dsound
1294 enable_dsquery
1295 enable_dssenh
1296 enable_dsuiext
1297 enable_dswave
1298 enable_dwmapi
1299 enable_dwrite
1300 enable_dx8vb
1301 enable_dxdiagn
1302 enable_dxgi
1303 enable_dxtrans
1304 enable_dxva2
1305 enable_esent
1306 enable_evr
1307 enable_explorerframe
1308 enable_ext_ms_win_authz_context_l1_1_0
1309 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1310 enable_ext_ms_win_dwmapi_ext_l1_1_0
1311 enable_ext_ms_win_gdi_dc_create_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_1
1313 enable_ext_ms_win_gdi_dc_l1_2_0
1314 enable_ext_ms_win_gdi_devcaps_l1_1_0
1315 enable_ext_ms_win_gdi_draw_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_1
1317 enable_ext_ms_win_gdi_font_l1_1_0
1318 enable_ext_ms_win_gdi_font_l1_1_1
1319 enable_ext_ms_win_gdi_render_l1_1_0
1320 enable_ext_ms_win_kernel32_package_current_l1_1_0
1321 enable_ext_ms_win_kernel32_package_l1_1_1
1322 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1323 enable_ext_ms_win_ntuser_draw_l1_1_0
1324 enable_ext_ms_win_ntuser_gui_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_3_0
1326 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1327 enable_ext_ms_win_ntuser_message_l1_1_0
1328 enable_ext_ms_win_ntuser_message_l1_1_1
1329 enable_ext_ms_win_ntuser_misc_l1_1_0
1330 enable_ext_ms_win_ntuser_misc_l1_2_0
1331 enable_ext_ms_win_ntuser_misc_l1_5_1
1332 enable_ext_ms_win_ntuser_mouse_l1_1_0
1333 enable_ext_ms_win_ntuser_private_l1_1_1
1334 enable_ext_ms_win_ntuser_private_l1_3_1
1335 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1336 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_window_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_1
1339 enable_ext_ms_win_ntuser_window_l1_1_4
1340 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1342 enable_ext_ms_win_oleacc_l1_1_0
1343 enable_ext_ms_win_ras_rasapi32_l1_1_0
1344 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1351 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1354 enable_ext_ms_win_security_credui_l1_1_0
1355 enable_ext_ms_win_security_cryptui_l1_1_0
1356 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1357 enable_ext_ms_win_shell_comdlg32_l1_1_0
1358 enable_ext_ms_win_shell_shell32_l1_2_0
1359 enable_ext_ms_win_uxtheme_themes_l1_1_0
1360 enable_faultrep
1361 enable_feclient
1362 enable_fltlib
1363 enable_fltmgr_sys
1364 enable_fntcache
1365 enable_fontsub
1366 enable_fusion
1367 enable_fwpuclnt
1368 enable_gameux
1369 enable_gamingtcui
1370 enable_gdi32
1371 enable_gdiplus
1372 enable_glu32
1373 enable_gphoto2_ds
1374 enable_gpkcsp
1375 enable_hal
1376 enable_hhctrl_ocx
1377 enable_hid
1378 enable_hidclass_sys
1379 enable_hidparse_sys
1380 enable_hlink
1381 enable_hnetcfg
1382 enable_http_sys
1383 enable_httpapi
1384 enable_iccvid
1385 enable_icmp
1386 enable_ieframe
1387 enable_ieproxy
1388 enable_imaadp32_acm
1389 enable_imagehlp
1390 enable_imm32
1391 enable_inetcomm
1392 enable_inetcpl_cpl
1393 enable_inetmib1
1394 enable_infosoft
1395 enable_initpki
1396 enable_inkobj
1397 enable_inseng
1398 enable_iphlpapi
1399 enable_iprop
1400 enable_irprops_cpl
1401 enable_itircl
1402 enable_itss
1403 enable_joy_cpl
1404 enable_jscript
1405 enable_jsproxy
1406 enable_kerberos
1407 enable_kernel32
1408 enable_kernelbase
1409 enable_ksecdd_sys
1410 enable_ksproxy_ax
1411 enable_ksuser
1412 enable_ktmw32
1413 enable_l3codeca_acm
1414 enable_light_msstyles
1415 enable_loadperf
1416 enable_localspl
1417 enable_localui
1418 enable_lz32
1419 enable_mapi32
1420 enable_mapistub
1421 enable_mciavi32
1422 enable_mcicda
1423 enable_mciqtz32
1424 enable_mciseq
1425 enable_mciwave
1426 enable_mf
1427 enable_mf3216
1428 enable_mferror
1429 enable_mfmediaengine
1430 enable_mfplat
1431 enable_mfplay
1432 enable_mfreadwrite
1433 enable_mgmtapi
1434 enable_midimap
1435 enable_mlang
1436 enable_mmcndmgr
1437 enable_mmdevapi
1438 enable_mountmgr_sys
1439 enable_mp3dmod
1440 enable_mpr
1441 enable_mprapi
1442 enable_msacm32_drv
1443 enable_msacm32
1444 enable_msado15
1445 enable_msadp32_acm
1446 enable_msasn1
1447 enable_mscat32
1448 enable_mscms
1449 enable_mscoree
1450 enable_mscorwks
1451 enable_msctf
1452 enable_msctfp
1453 enable_msdaps
1454 enable_msdasql
1455 enable_msdelta
1456 enable_msdmo
1457 enable_msdrm
1458 enable_msftedit
1459 enable_msg711_acm
1460 enable_msgsm32_acm
1461 enable_mshtml_tlb
1462 enable_mshtml
1463 enable_msi
1464 enable_msident
1465 enable_msimg32
1466 enable_msimsg
1467 enable_msimtf
1468 enable_msisip
1469 enable_msisys_ocx
1470 enable_msls31
1471 enable_msnet32
1472 enable_mspatcha
1473 enable_msports
1474 enable_msrle32
1475 enable_msscript_ocx
1476 enable_mssign32
1477 enable_mssip32
1478 enable_mstask
1479 enable_msv1_0
1480 enable_msvcirt
1481 enable_msvcm80
1482 enable_msvcm90
1483 enable_msvcp100
1484 enable_msvcp110
1485 enable_msvcp120
1486 enable_msvcp120_app
1487 enable_msvcp140
1488 enable_msvcp140_1
1489 enable_msvcp60
1490 enable_msvcp70
1491 enable_msvcp71
1492 enable_msvcp80
1493 enable_msvcp90
1494 enable_msvcr100
1495 enable_msvcr110
1496 enable_msvcr120
1497 enable_msvcr120_app
1498 enable_msvcr70
1499 enable_msvcr71
1500 enable_msvcr80
1501 enable_msvcr90
1502 enable_msvcrt
1503 enable_msvcrt20
1504 enable_msvcrt40
1505 enable_msvcrtd
1506 enable_msvfw32
1507 enable_msvidc32
1508 enable_mswsock
1509 enable_msxml
1510 enable_msxml2
1511 enable_msxml3
1512 enable_msxml4
1513 enable_msxml6
1514 enable_mtxdm
1515 enable_ncrypt
1516 enable_nddeapi
1517 enable_ndis_sys
1518 enable_netapi32
1519 enable_netcfgx
1520 enable_netio_sys
1521 enable_netprofm
1522 enable_netutils
1523 enable_newdev
1524 enable_ninput
1525 enable_normaliz
1526 enable_npmshtml
1527 enable_npptools
1528 enable_nsi
1529 enable_nsiproxy_sys
1530 enable_ntdll
1531 enable_ntdsapi
1532 enable_ntoskrnl_exe
1533 enable_ntprint
1534 enable_objsel
1535 enable_odbc32
1536 enable_odbcbcp
1537 enable_odbccp32
1538 enable_odbccu32
1539 enable_ole32
1540 enable_oleacc
1541 enable_oleaut32
1542 enable_olecli32
1543 enable_oledb32
1544 enable_oledlg
1545 enable_olepro32
1546 enable_olesvr32
1547 enable_olethk32
1548 enable_opcservices
1549 enable_openal32
1550 enable_opencl
1551 enable_opengl32
1552 enable_packager
1553 enable_pdh
1554 enable_photometadatahandler
1555 enable_pidgen
1556 enable_powrprof
1557 enable_printui
1558 enable_prntvpt
1559 enable_propsys
1560 enable_psapi
1561 enable_pstorec
1562 enable_pwrshplugin
1563 enable_qasf
1564 enable_qcap
1565 enable_qdvd
1566 enable_qedit
1567 enable_qmgr
1568 enable_qmgrprxy
1569 enable_quartz
1570 enable_query
1571 enable_qwave
1572 enable_rasapi32
1573 enable_rasdlg
1574 enable_regapi
1575 enable_resutils
1576 enable_riched20
1577 enable_riched32
1578 enable_rpcrt4
1579 enable_rsabase
1580 enable_rsaenh
1581 enable_rstrtmgr
1582 enable_rtutils
1583 enable_rtworkq
1584 enable_samlib
1585 enable_sane_ds
1586 enable_sapi
1587 enable_sas
1588 enable_scarddlg
1589 enable_sccbase
1590 enable_schannel
1591 enable_schedsvc
1592 enable_scrobj
1593 enable_scrrun
1594 enable_scsiport_sys
1595 enable_sechost
1596 enable_secur32
1597 enable_security
1598 enable_sensapi
1599 enable_serialui
1600 enable_setupapi
1601 enable_sfc
1602 enable_sfc_os
1603 enable_shcore
1604 enable_shdoclc
1605 enable_shdocvw
1606 enable_shell32
1607 enable_shfolder
1608 enable_shlwapi
1609 enable_slbcsp
1610 enable_slc
1611 enable_snmpapi
1612 enable_softpub
1613 enable_spoolss
1614 enable_sppc
1615 enable_srclient
1616 enable_srvcli
1617 enable_sspicli
1618 enable_stdole2_tlb
1619 enable_stdole32_tlb
1620 enable_sti
1621 enable_strmbase
1622 enable_strmdll
1623 enable_svrapi
1624 enable_sxs
1625 enable_t2embed
1626 enable_tapi32
1627 enable_taskschd
1628 enable_tbs
1629 enable_tdh
1630 enable_tdi_sys
1631 enable_traffic
1632 enable_twain_32
1633 enable_tzres
1634 enable_ucrtbase
1635 enable_uianimation
1636 enable_uiautomationcore
1637 enable_uiribbon
1638 enable_unicows
1639 enable_updspapi
1640 enable_url
1641 enable_urlmon
1642 enable_usbd_sys
1643 enable_user32
1644 enable_userenv
1645 enable_usp10
1646 enable_utildll
1647 enable_uxtheme
1648 enable_vbscript
1649 enable_vcomp
1650 enable_vcomp100
1651 enable_vcomp110
1652 enable_vcomp120
1653 enable_vcomp140
1654 enable_vcomp90
1655 enable_vcruntime140
1656 enable_vcruntime140_1
1657 enable_vdmdbg
1658 enable_version
1659 enable_vga
1660 enable_virtdisk
1661 enable_vssapi
1662 enable_vulkan_1
1663 enable_wbemdisp
1664 enable_wbemprox
1665 enable_wdscore
1666 enable_webservices
1667 enable_websocket
1668 enable_wer
1669 enable_wevtapi
1670 enable_wevtsvc
1671 enable_wiaservc
1672 enable_wimgapi
1673 enable_win32u
1674 enable_windows_devices_enumeration
1675 enable_windows_gaming_input
1676 enable_windows_globalization
1677 enable_windows_media_devices
1678 enable_windows_media_speech
1679 enable_windowscodecs
1680 enable_windowscodecsext
1681 enable_winealsa_drv
1682 enable_wineandroid_drv
1683 enable_winebus_sys
1684 enable_winecoreaudio_drv
1685 enable_winecrt0
1686 enable_wined3d
1687 enable_winegstreamer
1688 enable_winehid_sys
1689 enable_winejoystick_drv
1690 enable_winemac_drv
1691 enable_winemapi
1692 enable_wineoss_drv
1693 enable_wineps_drv
1694 enable_winepulse_drv
1695 enable_wineqtdecoder
1696 enable_wineusb_sys
1697 enable_winevulkan
1698 enable_winex11_drv
1699 enable_winexinput_sys
1700 enable_wing32
1701 enable_winhttp
1702 enable_wininet
1703 enable_winmm
1704 enable_winnls32
1705 enable_winscard
1706 enable_winspool_drv
1707 enable_winsta
1708 enable_wintab32
1709 enable_wintrust
1710 enable_winusb
1711 enable_wlanapi
1712 enable_wlanui
1713 enable_wldap32
1714 enable_wmasf
1715 enable_wmi
1716 enable_wmiutils
1717 enable_wmp
1718 enable_wmphoto
1719 enable_wmvcore
1720 enable_wnaspi32
1721 enable_wow64
1722 enable_wow64cpu
1723 enable_wow64win
1724 enable_wpc
1725 enable_wpcap
1726 enable_ws2_32
1727 enable_wsdapi
1728 enable_wshom_ocx
1729 enable_wsnmp32
1730 enable_wsock32
1731 enable_wtsapi32
1732 enable_wuapi
1733 enable_wuaueng
1734 enable_x3daudio1_0
1735 enable_x3daudio1_1
1736 enable_x3daudio1_2
1737 enable_x3daudio1_3
1738 enable_x3daudio1_4
1739 enable_x3daudio1_5
1740 enable_x3daudio1_6
1741 enable_x3daudio1_7
1742 enable_xactengine2_0
1743 enable_xactengine2_4
1744 enable_xactengine2_7
1745 enable_xactengine2_9
1746 enable_xactengine3_0
1747 enable_xactengine3_1
1748 enable_xactengine3_2
1749 enable_xactengine3_3
1750 enable_xactengine3_4
1751 enable_xactengine3_5
1752 enable_xactengine3_6
1753 enable_xactengine3_7
1754 enable_xapofx1_1
1755 enable_xapofx1_2
1756 enable_xapofx1_3
1757 enable_xapofx1_4
1758 enable_xapofx1_5
1759 enable_xaudio2_0
1760 enable_xaudio2_1
1761 enable_xaudio2_2
1762 enable_xaudio2_3
1763 enable_xaudio2_4
1764 enable_xaudio2_5
1765 enable_xaudio2_6
1766 enable_xaudio2_7
1767 enable_xaudio2_8
1768 enable_xaudio2_9
1769 enable_xinput1_1
1770 enable_xinput1_2
1771 enable_xinput1_3
1772 enable_xinput1_4
1773 enable_xinput9_1_0
1774 enable_xmllite
1775 enable_xolehlp
1776 enable_xpsprint
1777 enable_xpssvcs
1778 enable_fonts
1779 enable_include
1780 enable_adsiid
1781 enable_dmoguids
1782 enable_dxerr8
1783 enable_dxerr9
1784 enable_dxguid
1785 enable_faudio
1786 enable_gsm
1787 enable_jpeg
1788 enable_jxr
1789 enable_lcms2
1790 enable_mfuuid
1791 enable_mpg123
1792 enable_png
1793 enable_strmiids
1794 enable_tiff
1795 enable_uuid
1796 enable_wbemuuid
1797 enable_wine
1798 enable_wmcodecdspuuid
1799 enable_xml2
1800 enable_xslt
1801 enable_zlib
1802 enable_loader
1803 enable_nls
1804 enable_po
1805 enable_arp
1806 enable_aspnet_regiis
1807 enable_attrib
1808 enable_cabarc
1809 enable_cacls
1810 enable_chcp_com
1811 enable_clock
1812 enable_cmd
1813 enable_conhost
1814 enable_control
1815 enable_cscript
1816 enable_dism
1817 enable_dplaysvr
1818 enable_dpnsvr
1819 enable_dpvsetup
1820 enable_dxdiag
1821 enable_eject
1822 enable_expand
1823 enable_explorer
1824 enable_extrac32
1825 enable_fc
1826 enable_find
1827 enable_findstr
1828 enable_fsutil
1829 enable_hh
1830 enable_hostname
1831 enable_icacls
1832 enable_icinfo
1833 enable_iexplore
1834 enable_ipconfig
1835 enable_lodctr
1836 enable_mofcomp
1837 enable_mshta
1838 enable_msidb
1839 enable_msiexec
1840 enable_msinfo32
1841 enable_net
1842 enable_netsh
1843 enable_netstat
1844 enable_ngen
1845 enable_notepad
1846 enable_oleview
1847 enable_ping
1848 enable_plugplay
1849 enable_powershell
1850 enable_presentationfontcache
1851 enable_progman
1852 enable_reg
1853 enable_regasm
1854 enable_regedit
1855 enable_regini
1856 enable_regsvcs
1857 enable_regsvr32
1858 enable_robocopy
1859 enable_rpcss
1860 enable_rundll32
1861 enable_sc
1862 enable_schtasks
1863 enable_sdbinst
1864 enable_secedit
1865 enable_servicemodelreg
1866 enable_services
1867 enable_shutdown
1868 enable_spoolsv
1869 enable_start
1870 enable_subst
1871 enable_svchost
1872 enable_systeminfo
1873 enable_taskkill
1874 enable_tasklist
1875 enable_taskmgr
1876 enable_termsv
1877 enable_uninstaller
1878 enable_unlodctr
1879 enable_view
1880 enable_wevtutil
1881 enable_where
1882 enable_whoami
1883 enable_wineboot
1884 enable_winebrowser
1885 enable_winecfg
1886 enable_wineconsole
1887 enable_winedbg
1888 enable_winedevice
1889 enable_winefile
1890 enable_winemenubuilder
1891 enable_winemine
1892 enable_winemsibuilder
1893 enable_winepath
1894 enable_winetest
1895 enable_winhlp32
1896 enable_winmgmt
1897 enable_winver
1898 enable_wmic
1899 enable_wmplayer
1900 enable_wordpad
1901 enable_write
1902 enable_wscript
1903 enable_wuauserv
1904 enable_wusa
1905 enable_xcopy
1906 enable_server
1907 enable_tools
1908 enable_sfnt2fon
1909 enable_widl
1910 enable_winebuild
1911 enable_winedump
1912 enable_winegcc
1913 enable_winemaker
1914 enable_wmc
1915 enable_wrc
1917 ac_precious_vars='build_alias
1918 host_alias
1919 target_alias
1921 CFLAGS
1922 LDFLAGS
1923 LIBS
1924 CPPFLAGS
1926 CXXFLAGS
1929 OBJC
1930 OBJCFLAGS
1931 OBJCPP
1932 FAUDIO_PE_CFLAGS
1933 FAUDIO_PE_LIBS
1934 GSM_PE_CFLAGS
1935 GSM_PE_LIBS
1936 JPEG_PE_CFLAGS
1937 JPEG_PE_LIBS
1938 JXR_PE_CFLAGS
1939 JXR_PE_LIBS
1940 LCMS2_PE_CFLAGS
1941 LCMS2_PE_LIBS
1942 MPG123_PE_CFLAGS
1943 MPG123_PE_LIBS
1944 PNG_PE_CFLAGS
1945 PNG_PE_LIBS
1946 TIFF_PE_CFLAGS
1947 TIFF_PE_LIBS
1948 XML2_PE_CFLAGS
1949 XML2_PE_LIBS
1950 XSLT_PE_CFLAGS
1951 XSLT_PE_LIBS
1952 ZLIB_PE_CFLAGS
1953 ZLIB_PE_LIBS
1954 XMKMF
1955 INOTIFY_CFLAGS
1956 INOTIFY_LIBS
1957 DBUS_CFLAGS
1958 DBUS_LIBS
1959 HAL_CFLAGS
1960 HAL_LIBS
1961 GNUTLS_CFLAGS
1962 GNUTLS_LIBS
1963 SANE_CFLAGS
1964 SANE_LIBS
1965 USB_CFLAGS
1966 USB_LIBS
1967 GPHOTO2_CFLAGS
1968 GPHOTO2_LIBS
1969 GPHOTO2_PORT_CFLAGS
1970 GPHOTO2_PORT_LIBS
1971 FREETYPE_CFLAGS
1972 FREETYPE_LIBS
1973 PULSE_CFLAGS
1974 PULSE_LIBS
1975 GSTREAMER_CFLAGS
1976 GSTREAMER_LIBS
1977 UDEV_CFLAGS
1978 UDEV_LIBS
1979 UNWIND_CFLAGS
1980 UNWIND_LIBS
1981 SDL2_CFLAGS
1982 SDL2_LIBS
1983 CAPI20_CFLAGS
1984 CAPI20_LIBS
1985 CUPS_CFLAGS
1986 CUPS_LIBS
1987 FONTCONFIG_CFLAGS
1988 FONTCONFIG_LIBS
1989 KRB5_CFLAGS
1990 KRB5_LIBS
1991 GSSAPI_CFLAGS
1992 GSSAPI_LIBS
1993 JPEG_CFLAGS
1994 JPEG_LIBS
1995 NETAPI_CFLAGS
1996 NETAPI_LIBS
1997 VKD3D_CFLAGS
1998 VKD3D_LIBS
1999 VKD3D_SHADER_CFLAGS
2000 VKD3D_SHADER_LIBS
2001 LDAP_CFLAGS
2002 LDAP_LIBS'
2005 # Initialize some variables set by options.
2006 ac_init_help=
2007 ac_init_version=false
2008 ac_unrecognized_opts=
2009 ac_unrecognized_sep=
2010 # The variables have the same names as the options, with
2011 # dashes changed to underlines.
2012 cache_file=/dev/null
2013 exec_prefix=NONE
2014 no_create=
2015 no_recursion=
2016 prefix=NONE
2017 program_prefix=NONE
2018 program_suffix=NONE
2019 program_transform_name=s,x,x,
2020 silent=
2021 site=
2022 srcdir=
2023 verbose=
2024 x_includes=NONE
2025 x_libraries=NONE
2027 # Installation directory options.
2028 # These are left unexpanded so users can "make install exec_prefix=/foo"
2029 # and all the variables that are supposed to be based on exec_prefix
2030 # by default will actually change.
2031 # Use braces instead of parens because sh, perl, etc. also accept them.
2032 # (The list follows the same order as the GNU Coding Standards.)
2033 bindir='${exec_prefix}/bin'
2034 sbindir='${exec_prefix}/sbin'
2035 libexecdir='${exec_prefix}/libexec'
2036 datarootdir='${prefix}/share'
2037 datadir='${datarootdir}'
2038 sysconfdir='${prefix}/etc'
2039 sharedstatedir='${prefix}/com'
2040 localstatedir='${prefix}/var'
2041 runstatedir='${localstatedir}/run'
2042 includedir='${prefix}/include'
2043 oldincludedir='/usr/include'
2044 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2045 infodir='${datarootdir}/info'
2046 htmldir='${docdir}'
2047 dvidir='${docdir}'
2048 pdfdir='${docdir}'
2049 psdir='${docdir}'
2050 libdir='${exec_prefix}/lib'
2051 localedir='${datarootdir}/locale'
2052 mandir='${datarootdir}/man'
2054 ac_prev=
2055 ac_dashdash=
2056 for ac_option
2058 # If the previous option needs an argument, assign it.
2059 if test -n "$ac_prev"; then
2060 eval $ac_prev=\$ac_option
2061 ac_prev=
2062 continue
2065 case $ac_option in
2066 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2067 *=) ac_optarg= ;;
2068 *) ac_optarg=yes ;;
2069 esac
2071 # Accept the important Cygnus configure options, so we can diagnose typos.
2073 case $ac_dashdash$ac_option in
2075 ac_dashdash=yes ;;
2077 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2078 ac_prev=bindir ;;
2079 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2080 bindir=$ac_optarg ;;
2082 -build | --build | --buil | --bui | --bu)
2083 ac_prev=build_alias ;;
2084 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2085 build_alias=$ac_optarg ;;
2087 -cache-file | --cache-file | --cache-fil | --cache-fi \
2088 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2089 ac_prev=cache_file ;;
2090 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2091 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2092 cache_file=$ac_optarg ;;
2094 --config-cache | -C)
2095 cache_file=config.cache ;;
2097 -datadir | --datadir | --datadi | --datad)
2098 ac_prev=datadir ;;
2099 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2100 datadir=$ac_optarg ;;
2102 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2103 | --dataroo | --dataro | --datar)
2104 ac_prev=datarootdir ;;
2105 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2106 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2107 datarootdir=$ac_optarg ;;
2109 -disable-* | --disable-*)
2110 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2111 # Reject names that are not valid shell variable names.
2112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2113 as_fn_error $? "invalid feature name: $ac_useropt"
2114 ac_useropt_orig=$ac_useropt
2115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2116 case $ac_user_opts in
2118 "enable_$ac_useropt"
2119 "*) ;;
2120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2121 ac_unrecognized_sep=', ';;
2122 esac
2123 eval enable_$ac_useropt=no ;;
2125 -docdir | --docdir | --docdi | --doc | --do)
2126 ac_prev=docdir ;;
2127 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2128 docdir=$ac_optarg ;;
2130 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2131 ac_prev=dvidir ;;
2132 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2133 dvidir=$ac_optarg ;;
2135 -enable-* | --enable-*)
2136 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2137 # Reject names that are not valid shell variable names.
2138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2139 as_fn_error $? "invalid feature name: $ac_useropt"
2140 ac_useropt_orig=$ac_useropt
2141 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2142 case $ac_user_opts in
2144 "enable_$ac_useropt"
2145 "*) ;;
2146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2147 ac_unrecognized_sep=', ';;
2148 esac
2149 eval enable_$ac_useropt=\$ac_optarg ;;
2151 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2152 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2153 | --exec | --exe | --ex)
2154 ac_prev=exec_prefix ;;
2155 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2156 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2157 | --exec=* | --exe=* | --ex=*)
2158 exec_prefix=$ac_optarg ;;
2160 -gas | --gas | --ga | --g)
2161 # Obsolete; use --with-gas.
2162 with_gas=yes ;;
2164 -help | --help | --hel | --he | -h)
2165 ac_init_help=long ;;
2166 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2167 ac_init_help=recursive ;;
2168 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2169 ac_init_help=short ;;
2171 -host | --host | --hos | --ho)
2172 ac_prev=host_alias ;;
2173 -host=* | --host=* | --hos=* | --ho=*)
2174 host_alias=$ac_optarg ;;
2176 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2177 ac_prev=htmldir ;;
2178 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2179 | --ht=*)
2180 htmldir=$ac_optarg ;;
2182 -includedir | --includedir | --includedi | --included | --include \
2183 | --includ | --inclu | --incl | --inc)
2184 ac_prev=includedir ;;
2185 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2186 | --includ=* | --inclu=* | --incl=* | --inc=*)
2187 includedir=$ac_optarg ;;
2189 -infodir | --infodir | --infodi | --infod | --info | --inf)
2190 ac_prev=infodir ;;
2191 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2192 infodir=$ac_optarg ;;
2194 -libdir | --libdir | --libdi | --libd)
2195 ac_prev=libdir ;;
2196 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2197 libdir=$ac_optarg ;;
2199 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2200 | --libexe | --libex | --libe)
2201 ac_prev=libexecdir ;;
2202 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2203 | --libexe=* | --libex=* | --libe=*)
2204 libexecdir=$ac_optarg ;;
2206 -localedir | --localedir | --localedi | --localed | --locale)
2207 ac_prev=localedir ;;
2208 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2209 localedir=$ac_optarg ;;
2211 -localstatedir | --localstatedir | --localstatedi | --localstated \
2212 | --localstate | --localstat | --localsta | --localst | --locals)
2213 ac_prev=localstatedir ;;
2214 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2215 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2216 localstatedir=$ac_optarg ;;
2218 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2219 ac_prev=mandir ;;
2220 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2221 mandir=$ac_optarg ;;
2223 -nfp | --nfp | --nf)
2224 # Obsolete; use --without-fp.
2225 with_fp=no ;;
2227 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2228 | --no-cr | --no-c | -n)
2229 no_create=yes ;;
2231 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2232 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2233 no_recursion=yes ;;
2235 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2236 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2237 | --oldin | --oldi | --old | --ol | --o)
2238 ac_prev=oldincludedir ;;
2239 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2240 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2241 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2242 oldincludedir=$ac_optarg ;;
2244 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2245 ac_prev=prefix ;;
2246 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2247 prefix=$ac_optarg ;;
2249 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2250 | --program-pre | --program-pr | --program-p)
2251 ac_prev=program_prefix ;;
2252 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2253 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2254 program_prefix=$ac_optarg ;;
2256 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2257 | --program-suf | --program-su | --program-s)
2258 ac_prev=program_suffix ;;
2259 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2260 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2261 program_suffix=$ac_optarg ;;
2263 -program-transform-name | --program-transform-name \
2264 | --program-transform-nam | --program-transform-na \
2265 | --program-transform-n | --program-transform- \
2266 | --program-transform | --program-transfor \
2267 | --program-transfo | --program-transf \
2268 | --program-trans | --program-tran \
2269 | --progr-tra | --program-tr | --program-t)
2270 ac_prev=program_transform_name ;;
2271 -program-transform-name=* | --program-transform-name=* \
2272 | --program-transform-nam=* | --program-transform-na=* \
2273 | --program-transform-n=* | --program-transform-=* \
2274 | --program-transform=* | --program-transfor=* \
2275 | --program-transfo=* | --program-transf=* \
2276 | --program-trans=* | --program-tran=* \
2277 | --progr-tra=* | --program-tr=* | --program-t=*)
2278 program_transform_name=$ac_optarg ;;
2280 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2281 ac_prev=pdfdir ;;
2282 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2283 pdfdir=$ac_optarg ;;
2285 -psdir | --psdir | --psdi | --psd | --ps)
2286 ac_prev=psdir ;;
2287 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2288 psdir=$ac_optarg ;;
2290 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2291 | -silent | --silent | --silen | --sile | --sil)
2292 silent=yes ;;
2294 -runstatedir | --runstatedir | --runstatedi | --runstated \
2295 | --runstate | --runstat | --runsta | --runst | --runs \
2296 | --run | --ru | --r)
2297 ac_prev=runstatedir ;;
2298 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2299 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2300 | --run=* | --ru=* | --r=*)
2301 runstatedir=$ac_optarg ;;
2303 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2304 ac_prev=sbindir ;;
2305 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2306 | --sbi=* | --sb=*)
2307 sbindir=$ac_optarg ;;
2309 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2310 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2311 | --sharedst | --shareds | --shared | --share | --shar \
2312 | --sha | --sh)
2313 ac_prev=sharedstatedir ;;
2314 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2315 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2316 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2317 | --sha=* | --sh=*)
2318 sharedstatedir=$ac_optarg ;;
2320 -site | --site | --sit)
2321 ac_prev=site ;;
2322 -site=* | --site=* | --sit=*)
2323 site=$ac_optarg ;;
2325 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2326 ac_prev=srcdir ;;
2327 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2328 srcdir=$ac_optarg ;;
2330 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2331 | --syscon | --sysco | --sysc | --sys | --sy)
2332 ac_prev=sysconfdir ;;
2333 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2334 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2335 sysconfdir=$ac_optarg ;;
2337 -target | --target | --targe | --targ | --tar | --ta | --t)
2338 ac_prev=target_alias ;;
2339 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2340 target_alias=$ac_optarg ;;
2342 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2343 verbose=yes ;;
2345 -version | --version | --versio | --versi | --vers | -V)
2346 ac_init_version=: ;;
2348 -with-* | --with-*)
2349 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2350 # Reject names that are not valid shell variable names.
2351 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2352 as_fn_error $? "invalid package name: $ac_useropt"
2353 ac_useropt_orig=$ac_useropt
2354 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2355 case $ac_user_opts in
2357 "with_$ac_useropt"
2358 "*) ;;
2359 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2360 ac_unrecognized_sep=', ';;
2361 esac
2362 eval with_$ac_useropt=\$ac_optarg ;;
2364 -without-* | --without-*)
2365 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2366 # Reject names that are not valid shell variable names.
2367 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2368 as_fn_error $? "invalid package name: $ac_useropt"
2369 ac_useropt_orig=$ac_useropt
2370 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2371 case $ac_user_opts in
2373 "with_$ac_useropt"
2374 "*) ;;
2375 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2376 ac_unrecognized_sep=', ';;
2377 esac
2378 eval with_$ac_useropt=no ;;
2380 --x)
2381 # Obsolete; use --with-x.
2382 with_x=yes ;;
2384 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2385 | --x-incl | --x-inc | --x-in | --x-i)
2386 ac_prev=x_includes ;;
2387 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2388 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2389 x_includes=$ac_optarg ;;
2391 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2392 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2393 ac_prev=x_libraries ;;
2394 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2395 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2396 x_libraries=$ac_optarg ;;
2398 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2399 Try \`$0 --help' for more information"
2402 *=*)
2403 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2404 # Reject names that are not valid shell variable names.
2405 case $ac_envvar in #(
2406 '' | [0-9]* | *[!_$as_cr_alnum]* )
2407 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2408 esac
2409 eval $ac_envvar=\$ac_optarg
2410 export $ac_envvar ;;
2413 # FIXME: should be removed in autoconf 3.0.
2414 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2415 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2416 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2417 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2420 esac
2421 done
2423 if test -n "$ac_prev"; then
2424 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2425 as_fn_error $? "missing argument to $ac_option"
2428 if test -n "$ac_unrecognized_opts"; then
2429 case $enable_option_checking in
2430 no) ;;
2431 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2432 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2433 esac
2436 # Check all directory arguments for consistency.
2437 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2438 datadir sysconfdir sharedstatedir localstatedir includedir \
2439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2440 libdir localedir mandir runstatedir
2442 eval ac_val=\$$ac_var
2443 # Remove trailing slashes.
2444 case $ac_val in
2445 */ )
2446 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2447 eval $ac_var=\$ac_val;;
2448 esac
2449 # Be sure to have absolute directory names.
2450 case $ac_val in
2451 [\\/$]* | ?:[\\/]* ) continue;;
2452 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2453 esac
2454 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2455 done
2457 # There might be people who depend on the old broken behavior: `$host'
2458 # used to hold the argument of --host etc.
2459 # FIXME: To remove some day.
2460 build=$build_alias
2461 host=$host_alias
2462 target=$target_alias
2464 # FIXME: To remove some day.
2465 if test "x$host_alias" != x; then
2466 if test "x$build_alias" = x; then
2467 cross_compiling=maybe
2468 elif test "x$build_alias" != "x$host_alias"; then
2469 cross_compiling=yes
2473 ac_tool_prefix=
2474 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2476 test "$silent" = yes && exec 6>/dev/null
2479 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2480 ac_ls_di=`ls -di .` &&
2481 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2482 as_fn_error $? "working directory cannot be determined"
2483 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2484 as_fn_error $? "pwd does not report name of working directory"
2487 # Find the source files, if location was not specified.
2488 if test -z "$srcdir"; then
2489 ac_srcdir_defaulted=yes
2490 # Try the directory containing this script, then the parent directory.
2491 ac_confdir=`$as_dirname -- "$as_myself" ||
2492 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2493 X"$as_myself" : 'X\(//\)[^/]' \| \
2494 X"$as_myself" : 'X\(//\)$' \| \
2495 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2496 $as_echo X"$as_myself" |
2497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2498 s//\1/
2501 /^X\(\/\/\)[^/].*/{
2502 s//\1/
2505 /^X\(\/\/\)$/{
2506 s//\1/
2509 /^X\(\/\).*/{
2510 s//\1/
2513 s/.*/./; q'`
2514 srcdir=$ac_confdir
2515 if test ! -r "$srcdir/$ac_unique_file"; then
2516 srcdir=..
2518 else
2519 ac_srcdir_defaulted=no
2521 if test ! -r "$srcdir/$ac_unique_file"; then
2522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2523 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2525 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2526 ac_abs_confdir=`(
2527 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2528 pwd)`
2529 # When building in place, set srcdir=.
2530 if test "$ac_abs_confdir" = "$ac_pwd"; then
2531 srcdir=.
2533 # Remove unnecessary trailing slashes from srcdir.
2534 # Double slashes in file names in object file debugging info
2535 # mess up M-x gdb in Emacs.
2536 case $srcdir in
2537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2538 esac
2539 for ac_var in $ac_precious_vars; do
2540 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2541 eval ac_env_${ac_var}_value=\$${ac_var}
2542 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2543 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2544 done
2547 # Report the --help message.
2549 if test "$ac_init_help" = "long"; then
2550 # Omit some internal or obsolete options to make the list less imposing.
2551 # This message is too long to be a string in the A/UX 3.1 sh.
2552 cat <<_ACEOF
2553 \`configure' configures Wine 6.20 to adapt to many kinds of systems.
2555 Usage: $0 [OPTION]... [VAR=VALUE]...
2557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2558 VAR=VALUE. See below for descriptions of some of the useful variables.
2560 Defaults for the options are specified in brackets.
2562 Configuration:
2563 -h, --help display this help and exit
2564 --help=short display options specific to this package
2565 --help=recursive display the short help of all the included packages
2566 -V, --version display version information and exit
2567 -q, --quiet, --silent do not print \`checking ...' messages
2568 --cache-file=FILE cache test results in FILE [disabled]
2569 -C, --config-cache alias for \`--cache-file=config.cache'
2570 -n, --no-create do not create output files
2571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2573 Installation directories:
2574 --prefix=PREFIX install architecture-independent files in PREFIX
2575 [$ac_default_prefix]
2576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2577 [PREFIX]
2579 By default, \`make install' will install all the files in
2580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2582 for instance \`--prefix=\$HOME'.
2584 For better control, use the options below.
2586 Fine tuning of the installation directories:
2587 --bindir=DIR user executables [EPREFIX/bin]
2588 --sbindir=DIR system admin executables [EPREFIX/sbin]
2589 --libexecdir=DIR program executables [EPREFIX/libexec]
2590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2593 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2594 --libdir=DIR object code libraries [EPREFIX/lib]
2595 --includedir=DIR C header files [PREFIX/include]
2596 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2599 --infodir=DIR info documentation [DATAROOTDIR/info]
2600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2601 --mandir=DIR man documentation [DATAROOTDIR/man]
2602 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2603 --htmldir=DIR html documentation [DOCDIR]
2604 --dvidir=DIR dvi documentation [DOCDIR]
2605 --pdfdir=DIR pdf documentation [DOCDIR]
2606 --psdir=DIR ps documentation [DOCDIR]
2607 _ACEOF
2609 cat <<\_ACEOF
2611 X features:
2612 --x-includes=DIR X include files are in DIR
2613 --x-libraries=DIR X library files are in DIR
2615 System types:
2616 --build=BUILD configure for building on BUILD [guessed]
2617 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2618 _ACEOF
2621 if test -n "$ac_init_help"; then
2622 case $ac_init_help in
2623 short | recursive ) echo "Configuration of Wine 6.20:";;
2624 esac
2625 cat <<\_ACEOF
2627 Optional Features:
2628 --disable-option-checking ignore unrecognized --enable/--with options
2629 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2630 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2631 --disable-win16 do not include Win16 support
2632 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2633 binaries)
2634 --disable-tests do not build the regression tests
2635 --enable-build-id include .buildid section in output objects
2636 --enable-maintainer-mode
2637 enable maintainer-specific build rules
2638 --enable-silent-rules use silent build rules (override: "make V=1")
2639 --enable-werror treat compilation warnings as errors
2640 --disable-largefile omit support for large files
2642 Optional Packages:
2643 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2644 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2645 --without-alsa do not use the Alsa sound support
2646 --without-capi do not use CAPI (ISDN support)
2647 --without-coreaudio do not use the CoreAudio sound support
2648 --without-cups do not use CUPS
2649 --without-dbus do not use DBus (dynamic device support)
2650 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2651 --without-fontconfig do not use fontconfig
2652 --without-freetype do not use the FreeType library
2653 --without-gettext do not use gettext
2654 --with-gettextpo use the GetTextPO library to rebuild po files
2655 --without-gphoto do not use gphoto (Digital Camera support)
2656 --without-gnutls do not use GnuTLS (schannel support)
2657 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2658 --without-gstreamer do not use GStreamer (codecs support)
2659 --without-hal do not use HAL (dynamic device support)
2660 --without-inotify do not use inotify (filesystem change notifications)
2661 --without-jpeg do not use JPEG
2662 --without-krb5 do not use krb5 (Kerberos)
2663 --without-ldap do not use LDAP
2664 --without-mingw do not use the MinGW cross-compiler
2665 --without-netapi do not use the Samba NetAPI library
2666 --without-openal do not use OpenAL
2667 --without-opencl do not use OpenCL
2668 --without-opengl do not use OpenGL
2669 --without-osmesa do not use the OSMesa library
2670 --without-oss do not use the OSS sound support
2671 --without-pcap do not use the Packet Capture library
2672 --without-pthread do not use the pthread library
2673 --without-pulse do not use PulseAudio sound support
2674 --without-quicktime do not use QuickTime support
2675 --without-sane do not use SANE (scanner support)
2676 --without-sdl do not use SDL
2677 --without-udev do not use udev (plug and play support)
2678 --without-unwind do not use the libunwind library (exception
2679 handling)
2680 --without-usb do not use the libusb library
2681 --without-v4l2 do not use v4l2 (video capture)
2682 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2683 --without-vulkan do not use Vulkan
2684 --without-xcomposite do not use the Xcomposite extension
2685 --without-xcursor do not use the Xcursor extension
2686 --without-xfixes do not use Xfixes for clipboard change notifications
2687 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2688 --without-xinput do not use the Xinput extension
2689 --without-xinput2 do not use the Xinput 2 extension
2690 --without-xrandr do not use Xrandr (multi-monitor support)
2691 --without-xrender do not use the Xrender extension
2692 --without-xshape do not use the Xshape extension
2693 --without-xshm do not use XShm (shared memory extension)
2694 --without-xxf86vm do not use XFree video mode extension
2695 --with-wine-tools=DIR use Wine tools from directory DIR
2696 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2697 --with-x use the X Window System
2699 Some influential environment variables:
2700 CC C compiler command
2701 CFLAGS C compiler flags
2702 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2703 nonstandard directory <lib dir>
2704 LIBS libraries to pass to the linker, e.g. -l<library>
2705 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2706 you have headers in a nonstandard directory <include dir>
2707 CXX C++ compiler command
2708 CXXFLAGS C++ compiler flags
2709 CPP C preprocessor
2710 OBJC Objective C compiler command
2711 OBJCFLAGS Objective C compiler flags
2712 OBJCPP Objective C preprocessor
2713 FAUDIO_PE_CFLAGS
2714 C compiler flags for the PE faudio, overriding the bundled
2715 version
2716 FAUDIO_PE_LIBS
2717 Linker flags for the PE faudio, overriding the bundled version
2718 GSM_PE_CFLAGS
2719 C compiler flags for the PE gsm, overriding the bundled version
2720 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2721 JPEG_PE_CFLAGS
2722 C compiler flags for the PE jpeg, overriding the bundled version
2723 JPEG_PE_LIBS
2724 Linker flags for the PE jpeg, overriding the bundled version
2725 JXR_PE_CFLAGS
2726 C compiler flags for the PE jxr, overriding the bundled version
2727 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2728 LCMS2_PE_CFLAGS
2729 C compiler flags for the PE lcms2, overriding the bundled
2730 version
2731 LCMS2_PE_LIBS
2732 Linker flags for the PE lcms2, overriding the bundled version
2733 MPG123_PE_CFLAGS
2734 C compiler flags for the PE mpg123, overriding the bundled
2735 version
2736 MPG123_PE_LIBS
2737 Linker flags for the PE mpg123, overriding the bundled version
2738 PNG_PE_CFLAGS
2739 C compiler flags for the PE png, overriding the bundled version
2740 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2741 TIFF_PE_CFLAGS
2742 C compiler flags for the PE tiff, overriding the bundled version
2743 TIFF_PE_LIBS
2744 Linker flags for the PE tiff, overriding the bundled version
2745 XML2_PE_CFLAGS
2746 C compiler flags for the PE libxml2, overriding the bundled
2747 version
2748 XML2_PE_LIBS
2749 Linker flags for the PE libxml2, overriding the bundled version
2750 XSLT_PE_CFLAGS
2751 C compiler flags for the PE libxslt, overriding the bundled
2752 version
2753 XSLT_PE_LIBS
2754 Linker flags for the PE libxslt, overriding the bundled version
2755 ZLIB_PE_CFLAGS
2756 C compiler flags for the PE zlib, overriding the bundled version
2757 ZLIB_PE_LIBS
2758 Linker flags for the PE zlib, overriding the bundled version
2759 XMKMF Path to xmkmf, Makefile generator for X Window System
2760 INOTIFY_CFLAGS
2761 C compiler flags for libinotify, overriding pkg-config
2762 INOTIFY_LIBS
2763 Linker flags for libinotify, overriding pkg-config
2764 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2765 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2766 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2767 HAL_LIBS Linker flags for hal, overriding pkg-config
2768 GNUTLS_CFLAGS
2769 C compiler flags for gnutls, overriding pkg-config
2770 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2771 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2772 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2773 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2774 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2775 GPHOTO2_CFLAGS
2776 C compiler flags for libgphoto2, overriding pkg-config
2777 GPHOTO2_LIBS
2778 Linker flags for libgphoto2, overriding pkg-config
2779 GPHOTO2_PORT_CFLAGS
2780 C compiler flags for libgphoto2_port, overriding pkg-config
2781 GPHOTO2_PORT_LIBS
2782 Linker flags for libgphoto2_port, overriding pkg-config
2783 FREETYPE_CFLAGS
2784 C compiler flags for freetype2, overriding pkg-config
2785 FREETYPE_LIBS
2786 Linker flags for freetype2, overriding pkg-config
2787 PULSE_CFLAGS
2788 C compiler flags for libpulse, overriding pkg-config
2789 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2790 GSTREAMER_CFLAGS
2791 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2792 gstreamer-audio-1.0, overriding pkg-config
2793 GSTREAMER_LIBS
2794 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2795 gstreamer-audio-1.0, overriding pkg-config
2796 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2797 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2798 UNWIND_CFLAGS
2799 C compiler flags for libunwind, overriding pkg-config
2800 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2801 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2802 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2803 CAPI20_CFLAGS
2804 C compiler flags for capi20, overriding pkg-config
2805 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2806 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2807 CUPS_LIBS Linker flags for cups, overriding pkg-config
2808 FONTCONFIG_CFLAGS
2809 C compiler flags for fontconfig, overriding pkg-config
2810 FONTCONFIG_LIBS
2811 Linker flags for fontconfig, overriding pkg-config
2812 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2813 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2814 GSSAPI_CFLAGS
2815 C compiler flags for krb5-gssapi, overriding pkg-config
2816 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2817 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2818 JPEG_LIBS Linker flags for libjpeg, 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.20
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.20, 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-jpeg was given.
4102 if test "${with_jpeg+set}" = set; then :
4103 withval=$with_jpeg;
4107 # Check whether --with-krb5 was given.
4108 if test "${with_krb5+set}" = set; then :
4109 withval=$with_krb5;
4113 # Check whether --with-ldap was given.
4114 if test "${with_ldap+set}" = set; then :
4115 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4119 # Check whether --with-mingw was given.
4120 if test "${with_mingw+set}" = set; then :
4121 withval=$with_mingw;
4125 # Check whether --with-netapi was given.
4126 if test "${with_netapi+set}" = set; then :
4127 withval=$with_netapi;
4131 # Check whether --with-openal was given.
4132 if test "${with_openal+set}" = set; then :
4133 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4137 # Check whether --with-opencl was given.
4138 if test "${with_opencl+set}" = set; then :
4139 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4143 # Check whether --with-opengl was given.
4144 if test "${with_opengl+set}" = set; then :
4145 withval=$with_opengl;
4149 # Check whether --with-osmesa was given.
4150 if test "${with_osmesa+set}" = set; then :
4151 withval=$with_osmesa;
4155 # Check whether --with-oss was given.
4156 if test "${with_oss+set}" = set; then :
4157 withval=$with_oss;
4161 # Check whether --with-pcap was given.
4162 if test "${with_pcap+set}" = set; then :
4163 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4167 # Check whether --with-pthread was given.
4168 if test "${with_pthread+set}" = set; then :
4169 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4173 # Check whether --with-pulse was given.
4174 if test "${with_pulse+set}" = set; then :
4175 withval=$with_pulse;
4179 # Check whether --with-quicktime was given.
4180 if test "${with_quicktime+set}" = set; then :
4181 withval=$with_quicktime;
4185 # Check whether --with-sane was given.
4186 if test "${with_sane+set}" = set; then :
4187 withval=$with_sane;
4191 # Check whether --with-sdl was given.
4192 if test "${with_sdl+set}" = set; then :
4193 withval=$with_sdl;
4197 # Check whether --with-udev was given.
4198 if test "${with_udev+set}" = set; then :
4199 withval=$with_udev;
4203 # Check whether --with-unwind was given.
4204 if test "${with_unwind+set}" = set; then :
4205 withval=$with_unwind;
4209 # Check whether --with-usb was given.
4210 if test "${with_usb+set}" = set; then :
4211 withval=$with_usb;
4215 # Check whether --with-v4l2 was given.
4216 if test "${with_v4l2+set}" = set; then :
4217 withval=$with_v4l2;
4221 # Check whether --with-vkd3d was given.
4222 if test "${with_vkd3d+set}" = set; then :
4223 withval=$with_vkd3d;
4227 # Check whether --with-vulkan was given.
4228 if test "${with_vulkan+set}" = set; then :
4229 withval=$with_vulkan;
4233 # Check whether --with-xcomposite was given.
4234 if test "${with_xcomposite+set}" = set; then :
4235 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4239 # Check whether --with-xcursor was given.
4240 if test "${with_xcursor+set}" = set; then :
4241 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4245 # Check whether --with-xfixes was given.
4246 if test "${with_xfixes+set}" = set; then :
4247 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4251 # Check whether --with-xinerama was given.
4252 if test "${with_xinerama+set}" = set; then :
4253 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4257 # Check whether --with-xinput was given.
4258 if test "${with_xinput+set}" = set; then :
4259 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4263 # Check whether --with-xinput2 was given.
4264 if test "${with_xinput2+set}" = set; then :
4265 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4269 # Check whether --with-xrandr was given.
4270 if test "${with_xrandr+set}" = set; then :
4271 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4275 # Check whether --with-xrender was given.
4276 if test "${with_xrender+set}" = set; then :
4277 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4281 # Check whether --with-xshape was given.
4282 if test "${with_xshape+set}" = set; then :
4283 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4287 # Check whether --with-xshm was given.
4288 if test "${with_xshm+set}" = set; then :
4289 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4293 # Check whether --with-xxf86vm was given.
4294 if test "${with_xxf86vm+set}" = set; then :
4295 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
4300 # Check whether --with-wine-tools was given.
4301 if test "${with_wine_tools+set}" = set; then :
4302 withval=$with_wine_tools;
4306 # Check whether --with-wine64 was given.
4307 if test "${with_wine64+set}" = set; then :
4308 withval=$with_wine64;
4312 # Make sure we can run config.sub.
4313 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4314 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4317 $as_echo_n "checking build system type... " >&6; }
4318 if ${ac_cv_build+:} false; then :
4319 $as_echo_n "(cached) " >&6
4320 else
4321 ac_build_alias=$build_alias
4322 test "x$ac_build_alias" = x &&
4323 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4324 test "x$ac_build_alias" = x &&
4325 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4326 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4327 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4331 $as_echo "$ac_cv_build" >&6; }
4332 case $ac_cv_build in
4333 *-*-*) ;;
4334 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4335 esac
4336 build=$ac_cv_build
4337 ac_save_IFS=$IFS; IFS='-'
4338 set x $ac_cv_build
4339 shift
4340 build_cpu=$1
4341 build_vendor=$2
4342 shift; shift
4343 # Remember, the first character of IFS is used to create $*,
4344 # except with old shells:
4345 build_os=$*
4346 IFS=$ac_save_IFS
4347 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4351 $as_echo_n "checking host system type... " >&6; }
4352 if ${ac_cv_host+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 if test "x$host_alias" = x; then
4356 ac_cv_host=$ac_cv_build
4357 else
4358 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4359 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4364 $as_echo "$ac_cv_host" >&6; }
4365 case $ac_cv_host in
4366 *-*-*) ;;
4367 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4368 esac
4369 host=$ac_cv_host
4370 ac_save_IFS=$IFS; IFS='-'
4371 set x $ac_cv_host
4372 shift
4373 host_cpu=$1
4374 host_vendor=$2
4375 shift; shift
4376 # Remember, the first character of IFS is used to create $*,
4377 # except with old shells:
4378 host_os=$*
4379 IFS=$ac_save_IFS
4380 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4386 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4387 set x ${MAKE-make}
4388 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4389 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 cat >conftest.make <<\_ACEOF
4393 SHELL = /bin/sh
4394 all:
4395 @echo '@@@%%%=$(MAKE)=@@@%%%'
4396 _ACEOF
4397 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4398 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4399 *@@@%%%=?*=@@@%%%*)
4400 eval ac_cv_prog_make_${ac_make}_set=yes;;
4402 eval ac_cv_prog_make_${ac_make}_set=no;;
4403 esac
4404 rm -f conftest.make
4406 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4408 $as_echo "yes" >&6; }
4409 SET_MAKE=
4410 else
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412 $as_echo "no" >&6; }
4413 SET_MAKE="MAKE=${MAKE-make}"
4416 ac_ext=c
4417 ac_cpp='$CPP $CPPFLAGS'
4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4421 if test -n "$ac_tool_prefix"; then
4422 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4423 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_prog_CC+:} false; then :
4427 $as_echo_n "(cached) " >&6
4428 else
4429 if test -n "$CC"; then
4430 ac_cv_prog_CC="$CC" # Let the user override the test.
4431 else
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 for as_dir in $PATH
4435 IFS=$as_save_IFS
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 break 2
4443 done
4444 done
4445 IFS=$as_save_IFS
4449 CC=$ac_cv_prog_CC
4450 if test -n "$CC"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4452 $as_echo "$CC" >&6; }
4453 else
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455 $as_echo "no" >&6; }
4460 if test -z "$ac_cv_prog_CC"; then
4461 ac_ct_CC=$CC
4462 # Extract the first word of "gcc", so it can be a program name with args.
4463 set dummy gcc; ac_word=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 if test -n "$ac_ct_CC"; then
4470 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4471 else
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 for as_dir in $PATH
4475 IFS=$as_save_IFS
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_ac_ct_CC="gcc"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 break 2
4483 done
4484 done
4485 IFS=$as_save_IFS
4489 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4490 if test -n "$ac_ct_CC"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4492 $as_echo "$ac_ct_CC" >&6; }
4493 else
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4498 if test "x$ac_ct_CC" = x; then
4499 CC=""
4500 else
4501 case $cross_compiling:$ac_tool_warned in
4502 yes:)
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4505 ac_tool_warned=yes ;;
4506 esac
4507 CC=$ac_ct_CC
4509 else
4510 CC="$ac_cv_prog_CC"
4513 if test -z "$CC"; then
4514 if test -n "$ac_tool_prefix"; then
4515 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4516 set dummy ${ac_tool_prefix}cc; ac_word=$2
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4518 $as_echo_n "checking for $ac_word... " >&6; }
4519 if ${ac_cv_prog_CC+:} false; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 if test -n "$CC"; then
4523 ac_cv_prog_CC="$CC" # Let the user override the test.
4524 else
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 for as_dir in $PATH
4528 IFS=$as_save_IFS
4529 test -z "$as_dir" && as_dir=.
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4532 ac_cv_prog_CC="${ac_tool_prefix}cc"
4533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 break 2
4536 done
4537 done
4538 IFS=$as_save_IFS
4542 CC=$ac_cv_prog_CC
4543 if test -n "$CC"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4545 $as_echo "$CC" >&6; }
4546 else
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4554 if test -z "$CC"; then
4555 # Extract the first word of "cc", so it can be a program name with args.
4556 set dummy cc; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_prog_CC+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 if test -n "$CC"; then
4563 ac_cv_prog_CC="$CC" # Let the user override the test.
4564 else
4565 ac_prog_rejected=no
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 for as_dir in $PATH
4569 IFS=$as_save_IFS
4570 test -z "$as_dir" && as_dir=.
4571 for ac_exec_ext in '' $ac_executable_extensions; do
4572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4573 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4574 ac_prog_rejected=yes
4575 continue
4577 ac_cv_prog_CC="cc"
4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 break 2
4581 done
4582 done
4583 IFS=$as_save_IFS
4585 if test $ac_prog_rejected = yes; then
4586 # We found a bogon in the path, so make sure we never use it.
4587 set dummy $ac_cv_prog_CC
4588 shift
4589 if test $# != 0; then
4590 # We chose a different compiler from the bogus one.
4591 # However, it has the same basename, so the bogon will be chosen
4592 # first if we set CC to just the basename; use the full file name.
4593 shift
4594 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4599 CC=$ac_cv_prog_CC
4600 if test -n "$CC"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4602 $as_echo "$CC" >&6; }
4603 else
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4610 if test -z "$CC"; then
4611 if test -n "$ac_tool_prefix"; then
4612 for ac_prog in cl.exe
4614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_CC+:} false; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 if test -n "$CC"; then
4622 ac_cv_prog_CC="$CC" # Let the user override the test.
4623 else
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4627 IFS=$as_save_IFS
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 break 2
4635 done
4636 done
4637 IFS=$as_save_IFS
4641 CC=$ac_cv_prog_CC
4642 if test -n "$CC"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4644 $as_echo "$CC" >&6; }
4645 else
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 test -n "$CC" && break
4652 done
4654 if test -z "$CC"; then
4655 ac_ct_CC=$CC
4656 for ac_prog in cl.exe
4658 # Extract the first word of "$ac_prog", so it can be a program name with args.
4659 set dummy $ac_prog; ac_word=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4663 $as_echo_n "(cached) " >&6
4664 else
4665 if test -n "$ac_ct_CC"; then
4666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4667 else
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH
4671 IFS=$as_save_IFS
4672 test -z "$as_dir" && as_dir=.
4673 for ac_exec_ext in '' $ac_executable_extensions; do
4674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_ac_ct_CC="$ac_prog"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 break 2
4679 done
4680 done
4681 IFS=$as_save_IFS
4685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4686 if test -n "$ac_ct_CC"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4688 $as_echo "$ac_ct_CC" >&6; }
4689 else
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4695 test -n "$ac_ct_CC" && break
4696 done
4698 if test "x$ac_ct_CC" = x; then
4699 CC=""
4700 else
4701 case $cross_compiling:$ac_tool_warned in
4702 yes:)
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4705 ac_tool_warned=yes ;;
4706 esac
4707 CC=$ac_ct_CC
4714 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4716 as_fn_error $? "no acceptable C compiler found in \$PATH
4717 See \`config.log' for more details" "$LINENO" 5; }
4719 # Provide some information about the compiler.
4720 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4721 set X $ac_compile
4722 ac_compiler=$2
4723 for ac_option in --version -v -V -qversion; do
4724 { { ac_try="$ac_compiler $ac_option >&5"
4725 case "(($ac_try" in
4726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4727 *) ac_try_echo=$ac_try;;
4728 esac
4729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4730 $as_echo "$ac_try_echo"; } >&5
4731 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4732 ac_status=$?
4733 if test -s conftest.err; then
4734 sed '10a\
4735 ... rest of stderr output deleted ...
4736 10q' conftest.err >conftest.er1
4737 cat conftest.er1 >&5
4739 rm -f conftest.er1 conftest.err
4740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4741 test $ac_status = 0; }
4742 done
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4748 main ()
4752 return 0;
4754 _ACEOF
4755 ac_clean_files_save=$ac_clean_files
4756 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4757 # Try to create an executable without -o first, disregard a.out.
4758 # It will help us diagnose broken compilers, and finding out an intuition
4759 # of exeext.
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4761 $as_echo_n "checking whether the C compiler works... " >&6; }
4762 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4764 # The possible output files:
4765 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4767 ac_rmfiles=
4768 for ac_file in $ac_files
4770 case $ac_file in
4771 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4772 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4773 esac
4774 done
4775 rm -f $ac_rmfiles
4777 if { { ac_try="$ac_link_default"
4778 case "(($ac_try" in
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4781 esac
4782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_link_default") 2>&5
4785 ac_status=$?
4786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4787 test $ac_status = 0; }; then :
4788 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4789 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4790 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4791 # so that the user can short-circuit this test for compilers unknown to
4792 # Autoconf.
4793 for ac_file in $ac_files ''
4795 test -f "$ac_file" || continue
4796 case $ac_file in
4797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4799 [ab].out )
4800 # We found the default executable, but exeext='' is most
4801 # certainly right.
4802 break;;
4803 *.* )
4804 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4805 then :; else
4806 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4808 # We set ac_cv_exeext here because the later test for it is not
4809 # safe: cross compilers may not add the suffix if given an `-o'
4810 # argument, so we may need to know it at that point already.
4811 # Even if this section looks crufty: it has the advantage of
4812 # actually working.
4813 break;;
4815 break;;
4816 esac
4817 done
4818 test "$ac_cv_exeext" = no && ac_cv_exeext=
4820 else
4821 ac_file=''
4823 if test -z "$ac_file"; then :
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4826 $as_echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4831 as_fn_error 77 "C compiler cannot create executables
4832 See \`config.log' for more details" "$LINENO" 5; }
4833 else
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4835 $as_echo "yes" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4838 $as_echo_n "checking for C compiler default output file name... " >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4840 $as_echo "$ac_file" >&6; }
4841 ac_exeext=$ac_cv_exeext
4843 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4844 ac_clean_files=$ac_clean_files_save
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4846 $as_echo_n "checking for suffix of executables... " >&6; }
4847 if { { ac_try="$ac_link"
4848 case "(($ac_try" in
4849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4851 esac
4852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4853 $as_echo "$ac_try_echo"; } >&5
4854 (eval "$ac_link") 2>&5
4855 ac_status=$?
4856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4857 test $ac_status = 0; }; then :
4858 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4859 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4860 # work properly (i.e., refer to `conftest.exe'), while it won't with
4861 # `rm'.
4862 for ac_file in conftest.exe conftest conftest.*; do
4863 test -f "$ac_file" || continue
4864 case $ac_file in
4865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4866 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4867 break;;
4868 * ) break;;
4869 esac
4870 done
4871 else
4872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4874 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4875 See \`config.log' for more details" "$LINENO" 5; }
4877 rm -f conftest conftest$ac_cv_exeext
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4879 $as_echo "$ac_cv_exeext" >&6; }
4881 rm -f conftest.$ac_ext
4882 EXEEXT=$ac_cv_exeext
4883 ac_exeext=$EXEEXT
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4886 #include <stdio.h>
4888 main ()
4890 FILE *f = fopen ("conftest.out", "w");
4891 return ferror (f) || fclose (f) != 0;
4894 return 0;
4896 _ACEOF
4897 ac_clean_files="$ac_clean_files conftest.out"
4898 # Check that the compiler produces executables we can run. If not, either
4899 # the compiler is broken, or we cross compile.
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4901 $as_echo_n "checking whether we are cross compiling... " >&6; }
4902 if test "$cross_compiling" != yes; then
4903 { { ac_try="$ac_link"
4904 case "(($ac_try" in
4905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4907 esac
4908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4909 $as_echo "$ac_try_echo"; } >&5
4910 (eval "$ac_link") 2>&5
4911 ac_status=$?
4912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4913 test $ac_status = 0; }
4914 if { ac_try='./conftest$ac_cv_exeext'
4915 { { case "(($ac_try" in
4916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4917 *) ac_try_echo=$ac_try;;
4918 esac
4919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4920 $as_echo "$ac_try_echo"; } >&5
4921 (eval "$ac_try") 2>&5
4922 ac_status=$?
4923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4924 test $ac_status = 0; }; }; then
4925 cross_compiling=no
4926 else
4927 if test "$cross_compiling" = maybe; then
4928 cross_compiling=yes
4929 else
4930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4932 as_fn_error $? "cannot run C compiled programs.
4933 If you meant to cross compile, use \`--host'.
4934 See \`config.log' for more details" "$LINENO" 5; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4939 $as_echo "$cross_compiling" >&6; }
4941 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4942 ac_clean_files=$ac_clean_files_save
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4944 $as_echo_n "checking for suffix of object files... " >&6; }
4945 if ${ac_cv_objext+:} false; then :
4946 $as_echo_n "(cached) " >&6
4947 else
4948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4949 /* end confdefs.h. */
4952 main ()
4956 return 0;
4958 _ACEOF
4959 rm -f conftest.o conftest.obj
4960 if { { ac_try="$ac_compile"
4961 case "(($ac_try" in
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4964 esac
4965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4966 $as_echo "$ac_try_echo"; } >&5
4967 (eval "$ac_compile") 2>&5
4968 ac_status=$?
4969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4970 test $ac_status = 0; }; then :
4971 for ac_file in conftest.o conftest.obj conftest.*; do
4972 test -f "$ac_file" || continue;
4973 case $ac_file in
4974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4975 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4976 break;;
4977 esac
4978 done
4979 else
4980 $as_echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4985 as_fn_error $? "cannot compute suffix of object files: cannot compile
4986 See \`config.log' for more details" "$LINENO" 5; }
4988 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4991 $as_echo "$ac_cv_objext" >&6; }
4992 OBJEXT=$ac_cv_objext
4993 ac_objext=$OBJEXT
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4995 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4996 if ${ac_cv_c_compiler_gnu+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5003 main ()
5005 #ifndef __GNUC__
5006 choke me
5007 #endif
5010 return 0;
5012 _ACEOF
5013 if ac_fn_c_try_compile "$LINENO"; then :
5014 ac_compiler_gnu=yes
5015 else
5016 ac_compiler_gnu=no
5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5023 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5024 if test $ac_compiler_gnu = yes; then
5025 GCC=yes
5026 else
5027 GCC=
5029 ac_test_CFLAGS=${CFLAGS+set}
5030 ac_save_CFLAGS=$CFLAGS
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5032 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5033 if ${ac_cv_prog_cc_g+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 ac_save_c_werror_flag=$ac_c_werror_flag
5037 ac_c_werror_flag=yes
5038 ac_cv_prog_cc_g=no
5039 CFLAGS="-g"
5040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5041 /* end confdefs.h. */
5044 main ()
5048 return 0;
5050 _ACEOF
5051 if ac_fn_c_try_compile "$LINENO"; then :
5052 ac_cv_prog_cc_g=yes
5053 else
5054 CFLAGS=""
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5059 main ()
5063 return 0;
5065 _ACEOF
5066 if ac_fn_c_try_compile "$LINENO"; then :
5068 else
5069 ac_c_werror_flag=$ac_save_c_werror_flag
5070 CFLAGS="-g"
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5075 main ()
5079 return 0;
5081 _ACEOF
5082 if ac_fn_c_try_compile "$LINENO"; then :
5083 ac_cv_prog_cc_g=yes
5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5090 ac_c_werror_flag=$ac_save_c_werror_flag
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5093 $as_echo "$ac_cv_prog_cc_g" >&6; }
5094 if test "$ac_test_CFLAGS" = set; then
5095 CFLAGS=$ac_save_CFLAGS
5096 elif test $ac_cv_prog_cc_g = yes; then
5097 if test "$GCC" = yes; then
5098 CFLAGS="-g -O2"
5099 else
5100 CFLAGS="-g"
5102 else
5103 if test "$GCC" = yes; then
5104 CFLAGS="-O2"
5105 else
5106 CFLAGS=
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5110 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5111 if ${ac_cv_prog_cc_c89+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 ac_cv_prog_cc_c89=no
5115 ac_save_CC=$CC
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h. */
5118 #include <stdarg.h>
5119 #include <stdio.h>
5120 struct stat;
5121 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5122 struct buf { int x; };
5123 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5124 static char *e (p, i)
5125 char **p;
5126 int i;
5128 return p[i];
5130 static char *f (char * (*g) (char **, int), char **p, ...)
5132 char *s;
5133 va_list v;
5134 va_start (v,p);
5135 s = g (p, va_arg (v,int));
5136 va_end (v);
5137 return s;
5140 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5141 function prototypes and stuff, but not '\xHH' hex character constants.
5142 These don't provoke an error unfortunately, instead are silently treated
5143 as 'x'. The following induces an error, until -std is added to get
5144 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5145 array size at least. It's necessary to write '\x00'==0 to get something
5146 that's true only with -std. */
5147 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5150 inside strings and character constants. */
5151 #define FOO(x) 'x'
5152 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5154 int test (int i, double x);
5155 struct s1 {int (*f) (int a);};
5156 struct s2 {int (*f) (double a);};
5157 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5158 int argc;
5159 char **argv;
5161 main ()
5163 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5165 return 0;
5167 _ACEOF
5168 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5169 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5171 CC="$ac_save_CC $ac_arg"
5172 if ac_fn_c_try_compile "$LINENO"; then :
5173 ac_cv_prog_cc_c89=$ac_arg
5175 rm -f core conftest.err conftest.$ac_objext
5176 test "x$ac_cv_prog_cc_c89" != "xno" && break
5177 done
5178 rm -f conftest.$ac_ext
5179 CC=$ac_save_CC
5182 # AC_CACHE_VAL
5183 case "x$ac_cv_prog_cc_c89" in
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5186 $as_echo "none needed" >&6; } ;;
5187 xno)
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5189 $as_echo "unsupported" >&6; } ;;
5191 CC="$CC $ac_cv_prog_cc_c89"
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5193 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5194 esac
5195 if test "x$ac_cv_prog_cc_c89" != xno; then :
5199 ac_ext=c
5200 ac_cpp='$CPP $CPPFLAGS'
5201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5205 ac_ext=cpp
5206 ac_cpp='$CXXCPP $CPPFLAGS'
5207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5210 if test -z "$CXX"; then
5211 if test -n "$CCC"; then
5212 CXX=$CCC
5213 else
5214 if test -n "$ac_tool_prefix"; then
5215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_CXX+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 if test -n "$CXX"; then
5225 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5226 else
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 break 2
5238 done
5239 done
5240 IFS=$as_save_IFS
5244 CXX=$ac_cv_prog_CXX
5245 if test -n "$CXX"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5247 $as_echo "$CXX" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$CXX" && break
5255 done
5257 if test -z "$CXX"; then
5258 ac_ct_CXX=$CXX
5259 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5261 # Extract the first word of "$ac_prog", so it can be a program name with args.
5262 set dummy $ac_prog; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 if test -n "$ac_ct_CXX"; then
5269 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5274 IFS=$as_save_IFS
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_ac_ct_CXX="$ac_prog"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 break 2
5282 done
5283 done
5284 IFS=$as_save_IFS
5288 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5289 if test -n "$ac_ct_CXX"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5291 $as_echo "$ac_ct_CXX" >&6; }
5292 else
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5298 test -n "$ac_ct_CXX" && break
5299 done
5301 if test "x$ac_ct_CXX" = x; then
5302 CXX="g++"
5303 else
5304 case $cross_compiling:$ac_tool_warned in
5305 yes:)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5308 ac_tool_warned=yes ;;
5309 esac
5310 CXX=$ac_ct_CXX
5316 # Provide some information about the compiler.
5317 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5318 set X $ac_compile
5319 ac_compiler=$2
5320 for ac_option in --version -v -V -qversion; do
5321 { { ac_try="$ac_compiler $ac_option >&5"
5322 case "(($ac_try" in
5323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5324 *) ac_try_echo=$ac_try;;
5325 esac
5326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5327 $as_echo "$ac_try_echo"; } >&5
5328 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5329 ac_status=$?
5330 if test -s conftest.err; then
5331 sed '10a\
5332 ... rest of stderr output deleted ...
5333 10q' conftest.err >conftest.er1
5334 cat conftest.er1 >&5
5336 rm -f conftest.er1 conftest.err
5337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5338 test $ac_status = 0; }
5339 done
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5342 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5343 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main ()
5352 #ifndef __GNUC__
5353 choke me
5354 #endif
5357 return 0;
5359 _ACEOF
5360 if ac_fn_cxx_try_compile "$LINENO"; then :
5361 ac_compiler_gnu=yes
5362 else
5363 ac_compiler_gnu=no
5365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5366 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5370 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5371 if test $ac_compiler_gnu = yes; then
5372 GXX=yes
5373 else
5374 GXX=
5376 ac_test_CXXFLAGS=${CXXFLAGS+set}
5377 ac_save_CXXFLAGS=$CXXFLAGS
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5379 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5380 if ${ac_cv_prog_cxx_g+:} false; then :
5381 $as_echo_n "(cached) " >&6
5382 else
5383 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5384 ac_cxx_werror_flag=yes
5385 ac_cv_prog_cxx_g=no
5386 CXXFLAGS="-g"
5387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5391 main ()
5395 return 0;
5397 _ACEOF
5398 if ac_fn_cxx_try_compile "$LINENO"; then :
5399 ac_cv_prog_cxx_g=yes
5400 else
5401 CXXFLAGS=""
5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5406 main ()
5410 return 0;
5412 _ACEOF
5413 if ac_fn_cxx_try_compile "$LINENO"; then :
5415 else
5416 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5417 CXXFLAGS="-g"
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5422 main ()
5426 return 0;
5428 _ACEOF
5429 if ac_fn_cxx_try_compile "$LINENO"; then :
5430 ac_cv_prog_cxx_g=yes
5432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5437 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5440 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5441 if test "$ac_test_CXXFLAGS" = set; then
5442 CXXFLAGS=$ac_save_CXXFLAGS
5443 elif test $ac_cv_prog_cxx_g = yes; then
5444 if test "$GXX" = yes; then
5445 CXXFLAGS="-g -O2"
5446 else
5447 CXXFLAGS="-g"
5449 else
5450 if test "$GXX" = yes; then
5451 CXXFLAGS="-O2"
5452 else
5453 CXXFLAGS=
5456 ac_ext=c
5457 ac_cpp='$CPP $CPPFLAGS'
5458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5462 if test -n "$ac_tool_prefix"; then
5463 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5464 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_CPPBIN+:} false; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 if test -n "$CPPBIN"; then
5471 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5472 else
5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474 for as_dir in $PATH
5476 IFS=$as_save_IFS
5477 test -z "$as_dir" && as_dir=.
5478 for ac_exec_ext in '' $ac_executable_extensions; do
5479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5480 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 break 2
5484 done
5485 done
5486 IFS=$as_save_IFS
5490 CPPBIN=$ac_cv_prog_CPPBIN
5491 if test -n "$CPPBIN"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5493 $as_echo "$CPPBIN" >&6; }
5494 else
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5501 if test -z "$ac_cv_prog_CPPBIN"; then
5502 ac_ct_CPPBIN=$CPPBIN
5503 # Extract the first word of "cpp", so it can be a program name with args.
5504 set dummy cpp; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5508 $as_echo_n "(cached) " >&6
5509 else
5510 if test -n "$ac_ct_CPPBIN"; then
5511 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5512 else
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH
5516 IFS=$as_save_IFS
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_ac_ct_CPPBIN="cpp"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 break 2
5524 done
5525 done
5526 IFS=$as_save_IFS
5530 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5531 if test -n "$ac_ct_CPPBIN"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5533 $as_echo "$ac_ct_CPPBIN" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5539 if test "x$ac_ct_CPPBIN" = x; then
5540 CPPBIN="cpp"
5541 else
5542 case $cross_compiling:$ac_tool_warned in
5543 yes:)
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5546 ac_tool_warned=yes ;;
5547 esac
5548 CPPBIN=$ac_ct_CPPBIN
5550 else
5551 CPPBIN="$ac_cv_prog_CPPBIN"
5555 cat >>confdefs.h <<_ACEOF
5556 #define EXEEXT "$ac_exeext"
5557 _ACEOF
5559 if test -n "$ac_tool_prefix"; then
5560 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5561 set dummy ${ac_tool_prefix}ld; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_LD+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if test -n "$LD"; then
5568 ac_cv_prog_LD="$LD" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_LD="${ac_tool_prefix}ld"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5581 done
5582 done
5583 IFS=$as_save_IFS
5587 LD=$ac_cv_prog_LD
5588 if test -n "$LD"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5590 $as_echo "$LD" >&6; }
5591 else
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5598 if test -z "$ac_cv_prog_LD"; then
5599 ac_ct_LD=$LD
5600 # Extract the first word of "ld", so it can be a program name with args.
5601 set dummy ld; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5605 $as_echo_n "(cached) " >&6
5606 else
5607 if test -n "$ac_ct_LD"; then
5608 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5613 IFS=$as_save_IFS
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_ac_ct_LD="ld"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 break 2
5621 done
5622 done
5623 IFS=$as_save_IFS
5627 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5628 if test -n "$ac_ct_LD"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5630 $as_echo "$ac_ct_LD" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5636 if test "x$ac_ct_LD" = x; then
5637 LD=""
5638 else
5639 case $cross_compiling:$ac_tool_warned in
5640 yes:)
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5643 ac_tool_warned=yes ;;
5644 esac
5645 LD=$ac_ct_LD
5647 else
5648 LD="$ac_cv_prog_LD"
5652 case $host in
5653 *-darwin*)
5654 with_fontconfig=${with_fontconfig:-no}
5656 *-mingw32*|*-cygwin*)
5657 enable_win16=${enable_win16:-no}
5658 with_mingw=${with_mingw:-no}
5660 esac
5663 case $host in
5664 x86_64*|amd64*)
5665 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5666 then
5667 CC="$CC -m32"
5668 CXX="$CXX -m32"
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5671 $as_echo_n "checking whether $CC works... " >&6; }
5672 if ${wine_cv_cc_m32+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5679 main ()
5683 return 0;
5685 _ACEOF
5686 if ac_fn_c_try_link "$LINENO"; then :
5687 wine_cv_cc_m32=yes
5688 else
5689 wine_cv_cc_m32=no
5691 rm -f core conftest.err conftest.$ac_objext \
5692 conftest$ac_exeext conftest.$ac_ext
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5695 $as_echo "$wine_cv_cc_m32" >&6; }
5696 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
5697 host_cpu="i386"
5698 notice_platform="32-bit "
5699 TARGETFLAGS="$TARGETFLAGS -m32"
5700 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5701 export PKG_CONFIG_PATH
5702 enable_win16=${enable_win16:-yes}
5703 with_unwind=${with_unwind:-no}
5704 else
5705 if test "x${GCC}" = "xyes"
5706 then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5708 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5709 if ${wine_cv_builtin_ms_va_list+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5714 #include <stdarg.h>
5716 main ()
5718 void func(__builtin_ms_va_list *args);
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_compile "$LINENO"; then :
5724 wine_cv_builtin_ms_va_list=yes
5725 else
5726 wine_cv_builtin_ms_va_list=no
5728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5731 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5732 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
5734 CC="$CC -m64"
5735 CXX="$CXX -m64"
5736 host_cpu="x86_64"
5737 notice_platform="64-bit "
5738 TARGETFLAGS="$TARGETFLAGS -m64"
5739 enable_wow64=${enable_wow64:-yes}
5740 enable_wow64win=${enable_wow64win:-yes}
5741 enable_wow64cpu=${enable_wow64cpu:-yes}
5744 arm*)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5746 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5747 if ${wine_cv_thumb2+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5754 main ()
5756 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5758 return 0;
5760 _ACEOF
5761 if ac_fn_c_try_link "$LINENO"; then :
5762 wine_cv_thumb2=yes
5763 else
5764 wine_cv_thumb2=no
5766 rm -f core conftest.err conftest.$ac_objext \
5767 conftest$ac_exeext conftest.$ac_ext
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5770 $as_echo "$wine_cv_thumb2" >&6; }
5771 if test x"$wine_cv_thumb2" = xyes
5772 then
5773 CFLAGS="$CFLAGS -mthumb"
5774 TARGETFLAGS="$TARGETFLAGS -mthumb"
5775 else
5776 CFLAGS="$CFLAGS -marm"
5777 TARGETFLAGS="$TARGETFLAGS -marm"
5779 case $with_float_abi in
5780 soft|softfp|hard)
5781 float_abi=$with_float_abi ;;
5783 case $host_os in
5784 *eabihf)
5785 float_abi=hard ;;
5787 float_abi=softfp
5788 saved_CFLAGS=$CFLAGS
5789 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5791 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5792 if ${wine_cv_float_abi+:} false; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5799 main ()
5801 asm("vmrs r2,fpscr");
5803 return 0;
5805 _ACEOF
5806 if ac_fn_c_try_link "$LINENO"; then :
5807 wine_cv_float_abi=yes
5808 else
5809 wine_cv_float_abi=no
5811 rm -f core conftest.err conftest.$ac_objext \
5812 conftest$ac_exeext conftest.$ac_ext
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5815 $as_echo "$wine_cv_float_abi" >&6; }
5816 if test $wine_cv_float_abi = no
5817 then
5818 float_abi=soft
5819 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5821 CFLAGS=$saved_CFLAGS
5822 esac
5824 esac
5825 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5826 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5828 aarch64*)
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5830 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5831 if ${wine_cv_builtin_ms_va_list+:} false; then :
5832 $as_echo_n "(cached) " >&6
5833 else
5834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5836 #include <stdarg.h>
5838 main ()
5840 void func(__builtin_ms_va_list *args);
5842 return 0;
5844 _ACEOF
5845 if ac_fn_c_try_compile "$LINENO"; then :
5846 wine_cv_builtin_ms_va_list=yes
5847 else
5848 wine_cv_builtin_ms_va_list=no
5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5853 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5854 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5855 enable_wow64=${enable_wow64:-yes}
5856 enable_wow64win=${enable_wow64win:-yes}
5858 i[3456789]86*)
5859 enable_win16=${enable_win16:-yes}
5860 with_unwind=${with_unwind:-no}
5862 esac
5864 enable_win16=${enable_win16:-no}
5865 enable_win64=${enable_win64:-no}
5866 enable_wow64=${enable_wow64:-no}
5867 enable_wow64win=${enable_wow64win:-no}
5868 enable_wow64cpu=${enable_wow64cpu:-no}
5870 enable_winetest=${enable_winetest:-$enable_tests}
5872 if test "x$enable_win64" = "xyes"
5873 then
5874 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5875 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5879 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5880 if ${wine_cv_toolsdir+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 wine_cv_toolsdir="$with_wine_tools"
5884 if test -z "$with_wine_tools"; then
5885 if test "$cross_compiling" = "yes"; then
5886 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5887 elif test -n "$with_wine64"; then
5888 wine_cv_toolsdir="$with_wine64"
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5893 $as_echo "$wine_cv_toolsdir" >&6; }
5894 if test -z "$wine_cv_toolsdir"; then
5895 wine_makedep=tools/makedep
5896 TOOLSDIR="."
5898 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5899 wine_makedep=$wine_cv_toolsdir/tools/makedep
5900 TOOLSDIR=$wine_cv_toolsdir
5902 enable_tools=${enable_tools:-no}
5903 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5904 else
5905 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5907 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5908 then
5909 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5912 for ac_prog in flex
5914 # Extract the first word of "$ac_prog", so it can be a program name with args.
5915 set dummy $ac_prog; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_FLEX+:} false; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 if test -n "$FLEX"; then
5922 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5927 IFS=$as_save_IFS
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_FLEX="$ac_prog"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 break 2
5935 done
5936 done
5937 IFS=$as_save_IFS
5941 FLEX=$ac_cv_prog_FLEX
5942 if test -n "$FLEX"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5944 $as_echo "$FLEX" >&6; }
5945 else
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5951 test -n "$FLEX" && break
5952 done
5953 test -n "$FLEX" || FLEX="none"
5955 if test "$FLEX" = "none"
5956 then
5957 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5960 $as_echo_n "checking whether flex is recent enough... " >&6; }
5961 if ${wine_cv_recent_flex+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 cat >conftest.l <<EOF
5965 %top{
5966 #include "prediluvian.h"
5970 if $FLEX -t conftest.l >/dev/null 2>&5
5971 then
5972 wine_cv_recent_flex=yes
5973 else
5974 wine_cv_recent_flex=no
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5978 $as_echo "$wine_cv_recent_flex" >&6; }
5979 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
5981 for ac_prog in bison
5983 # Extract the first word of "$ac_prog", so it can be a program name with args.
5984 set dummy $ac_prog; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if ${ac_cv_prog_BISON+:} false; then :
5988 $as_echo_n "(cached) " >&6
5989 else
5990 if test -n "$BISON"; then
5991 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5992 else
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 for as_dir in $PATH
5996 IFS=$as_save_IFS
5997 test -z "$as_dir" && as_dir=.
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_BISON="$ac_prog"
6001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6002 break 2
6004 done
6005 done
6006 IFS=$as_save_IFS
6010 BISON=$ac_cv_prog_BISON
6011 if test -n "$BISON"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6013 $as_echo "$BISON" >&6; }
6014 else
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6020 test -n "$BISON" && break
6021 done
6022 test -n "$BISON" || BISON="none"
6024 if test "$BISON" = "none"
6025 then
6026 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6029 $as_echo_n "checking whether bison is recent enough... " >&6; }
6030 if ${wine_cv_recent_bison+:} false; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 cat >conftest.y <<EOF
6034 %define parse.error verbose
6036 empty: ;
6038 if $BISON conftest.y >/dev/null 2>&5
6039 then
6040 wine_cv_recent_bison=yes
6041 else
6042 wine_cv_recent_bison=no
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6046 $as_echo "$wine_cv_recent_bison" >&6; }
6047 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
6049 if test -n "$ac_tool_prefix"; then
6050 for ac_prog in ar gar
6052 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6053 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_AR+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$AR"; then
6060 ac_cv_prog_AR="$AR" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 AR=$ac_cv_prog_AR
6080 if test -n "$AR"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6082 $as_echo "$AR" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6089 test -n "$AR" && break
6090 done
6092 if test -z "$AR"; then
6093 ac_ct_AR=$AR
6094 for ac_prog in ar gar
6096 # Extract the first word of "$ac_prog", so it can be a program name with args.
6097 set dummy $ac_prog; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$ac_ct_AR"; then
6104 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_ac_ct_AR="$ac_prog"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6124 if test -n "$ac_ct_AR"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6126 $as_echo "$ac_ct_AR" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6133 test -n "$ac_ct_AR" && break
6134 done
6136 if test "x$ac_ct_AR" = x; then
6137 AR="ar"
6138 else
6139 case $cross_compiling:$ac_tool_warned in
6140 yes:)
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6143 ac_tool_warned=yes ;;
6144 esac
6145 AR=$ac_ct_AR
6149 if test -n "$ac_tool_prefix"; then
6150 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6151 set dummy ${ac_tool_prefix}strip; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_STRIP+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 if test -n "$STRIP"; then
6158 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 break 2
6171 done
6172 done
6173 IFS=$as_save_IFS
6177 STRIP=$ac_cv_prog_STRIP
6178 if test -n "$STRIP"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6180 $as_echo "$STRIP" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6188 if test -z "$ac_cv_prog_STRIP"; then
6189 ac_ct_STRIP=$STRIP
6190 # Extract the first word of "strip", so it can be a program name with args.
6191 set dummy strip; ac_word=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 $as_echo_n "checking for $ac_word... " >&6; }
6194 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6195 $as_echo_n "(cached) " >&6
6196 else
6197 if test -n "$ac_ct_STRIP"; then
6198 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6199 else
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH
6203 IFS=$as_save_IFS
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_ac_ct_STRIP="strip"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 break 2
6211 done
6212 done
6213 IFS=$as_save_IFS
6217 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6218 if test -n "$ac_ct_STRIP"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6220 $as_echo "$ac_ct_STRIP" >&6; }
6221 else
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6226 if test "x$ac_ct_STRIP" = x; then
6227 STRIP="strip"
6228 else
6229 case $cross_compiling:$ac_tool_warned in
6230 yes:)
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6233 ac_tool_warned=yes ;;
6234 esac
6235 STRIP=$ac_ct_STRIP
6237 else
6238 STRIP="$ac_cv_prog_STRIP"
6241 if test -n "$ac_tool_prefix"; then
6242 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6243 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245 $as_echo_n "checking for $ac_word... " >&6; }
6246 if ${ac_cv_prog_RANLIB+:} false; then :
6247 $as_echo_n "(cached) " >&6
6248 else
6249 if test -n "$RANLIB"; then
6250 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6251 else
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6255 IFS=$as_save_IFS
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6259 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 break 2
6263 done
6264 done
6265 IFS=$as_save_IFS
6269 RANLIB=$ac_cv_prog_RANLIB
6270 if test -n "$RANLIB"; then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6272 $as_echo "$RANLIB" >&6; }
6273 else
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6275 $as_echo "no" >&6; }
6280 if test -z "$ac_cv_prog_RANLIB"; then
6281 ac_ct_RANLIB=$RANLIB
6282 # Extract the first word of "ranlib", so it can be a program name with args.
6283 set dummy ranlib; ac_word=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; }
6286 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 if test -n "$ac_ct_RANLIB"; then
6290 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6291 else
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 for as_dir in $PATH
6295 IFS=$as_save_IFS
6296 test -z "$as_dir" && as_dir=.
6297 for ac_exec_ext in '' $ac_executable_extensions; do
6298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6299 ac_cv_prog_ac_ct_RANLIB="ranlib"
6300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301 break 2
6303 done
6304 done
6305 IFS=$as_save_IFS
6309 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6310 if test -n "$ac_ct_RANLIB"; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6312 $as_echo "$ac_ct_RANLIB" >&6; }
6313 else
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6315 $as_echo "no" >&6; }
6318 if test "x$ac_ct_RANLIB" = x; then
6319 RANLIB=":"
6320 else
6321 case $cross_compiling:$ac_tool_warned in
6322 yes:)
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6325 ac_tool_warned=yes ;;
6326 esac
6327 RANLIB=$ac_ct_RANLIB
6329 else
6330 RANLIB="$ac_cv_prog_RANLIB"
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6334 $as_echo_n "checking whether ln -s works... " >&6; }
6335 LN_S=$as_ln_s
6336 if test "$LN_S" = "ln -s"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6338 $as_echo "yes" >&6; }
6339 else
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6341 $as_echo "no, using $LN_S" >&6; }
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6345 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6346 if ${ac_cv_path_GREP+:} false; then :
6347 $as_echo_n "(cached) " >&6
6348 else
6349 if test -z "$GREP"; then
6350 ac_path_GREP_found=false
6351 # Loop through the user's path and test for each of PROGNAME-LIST
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6355 IFS=$as_save_IFS
6356 test -z "$as_dir" && as_dir=.
6357 for ac_prog in grep ggrep; do
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6360 as_fn_executable_p "$ac_path_GREP" || continue
6361 # Check for GNU ac_path_GREP and select it if it is found.
6362 # Check for GNU $ac_path_GREP
6363 case `"$ac_path_GREP" --version 2>&1` in
6364 *GNU*)
6365 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6367 ac_count=0
6368 $as_echo_n 0123456789 >"conftest.in"
6369 while :
6371 cat "conftest.in" "conftest.in" >"conftest.tmp"
6372 mv "conftest.tmp" "conftest.in"
6373 cp "conftest.in" "conftest.nl"
6374 $as_echo 'GREP' >> "conftest.nl"
6375 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6377 as_fn_arith $ac_count + 1 && ac_count=$as_val
6378 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6379 # Best one so far, save it but keep looking for a better one
6380 ac_cv_path_GREP="$ac_path_GREP"
6381 ac_path_GREP_max=$ac_count
6383 # 10*(2^10) chars as input seems more than enough
6384 test $ac_count -gt 10 && break
6385 done
6386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6387 esac
6389 $ac_path_GREP_found && break 3
6390 done
6391 done
6392 done
6393 IFS=$as_save_IFS
6394 if test -z "$ac_cv_path_GREP"; then
6395 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6397 else
6398 ac_cv_path_GREP=$GREP
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6403 $as_echo "$ac_cv_path_GREP" >&6; }
6404 GREP="$ac_cv_path_GREP"
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6408 $as_echo_n "checking for egrep... " >&6; }
6409 if ${ac_cv_path_EGREP+:} false; then :
6410 $as_echo_n "(cached) " >&6
6411 else
6412 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6413 then ac_cv_path_EGREP="$GREP -E"
6414 else
6415 if test -z "$EGREP"; then
6416 ac_path_EGREP_found=false
6417 # Loop through the user's path and test for each of PROGNAME-LIST
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_prog in egrep; do
6424 for ac_exec_ext in '' $ac_executable_extensions; do
6425 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6426 as_fn_executable_p "$ac_path_EGREP" || continue
6427 # Check for GNU ac_path_EGREP and select it if it is found.
6428 # Check for GNU $ac_path_EGREP
6429 case `"$ac_path_EGREP" --version 2>&1` in
6430 *GNU*)
6431 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6433 ac_count=0
6434 $as_echo_n 0123456789 >"conftest.in"
6435 while :
6437 cat "conftest.in" "conftest.in" >"conftest.tmp"
6438 mv "conftest.tmp" "conftest.in"
6439 cp "conftest.in" "conftest.nl"
6440 $as_echo 'EGREP' >> "conftest.nl"
6441 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6442 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6443 as_fn_arith $ac_count + 1 && ac_count=$as_val
6444 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6445 # Best one so far, save it but keep looking for a better one
6446 ac_cv_path_EGREP="$ac_path_EGREP"
6447 ac_path_EGREP_max=$ac_count
6449 # 10*(2^10) chars as input seems more than enough
6450 test $ac_count -gt 10 && break
6451 done
6452 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6453 esac
6455 $ac_path_EGREP_found && break 3
6456 done
6457 done
6458 done
6459 IFS=$as_save_IFS
6460 if test -z "$ac_cv_path_EGREP"; then
6461 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6463 else
6464 ac_cv_path_EGREP=$EGREP
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6470 $as_echo "$ac_cv_path_EGREP" >&6; }
6471 EGREP="$ac_cv_path_EGREP"
6474 # Extract the first word of "ldconfig", so it can be a program name with args.
6475 set dummy ldconfig; ac_word=$2
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477 $as_echo_n "checking for $ac_word... " >&6; }
6478 if ${ac_cv_path_LDCONFIG+:} false; then :
6479 $as_echo_n "(cached) " >&6
6480 else
6481 case $LDCONFIG in
6482 [\\/]* | ?:[\\/]*)
6483 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in /sbin /usr/sbin $PATH
6489 IFS=$as_save_IFS
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6501 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6503 esac
6505 LDCONFIG=$ac_cv_path_LDCONFIG
6506 if test -n "$LDCONFIG"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6508 $as_echo "$LDCONFIG" >&6; }
6509 else
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 $as_echo "no" >&6; }
6515 for ac_prog in msgfmt
6517 # Extract the first word of "$ac_prog", so it can be a program name with args.
6518 set dummy $ac_prog; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 $as_echo_n "checking for $ac_word... " >&6; }
6521 if ${ac_cv_prog_MSGFMT+:} false; then :
6522 $as_echo_n "(cached) " >&6
6523 else
6524 if test -n "$MSGFMT"; then
6525 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6526 else
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 for as_dir in $PATH
6530 IFS=$as_save_IFS
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6534 ac_cv_prog_MSGFMT="$ac_prog"
6535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6536 break 2
6538 done
6539 done
6540 IFS=$as_save_IFS
6544 MSGFMT=$ac_cv_prog_MSGFMT
6545 if test -n "$MSGFMT"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6547 $as_echo "$MSGFMT" >&6; }
6548 else
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6554 test -n "$MSGFMT" && break
6555 done
6556 test -n "$MSGFMT" || MSGFMT="false"
6558 if ${ac_tool_prefix+:} false; then :
6559 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6560 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6564 $as_echo_n "(cached) " >&6
6565 else
6566 if test -n "$PKG_CONFIG"; then
6567 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6568 else
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 for as_dir in $PATH
6572 IFS=$as_save_IFS
6573 test -z "$as_dir" && as_dir=.
6574 for ac_exec_ext in '' $ac_executable_extensions; do
6575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6576 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 break 2
6580 done
6581 done
6582 IFS=$as_save_IFS
6586 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6587 if test -n "$PKG_CONFIG"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6589 $as_echo "$PKG_CONFIG" >&6; }
6590 else
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6597 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6598 if test "x$cross_compiling" = xyes; then :
6600 else
6601 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6602 # Extract the first word of "pkg-config", so it can be a program name with args.
6603 set dummy pkg-config; ac_word=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6607 $as_echo_n "(cached) " >&6
6608 else
6609 if test -n "$PKG_CONFIG"; then
6610 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6611 else
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 for as_dir in $PATH
6615 IFS=$as_save_IFS
6616 test -z "$as_dir" && as_dir=.
6617 for ac_exec_ext in '' $ac_executable_extensions; do
6618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6619 ac_cv_prog_PKG_CONFIG="pkg-config"
6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6621 break 2
6623 done
6624 done
6625 IFS=$as_save_IFS
6629 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6630 if test -n "$PKG_CONFIG"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6632 $as_echo "$PKG_CONFIG" >&6; }
6633 else
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6640 else
6641 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6644 if test "x$enable_maintainer_mode" != "xyes"
6645 then
6646 FONTFORGE=""
6647 RSVG=""
6648 CONVERT=""
6649 ICOTOOL=""
6650 else
6651 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6652 for ac_prog in fontforge
6654 # Extract the first word of "$ac_prog", so it can be a program name with args.
6655 set dummy $ac_prog; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_FONTFORGE+:} false; then :
6659 $as_echo_n "(cached) " >&6
6660 else
6661 if test -n "$FONTFORGE"; then
6662 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6663 else
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 for as_dir in $PATH
6667 IFS=$as_save_IFS
6668 test -z "$as_dir" && as_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671 ac_cv_prog_FONTFORGE="$ac_prog"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673 break 2
6675 done
6676 done
6677 IFS=$as_save_IFS
6681 FONTFORGE=$ac_cv_prog_FONTFORGE
6682 if test -n "$FONTFORGE"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6684 $as_echo "$FONTFORGE" >&6; }
6685 else
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6691 test -n "$FONTFORGE" && break
6692 done
6693 test -n "$FONTFORGE" || FONTFORGE="false"
6695 for ac_prog in rsvg-convert rsvg
6697 # Extract the first word of "$ac_prog", so it can be a program name with args.
6698 set dummy $ac_prog; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if ${ac_cv_prog_RSVG+:} false; then :
6702 $as_echo_n "(cached) " >&6
6703 else
6704 if test -n "$RSVG"; then
6705 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6706 else
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 for as_dir in $PATH
6710 IFS=$as_save_IFS
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714 ac_cv_prog_RSVG="$ac_prog"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716 break 2
6718 done
6719 done
6720 IFS=$as_save_IFS
6724 RSVG=$ac_cv_prog_RSVG
6725 if test -n "$RSVG"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6727 $as_echo "$RSVG" >&6; }
6728 else
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6734 test -n "$RSVG" && break
6735 done
6736 test -n "$RSVG" || RSVG="false"
6738 for ac_prog in convert
6740 # Extract the first word of "$ac_prog", so it can be a program name with args.
6741 set dummy $ac_prog; ac_word=$2
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743 $as_echo_n "checking for $ac_word... " >&6; }
6744 if ${ac_cv_prog_CONVERT+:} false; then :
6745 $as_echo_n "(cached) " >&6
6746 else
6747 if test -n "$CONVERT"; then
6748 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6749 else
6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 for as_dir in $PATH
6753 IFS=$as_save_IFS
6754 test -z "$as_dir" && as_dir=.
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6757 ac_cv_prog_CONVERT="$ac_prog"
6758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 break 2
6761 done
6762 done
6763 IFS=$as_save_IFS
6767 CONVERT=$ac_cv_prog_CONVERT
6768 if test -n "$CONVERT"; then
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6770 $as_echo "$CONVERT" >&6; }
6771 else
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6773 $as_echo "no" >&6; }
6777 test -n "$CONVERT" && break
6778 done
6779 test -n "$CONVERT" || CONVERT="false"
6781 for ac_prog in icotool
6783 # Extract the first word of "$ac_prog", so it can be a program name with args.
6784 set dummy $ac_prog; ac_word=$2
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 $as_echo_n "checking for $ac_word... " >&6; }
6787 if ${ac_cv_prog_ICOTOOL+:} false; then :
6788 $as_echo_n "(cached) " >&6
6789 else
6790 if test -n "$ICOTOOL"; then
6791 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6792 else
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 for as_dir in $PATH
6796 IFS=$as_save_IFS
6797 test -z "$as_dir" && as_dir=.
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_ICOTOOL="$ac_prog"
6801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 break 2
6804 done
6805 done
6806 IFS=$as_save_IFS
6810 ICOTOOL=$ac_cv_prog_ICOTOOL
6811 if test -n "$ICOTOOL"; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6813 $as_echo "$ICOTOOL" >&6; }
6814 else
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 $as_echo "no" >&6; }
6820 test -n "$ICOTOOL" && break
6821 done
6822 test -n "$ICOTOOL" || ICOTOOL="false"
6824 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6825 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6827 if test "$CONVERT" = false
6828 then
6829 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6830 else
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6832 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6833 convert_version=`convert --version | head -n1`
6834 if test "x$convert_version" != "x"
6835 then
6836 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6837 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6838 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6839 then
6840 CONVERT=false
6843 if test "$CONVERT" = false
6844 then
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6846 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6847 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6848 else
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6850 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6854 if test "$ICOTOOL" = false
6855 then
6856 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6857 else
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6859 $as_echo_n "checking for recent enough icotool... " >&6; }
6860 icotool_version=`icotool --version | head -n1`
6861 if test "x$icotool_version" != "x"
6862 then
6863 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6864 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6865 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6866 then
6867 ICOTOOL=false
6868 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6871 if test "$ICOTOOL" = false
6872 then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6874 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6875 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6876 else
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6878 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6882 with_gettext=yes
6883 with_gettextpo=yes
6885 enable_werror=yes
6888 test "x$with_gettext" != xno || MSGFMT=false
6889 if test "$MSGFMT" != "false"
6890 then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6892 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6893 if ${wine_cv_msgfmt_contexts+:} false; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 cat >conftest.po <<EOF
6897 # comment
6898 msgctxt "ctxt"
6899 msgid "id"
6900 msgstr "str"
6902 if $MSGFMT -o /dev/null conftest.po 2>&5
6903 then
6904 wine_cv_msgfmt_contexts=yes
6905 else
6906 wine_cv_msgfmt_contexts=no
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6910 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6911 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6913 if test "$MSGFMT" = false; then :
6914 case "x$with_gettext" in
6915 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6916 xno) ;;
6917 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6918 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6919 esac
6920 enable_po=${enable_po:-no}
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6925 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6926 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6927 $as_echo_n "(cached) " >&6
6928 else
6929 ac_check_lib_save_LIBS=$LIBS
6930 LIBS="-li386 $LIBS"
6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6934 /* Override any GCC internal prototype to avoid an error.
6935 Use char because int might match the return type of a GCC
6936 builtin and then its argument prototype would still apply. */
6937 #ifdef __cplusplus
6938 extern "C"
6939 #endif
6940 char i386_set_ldt ();
6942 main ()
6944 return i386_set_ldt ();
6946 return 0;
6948 _ACEOF
6949 if ac_fn_c_try_link "$LINENO"; then :
6950 ac_cv_lib_i386_i386_set_ldt=yes
6951 else
6952 ac_cv_lib_i386_i386_set_ldt=no
6954 rm -f core conftest.err conftest.$ac_objext \
6955 conftest$ac_exeext conftest.$ac_ext
6956 LIBS=$ac_check_lib_save_LIBS
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6959 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6960 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6961 I386_LIBS="-li386"
6966 OPENGL_LIBS=""
6970 # Check whether --enable-largefile was given.
6971 if test "${enable_largefile+set}" = set; then :
6972 enableval=$enable_largefile;
6975 if test "$enable_largefile" != no; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6978 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6979 if ${ac_cv_sys_largefile_CC+:} false; then :
6980 $as_echo_n "(cached) " >&6
6981 else
6982 ac_cv_sys_largefile_CC=no
6983 if test "$GCC" != yes; then
6984 ac_save_CC=$CC
6985 while :; do
6986 # IRIX 6.2 and later do not support large files by default,
6987 # so use the C compiler's -n32 option if that helps.
6988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
6990 #include <sys/types.h>
6991 /* Check that off_t can represent 2**63 - 1 correctly.
6992 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6993 since some C++ compilers masquerading as C compilers
6994 incorrectly reject 9223372036854775807. */
6995 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6996 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6997 && LARGE_OFF_T % 2147483647 == 1)
6998 ? 1 : -1];
7000 main ()
7004 return 0;
7006 _ACEOF
7007 if ac_fn_c_try_compile "$LINENO"; then :
7008 break
7010 rm -f core conftest.err conftest.$ac_objext
7011 CC="$CC -n32"
7012 if ac_fn_c_try_compile "$LINENO"; then :
7013 ac_cv_sys_largefile_CC=' -n32'; break
7015 rm -f core conftest.err conftest.$ac_objext
7016 break
7017 done
7018 CC=$ac_save_CC
7019 rm -f conftest.$ac_ext
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7023 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7024 if test "$ac_cv_sys_largefile_CC" != no; then
7025 CC=$CC$ac_cv_sys_largefile_CC
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7029 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7030 if ${ac_cv_sys_file_offset_bits+:} false; then :
7031 $as_echo_n "(cached) " >&6
7032 else
7033 while :; do
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 #include <sys/types.h>
7037 /* Check that off_t can represent 2**63 - 1 correctly.
7038 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7039 since some C++ compilers masquerading as C compilers
7040 incorrectly reject 9223372036854775807. */
7041 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7042 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7043 && LARGE_OFF_T % 2147483647 == 1)
7044 ? 1 : -1];
7046 main ()
7050 return 0;
7052 _ACEOF
7053 if ac_fn_c_try_compile "$LINENO"; then :
7054 ac_cv_sys_file_offset_bits=no; break
7056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7058 /* end confdefs.h. */
7059 #define _FILE_OFFSET_BITS 64
7060 #include <sys/types.h>
7061 /* Check that off_t can represent 2**63 - 1 correctly.
7062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7063 since some C++ compilers masquerading as C compilers
7064 incorrectly reject 9223372036854775807. */
7065 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7067 && LARGE_OFF_T % 2147483647 == 1)
7068 ? 1 : -1];
7070 main ()
7074 return 0;
7076 _ACEOF
7077 if ac_fn_c_try_compile "$LINENO"; then :
7078 ac_cv_sys_file_offset_bits=64; break
7080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7081 ac_cv_sys_file_offset_bits=unknown
7082 break
7083 done
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7086 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7087 case $ac_cv_sys_file_offset_bits in #(
7088 no | unknown) ;;
7090 cat >>confdefs.h <<_ACEOF
7091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7092 _ACEOF
7094 esac
7095 rm -rf conftest*
7096 if test $ac_cv_sys_file_offset_bits = unknown; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7098 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7099 if ${ac_cv_sys_large_files+:} false; then :
7100 $as_echo_n "(cached) " >&6
7101 else
7102 while :; do
7103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7105 #include <sys/types.h>
7106 /* Check that off_t can represent 2**63 - 1 correctly.
7107 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7108 since some C++ compilers masquerading as C compilers
7109 incorrectly reject 9223372036854775807. */
7110 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7111 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7112 && LARGE_OFF_T % 2147483647 == 1)
7113 ? 1 : -1];
7115 main ()
7119 return 0;
7121 _ACEOF
7122 if ac_fn_c_try_compile "$LINENO"; then :
7123 ac_cv_sys_large_files=no; break
7125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128 #define _LARGE_FILES 1
7129 #include <sys/types.h>
7130 /* Check that off_t can represent 2**63 - 1 correctly.
7131 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7132 since some C++ compilers masquerading as C compilers
7133 incorrectly reject 9223372036854775807. */
7134 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7135 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7136 && LARGE_OFF_T % 2147483647 == 1)
7137 ? 1 : -1];
7139 main ()
7143 return 0;
7145 _ACEOF
7146 if ac_fn_c_try_compile "$LINENO"; then :
7147 ac_cv_sys_large_files=1; break
7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7150 ac_cv_sys_large_files=unknown
7151 break
7152 done
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7155 $as_echo "$ac_cv_sys_large_files" >&6; }
7156 case $ac_cv_sys_large_files in #(
7157 no | unknown) ;;
7159 cat >>confdefs.h <<_ACEOF
7160 #define _LARGE_FILES $ac_cv_sys_large_files
7161 _ACEOF
7163 esac
7164 rm -rf conftest*
7171 ac_ext=c
7172 ac_cpp='$CPP $CPPFLAGS'
7173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7177 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7178 # On Suns, sometimes $CPP names a directory.
7179 if test -n "$CPP" && test -d "$CPP"; then
7180 CPP=
7182 if test -z "$CPP"; then
7183 if ${ac_cv_prog_CPP+:} false; then :
7184 $as_echo_n "(cached) " >&6
7185 else
7186 # Double quotes because CPP needs to be expanded
7187 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7189 ac_preproc_ok=false
7190 for ac_c_preproc_warn_flag in '' yes
7192 # Use a header file that comes with gcc, so configuring glibc
7193 # with a fresh cross-compiler works.
7194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7195 # <limits.h> exists even on freestanding compilers.
7196 # On the NeXT, cc -E runs the code through the compiler's parser,
7197 # not just through cpp. "Syntax error" is here to catch this case.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #ifdef __STDC__
7201 # include <limits.h>
7202 #else
7203 # include <assert.h>
7204 #endif
7205 Syntax error
7206 _ACEOF
7207 if ac_fn_c_try_cpp "$LINENO"; then :
7209 else
7210 # Broken: fails on valid input.
7211 continue
7213 rm -f conftest.err conftest.i conftest.$ac_ext
7215 # OK, works on sane cases. Now check whether nonexistent headers
7216 # can be detected and how.
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7219 #include <ac_nonexistent.h>
7220 _ACEOF
7221 if ac_fn_c_try_cpp "$LINENO"; then :
7222 # Broken: success on invalid input.
7223 continue
7224 else
7225 # Passes both tests.
7226 ac_preproc_ok=:
7227 break
7229 rm -f conftest.err conftest.i conftest.$ac_ext
7231 done
7232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7233 rm -f conftest.i conftest.err conftest.$ac_ext
7234 if $ac_preproc_ok; then :
7235 break
7238 done
7239 ac_cv_prog_CPP=$CPP
7242 CPP=$ac_cv_prog_CPP
7243 else
7244 ac_cv_prog_CPP=$CPP
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7247 $as_echo "$CPP" >&6; }
7248 ac_preproc_ok=false
7249 for ac_c_preproc_warn_flag in '' yes
7251 # Use a header file that comes with gcc, so configuring glibc
7252 # with a fresh cross-compiler works.
7253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7254 # <limits.h> exists even on freestanding compilers.
7255 # On the NeXT, cc -E runs the code through the compiler's parser,
7256 # not just through cpp. "Syntax error" is here to catch this case.
7257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7259 #ifdef __STDC__
7260 # include <limits.h>
7261 #else
7262 # include <assert.h>
7263 #endif
7264 Syntax error
7265 _ACEOF
7266 if ac_fn_c_try_cpp "$LINENO"; then :
7268 else
7269 # Broken: fails on valid input.
7270 continue
7272 rm -f conftest.err conftest.i conftest.$ac_ext
7274 # OK, works on sane cases. Now check whether nonexistent headers
7275 # can be detected and how.
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7278 #include <ac_nonexistent.h>
7279 _ACEOF
7280 if ac_fn_c_try_cpp "$LINENO"; then :
7281 # Broken: success on invalid input.
7282 continue
7283 else
7284 # Passes both tests.
7285 ac_preproc_ok=:
7286 break
7288 rm -f conftest.err conftest.i conftest.$ac_ext
7290 done
7291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7292 rm -f conftest.i conftest.err conftest.$ac_ext
7293 if $ac_preproc_ok; then :
7295 else
7296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7298 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7299 See \`config.log' for more details" "$LINENO" 5; }
7302 ac_ext=c
7303 ac_cpp='$CPP $CPPFLAGS'
7304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7310 $as_echo_n "checking for ANSI C header files... " >&6; }
7311 if ${ac_cv_header_stdc+:} false; then :
7312 $as_echo_n "(cached) " >&6
7313 else
7314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7315 /* end confdefs.h. */
7316 #include <stdlib.h>
7317 #include <stdarg.h>
7318 #include <string.h>
7319 #include <float.h>
7322 main ()
7326 return 0;
7328 _ACEOF
7329 if ac_fn_c_try_compile "$LINENO"; then :
7330 ac_cv_header_stdc=yes
7331 else
7332 ac_cv_header_stdc=no
7334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7336 if test $ac_cv_header_stdc = yes; then
7337 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7339 /* end confdefs.h. */
7340 #include <string.h>
7342 _ACEOF
7343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7344 $EGREP "memchr" >/dev/null 2>&1; then :
7346 else
7347 ac_cv_header_stdc=no
7349 rm -f conftest*
7353 if test $ac_cv_header_stdc = yes; then
7354 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7357 #include <stdlib.h>
7359 _ACEOF
7360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7361 $EGREP "free" >/dev/null 2>&1; then :
7363 else
7364 ac_cv_header_stdc=no
7366 rm -f conftest*
7370 if test $ac_cv_header_stdc = yes; then
7371 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7372 if test "$cross_compiling" = yes; then :
7374 else
7375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376 /* end confdefs.h. */
7377 #include <ctype.h>
7378 #include <stdlib.h>
7379 #if ((' ' & 0x0FF) == 0x020)
7380 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7381 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7382 #else
7383 # define ISLOWER(c) \
7384 (('a' <= (c) && (c) <= 'i') \
7385 || ('j' <= (c) && (c) <= 'r') \
7386 || ('s' <= (c) && (c) <= 'z'))
7387 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7388 #endif
7390 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7392 main ()
7394 int i;
7395 for (i = 0; i < 256; i++)
7396 if (XOR (islower (i), ISLOWER (i))
7397 || toupper (i) != TOUPPER (i))
7398 return 2;
7399 return 0;
7401 _ACEOF
7402 if ac_fn_c_try_run "$LINENO"; then :
7404 else
7405 ac_cv_header_stdc=no
7407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7408 conftest.$ac_objext conftest.beam conftest.$ac_ext
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7414 $as_echo "$ac_cv_header_stdc" >&6; }
7415 if test $ac_cv_header_stdc = yes; then
7417 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7421 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7422 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7423 inttypes.h stdint.h unistd.h
7424 do :
7425 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7426 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7428 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7429 cat >>confdefs.h <<_ACEOF
7430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7431 _ACEOF
7435 done
7438 for ac_header in \
7439 AL/al.h \
7440 ApplicationServices/ApplicationServices.h \
7441 CL/cl.h \
7442 Carbon/Carbon.h \
7443 CoreAudio/CoreAudio.h \
7444 DiskArbitration/DiskArbitration.h \
7445 EGL/egl.h \
7446 IOKit/IOKitLib.h \
7447 IOKit/hid/IOHIDLib.h \
7448 OpenAL/al.h \
7449 OpenCL/opencl.h \
7450 QuickTime/ImageCompression.h \
7451 Security/Security.h \
7452 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7453 SystemConfiguration/SCNetworkConfiguration.h \
7454 alias.h \
7455 arpa/inet.h \
7456 arpa/nameser.h \
7457 asm/types.h \
7458 asm/user.h \
7459 dirent.h \
7460 elf.h \
7461 float.h \
7462 gettext-po.h \
7463 ieeefp.h \
7464 libproc.h \
7465 link.h \
7466 linux/cdrom.h \
7467 linux/filter.h \
7468 linux/hdreg.h \
7469 linux/hidraw.h \
7470 linux/input.h \
7471 linux/ioctl.h \
7472 linux/joystick.h \
7473 linux/major.h \
7474 linux/param.h \
7475 linux/serial.h \
7476 linux/types.h \
7477 linux/ucdrom.h \
7478 lwp.h \
7479 mach-o/loader.h \
7480 mach/mach.h \
7481 machine/cpu.h \
7482 machine/sysarch.h \
7483 mntent.h \
7484 netdb.h \
7485 netinet/in.h \
7486 netinet/in_systm.h \
7487 netinet/tcp.h \
7488 netinet/tcp_fsm.h \
7489 pcap/pcap.h \
7490 poll.h \
7491 port.h \
7492 pthread.h \
7493 pwd.h \
7494 sasl/sasl.h \
7495 sched.h \
7496 scsi/scsi.h \
7497 scsi/scsi_ioctl.h \
7498 scsi/sg.h \
7499 stdint.h \
7500 sys/attr.h \
7501 sys/auxv.h \
7502 sys/cdio.h \
7503 sys/epoll.h \
7504 sys/event.h \
7505 sys/filio.h \
7506 sys/ioctl.h \
7507 sys/ipc.h \
7508 sys/link.h \
7509 sys/mman.h \
7510 sys/modem.h \
7511 sys/mtio.h \
7512 sys/param.h \
7513 sys/poll.h \
7514 sys/prctl.h \
7515 sys/protosw.h \
7516 sys/ptrace.h \
7517 sys/queue.h \
7518 sys/random.h \
7519 sys/resource.h \
7520 sys/scsiio.h \
7521 sys/shm.h \
7522 sys/signal.h \
7523 sys/socket.h \
7524 sys/socketvar.h \
7525 sys/sockio.h \
7526 sys/statvfs.h \
7527 sys/strtio.h \
7528 sys/syscall.h \
7529 sys/sysinfo.h \
7530 sys/time.h \
7531 sys/timeout.h \
7532 sys/times.h \
7533 sys/uio.h \
7534 sys/user.h \
7535 sys/utsname.h \
7536 sys/vnode.h \
7537 sys/wait.h \
7538 syscall.h \
7539 termios.h \
7540 unistd.h \
7541 utime.h \
7542 valgrind/memcheck.h \
7543 valgrind/valgrind.h
7545 do :
7546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7548 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7549 cat >>confdefs.h <<_ACEOF
7550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7551 _ACEOF
7555 done
7557 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7558 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7560 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7565 if test $ac_cv_header_sys_mkdev_h = no; then
7566 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7567 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7569 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7576 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7577 if ${ac_cv_header_stat_broken+:} false; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7582 #include <sys/types.h>
7583 #include <sys/stat.h>
7585 #if defined S_ISBLK && defined S_IFDIR
7586 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7587 #endif
7589 #if defined S_ISBLK && defined S_IFCHR
7590 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7591 #endif
7593 #if defined S_ISLNK && defined S_IFREG
7594 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7595 #endif
7597 #if defined S_ISSOCK && defined S_IFREG
7598 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7599 #endif
7601 _ACEOF
7602 if ac_fn_c_try_compile "$LINENO"; then :
7603 ac_cv_header_stat_broken=no
7604 else
7605 ac_cv_header_stat_broken=yes
7607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7610 $as_echo "$ac_cv_header_stat_broken" >&6; }
7611 if test $ac_cv_header_stat_broken = yes; then
7613 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7619 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7620 do :
7621 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7622 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7623 #ifdef HAVE_SYS_PARAM_H
7624 # include <sys/param.h>
7625 #endif
7627 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7628 cat >>confdefs.h <<_ACEOF
7629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7630 _ACEOF
7634 done
7637 saved_sysctl_h_CFLAGS=$CFLAGS
7638 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7639 for ac_header in sys/sysctl.h
7640 do :
7641 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7642 #ifdef HAVE_SYS_PARAM_H
7643 # include <sys/param.h>
7644 #endif
7646 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7647 cat >>confdefs.h <<_ACEOF
7648 #define HAVE_SYS_SYSCTL_H 1
7649 _ACEOF
7653 done
7655 CFLAGS=$saved_sysctl_h_CFLAGS
7657 for ac_header in \
7658 netinet/ip.h \
7659 net/if.h \
7660 net/if_arp.h \
7661 net/if_dl.h \
7662 net/if_types.h \
7663 net/route.h \
7664 netinet/if_ether.h \
7665 netinet/if_inarp.h \
7666 netinet/in_pcb.h \
7667 netinet/ip_icmp.h \
7668 netinet/ip_var.h \
7669 netinet/udp.h \
7670 netipx/ipx.h \
7671 sys/un.h \
7673 do :
7674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7675 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7676 #ifdef HAVE_SYS_SOCKET_H
7677 # include <sys/socket.h>
7678 #endif
7679 #ifdef HAVE_SYS_SOCKETVAR_H
7680 # include <sys/socketvar.h>
7681 #endif
7682 #ifdef HAVE_NET_ROUTE_H
7683 # include <net/route.h>
7684 #endif
7685 #ifdef HAVE_NETINET_IN_H
7686 # include <netinet/in.h>
7687 #endif
7688 #ifdef HAVE_NETINET_IN_SYSTM_H
7689 # include <netinet/in_systm.h>
7690 #endif
7691 #ifdef HAVE_NET_IF_H
7692 # include <net/if.h>
7693 #endif
7694 #ifdef HAVE_NETINET_IP_H
7695 # include <netinet/ip.h>
7696 #endif
7698 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7699 cat >>confdefs.h <<_ACEOF
7700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7701 _ACEOF
7705 done
7708 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7709 do :
7710 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7711 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7712 #ifdef HAVE_ALIAS_H
7713 # include <alias.h>
7714 #endif
7715 #ifdef HAVE_SYS_SOCKET_H
7716 # include <sys/socket.h>
7717 #endif
7718 #ifdef HAVE_SYS_SOCKETVAR_H
7719 # include <sys/socketvar.h>
7720 #endif
7721 #ifdef HAVE_SYS_TIMEOUT_H
7722 # include <sys/timeout.h>
7723 #endif
7724 #ifdef HAVE_NETINET_IN_H
7725 # include <netinet/in.h>
7726 #endif
7727 #ifdef HAVE_NETINET_IN_SYSTM_H
7728 # include <netinet/in_systm.h>
7729 #endif
7730 #ifdef HAVE_NETINET_IP_H
7731 # include <netinet/ip.h>
7732 #endif
7733 #ifdef HAVE_NETINET_IP_VAR_H
7734 # include <netinet/ip_var.h>
7735 #endif
7736 #ifdef HAVE_NETINET_IP_ICMP_H
7737 # include <netinet/ip_icmp.h>
7738 #endif
7739 #ifdef HAVE_NETINET_UDP_H
7740 # include <netinet/udp.h>
7741 #endif
7742 #ifdef HAVE_NETINET_TCP_H
7743 # include <netinet/tcp.h>
7744 #endif
7745 #ifdef HAVE_NETINET_TCP_TIMER_H
7746 #include <netinet/tcp_timer.h>
7747 #endif
7749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7750 cat >>confdefs.h <<_ACEOF
7751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7752 _ACEOF
7756 done
7759 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7760 do :
7761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7762 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7763 #ifdef HAVE_ASM_TYPES_H
7764 # include <asm/types.h>
7765 #endif
7766 #ifdef HAVE_SYS_SOCKET_H
7767 # include <sys/socket.h>
7768 #endif
7769 #ifdef HAVE_LINUX_TYPES_H
7770 # include <linux/types.h>
7771 #endif
7773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7774 cat >>confdefs.h <<_ACEOF
7775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7776 _ACEOF
7780 done
7783 for ac_header in resolv.h
7784 do :
7785 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7786 #ifdef HAVE_SYS_SOCKET_H
7787 # include <sys/socket.h>
7788 #endif
7789 #ifdef HAVE_NETINET_IN_H
7790 # include <netinet/in.h>
7791 #endif
7792 #ifdef HAVE_ARPA_NAMESER_H
7793 # include <arpa/nameser.h>
7794 #endif
7796 if test "x$ac_cv_header_resolv_h" = xyes; then :
7797 cat >>confdefs.h <<_ACEOF
7798 #define HAVE_RESOLV_H 1
7799 _ACEOF
7803 done
7806 for ac_header in ifaddrs.h
7807 do :
7808 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7810 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_IFADDRS_H 1
7813 _ACEOF
7817 done
7820 for ac_header in sys/ucontext.h
7821 do :
7822 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7824 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_SYS_UCONTEXT_H 1
7827 _ACEOF
7831 done
7834 for ac_header in sys/thr.h
7835 do :
7836 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7837 #ifdef HAVE_SYS_UCONTEXT_H
7838 #include <sys/ucontext.h>
7839 #endif
7841 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7842 cat >>confdefs.h <<_ACEOF
7843 #define HAVE_SYS_THR_H 1
7844 _ACEOF
7848 done
7851 for ac_header in pthread_np.h
7852 do :
7853 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7854 #include <pthread.h>
7855 #endif
7857 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7858 cat >>confdefs.h <<_ACEOF
7859 #define HAVE_PTHREAD_NP_H 1
7860 _ACEOF
7864 done
7867 for ac_header in linux/videodev2.h
7868 do :
7869 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7870 #include <sys/time.h>
7871 #endif
7872 #include <sys/types.h>
7873 #ifdef HAVE_ASM_TYPES_H
7874 #include <asm/types.h>
7875 #endif
7877 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7878 cat >>confdefs.h <<_ACEOF
7879 #define HAVE_LINUX_VIDEODEV2_H 1
7880 _ACEOF
7884 done
7887 for ac_header in libprocstat.h
7888 do :
7889 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7890 #include <sys/param.h>
7891 #endif
7892 #ifdef HAVE_SYS_QUEUE_H
7893 #include <sys/queue.h>
7894 #endif
7895 #ifdef HAVE_SYS_SOCKET_H
7896 #include <sys/socket.h>
7897 #endif
7899 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7900 cat >>confdefs.h <<_ACEOF
7901 #define HAVE_LIBPROCSTAT_H 1
7902 _ACEOF
7906 done
7910 DLLFLAGS=""
7912 LDDLLFLAGS=""
7914 LDEXECFLAGS=""
7916 EXTRACFLAGS=""
7918 UNIXDLLFLAGS="-fPIC"
7920 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
7922 TOP_INSTALL_LIB=""
7924 TOP_INSTALL_DEV=""
7926 WINELOADER_LDFLAGS=""
7928 WINEPRELOADER_LDFLAGS=""
7930 LIBEXT="so"
7931 # Extract the first word of "ldd", so it can be a program name with args.
7932 set dummy ldd; ac_word=$2
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7934 $as_echo_n "checking for $ac_word... " >&6; }
7935 if ${ac_cv_path_LDD+:} false; then :
7936 $as_echo_n "(cached) " >&6
7937 else
7938 case $LDD in
7939 [\\/]* | ?:[\\/]*)
7940 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 as_dummy="/sbin:/usr/sbin:$PATH"
7945 for as_dir in $as_dummy
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7959 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7961 esac
7963 LDD=$ac_cv_path_LDD
7964 if test -n "$LDD"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7966 $as_echo "$LDD" >&6; }
7967 else
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969 $as_echo "no" >&6; }
7973 if test -n "$ac_tool_prefix"; then
7974 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7975 set dummy ${ac_tool_prefix}otool; ac_word=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977 $as_echo_n "checking for $ac_word... " >&6; }
7978 if ${ac_cv_prog_OTOOL+:} false; then :
7979 $as_echo_n "(cached) " >&6
7980 else
7981 if test -n "$OTOOL"; then
7982 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7983 else
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7985 for as_dir in $PATH
7987 IFS=$as_save_IFS
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7991 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 break 2
7995 done
7996 done
7997 IFS=$as_save_IFS
8001 OTOOL=$ac_cv_prog_OTOOL
8002 if test -n "$OTOOL"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8004 $as_echo "$OTOOL" >&6; }
8005 else
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8012 if test -z "$ac_cv_prog_OTOOL"; then
8013 ac_ct_OTOOL=$OTOOL
8014 # Extract the first word of "otool", so it can be a program name with args.
8015 set dummy otool; ac_word=$2
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017 $as_echo_n "checking for $ac_word... " >&6; }
8018 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8019 $as_echo_n "(cached) " >&6
8020 else
8021 if test -n "$ac_ct_OTOOL"; then
8022 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8023 else
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025 for as_dir in $PATH
8027 IFS=$as_save_IFS
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031 ac_cv_prog_ac_ct_OTOOL="otool"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 break 2
8035 done
8036 done
8037 IFS=$as_save_IFS
8041 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8042 if test -n "$ac_ct_OTOOL"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8044 $as_echo "$ac_ct_OTOOL" >&6; }
8045 else
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8050 if test "x$ac_ct_OTOOL" = x; then
8051 OTOOL="otool"
8052 else
8053 case $cross_compiling:$ac_tool_warned in
8054 yes:)
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8057 ac_tool_warned=yes ;;
8058 esac
8059 OTOOL=$ac_ct_OTOOL
8061 else
8062 OTOOL="$ac_cv_prog_OTOOL"
8065 if test -n "$ac_tool_prefix"; then
8066 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8067 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8069 $as_echo_n "checking for $ac_word... " >&6; }
8070 if ${ac_cv_prog_READELF+:} false; then :
8071 $as_echo_n "(cached) " >&6
8072 else
8073 if test -n "$READELF"; then
8074 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8075 else
8076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8077 for as_dir in $PATH
8079 IFS=$as_save_IFS
8080 test -z "$as_dir" && as_dir=.
8081 for ac_exec_ext in '' $ac_executable_extensions; do
8082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8083 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8085 break 2
8087 done
8088 done
8089 IFS=$as_save_IFS
8093 READELF=$ac_cv_prog_READELF
8094 if test -n "$READELF"; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8096 $as_echo "$READELF" >&6; }
8097 else
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 $as_echo "no" >&6; }
8104 if test -z "$ac_cv_prog_READELF"; then
8105 ac_ct_READELF=$READELF
8106 # Extract the first word of "readelf", so it can be a program name with args.
8107 set dummy readelf; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109 $as_echo_n "checking for $ac_word... " >&6; }
8110 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8111 $as_echo_n "(cached) " >&6
8112 else
8113 if test -n "$ac_ct_READELF"; then
8114 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8115 else
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117 for as_dir in $PATH
8119 IFS=$as_save_IFS
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123 ac_cv_prog_ac_ct_READELF="readelf"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125 break 2
8127 done
8128 done
8129 IFS=$as_save_IFS
8133 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8134 if test -n "$ac_ct_READELF"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8136 $as_echo "$ac_ct_READELF" >&6; }
8137 else
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8142 if test "x$ac_ct_READELF" = x; then
8143 READELF="true"
8144 else
8145 case $cross_compiling:$ac_tool_warned in
8146 yes:)
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8149 ac_tool_warned=yes ;;
8150 esac
8151 READELF=$ac_ct_READELF
8153 else
8154 READELF="$ac_cv_prog_READELF"
8157 wine_rules_file=conf$$rules.make
8158 rm -f $wine_rules_file
8159 SUBDIRS=""
8161 DISABLED_SUBDIRS=""
8163 CONFIGURE_TARGETS=""
8166 wine_fn_append_file ()
8168 as_fn_append $1 " \\$as_nl $2"
8171 wine_fn_append_rule ()
8173 $as_echo "$1" >>$wine_rules_file
8176 wine_fn_config_makefile ()
8178 wine_fn_append_file SUBDIRS $1
8179 if eval test \"x\$"$2"\" = x"no"; then :
8180 wine_fn_append_file DISABLED_SUBDIRS $1
8184 wine_fn_config_symlink ()
8186 ac_links=$@
8187 wine_fn_append_rule \
8188 "$ac_links:
8189 @./config.status \$@"
8190 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8193 wine_binary="wine"
8194 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8195 WINELOADER_PROGRAMS="$wine_binary"
8197 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8199 case $host_os in
8200 cygwin*|mingw32*)
8201 if test -n "$ac_tool_prefix"; then
8202 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8203 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8205 $as_echo_n "checking for $ac_word... " >&6; }
8206 if ${ac_cv_prog_DLLTOOL+:} false; then :
8207 $as_echo_n "(cached) " >&6
8208 else
8209 if test -n "$DLLTOOL"; then
8210 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8211 else
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 for as_dir in $PATH
8215 IFS=$as_save_IFS
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8221 break 2
8223 done
8224 done
8225 IFS=$as_save_IFS
8229 DLLTOOL=$ac_cv_prog_DLLTOOL
8230 if test -n "$DLLTOOL"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8232 $as_echo "$DLLTOOL" >&6; }
8233 else
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
8240 if test -z "$ac_cv_prog_DLLTOOL"; then
8241 ac_ct_DLLTOOL=$DLLTOOL
8242 # Extract the first word of "dlltool", so it can be a program name with args.
8243 set dummy dlltool; ac_word=$2
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8245 $as_echo_n "checking for $ac_word... " >&6; }
8246 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8247 $as_echo_n "(cached) " >&6
8248 else
8249 if test -n "$ac_ct_DLLTOOL"; then
8250 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8251 else
8252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 for as_dir in $PATH
8255 IFS=$as_save_IFS
8256 test -z "$as_dir" && as_dir=.
8257 for ac_exec_ext in '' $ac_executable_extensions; do
8258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8259 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8261 break 2
8263 done
8264 done
8265 IFS=$as_save_IFS
8269 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8270 if test -n "$ac_ct_DLLTOOL"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8272 $as_echo "$ac_ct_DLLTOOL" >&6; }
8273 else
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8275 $as_echo "no" >&6; }
8278 if test "x$ac_ct_DLLTOOL" = x; then
8279 DLLTOOL="false"
8280 else
8281 case $cross_compiling:$ac_tool_warned in
8282 yes:)
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8285 ac_tool_warned=yes ;;
8286 esac
8287 DLLTOOL=$ac_ct_DLLTOOL
8289 else
8290 DLLTOOL="$ac_cv_prog_DLLTOOL"
8293 LIBEXT="dll"
8294 EXTRACFLAGS="-D__WINE_PE_BUILD"
8295 case $host_cpu in
8296 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8298 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_wine_try_cflags_saved=$CFLAGS
8302 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8306 _ACEOF
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8309 else
8310 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 CFLAGS=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8317 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8318 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8319 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8320 fi ;;
8321 esac
8322 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
8323 enable_loader=${enable_loader:-no}
8324 enable_server=${enable_server:-no}
8325 with_x=${with_x:-no}
8326 with_pthread=${with_pthread:-no}
8329 darwin*|macosx*)
8330 ac_ext=m
8331 ac_cpp='$OBJCPP $CPPFLAGS'
8332 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8333 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8334 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8336 ac_ext=m
8337 ac_cpp='$OBJCPP $CPPFLAGS'
8338 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8339 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8340 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8341 if test -n "$ac_tool_prefix"; then
8342 for ac_prog in gcc objcc objc cc CC
8344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8347 $as_echo_n "checking for $ac_word... " >&6; }
8348 if ${ac_cv_prog_OBJC+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 if test -n "$OBJC"; then
8352 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8353 else
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8355 for as_dir in $PATH
8357 IFS=$as_save_IFS
8358 test -z "$as_dir" && as_dir=.
8359 for ac_exec_ext in '' $ac_executable_extensions; do
8360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8361 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8363 break 2
8365 done
8366 done
8367 IFS=$as_save_IFS
8371 OBJC=$ac_cv_prog_OBJC
8372 if test -n "$OBJC"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8374 $as_echo "$OBJC" >&6; }
8375 else
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8377 $as_echo "no" >&6; }
8381 test -n "$OBJC" && break
8382 done
8384 if test -z "$OBJC"; then
8385 ac_ct_OBJC=$OBJC
8386 for ac_prog in gcc objcc objc cc CC
8388 # Extract the first word of "$ac_prog", so it can be a program name with args.
8389 set dummy $ac_prog; ac_word=$2
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8391 $as_echo_n "checking for $ac_word... " >&6; }
8392 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 if test -n "$ac_ct_OBJC"; then
8396 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8397 else
8398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 for as_dir in $PATH
8401 IFS=$as_save_IFS
8402 test -z "$as_dir" && as_dir=.
8403 for ac_exec_ext in '' $ac_executable_extensions; do
8404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8405 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8407 break 2
8409 done
8410 done
8411 IFS=$as_save_IFS
8415 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8416 if test -n "$ac_ct_OBJC"; then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8418 $as_echo "$ac_ct_OBJC" >&6; }
8419 else
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8421 $as_echo "no" >&6; }
8425 test -n "$ac_ct_OBJC" && break
8426 done
8428 if test "x$ac_ct_OBJC" = x; then
8429 OBJC="gcc"
8430 else
8431 case $cross_compiling:$ac_tool_warned in
8432 yes:)
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8435 ac_tool_warned=yes ;;
8436 esac
8437 OBJC=$ac_ct_OBJC
8441 # Provide some information about the compiler.
8442 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8443 set X $ac_compile
8444 ac_compiler=$2
8445 for ac_option in --version -v -V -qversion; do
8446 { { ac_try="$ac_compiler $ac_option >&5"
8447 case "(($ac_try" in
8448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8449 *) ac_try_echo=$ac_try;;
8450 esac
8451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8452 $as_echo "$ac_try_echo"; } >&5
8453 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8454 ac_status=$?
8455 if test -s conftest.err; then
8456 sed '10a\
8457 ... rest of stderr output deleted ...
8458 10q' conftest.err >conftest.er1
8459 cat conftest.er1 >&5
8461 rm -f conftest.er1 conftest.err
8462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8463 test $ac_status = 0; }
8464 done
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8467 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8468 if ${ac_cv_objc_compiler_gnu+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8475 main ()
8477 #ifndef __GNUC__
8478 choke me
8479 #endif
8482 return 0;
8484 _ACEOF
8485 if ac_fn_objc_try_compile "$LINENO"; then :
8486 ac_compiler_gnu=yes
8487 else
8488 ac_compiler_gnu=no
8490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8491 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8495 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8496 if test $ac_compiler_gnu = yes; then
8497 GOBJC=yes
8498 else
8499 GOBJC=
8501 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8502 ac_save_OBJCFLAGS=$OBJCFLAGS
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8504 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8505 if ${ac_cv_prog_objc_g+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_save_objc_werror_flag=$ac_objc_werror_flag
8509 ac_objc_werror_flag=yes
8510 ac_cv_prog_objc_g=no
8511 OBJCFLAGS="-g"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8516 main ()
8520 return 0;
8522 _ACEOF
8523 if ac_fn_objc_try_compile "$LINENO"; then :
8524 ac_cv_prog_objc_g=yes
8525 else
8526 OBJCFLAGS=""
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8531 main ()
8535 return 0;
8537 _ACEOF
8538 if ac_fn_objc_try_compile "$LINENO"; then :
8540 else
8541 ac_objc_werror_flag=$ac_save_objc_werror_flag
8542 OBJCFLAGS="-g"
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8547 main ()
8551 return 0;
8553 _ACEOF
8554 if ac_fn_objc_try_compile "$LINENO"; then :
8555 ac_cv_prog_objc_g=yes
8557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8562 ac_objc_werror_flag=$ac_save_objc_werror_flag
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8565 $as_echo "$ac_cv_prog_objc_g" >&6; }
8566 if test "$ac_test_OBJCFLAGS" = set; then
8567 OBJCFLAGS=$ac_save_OBJCFLAGS
8568 elif test $ac_cv_prog_objc_g = yes; then
8569 if test "$GOBJC" = yes; then
8570 OBJCFLAGS="-g -O2"
8571 else
8572 OBJCFLAGS="-g"
8574 else
8575 if test "$GOBJC" = yes; then
8576 OBJCFLAGS="-O2"
8577 else
8578 OBJCFLAGS=
8581 ac_ext=m
8582 ac_cpp='$OBJCPP $CPPFLAGS'
8583 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8584 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8585 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8588 ac_ext=m
8589 ac_cpp='$OBJCPP $CPPFLAGS'
8590 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8591 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8592 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8594 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8595 if test -z "$OBJCPP"; then
8596 if ${ac_cv_prog_OBJCPP+:} false; then :
8597 $as_echo_n "(cached) " >&6
8598 else
8599 # Double quotes because OBJCPP needs to be expanded
8600 for OBJCPP in "$OBJC -E" "/lib/cpp"
8602 ac_preproc_ok=false
8603 for ac_objc_preproc_warn_flag in '' yes
8605 # Use a header file that comes with gcc, so configuring glibc
8606 # with a fresh cross-compiler works.
8607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8608 # <limits.h> exists even on freestanding compilers.
8609 # On the NeXT, cc -E runs the code through the compiler's parser,
8610 # not just through cpp. "Syntax error" is here to catch this case.
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 #ifdef __STDC__
8614 # include <limits.h>
8615 #else
8616 # include <assert.h>
8617 #endif
8618 Syntax error
8619 _ACEOF
8620 if ac_fn_objc_try_cpp "$LINENO"; then :
8622 else
8623 # Broken: fails on valid input.
8624 continue
8626 rm -f conftest.err conftest.i conftest.$ac_ext
8628 # OK, works on sane cases. Now check whether nonexistent headers
8629 # can be detected and how.
8630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8631 /* end confdefs.h. */
8632 #include <ac_nonexistent.h>
8633 _ACEOF
8634 if ac_fn_objc_try_cpp "$LINENO"; then :
8635 # Broken: success on invalid input.
8636 continue
8637 else
8638 # Passes both tests.
8639 ac_preproc_ok=:
8640 break
8642 rm -f conftest.err conftest.i conftest.$ac_ext
8644 done
8645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8646 rm -f conftest.i conftest.err conftest.$ac_ext
8647 if $ac_preproc_ok; then :
8648 break
8651 done
8652 ac_cv_prog_OBJCPP=$OBJCPP
8655 OBJCPP=$ac_cv_prog_OBJCPP
8656 else
8657 ac_cv_prog_OBJCPP=$OBJCPP
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8660 $as_echo "$OBJCPP" >&6; }
8661 ac_preproc_ok=false
8662 for ac_objc_preproc_warn_flag in '' yes
8664 # Use a header file that comes with gcc, so configuring glibc
8665 # with a fresh cross-compiler works.
8666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8667 # <limits.h> exists even on freestanding compilers.
8668 # On the NeXT, cc -E runs the code through the compiler's parser,
8669 # not just through cpp. "Syntax error" is here to catch this case.
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 #ifdef __STDC__
8673 # include <limits.h>
8674 #else
8675 # include <assert.h>
8676 #endif
8677 Syntax error
8678 _ACEOF
8679 if ac_fn_objc_try_cpp "$LINENO"; then :
8681 else
8682 # Broken: fails on valid input.
8683 continue
8685 rm -f conftest.err conftest.i conftest.$ac_ext
8687 # OK, works on sane cases. Now check whether nonexistent headers
8688 # can be detected and how.
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 #include <ac_nonexistent.h>
8692 _ACEOF
8693 if ac_fn_objc_try_cpp "$LINENO"; then :
8694 # Broken: success on invalid input.
8695 continue
8696 else
8697 # Passes both tests.
8698 ac_preproc_ok=:
8699 break
8701 rm -f conftest.err conftest.i conftest.$ac_ext
8703 done
8704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8705 rm -f conftest.i conftest.err conftest.$ac_ext
8706 if $ac_preproc_ok; then :
8708 else
8709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8711 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8712 See \`config.log' for more details" "$LINENO" 5; }
8715 ac_ext=m
8716 ac_cpp='$OBJCPP $CPPFLAGS'
8717 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8718 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8719 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8722 for ac_header in Metal/Metal.h
8723 do :
8724 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8725 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8726 cat >>confdefs.h <<_ACEOF
8727 #define HAVE_METAL_METAL_H 1
8728 _ACEOF
8732 done
8734 ac_ext=c
8735 ac_cpp='$CPP $CPPFLAGS'
8736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8740 LIBEXT="dylib"
8741 DLLFLAGS="$DLLFLAGS -fPIC"
8742 LDDLLFLAGS="-fPIC"
8743 COREFOUNDATION_LIBS="-framework CoreFoundation"
8745 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8747 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8749 CORESERVICES_LIBS="-framework CoreServices"
8751 APPKIT_LIBS="-framework AppKit"
8753 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8756 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8758 wine_can_build_preloader=yes
8759 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"
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8761 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8762 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 ac_cv_cflags__Wl__no_new_main__e__main=yes
8773 else
8774 ac_cv_cflags__Wl__no_new_main__e__main=no
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8781 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8782 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8783 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8785 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8786 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8793 int main(int argc, char **argv) { return 0; }
8794 _ACEOF
8795 if ac_fn_c_try_link "$LINENO"; then :
8796 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8797 else
8798 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8805 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8806 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8807 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8808 else
8809 { $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
8810 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8811 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_wine_try_cflags_saved=$CFLAGS
8815 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8818 int main(int argc, char **argv) { return 0; }
8819 _ACEOF
8820 if ac_fn_c_try_link "$LINENO"; then :
8821 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8822 else
8823 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 CFLAGS=$ac_wine_try_cflags_saved
8829 { $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
8830 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8831 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8832 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8833 else
8834 wine_can_build_preloader=no
8837 else
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8839 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8840 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8841 $as_echo_n "(cached) " >&6
8842 else
8843 ac_wine_try_cflags_saved=$CFLAGS
8844 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8847 int main(int argc, char **argv) { return 0; }
8848 _ACEOF
8849 if ac_fn_c_try_link "$LINENO"; then :
8850 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8851 else
8852 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8859 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8860 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8861 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8862 else
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8864 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8865 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_wine_try_cflags_saved=$CFLAGS
8869 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8872 int main(int argc, char **argv) { return 0; }
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8876 else
8877 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 CFLAGS=$ac_wine_try_cflags_saved
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8884 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8885 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8886 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8887 else
8888 wine_can_build_preloader=no
8892 if test "$wine_can_build_preloader" = "yes"
8893 then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8895 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8896 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8897 $as_echo_n "(cached) " >&6
8898 else
8899 ac_wine_try_cflags_saved=$CFLAGS
8900 CFLAGS="$CFLAGS -Wl,-no_pie"
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8903 int main(int argc, char **argv) { return 0; }
8904 _ACEOF
8905 if ac_fn_c_try_link "$LINENO"; then :
8906 ac_cv_cflags__Wl__no_pie=yes
8907 else
8908 ac_cv_cflags__Wl__no_pie=no
8910 rm -f core conftest.err conftest.$ac_objext \
8911 conftest$ac_exeext conftest.$ac_ext
8912 CFLAGS=$ac_wine_try_cflags_saved
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8915 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8916 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8917 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8919 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8920 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8921 else
8922 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8925 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8926 then
8927 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8930 if test "$ac_cv_header_Security_Security_h" = "yes"
8931 then
8932 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8935 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8936 then
8937 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8939 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8941 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8942 then
8943 OPENAL_LIBS="-framework OpenAL"
8946 cat >>confdefs.h <<_ACEOF
8947 #define HAVE_OPENAL 1
8948 _ACEOF
8950 ac_cv_lib_openal=yes
8952 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8953 then
8954 OPENCL_LIBS="-framework OpenCL"
8956 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8958 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8959 then
8960 ac_save_LIBS="$LIBS"
8961 LIBS="$LIBS $IOKIT_LIBS"
8962 for ac_func in IOHIDManagerCreate
8963 do :
8964 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8965 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8966 cat >>confdefs.h <<_ACEOF
8967 #define HAVE_IOHIDMANAGERCREATE 1
8968 _ACEOF
8971 done
8973 LIBS="$ac_save_LIBS"
8976 if test "x$with_quicktime" != "xno"
8977 then
8978 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8979 then
8980 ac_save_LIBS="$LIBS"
8981 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8983 $as_echo_n "checking for the QuickTime framework... " >&6; }
8984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8985 /* end confdefs.h. */
8986 #include <QuickTime/ImageCompression.h>
8988 main ()
8990 CodecManagerVersion(NULL);
8992 return 0;
8994 _ACEOF
8995 if ac_fn_c_try_link "$LINENO"; then :
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8997 $as_echo "yes" >&6; }
8998 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9000 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9001 else
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003 $as_echo "no" >&6; }
9004 ac_cv_header_QuickTime_ImageCompression_h=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS="$ac_save_LIBS"
9011 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9012 case "x$with_quicktime" in
9013 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9014 xno) ;;
9015 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9016 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9017 esac
9021 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9022 then
9023 CARBON_LIBS="-framework Carbon"
9026 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9027 then
9028 METAL_LIBS="-framework Metal -framework QuartzCore"
9032 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9033 then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9035 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9036 ac_ext=m
9037 ac_cpp='$OBJCPP $CPPFLAGS'
9038 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9039 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9040 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 #include <Metal/Metal.h>
9046 main ()
9048 id<MTLDevice> device; device.registryID;
9050 return 0;
9052 _ACEOF
9053 if ac_fn_objc_try_compile "$LINENO"; then :
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9055 $as_echo "yes" >&6; }
9057 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9059 else
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 $as_echo "no" >&6; }
9063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9064 ac_ext=c
9065 ac_cpp='$CPP $CPPFLAGS'
9066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9072 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9073 then
9074 ac_save_LIBS="$LIBS"
9075 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9076 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9077 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9078 enable_winemac_drv=${enable_winemac_drv:-yes}
9081 LIBS="$ac_save_LIBS"
9084 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
9085 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9087 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9089 WINELOADER_DEPENDS="wine_info.plist"
9091 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9094 linux-android*)
9096 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9098 DLLFLAGS="$DLLFLAGS -fPIC"
9099 LDDLLFLAGS="-fPIC"
9100 LDEXECFLAGS="-Wl,-pie"
9101 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9103 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9104 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9105 $as_echo_n "(cached) " >&6
9106 else
9107 ac_wine_try_cflags_saved=$CFLAGS
9108 CFLAGS="$CFLAGS -Wl,-z,defs"
9109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110 /* end confdefs.h. */
9111 int main(int argc, char **argv) { return 0; }
9112 _ACEOF
9113 if ac_fn_c_try_link "$LINENO"; then :
9114 ac_cv_cflags__Wl__z_defs=yes
9115 else
9116 ac_cv_cflags__Wl__z_defs=no
9118 rm -f core conftest.err conftest.$ac_objext \
9119 conftest$ac_exeext conftest.$ac_ext
9120 CFLAGS=$ac_wine_try_cflags_saved
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9123 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9124 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9125 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9128 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9129 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9130 $as_echo_n "(cached) " >&6
9131 else
9132 ac_wine_try_cflags_saved=$CFLAGS
9133 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 int main(int argc, char **argv) { return 0; }
9137 _ACEOF
9138 if ac_fn_c_try_link "$LINENO"; then :
9139 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9140 else
9141 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9143 rm -f core conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 CFLAGS=$ac_wine_try_cflags_saved
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9148 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9149 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9150 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9152 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9155 $as_echo_n "checking for -lEGL... " >&6; }
9156 if ${ac_cv_lib_soname_EGL+:} false; then :
9157 $as_echo_n "(cached) " >&6
9158 else
9159 ac_check_soname_save_LIBS=$LIBS
9160 LIBS="-lEGL $LIBS"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9164 /* Override any GCC internal prototype to avoid an error.
9165 Use char because int might match the return type of a GCC
9166 builtin and then its argument prototype would still apply. */
9167 #ifdef __cplusplus
9168 extern "C"
9169 #endif
9170 char eglGetProcAddress ();
9172 main ()
9174 return eglGetProcAddress ();
9176 return 0;
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 case "$LIBEXT" in
9181 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9182 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'` ;;
9183 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9184 if ${ac_cv_lib_soname_EGL:+false} :; then :
9185 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9186 fi ;;
9187 esac
9188 else
9189 ac_cv_lib_soname_EGL=
9191 rm -f core conftest.err conftest.$ac_objext \
9192 conftest$ac_exeext conftest.$ac_ext
9193 LIBS=$ac_check_soname_save_LIBS
9195 if ${ac_cv_lib_soname_EGL:+false} :; then :
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9197 $as_echo "not found" >&6; }
9199 else
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9201 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9203 cat >>confdefs.h <<_ACEOF
9204 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9205 _ACEOF
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9210 $as_echo_n "checking for -lGLESv2... " >&6; }
9211 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9212 $as_echo_n "(cached) " >&6
9213 else
9214 ac_check_soname_save_LIBS=$LIBS
9215 LIBS="-lGLESv2 $LIBS"
9216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9222 #ifdef __cplusplus
9223 extern "C"
9224 #endif
9225 char glFlush ();
9227 main ()
9229 return glFlush ();
9231 return 0;
9233 _ACEOF
9234 if ac_fn_c_try_link "$LINENO"; then :
9235 case "$LIBEXT" in
9236 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9237 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'` ;;
9238 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9239 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9240 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9241 fi ;;
9242 esac
9243 else
9244 ac_cv_lib_soname_GLESv2=
9246 rm -f core conftest.err conftest.$ac_objext \
9247 conftest$ac_exeext conftest.$ac_ext
9248 LIBS=$ac_check_soname_save_LIBS
9250 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9252 $as_echo "not found" >&6; }
9254 else
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9256 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9258 cat >>confdefs.h <<_ACEOF
9259 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9260 _ACEOF
9265 if test "x$exec_prefix" = xNONE
9266 then
9267 case $host_cpu in
9268 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9269 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9270 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9271 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9272 esac
9278 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9280 case $host_cpu in
9281 *i[3456789]86*)
9282 DLLFLAGS="$DLLFLAGS -fno-PIC"
9283 LDDLLFLAGS="-fno-PIC"
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9285 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9286 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9287 $as_echo_n "(cached) " >&6
9288 else
9289 ac_wine_try_cflags_saved=$CFLAGS
9290 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9293 int main(int argc, char **argv) { return 0; }
9294 _ACEOF
9295 if ac_fn_c_try_link "$LINENO"; then :
9296 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9297 else
9298 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9300 rm -f core conftest.err conftest.$ac_objext \
9301 conftest$ac_exeext conftest.$ac_ext
9302 CFLAGS=$ac_wine_try_cflags_saved
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9305 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9306 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9307 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9311 DLLFLAGS="$DLLFLAGS -fPIC"
9312 LDDLLFLAGS="-fPIC" ;;
9313 esac
9314 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9316 echo '{ global: *; };' >conftest.map
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9318 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9319 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9320 $as_echo_n "(cached) " >&6
9321 else
9322 ac_wine_try_cflags_saved=$CFLAGS
9323 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9326 int main(int argc, char **argv) { return 0; }
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9329 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9330 else
9331 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 CFLAGS=$ac_wine_try_cflags_saved
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9338 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9339 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9340 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9342 rm -f conftest.map
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9345 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9346 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9347 $as_echo_n "(cached) " >&6
9348 else
9349 ac_wine_try_cflags_saved=$CFLAGS
9350 CFLAGS="$CFLAGS -Wl,-z,defs"
9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9353 int main(int argc, char **argv) { return 0; }
9354 _ACEOF
9355 if ac_fn_c_try_link "$LINENO"; then :
9356 ac_cv_cflags__Wl__z_defs=yes
9357 else
9358 ac_cv_cflags__Wl__z_defs=no
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 CFLAGS=$ac_wine_try_cflags_saved
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9365 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9366 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9367 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9370 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9371 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9372 $as_echo_n "(cached) " >&6
9373 else
9374 ac_wine_try_cflags_saved=$CFLAGS
9375 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9378 int main(int argc, char **argv) { return 0; }
9379 _ACEOF
9380 if ac_fn_c_try_link "$LINENO"; then :
9381 ac_cv_cflags__Wl___export_dynamic=yes
9382 else
9383 ac_cv_cflags__Wl___export_dynamic=no
9385 rm -f core conftest.err conftest.$ac_objext \
9386 conftest$ac_exeext conftest.$ac_ext
9387 CFLAGS=$ac_wine_try_cflags_saved
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9390 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9391 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9392 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9394 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9396 case $host_cpu in
9397 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9399 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9400 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9401 $as_echo_n "(cached) " >&6
9402 else
9403 ac_wine_try_cflags_saved=$CFLAGS
9404 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9407 int main(int argc, char **argv) { return 0; }
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"; then :
9410 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9411 else
9412 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 CFLAGS=$ac_wine_try_cflags_saved
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9419 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9420 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9421 case $host_os in
9422 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9423 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9424 esac
9425 else
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9427 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9428 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9429 $as_echo_n "(cached) " >&6
9430 else
9431 ac_wine_try_cflags_saved=$CFLAGS
9432 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9435 int main(int argc, char **argv) { return 0; }
9436 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
9438 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9439 else
9440 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9444 CFLAGS=$ac_wine_try_cflags_saved
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9447 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9448 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9449 case $host_os in
9450 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9451 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9452 esac
9454 # Extract the first word of "prelink", so it can be a program name with args.
9455 set dummy prelink; ac_word=$2
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9457 $as_echo_n "checking for $ac_word... " >&6; }
9458 if ${ac_cv_path_PRELINK+:} false; then :
9459 $as_echo_n "(cached) " >&6
9460 else
9461 case $PRELINK in
9462 [\\/]* | ?:[\\/]*)
9463 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9467 for as_dir in /sbin /usr/sbin $PATH
9469 IFS=$as_save_IFS
9470 test -z "$as_dir" && as_dir=.
9471 for ac_exec_ext in '' $ac_executable_extensions; do
9472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9473 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9475 break 2
9477 done
9478 done
9479 IFS=$as_save_IFS
9481 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9483 esac
9485 PRELINK=$ac_cv_path_PRELINK
9486 if test -n "$PRELINK"; then
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9488 $as_echo "$PRELINK" >&6; }
9489 else
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9491 $as_echo "no" >&6; }
9495 if test "x$PRELINK" = xfalse
9496 then
9497 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9501 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9502 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 ac_wine_try_cflags_saved=$CFLAGS
9506 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9509 int main(int argc, char **argv) { return 0; }
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"; then :
9512 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9513 else
9514 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 CFLAGS=$ac_wine_try_cflags_saved
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9521 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9522 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9523 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9526 esac
9527 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9529 LIBWINE_DEPENDS="wine.map"
9531 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9533 esac
9535 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9536 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9537 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9538 enable_winemac_drv=${enable_winemac_drv:-no}
9539 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9542 if test "x$with_mingw" != xno
9543 then
9544 case "x$with_mingw" in
9545 x|xyes) case "$host_cpu" in
9546 aarch64*)
9547 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9548 arm*)
9549 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9550 i[3456789]86*)
9551 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
9552 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9553 mingw32-gcc clang" ;;
9554 x86_64)
9555 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
9556 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9558 ac_prefix_list="" ;;
9559 esac
9560 for ac_prog in $ac_prefix_list
9562 # Extract the first word of "$ac_prog", so it can be a program name with args.
9563 set dummy $ac_prog; ac_word=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9565 $as_echo_n "checking for $ac_word... " >&6; }
9566 if ${ac_cv_prog_CROSSCC+:} false; then :
9567 $as_echo_n "(cached) " >&6
9568 else
9569 if test -n "$CROSSCC"; then
9570 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9571 else
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9573 for as_dir in $PATH
9575 IFS=$as_save_IFS
9576 test -z "$as_dir" && as_dir=.
9577 for ac_exec_ext in '' $ac_executable_extensions; do
9578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9579 ac_cv_prog_CROSSCC="$ac_prog"
9580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9581 break 2
9583 done
9584 done
9585 IFS=$as_save_IFS
9589 CROSSCC=$ac_cv_prog_CROSSCC
9590 if test -n "$CROSSCC"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9592 $as_echo "$CROSSCC" >&6; }
9593 else
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 $as_echo "no" >&6; }
9599 test -n "$CROSSCC" && break
9600 done
9601 test -n "$CROSSCC" || CROSSCC="false"
9603 *) CROSSCC=$with_mingw ;;
9604 esac
9605 if test "$CROSSCC" != "false"
9606 then
9607 ac_save_CC="$CC"
9608 saved_CFLAGS=$CFLAGS
9609 saved_LDFLAGS=$LDFLAGS
9610 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9612 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
9616 CC="$CROSSCC"
9617 CFLAGS=$CROSSCFLAGS
9618 LDFLAGS=$CROSSLDFLAGS
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9620 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9621 if ${wine_cv_crosscc+:} false; then :
9622 $as_echo_n "(cached) " >&6
9623 else
9624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9628 main ()
9632 return 0;
9634 _ACEOF
9635 if ac_fn_c_try_compile "$LINENO"; then :
9636 wine_cv_crosscc=yes
9637 else
9638 wine_cv_crosscc=no
9640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9643 $as_echo "$wine_cv_crosscc" >&6; }
9644 if test $wine_cv_crosscc = yes
9645 then
9646 set x $CROSSCC
9647 shift
9648 while test $# -ge 1
9650 case "$1" in
9651 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9652 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9653 esac
9654 shift
9655 done
9657 llvm_target=$CROSSTARGET
9658 llvm_cflags="-fuse-ld=lld"
9659 if test -z "$llvm_target"
9660 then
9661 case $host_cpu in
9662 *i[3456789]86*) llvm_target=i686-windows ;;
9663 *) llvm_target=$host_cpu-windows ;;
9664 esac
9666 case $llvm_target in
9667 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9668 esac
9669 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9671 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9672 if eval \${$as_ac_var+:} false; then :
9673 $as_echo_n "(cached) " >&6
9674 else
9675 ac_wine_try_cflags_saved=$CFLAGS
9676 ac_wine_try_cflags_saved_cc=$CC
9677 ac_wine_try_cflags_saved_exeext=$ac_exeext
9678 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9679 CC="$CROSSCC"
9680 ac_exeext=".exe"
9681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9683 int __cdecl mainCRTStartup(void) { return 0; }
9684 _ACEOF
9685 if ac_fn_c_try_link "$LINENO"; then :
9686 eval "$as_ac_var=yes"
9687 else
9688 eval "$as_ac_var=no"
9690 rm -f core conftest.err conftest.$ac_objext \
9691 conftest$ac_exeext conftest.$ac_ext
9692 CFLAGS=$ac_wine_try_cflags_saved
9693 CC=$ac_wine_try_cflags_saved_cc
9694 ac_exeext=$ac_wine_try_cflags_saved_exeext
9696 eval ac_res=\$$as_ac_var
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9698 $as_echo "$ac_res" >&6; }
9699 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9700 CROSSTARGET=$llvm_target
9701 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9702 DELAYLOADFLAG="-Wl,-delayload,"
9704 CFLAGS="$CFLAGS $llvm_cflags"
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9708 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9709 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9710 $as_echo_n "(cached) " >&6
9711 else
9712 ac_wine_try_cflags_saved=$CFLAGS
9713 ac_wine_try_cflags_saved_cc=$CC
9714 ac_wine_try_cflags_saved_exeext=$ac_exeext
9715 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9716 CC="$CROSSCC"
9717 ac_exeext=".exe"
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9720 int __cdecl mainCRTStartup(void) { return 0; }
9721 _ACEOF
9722 if ac_fn_c_try_link "$LINENO"; then :
9723 ac_cv_crosscflags__fno_strict_aliasing=yes
9724 else
9725 ac_cv_crosscflags__fno_strict_aliasing=no
9727 rm -f core conftest.err conftest.$ac_objext \
9728 conftest$ac_exeext conftest.$ac_ext
9729 CFLAGS=$ac_wine_try_cflags_saved
9730 CC=$ac_wine_try_cflags_saved_cc
9731 ac_exeext=$ac_wine_try_cflags_saved_exeext
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9734 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9735 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9736 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9739 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9740 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9741 $as_echo_n "(cached) " >&6
9742 else
9743 ac_wine_try_cflags_saved=$CFLAGS
9744 ac_wine_try_cflags_saved_cc=$CC
9745 ac_wine_try_cflags_saved_exeext=$ac_exeext
9746 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9747 CC="$CROSSCC"
9748 ac_exeext=".exe"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9751 int __cdecl mainCRTStartup(void) { return 0; }
9752 _ACEOF
9753 if ac_fn_c_try_link "$LINENO"; then :
9754 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9755 else
9756 ac_cv_crosscflags__Werror_unknown_warning_option=no
9758 rm -f core conftest.err conftest.$ac_objext \
9759 conftest$ac_exeext conftest.$ac_ext
9760 CFLAGS=$ac_wine_try_cflags_saved
9761 CC=$ac_wine_try_cflags_saved_cc
9762 ac_exeext=$ac_wine_try_cflags_saved_exeext
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9765 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9766 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9767 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9770 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9771 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9772 $as_echo_n "(cached) " >&6
9773 else
9774 ac_wine_try_cflags_saved=$CFLAGS
9775 ac_wine_try_cflags_saved_cc=$CC
9776 ac_wine_try_cflags_saved_exeext=$ac_exeext
9777 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9778 CC="$CROSSCC"
9779 ac_exeext=".exe"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9782 int __cdecl mainCRTStartup(void) { return 0; }
9783 _ACEOF
9784 if ac_fn_c_try_link "$LINENO"; then :
9785 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9786 else
9787 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9789 rm -f core conftest.err conftest.$ac_objext \
9790 conftest$ac_exeext conftest.$ac_ext
9791 CFLAGS=$ac_wine_try_cflags_saved
9792 CC=$ac_wine_try_cflags_saved_cc
9793 ac_exeext=$ac_wine_try_cflags_saved_exeext
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9796 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9797 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9798 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9801 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9802 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9803 $as_echo_n "(cached) " >&6
9804 else
9805 ac_wine_try_cflags_saved=$CFLAGS
9806 ac_wine_try_cflags_saved_cc=$CC
9807 ac_wine_try_cflags_saved_exeext=$ac_exeext
9808 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9809 CC="$CROSSCC"
9810 ac_exeext=".exe"
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9813 int __cdecl mainCRTStartup(void) { return 0; }
9814 _ACEOF
9815 if ac_fn_c_try_link "$LINENO"; then :
9816 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9817 else
9818 ac_cv_crosscflags__Wdeclaration_after_statement=no
9820 rm -f core conftest.err conftest.$ac_objext \
9821 conftest$ac_exeext conftest.$ac_ext
9822 CFLAGS=$ac_wine_try_cflags_saved
9823 CC=$ac_wine_try_cflags_saved_cc
9824 ac_exeext=$ac_wine_try_cflags_saved_exeext
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9827 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9828 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9829 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9832 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9833 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 ac_wine_try_cflags_saved=$CFLAGS
9837 ac_wine_try_cflags_saved_cc=$CC
9838 ac_wine_try_cflags_saved_exeext=$ac_exeext
9839 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9840 CC="$CROSSCC"
9841 ac_exeext=".exe"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9844 int __cdecl mainCRTStartup(void) { return 0; }
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"; then :
9847 ac_cv_crosscflags__Wempty_body=yes
9848 else
9849 ac_cv_crosscflags__Wempty_body=no
9851 rm -f core conftest.err conftest.$ac_objext \
9852 conftest$ac_exeext conftest.$ac_ext
9853 CFLAGS=$ac_wine_try_cflags_saved
9854 CC=$ac_wine_try_cflags_saved_cc
9855 ac_exeext=$ac_wine_try_cflags_saved_exeext
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9858 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9859 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9860 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9863 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9864 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9865 $as_echo_n "(cached) " >&6
9866 else
9867 ac_wine_try_cflags_saved=$CFLAGS
9868 ac_wine_try_cflags_saved_cc=$CC
9869 ac_wine_try_cflags_saved_exeext=$ac_exeext
9870 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9871 CC="$CROSSCC"
9872 ac_exeext=".exe"
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 int __cdecl mainCRTStartup(void) { return 0; }
9876 _ACEOF
9877 if ac_fn_c_try_link "$LINENO"; then :
9878 ac_cv_crosscflags__Wignored_qualifiers=yes
9879 else
9880 ac_cv_crosscflags__Wignored_qualifiers=no
9882 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext
9884 CFLAGS=$ac_wine_try_cflags_saved
9885 CC=$ac_wine_try_cflags_saved_cc
9886 ac_exeext=$ac_wine_try_cflags_saved_exeext
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9889 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9890 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9891 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9894 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9895 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9896 $as_echo_n "(cached) " >&6
9897 else
9898 ac_wine_try_cflags_saved=$CFLAGS
9899 ac_wine_try_cflags_saved_cc=$CC
9900 ac_wine_try_cflags_saved_exeext=$ac_exeext
9901 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9902 CC="$CROSSCC"
9903 ac_exeext=".exe"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 int __cdecl mainCRTStartup(void) { return 0; }
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 ac_cv_crosscflags__Winit_self=yes
9910 else
9911 ac_cv_crosscflags__Winit_self=no
9913 rm -f core conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9915 CFLAGS=$ac_wine_try_cflags_saved
9916 CC=$ac_wine_try_cflags_saved_cc
9917 ac_exeext=$ac_wine_try_cflags_saved_exeext
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
9920 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
9921 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
9922 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9925 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9926 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9927 $as_echo_n "(cached) " >&6
9928 else
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 ac_wine_try_cflags_saved_cc=$CC
9931 ac_wine_try_cflags_saved_exeext=$ac_exeext
9932 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9933 CC="$CROSSCC"
9934 ac_exeext=".exe"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 int __cdecl mainCRTStartup(void) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 ac_cv_crosscflags__Wpacked_not_aligned=yes
9941 else
9942 ac_cv_crosscflags__Wpacked_not_aligned=no
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 CFLAGS=$ac_wine_try_cflags_saved
9947 CC=$ac_wine_try_cflags_saved_cc
9948 ac_exeext=$ac_wine_try_cflags_saved_exeext
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9951 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9952 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9953 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9956 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9957 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9958 $as_echo_n "(cached) " >&6
9959 else
9960 ac_wine_try_cflags_saved=$CFLAGS
9961 ac_wine_try_cflags_saved_cc=$CC
9962 ac_wine_try_cflags_saved_exeext=$ac_exeext
9963 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9964 CC="$CROSSCC"
9965 ac_exeext=".exe"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 int __cdecl mainCRTStartup(void) { return 0; }
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 ac_cv_crosscflags__Wpragma_pack=yes
9972 else
9973 ac_cv_crosscflags__Wpragma_pack=no
9975 rm -f core conftest.err conftest.$ac_objext \
9976 conftest$ac_exeext conftest.$ac_ext
9977 CFLAGS=$ac_wine_try_cflags_saved
9978 CC=$ac_wine_try_cflags_saved_cc
9979 ac_exeext=$ac_wine_try_cflags_saved_exeext
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9982 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9983 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9984 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9987 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9988 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_wine_try_cflags_saved=$CFLAGS
9992 ac_wine_try_cflags_saved_cc=$CC
9993 ac_wine_try_cflags_saved_exeext=$ac_exeext
9994 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
9995 CC="$CROSSCC"
9996 ac_exeext=".exe"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
9999 int __cdecl mainCRTStartup(void) { return 0; }
10000 _ACEOF
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 ac_cv_crosscflags__Wshift_overflow_2=yes
10003 else
10004 ac_cv_crosscflags__Wshift_overflow_2=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 CFLAGS=$ac_wine_try_cflags_saved
10009 CC=$ac_wine_try_cflags_saved_cc
10010 ac_exeext=$ac_wine_try_cflags_saved_exeext
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10013 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10014 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10015 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10018 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10019 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_wine_try_cflags_saved=$CFLAGS
10023 ac_wine_try_cflags_saved_cc=$CC
10024 ac_wine_try_cflags_saved_exeext=$ac_exeext
10025 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10026 CC="$CROSSCC"
10027 ac_exeext=".exe"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10030 int __cdecl mainCRTStartup(void) { return 0; }
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_crosscflags__Wstrict_prototypes=yes
10034 else
10035 ac_cv_crosscflags__Wstrict_prototypes=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 CFLAGS=$ac_wine_try_cflags_saved
10040 CC=$ac_wine_try_cflags_saved_cc
10041 ac_exeext=$ac_wine_try_cflags_saved_exeext
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10044 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10045 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10046 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10049 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10050 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_wine_try_cflags_saved=$CFLAGS
10054 ac_wine_try_cflags_saved_cc=$CC
10055 ac_wine_try_cflags_saved_exeext=$ac_exeext
10056 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10057 CC="$CROSSCC"
10058 ac_exeext=".exe"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10061 int __cdecl mainCRTStartup(void) { return 0; }
10062 _ACEOF
10063 if ac_fn_c_try_link "$LINENO"; then :
10064 ac_cv_crosscflags__Wtype_limits=yes
10065 else
10066 ac_cv_crosscflags__Wtype_limits=no
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 CFLAGS=$ac_wine_try_cflags_saved
10071 CC=$ac_wine_try_cflags_saved_cc
10072 ac_exeext=$ac_wine_try_cflags_saved_exeext
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10075 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10076 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10080 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10081 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_wine_try_cflags_saved=$CFLAGS
10085 ac_wine_try_cflags_saved_cc=$CC
10086 ac_wine_try_cflags_saved_exeext=$ac_exeext
10087 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10088 CC="$CROSSCC"
10089 ac_exeext=".exe"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 int __cdecl mainCRTStartup(void) { return 0; }
10093 _ACEOF
10094 if ac_fn_c_try_link "$LINENO"; then :
10095 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10096 else
10097 ac_cv_crosscflags__Wunused_but_set_parameter=no
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 CFLAGS=$ac_wine_try_cflags_saved
10102 CC=$ac_wine_try_cflags_saved_cc
10103 ac_exeext=$ac_wine_try_cflags_saved_exeext
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10106 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10107 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10108 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10111 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10112 if ${ac_cv_crosscflags__Wvla+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10115 ac_wine_try_cflags_saved=$CFLAGS
10116 ac_wine_try_cflags_saved_cc=$CC
10117 ac_wine_try_cflags_saved_exeext=$ac_exeext
10118 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10119 CC="$CROSSCC"
10120 ac_exeext=".exe"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 int __cdecl mainCRTStartup(void) { return 0; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 ac_cv_crosscflags__Wvla=yes
10127 else
10128 ac_cv_crosscflags__Wvla=no
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 CFLAGS=$ac_wine_try_cflags_saved
10133 CC=$ac_wine_try_cflags_saved_cc
10134 ac_exeext=$ac_wine_try_cflags_saved_exeext
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10137 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10138 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10139 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10142 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10143 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_wine_try_cflags_saved=$CFLAGS
10147 ac_wine_try_cflags_saved_cc=$CC
10148 ac_wine_try_cflags_saved_exeext=$ac_exeext
10149 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10150 CC="$CROSSCC"
10151 ac_exeext=".exe"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 int __cdecl mainCRTStartup(void) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 ac_cv_crosscflags__Wwrite_strings=yes
10158 else
10159 ac_cv_crosscflags__Wwrite_strings=no
10161 rm -f core conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 CFLAGS=$ac_wine_try_cflags_saved
10164 CC=$ac_wine_try_cflags_saved_cc
10165 ac_exeext=$ac_wine_try_cflags_saved_exeext
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10168 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10169 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10170 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10173 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10174 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_wine_try_cflags_saved=$CFLAGS
10178 ac_wine_try_cflags_saved_cc=$CC
10179 ac_wine_try_cflags_saved_exeext=$ac_exeext
10180 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10181 CC="$CROSSCC"
10182 ac_exeext=".exe"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int __cdecl mainCRTStartup(void) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"; then :
10188 ac_cv_crosscflags__Wpointer_arith=yes
10189 else
10190 ac_cv_crosscflags__Wpointer_arith=no
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10195 CC=$ac_wine_try_cflags_saved_cc
10196 ac_exeext=$ac_wine_try_cflags_saved_exeext
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10199 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10200 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10201 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10204 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10205 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_wine_try_cflags_saved=$CFLAGS
10209 ac_wine_try_cflags_saved_cc=$CC
10210 ac_wine_try_cflags_saved_exeext=$ac_exeext
10211 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10212 CC="$CROSSCC"
10213 ac_exeext=".exe"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int __cdecl mainCRTStartup(void) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 ac_cv_crosscflags__Wlogical_op=yes
10220 else
10221 ac_cv_crosscflags__Wlogical_op=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10226 CC=$ac_wine_try_cflags_saved_cc
10227 ac_exeext=$ac_wine_try_cflags_saved_exeext
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10230 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10231 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10232 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10235 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10236 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 ac_wine_try_cflags_saved_cc=$CC
10241 ac_wine_try_cflags_saved_exeext=$ac_exeext
10242 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10243 CC="$CROSSCC"
10244 ac_exeext=".exe"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int __cdecl mainCRTStartup(void) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_crosscflags__Wabsolute_value=yes
10251 else
10252 ac_cv_crosscflags__Wabsolute_value=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10257 CC=$ac_wine_try_cflags_saved_cc
10258 ac_exeext=$ac_wine_try_cflags_saved_exeext
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10261 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10262 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10263 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10266 case $host_cpu in
10267 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10268 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10269 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_wine_try_cflags_saved=$CFLAGS
10273 ac_wine_try_cflags_saved_cc=$CC
10274 ac_wine_try_cflags_saved_exeext=$ac_exeext
10275 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10276 CC="$CROSSCC"
10277 ac_exeext=".exe"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10280 int __cdecl mainCRTStartup(void) { return 0; }
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10284 else
10285 ac_cv_crosscflags__fno_omit_frame_pointer=no
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 CFLAGS=$ac_wine_try_cflags_saved
10290 CC=$ac_wine_try_cflags_saved_cc
10291 ac_exeext=$ac_wine_try_cflags_saved_exeext
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10294 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10295 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10296 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10297 fi ;;
10298 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10299 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10300 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10301 $as_echo_n "(cached) " >&6
10302 else
10303 ac_wine_try_cflags_saved=$CFLAGS
10304 ac_wine_try_cflags_saved_cc=$CC
10305 ac_wine_try_cflags_saved_exeext=$ac_exeext
10306 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10307 CC="$CROSSCC"
10308 ac_exeext=".exe"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10311 int __cdecl mainCRTStartup(void) { return 0; }
10312 _ACEOF
10313 if ac_fn_c_try_link "$LINENO"; then :
10314 ac_cv_crosscflags__Wno_format=yes
10315 else
10316 ac_cv_crosscflags__Wno_format=no
10318 rm -f core conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10320 CFLAGS=$ac_wine_try_cflags_saved
10321 CC=$ac_wine_try_cflags_saved_cc
10322 ac_exeext=$ac_wine_try_cflags_saved_exeext
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10325 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10326 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10327 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10330 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10331 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10332 $as_echo_n "(cached) " >&6
10333 else
10334 ac_wine_try_cflags_saved=$CFLAGS
10335 ac_wine_try_cflags_saved_cc=$CC
10336 ac_wine_try_cflags_saved_exeext=$ac_exeext
10337 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10338 CC="$CROSSCC"
10339 ac_exeext=".exe"
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10342 int __cdecl mainCRTStartup(void) { return 0; }
10343 _ACEOF
10344 if ac_fn_c_try_link "$LINENO"; then :
10345 ac_cv_crosscflags__Wformat_overflow=yes
10346 else
10347 ac_cv_crosscflags__Wformat_overflow=no
10349 rm -f core conftest.err conftest.$ac_objext \
10350 conftest$ac_exeext conftest.$ac_ext
10351 CFLAGS=$ac_wine_try_cflags_saved
10352 CC=$ac_wine_try_cflags_saved_cc
10353 ac_exeext=$ac_wine_try_cflags_saved_exeext
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10356 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10357 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10358 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10361 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10362 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10363 $as_echo_n "(cached) " >&6
10364 else
10365 ac_wine_try_cflags_saved=$CFLAGS
10366 ac_wine_try_cflags_saved_cc=$CC
10367 ac_wine_try_cflags_saved_exeext=$ac_exeext
10368 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10369 CC="$CROSSCC"
10370 ac_exeext=".exe"
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10373 int __cdecl mainCRTStartup(void) { return 0; }
10374 _ACEOF
10375 if ac_fn_c_try_link "$LINENO"; then :
10376 ac_cv_crosscflags__Wnonnull=yes
10377 else
10378 ac_cv_crosscflags__Wnonnull=no
10380 rm -f core conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10382 CFLAGS=$ac_wine_try_cflags_saved
10383 CC=$ac_wine_try_cflags_saved_cc
10384 ac_exeext=$ac_wine_try_cflags_saved_exeext
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10387 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10388 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10389 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10392 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10393 if ${ac_cv_crosscflags__mcx16+:} false; then :
10394 $as_echo_n "(cached) " >&6
10395 else
10396 ac_wine_try_cflags_saved=$CFLAGS
10397 ac_wine_try_cflags_saved_cc=$CC
10398 ac_wine_try_cflags_saved_exeext=$ac_exeext
10399 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10400 CC="$CROSSCC"
10401 ac_exeext=".exe"
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10404 int __cdecl mainCRTStartup(void) { return 0; }
10405 _ACEOF
10406 if ac_fn_c_try_link "$LINENO"; then :
10407 ac_cv_crosscflags__mcx16=yes
10408 else
10409 ac_cv_crosscflags__mcx16=no
10411 rm -f core conftest.err conftest.$ac_objext \
10412 conftest$ac_exeext conftest.$ac_ext
10413 CFLAGS=$ac_wine_try_cflags_saved
10414 CC=$ac_wine_try_cflags_saved_cc
10415 ac_exeext=$ac_wine_try_cflags_saved_exeext
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10418 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10419 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10420 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10421 fi ;;
10422 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10423 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10424 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10425 $as_echo_n "(cached) " >&6
10426 else
10427 ac_wine_try_cflags_saved=$CFLAGS
10428 ac_wine_try_cflags_saved_cc=$CC
10429 ac_wine_try_cflags_saved_exeext=$ac_exeext
10430 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10431 CC="$CROSSCC"
10432 ac_exeext=".exe"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10435 int __cdecl mainCRTStartup(void) { return 0; }
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"; then :
10438 ac_cv_crosscflags__Wno_format=yes
10439 else
10440 ac_cv_crosscflags__Wno_format=no
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 CFLAGS=$ac_wine_try_cflags_saved
10445 CC=$ac_wine_try_cflags_saved_cc
10446 ac_exeext=$ac_wine_try_cflags_saved_exeext
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10449 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10450 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10451 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10452 fi ;;
10453 esac
10456 if test -z "$CROSSDEBUG"
10457 then
10458 for ac_flag in $CROSSCFLAGS; do
10459 case $ac_flag in
10460 -gdwarf*) CROSSDEBUG=dwarf ;;
10461 -gcodeview) CROSSDEBUG=pdb ;;
10462 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10463 esac
10464 done
10466 case $CROSSDEBUG in
10467 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10468 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10469 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10470 $as_echo_n "(cached) " >&6
10471 else
10472 ac_wine_try_cflags_saved=$CFLAGS
10473 ac_wine_try_cflags_saved_cc=$CC
10474 ac_wine_try_cflags_saved_exeext=$ac_exeext
10475 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10476 CC="$CROSSCC"
10477 ac_exeext=".exe"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 int __cdecl mainCRTStartup(void) { return 0; }
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"; then :
10483 ac_cv_crosscflags__gdwarf_2=yes
10484 else
10485 ac_cv_crosscflags__gdwarf_2=no
10487 rm -f core conftest.err conftest.$ac_objext \
10488 conftest$ac_exeext conftest.$ac_ext
10489 CFLAGS=$ac_wine_try_cflags_saved
10490 CC=$ac_wine_try_cflags_saved_cc
10491 ac_exeext=$ac_wine_try_cflags_saved_exeext
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10494 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10495 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10496 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10499 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10500 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10501 $as_echo_n "(cached) " >&6
10502 else
10503 ac_wine_try_cflags_saved=$CFLAGS
10504 ac_wine_try_cflags_saved_cc=$CC
10505 ac_wine_try_cflags_saved_exeext=$ac_exeext
10506 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10507 CC="$CROSSCC"
10508 ac_exeext=".exe"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10511 int __cdecl mainCRTStartup(void) { return 0; }
10512 _ACEOF
10513 if ac_fn_c_try_link "$LINENO"; then :
10514 ac_cv_crosscflags__gstrict_dwarf=yes
10515 else
10516 ac_cv_crosscflags__gstrict_dwarf=no
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 CFLAGS=$ac_wine_try_cflags_saved
10521 CC=$ac_wine_try_cflags_saved_cc
10522 ac_exeext=$ac_wine_try_cflags_saved_exeext
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10525 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10526 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10527 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10528 fi ;;
10529 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10530 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10531 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533 else
10534 ac_wine_try_cflags_saved=$CFLAGS
10535 ac_wine_try_cflags_saved_cc=$CC
10536 ac_wine_try_cflags_saved_exeext=$ac_exeext
10537 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10538 CC="$CROSSCC"
10539 ac_exeext=".exe"
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10542 int __cdecl mainCRTStartup(void) { return 0; }
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"; then :
10545 ac_cv_crosscflags__gcodeview=yes
10546 else
10547 ac_cv_crosscflags__gcodeview=no
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 CFLAGS=$ac_wine_try_cflags_saved
10552 CC=$ac_wine_try_cflags_saved_cc
10553 ac_exeext=$ac_wine_try_cflags_saved_exeext
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10556 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10557 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10558 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10559 fi ;;
10560 esac
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10563 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10564 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10565 $as_echo_n "(cached) " >&6
10566 else
10567 ac_wine_try_cflags_saved=$CFLAGS
10568 ac_wine_try_cflags_saved_cc=$CC
10569 ac_wine_try_cflags_saved_exeext=$ac_exeext
10570 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10571 CC="$CROSSCC"
10572 ac_exeext=".exe"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10575 int __cdecl mainCRTStartup(void) { return 0; }
10576 _ACEOF
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 ac_cv_crosscflags__fexcess_precision_standard=yes
10579 else
10580 ac_cv_crosscflags__fexcess_precision_standard=no
10582 rm -f core conftest.err conftest.$ac_objext \
10583 conftest$ac_exeext conftest.$ac_ext
10584 CFLAGS=$ac_wine_try_cflags_saved
10585 CC=$ac_wine_try_cflags_saved_cc
10586 ac_exeext=$ac_wine_try_cflags_saved_exeext
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10589 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10590 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10591 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10595 if test "x$enable_werror" = "xyes"
10596 then
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10598 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10599 if ${ac_cv_crosscflags__Werror+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_wine_try_cflags_saved=$CFLAGS
10603 ac_wine_try_cflags_saved_cc=$CC
10604 ac_wine_try_cflags_saved_exeext=$ac_exeext
10605 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10606 CC="$CROSSCC"
10607 ac_exeext=".exe"
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10610 int __cdecl mainCRTStartup(void) { return 0; }
10611 _ACEOF
10612 if ac_fn_c_try_link "$LINENO"; then :
10613 ac_cv_crosscflags__Werror=yes
10614 else
10615 ac_cv_crosscflags__Werror=no
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 CFLAGS=$ac_wine_try_cflags_saved
10620 CC=$ac_wine_try_cflags_saved_cc
10621 ac_exeext=$ac_wine_try_cflags_saved_exeext
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10624 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10625 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10626 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10629 if test "x$enable_build_id" = "xyes"
10630 then
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10632 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10633 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10634 $as_echo_n "(cached) " >&6
10635 else
10636 ac_wine_try_cflags_saved=$CFLAGS
10637 ac_wine_try_cflags_saved_cc=$CC
10638 ac_wine_try_cflags_saved_exeext=$ac_exeext
10639 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10640 CC="$CROSSCC"
10641 ac_exeext=".exe"
10642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10644 int __cdecl mainCRTStartup(void) { return 0; }
10645 _ACEOF
10646 if ac_fn_c_try_link "$LINENO"; then :
10647 ac_cv_crosscflags__Wl___build_id=yes
10648 else
10649 ac_cv_crosscflags__Wl___build_id=no
10651 rm -f core conftest.err conftest.$ac_objext \
10652 conftest$ac_exeext conftest.$ac_ext
10653 CFLAGS=$ac_wine_try_cflags_saved
10654 CC=$ac_wine_try_cflags_saved_cc
10655 ac_exeext=$ac_wine_try_cflags_saved_exeext
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10658 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10659 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10660 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10661 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10665 CFLAGS=$saved_CFLAGS
10666 LDFLAGS=$saved_LDFLAGS
10667 CC="$ac_save_CC"
10670 if test "x$CROSSTARGET" = "x"; then :
10671 case "x$with_mingw" in
10672 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10673 xno) ;;
10674 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10675 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10676 esac
10681 if ${FAUDIO_PE_CFLAGS:+false} :; then :
10682 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
10683 else
10684 enable_faudio=no
10686 if ${FAUDIO_PE_LIBS:+false} :; then :
10687 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
10688 else
10689 enable_faudio=no
10691 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
10692 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
10694 if ${GSM_PE_CFLAGS:+false} :; then :
10695 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
10696 else
10697 enable_gsm=no
10699 if ${GSM_PE_LIBS:+false} :; then :
10700 GSM_PE_LIBS=gsm
10701 else
10702 enable_gsm=no
10704 $as_echo "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
10705 $as_echo "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
10707 if ${JPEG_PE_CFLAGS:+false} :; then :
10708 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
10709 else
10710 enable_jpeg=no
10712 if ${JPEG_PE_LIBS:+false} :; then :
10713 JPEG_PE_LIBS=jpeg
10714 else
10715 enable_jpeg=no
10717 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
10718 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
10720 if ${JXR_PE_CFLAGS:+false} :; then :
10721 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
10722 else
10723 enable_jxr=no
10725 if ${JXR_PE_LIBS:+false} :; then :
10726 JXR_PE_LIBS=jxr
10727 else
10728 enable_jxr=no
10730 $as_echo "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
10731 $as_echo "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
10733 if ${LCMS2_PE_CFLAGS:+false} :; then :
10734 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
10735 else
10736 enable_lcms2=no
10738 if ${LCMS2_PE_LIBS:+false} :; then :
10739 LCMS2_PE_LIBS=lcms2
10740 else
10741 enable_lcms2=no
10743 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
10744 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
10746 if ${MPG123_PE_CFLAGS:+false} :; then :
10747 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
10748 else
10749 enable_mpg123=no
10751 if ${MPG123_PE_LIBS:+false} :; then :
10752 MPG123_PE_LIBS=mpg123
10753 else
10754 enable_mpg123=no
10756 $as_echo "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
10757 $as_echo "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
10759 if ${PNG_PE_CFLAGS:+false} :; then :
10760 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
10761 else
10762 enable_png=no
10764 if ${PNG_PE_LIBS:+false} :; then :
10765 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
10766 else
10767 enable_png=no
10769 $as_echo "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
10770 $as_echo "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
10772 if ${TIFF_PE_CFLAGS:+false} :; then :
10773 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
10774 else
10775 enable_tiff=no
10777 if ${TIFF_PE_LIBS:+false} :; then :
10778 TIFF_PE_LIBS=tiff
10779 else
10780 enable_tiff=no
10782 $as_echo "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
10783 $as_echo "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
10785 if ${XML2_PE_CFLAGS:+false} :; then :
10786 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
10787 else
10788 enable_libxml2=no
10790 if ${XML2_PE_LIBS:+false} :; then :
10791 XML2_PE_LIBS=xml2
10792 else
10793 enable_libxml2=no
10795 $as_echo "$as_me:${as_lineno-$LINENO}: libxml2 cflags: $XML2_PE_CFLAGS" >&5
10796 $as_echo "$as_me:${as_lineno-$LINENO}: libxml2 libs: $XML2_PE_LIBS" >&5
10798 if ${XSLT_PE_CFLAGS:+false} :; then :
10799 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
10800 else
10801 enable_libxslt=no
10803 if ${XSLT_PE_LIBS:+false} :; then :
10804 XSLT_PE_LIBS=xslt
10805 else
10806 enable_libxslt=no
10808 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_PE_CFLAGS" >&5
10809 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_PE_LIBS" >&5
10811 if ${ZLIB_PE_CFLAGS:+false} :; then :
10812 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
10813 else
10814 enable_zlib=no
10816 if ${ZLIB_PE_LIBS:+false} :; then :
10817 ZLIB_PE_LIBS=z
10818 else
10819 enable_zlib=no
10821 $as_echo "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
10822 $as_echo "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
10826 if test "$ac_cv_header_pthread_h" = "yes"
10827 then
10828 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10829 if test "x$ac_cv_func_pthread_create" = xyes; then :
10831 else
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10833 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10834 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10835 $as_echo_n "(cached) " >&6
10836 else
10837 ac_check_lib_save_LIBS=$LIBS
10838 LIBS="-lpthread $LIBS"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10845 #ifdef __cplusplus
10846 extern "C"
10847 #endif
10848 char pthread_create ();
10850 main ()
10852 return pthread_create ();
10854 return 0;
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"; then :
10858 ac_cv_lib_pthread_pthread_create=yes
10859 else
10860 ac_cv_lib_pthread_pthread_create=no
10862 rm -f core conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_lib_save_LIBS
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10867 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10868 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10869 PTHREAD_LIBS="-lpthread"
10876 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10877 case "x$with_pthread" in
10878 xno) ;;
10879 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10880 Wine cannot support threads without libpthread.
10881 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10882 esac
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10888 $as_echo_n "checking for X... " >&6; }
10891 # Check whether --with-x was given.
10892 if test "${with_x+set}" = set; then :
10893 withval=$with_x;
10896 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10897 if test "x$with_x" = xno; then
10898 # The user explicitly disabled X.
10899 have_x=disabled
10900 else
10901 case $x_includes,$x_libraries in #(
10902 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10903 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10904 $as_echo_n "(cached) " >&6
10905 else
10906 # One or both of the vars are not set, and there is no cached value.
10907 ac_x_includes=no ac_x_libraries=no
10908 rm -f -r conftest.dir
10909 if mkdir conftest.dir; then
10910 cd conftest.dir
10911 cat >Imakefile <<'_ACEOF'
10912 incroot:
10913 @echo incroot='${INCROOT}'
10914 usrlibdir:
10915 @echo usrlibdir='${USRLIBDIR}'
10916 libdir:
10917 @echo libdir='${LIBDIR}'
10918 _ACEOF
10919 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10920 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10921 for ac_var in incroot usrlibdir libdir; do
10922 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10923 done
10924 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10925 for ac_extension in a so sl dylib la dll; do
10926 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10927 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10928 ac_im_usrlibdir=$ac_im_libdir; break
10930 done
10931 # Screen out bogus values from the imake configuration. They are
10932 # bogus both because they are the default anyway, and because
10933 # using them would break gcc on systems where it needs fixed includes.
10934 case $ac_im_incroot in
10935 /usr/include) ac_x_includes= ;;
10936 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10937 esac
10938 case $ac_im_usrlibdir in
10939 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10940 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10941 esac
10943 cd ..
10944 rm -f -r conftest.dir
10947 # Standard set of common directories for X headers.
10948 # Check X11 before X11Rn because it is often a symlink to the current release.
10949 ac_x_header_dirs='
10950 /usr/X11/include
10951 /usr/X11R7/include
10952 /usr/X11R6/include
10953 /usr/X11R5/include
10954 /usr/X11R4/include
10956 /usr/include/X11
10957 /usr/include/X11R7
10958 /usr/include/X11R6
10959 /usr/include/X11R5
10960 /usr/include/X11R4
10962 /usr/local/X11/include
10963 /usr/local/X11R7/include
10964 /usr/local/X11R6/include
10965 /usr/local/X11R5/include
10966 /usr/local/X11R4/include
10968 /usr/local/include/X11
10969 /usr/local/include/X11R7
10970 /usr/local/include/X11R6
10971 /usr/local/include/X11R5
10972 /usr/local/include/X11R4
10974 /usr/X386/include
10975 /usr/x386/include
10976 /usr/XFree86/include/X11
10978 /usr/include
10979 /usr/local/include
10980 /usr/unsupported/include
10981 /usr/athena/include
10982 /usr/local/x11r5/include
10983 /usr/lpp/Xamples/include
10985 /usr/openwin/include
10986 /usr/openwin/share/include'
10988 if test "$ac_x_includes" = no; then
10989 # Guess where to find include files, by looking for Xlib.h.
10990 # First, try using that file with no special directory specified.
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10993 #include <X11/Xlib.h>
10994 _ACEOF
10995 if ac_fn_c_try_cpp "$LINENO"; then :
10996 # We can compile using X headers with no special include directory.
10997 ac_x_includes=
10998 else
10999 for ac_dir in $ac_x_header_dirs; do
11000 if test -r "$ac_dir/X11/Xlib.h"; then
11001 ac_x_includes=$ac_dir
11002 break
11004 done
11006 rm -f conftest.err conftest.i conftest.$ac_ext
11007 fi # $ac_x_includes = no
11009 if test "$ac_x_libraries" = no; then
11010 # Check for the libraries.
11011 # See if we find them without any special options.
11012 # Don't add to $LIBS permanently.
11013 ac_save_LIBS=$LIBS
11014 LIBS="-lX11 $LIBS"
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11017 #include <X11/Xlib.h>
11019 main ()
11021 XrmInitialize ()
11023 return 0;
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"; then :
11027 LIBS=$ac_save_LIBS
11028 # We can link X programs with no special library path.
11029 ac_x_libraries=
11030 else
11031 LIBS=$ac_save_LIBS
11032 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11034 # Don't even attempt the hair of trying to link an X program!
11035 for ac_extension in a so sl dylib la dll; do
11036 if test -r "$ac_dir/libX11.$ac_extension"; then
11037 ac_x_libraries=$ac_dir
11038 break 2
11040 done
11041 done
11043 rm -f core conftest.err conftest.$ac_objext \
11044 conftest$ac_exeext conftest.$ac_ext
11045 fi # $ac_x_libraries = no
11047 case $ac_x_includes,$ac_x_libraries in #(
11048 no,* | *,no | *\'*)
11049 # Didn't find X, or a directory has "'" in its name.
11050 ac_cv_have_x="have_x=no";; #(
11052 # Record where we found X for the cache.
11053 ac_cv_have_x="have_x=yes\
11054 ac_x_includes='$ac_x_includes'\
11055 ac_x_libraries='$ac_x_libraries'"
11056 esac
11058 ;; #(
11059 *) have_x=yes;;
11060 esac
11061 eval "$ac_cv_have_x"
11062 fi # $with_x != no
11064 if test "$have_x" != yes; then
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11066 $as_echo "$have_x" >&6; }
11067 no_x=yes
11068 else
11069 # If each of the values was on the command line, it overrides each guess.
11070 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11071 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11072 # Update the cache value to reflect the command line values.
11073 ac_cv_have_x="have_x=yes\
11074 ac_x_includes='$x_includes'\
11075 ac_x_libraries='$x_libraries'"
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11077 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11080 if test "$no_x" = yes; then
11081 # Not all programs may use this symbol, but it does not hurt to define it.
11083 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11085 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11086 else
11087 if test -n "$x_includes"; then
11088 X_CFLAGS="$X_CFLAGS -I$x_includes"
11091 # It would also be nice to do this for all -L options, not just this one.
11092 if test -n "$x_libraries"; then
11093 X_LIBS="$X_LIBS -L$x_libraries"
11094 # For Solaris; some versions of Sun CC require a space after -R and
11095 # others require no space. Words are not sufficient . . . .
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11097 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11098 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11099 ac_xsave_c_werror_flag=$ac_c_werror_flag
11100 ac_c_werror_flag=yes
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11105 main ()
11109 return 0;
11111 _ACEOF
11112 if ac_fn_c_try_link "$LINENO"; then :
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11114 $as_echo "no" >&6; }
11115 X_LIBS="$X_LIBS -R$x_libraries"
11116 else
11117 LIBS="$ac_xsave_LIBS -R $x_libraries"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11122 main ()
11126 return 0;
11128 _ACEOF
11129 if ac_fn_c_try_link "$LINENO"; then :
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11131 $as_echo "yes" >&6; }
11132 X_LIBS="$X_LIBS -R $x_libraries"
11133 else
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11135 $as_echo "neither works" >&6; }
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11140 rm -f core conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 ac_c_werror_flag=$ac_xsave_c_werror_flag
11143 LIBS=$ac_xsave_LIBS
11146 # Check for system-dependent libraries X programs must link with.
11147 # Do this before checking for the system-independent R6 libraries
11148 # (-lICE), since we may need -lsocket or whatever for X linking.
11150 if test "$ISC" = yes; then
11151 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11152 else
11153 # Martyn Johnson says this is needed for Ultrix, if the X
11154 # libraries were built with DECnet support. And Karl Berry says
11155 # the Alpha needs dnet_stub (dnet does not exist).
11156 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char XOpenDisplay ();
11168 main ()
11170 return XOpenDisplay ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11177 else
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11179 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11180 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11181 $as_echo_n "(cached) " >&6
11182 else
11183 ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-ldnet $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11191 #ifdef __cplusplus
11192 extern "C"
11193 #endif
11194 char dnet_ntoa ();
11196 main ()
11198 return dnet_ntoa ();
11200 return 0;
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_lib_dnet_dnet_ntoa=yes
11205 else
11206 ac_cv_lib_dnet_dnet_ntoa=no
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11213 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11214 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11215 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11218 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11220 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11221 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11222 $as_echo_n "(cached) " >&6
11223 else
11224 ac_check_lib_save_LIBS=$LIBS
11225 LIBS="-ldnet_stub $LIBS"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dnet_ntoa ();
11237 main ()
11239 return dnet_ntoa ();
11241 return 0;
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11246 else
11247 ac_cv_lib_dnet_stub_dnet_ntoa=no
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11254 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11255 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11256 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS="$ac_xsave_LIBS"
11265 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11266 # to get the SysV transport functions.
11267 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11268 # needs -lnsl.
11269 # The nsl library prevents programs from opening the X display
11270 # on Irix 5.2, according to T.E. Dickey.
11271 # The functions gethostbyname, getservbyname, and inet_addr are
11272 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11273 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11274 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11278 if test $ac_cv_func_gethostbyname = no; then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11280 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11281 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11282 $as_echo_n "(cached) " >&6
11283 else
11284 ac_check_lib_save_LIBS=$LIBS
11285 LIBS="-lnsl $LIBS"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11292 #ifdef __cplusplus
11293 extern "C"
11294 #endif
11295 char gethostbyname ();
11297 main ()
11299 return gethostbyname ();
11301 return 0;
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"; then :
11305 ac_cv_lib_nsl_gethostbyname=yes
11306 else
11307 ac_cv_lib_nsl_gethostbyname=no
11309 rm -f core conftest.err conftest.$ac_objext \
11310 conftest$ac_exeext conftest.$ac_ext
11311 LIBS=$ac_check_lib_save_LIBS
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11314 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11315 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11319 if test $ac_cv_lib_nsl_gethostbyname = no; then
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11321 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11322 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11323 $as_echo_n "(cached) " >&6
11324 else
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lbsd $LIBS"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char gethostbyname ();
11338 main ()
11340 return gethostbyname ();
11342 return 0;
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 ac_cv_lib_bsd_gethostbyname=yes
11347 else
11348 ac_cv_lib_bsd_gethostbyname=no
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11355 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11356 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11357 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11363 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11364 # socket/setsockopt and other routines are undefined under SCO ODT
11365 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11366 # on later versions), says Simon Leinen: it contains gethostby*
11367 # variants that don't use the name server (or something). -lsocket
11368 # must be given before -lnsl if both are needed. We assume that
11369 # if connect needs -lnsl, so does gethostbyname.
11370 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11371 if test "x$ac_cv_func_connect" = xyes; then :
11375 if test $ac_cv_func_connect = no; then
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11377 $as_echo_n "checking for connect in -lsocket... " >&6; }
11378 if ${ac_cv_lib_socket_connect+:} false; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_lib_save_LIBS=$LIBS
11382 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11386 /* Override any GCC internal prototype to avoid an error.
11387 Use char because int might match the return type of a GCC
11388 builtin and then its argument prototype would still apply. */
11389 #ifdef __cplusplus
11390 extern "C"
11391 #endif
11392 char connect ();
11394 main ()
11396 return connect ();
11398 return 0;
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"; then :
11402 ac_cv_lib_socket_connect=yes
11403 else
11404 ac_cv_lib_socket_connect=no
11406 rm -f core conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11408 LIBS=$ac_check_lib_save_LIBS
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11411 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11412 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11413 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11418 # Guillermo Gomez says -lposix is necessary on A/UX.
11419 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11420 if test "x$ac_cv_func_remove" = xyes; then :
11424 if test $ac_cv_func_remove = no; then
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11426 $as_echo_n "checking for remove in -lposix... " >&6; }
11427 if ${ac_cv_lib_posix_remove+:} false; then :
11428 $as_echo_n "(cached) " >&6
11429 else
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-lposix $LIBS"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char remove ();
11443 main ()
11445 return remove ();
11447 return 0;
11449 _ACEOF
11450 if ac_fn_c_try_link "$LINENO"; then :
11451 ac_cv_lib_posix_remove=yes
11452 else
11453 ac_cv_lib_posix_remove=no
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_lib_save_LIBS
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11460 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11461 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11467 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11468 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11469 if test "x$ac_cv_func_shmat" = xyes; then :
11473 if test $ac_cv_func_shmat = no; then
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11475 $as_echo_n "checking for shmat in -lipc... " >&6; }
11476 if ${ac_cv_lib_ipc_shmat+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_lib_save_LIBS=$LIBS
11480 LIBS="-lipc $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char shmat ();
11492 main ()
11494 return shmat ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 ac_cv_lib_ipc_shmat=yes
11501 else
11502 ac_cv_lib_ipc_shmat=no
11504 rm -f core conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 LIBS=$ac_check_lib_save_LIBS
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11509 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11510 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11511 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11517 # Check for libraries that X11R6 Xt/Xaw programs need.
11518 ac_save_LDFLAGS=$LDFLAGS
11519 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11520 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11521 # check for ICE first), but we must link in the order -lSM -lICE or
11522 # we get undefined symbols. So assume we have SM if we have ICE.
11523 # These have to be linked with before -lX11, unlike the other
11524 # libraries we check for below, so use a different variable.
11525 # John Interrante, Karl Berry
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11527 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11528 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11529 $as_echo_n "(cached) " >&6
11530 else
11531 ac_check_lib_save_LIBS=$LIBS
11532 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char IceConnectionNumber ();
11544 main ()
11546 return IceConnectionNumber ();
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 ac_cv_lib_ICE_IceConnectionNumber=yes
11553 else
11554 ac_cv_lib_ICE_IceConnectionNumber=no
11556 rm -f core conftest.err conftest.$ac_objext \
11557 conftest$ac_exeext conftest.$ac_ext
11558 LIBS=$ac_check_lib_save_LIBS
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11561 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11562 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11563 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11566 LDFLAGS=$ac_save_LDFLAGS
11571 if test "$have_x" = "yes"
11572 then
11573 ac_save_CPPFLAGS="$CPPFLAGS"
11574 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11577 $as_echo_n "checking for -lX11... " >&6; }
11578 if ${ac_cv_lib_soname_X11+:} false; then :
11579 $as_echo_n "(cached) " >&6
11580 else
11581 ac_check_soname_save_LIBS=$LIBS
11582 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11586 /* Override any GCC internal prototype to avoid an error.
11587 Use char because int might match the return type of a GCC
11588 builtin and then its argument prototype would still apply. */
11589 #ifdef __cplusplus
11590 extern "C"
11591 #endif
11592 char XCreateWindow ();
11594 main ()
11596 return XCreateWindow ();
11598 return 0;
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"; then :
11602 case "$LIBEXT" in
11603 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11604 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'` ;;
11605 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11606 if ${ac_cv_lib_soname_X11:+false} :; then :
11607 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11608 fi ;;
11609 esac
11610 else
11611 ac_cv_lib_soname_X11=
11613 rm -f core conftest.err conftest.$ac_objext \
11614 conftest$ac_exeext conftest.$ac_ext
11615 LIBS=$ac_check_soname_save_LIBS
11617 if ${ac_cv_lib_soname_X11:+false} :; then :
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11619 $as_echo "not found" >&6; }
11621 else
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11623 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11625 cat >>confdefs.h <<_ACEOF
11626 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11627 _ACEOF
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11632 $as_echo_n "checking for -lXext... " >&6; }
11633 if ${ac_cv_lib_soname_Xext+:} false; then :
11634 $as_echo_n "(cached) " >&6
11635 else
11636 ac_check_soname_save_LIBS=$LIBS
11637 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11639 /* end confdefs.h. */
11641 /* Override any GCC internal prototype to avoid an error.
11642 Use char because int might match the return type of a GCC
11643 builtin and then its argument prototype would still apply. */
11644 #ifdef __cplusplus
11645 extern "C"
11646 #endif
11647 char XextCreateExtension ();
11649 main ()
11651 return XextCreateExtension ();
11653 return 0;
11655 _ACEOF
11656 if ac_fn_c_try_link "$LINENO"; then :
11657 case "$LIBEXT" in
11658 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11659 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'` ;;
11660 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11661 if ${ac_cv_lib_soname_Xext:+false} :; then :
11662 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11663 fi ;;
11664 esac
11665 else
11666 ac_cv_lib_soname_Xext=
11668 rm -f core conftest.err conftest.$ac_objext \
11669 conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_soname_save_LIBS
11672 if ${ac_cv_lib_soname_Xext:+false} :; then :
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11674 $as_echo "not found" >&6; }
11676 else
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11678 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11680 cat >>confdefs.h <<_ACEOF
11681 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11682 _ACEOF
11684 X_LIBS="$X_LIBS -lXext"
11686 X_LIBS="$X_LIBS -lX11"
11688 for ac_header in X11/Xlib.h \
11689 X11/XKBlib.h \
11690 X11/Xutil.h \
11691 X11/Xcursor/Xcursor.h \
11692 X11/extensions/shape.h \
11693 X11/extensions/XInput.h \
11694 X11/extensions/XInput2.h \
11695 X11/extensions/XShm.h \
11696 X11/extensions/Xcomposite.h \
11697 X11/extensions/Xfixes.h \
11698 X11/extensions/Xinerama.h \
11699 X11/extensions/Xrandr.h \
11700 X11/extensions/Xrender.h \
11701 X11/extensions/xf86vmode.h \
11702 X11/extensions/xf86vmproto.h
11703 do :
11704 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11705 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11706 # include <X11/Xlib.h>
11707 #endif
11708 #ifdef HAVE_X11_XUTIL_H
11709 # include <X11/Xutil.h>
11710 #endif
11712 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11713 cat >>confdefs.h <<_ACEOF
11714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11715 _ACEOF
11719 done
11722 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11723 then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11725 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11726 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11727 $as_echo_n "(cached) " >&6
11728 else
11729 ac_check_lib_save_LIBS=$LIBS
11730 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11734 /* Override any GCC internal prototype to avoid an error.
11735 Use char because int might match the return type of a GCC
11736 builtin and then its argument prototype would still apply. */
11737 #ifdef __cplusplus
11738 extern "C"
11739 #endif
11740 char XkbQueryExtension ();
11742 main ()
11744 return XkbQueryExtension ();
11746 return 0;
11748 _ACEOF
11749 if ac_fn_c_try_link "$LINENO"; then :
11750 ac_cv_lib_X11_XkbQueryExtension=yes
11751 else
11752 ac_cv_lib_X11_XkbQueryExtension=no
11754 rm -f core conftest.err conftest.$ac_objext \
11755 conftest$ac_exeext conftest.$ac_ext
11756 LIBS=$ac_check_lib_save_LIBS
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11759 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11760 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11762 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11768 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11769 then
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11771 $as_echo_n "checking for -lXcursor... " >&6; }
11772 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11773 $as_echo_n "(cached) " >&6
11774 else
11775 ac_check_soname_save_LIBS=$LIBS
11776 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11780 /* Override any GCC internal prototype to avoid an error.
11781 Use char because int might match the return type of a GCC
11782 builtin and then its argument prototype would still apply. */
11783 #ifdef __cplusplus
11784 extern "C"
11785 #endif
11786 char XcursorImageLoadCursor ();
11788 main ()
11790 return XcursorImageLoadCursor ();
11792 return 0;
11794 _ACEOF
11795 if ac_fn_c_try_link "$LINENO"; then :
11796 case "$LIBEXT" in
11797 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11798 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'` ;;
11799 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11800 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11801 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11802 fi ;;
11803 esac
11804 else
11805 ac_cv_lib_soname_Xcursor=
11807 rm -f core conftest.err conftest.$ac_objext \
11808 conftest$ac_exeext conftest.$ac_ext
11809 LIBS=$ac_check_soname_save_LIBS
11811 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11813 $as_echo "not found" >&6; }
11815 else
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11817 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11819 cat >>confdefs.h <<_ACEOF
11820 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11821 _ACEOF
11826 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11827 case "x$with_xcursor" in
11828 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11829 xno) ;;
11830 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11831 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11832 esac
11836 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11837 then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11839 $as_echo_n "checking for -lXi... " >&6; }
11840 if ${ac_cv_lib_soname_Xi+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_soname_save_LIBS=$LIBS
11844 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char XOpenDevice ();
11856 main ()
11858 return XOpenDevice ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 case "$LIBEXT" in
11865 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11866 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'` ;;
11867 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11868 if ${ac_cv_lib_soname_Xi:+false} :; then :
11869 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11870 fi ;;
11871 esac
11872 else
11873 ac_cv_lib_soname_Xi=
11875 rm -f core conftest.err conftest.$ac_objext \
11876 conftest$ac_exeext conftest.$ac_ext
11877 LIBS=$ac_check_soname_save_LIBS
11879 if ${ac_cv_lib_soname_Xi:+false} :; then :
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11881 $as_echo "not found" >&6; }
11883 else
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11885 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11887 cat >>confdefs.h <<_ACEOF
11888 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11889 _ACEOF
11894 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11895 case "x$with_xinput" in
11896 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11897 xno) ;;
11898 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11899 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11900 esac
11904 if test "x$ac_cv_lib_soname_Xi" != x
11905 then
11906 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11907 case "x$with_xinput2" in
11908 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11909 xno) ;;
11910 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11911 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11912 esac
11917 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11918 then
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11920 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11921 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11922 $as_echo_n "(cached) " >&6
11923 else
11924 ac_check_lib_save_LIBS=$LIBS
11925 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11932 #ifdef __cplusplus
11933 extern "C"
11934 #endif
11935 char XShmQueryExtension ();
11937 main ()
11939 return XShmQueryExtension ();
11941 return 0;
11943 _ACEOF
11944 if ac_fn_c_try_link "$LINENO"; then :
11945 ac_cv_lib_Xext_XShmQueryExtension=yes
11946 else
11947 ac_cv_lib_Xext_XShmQueryExtension=no
11949 rm -f core conftest.err conftest.$ac_objext \
11950 conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_lib_save_LIBS
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11954 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11955 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11957 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11962 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11963 case "x$with_xshm" in
11964 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11965 xno) ;;
11966 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11967 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11968 esac
11972 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11973 then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11975 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11976 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11977 $as_echo_n "(cached) " >&6
11978 else
11979 ac_check_lib_save_LIBS=$LIBS
11980 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11987 #ifdef __cplusplus
11988 extern "C"
11989 #endif
11990 char XShapeQueryExtension ();
11992 main ()
11994 return XShapeQueryExtension ();
11996 return 0;
11998 _ACEOF
11999 if ac_fn_c_try_link "$LINENO"; then :
12000 ac_cv_lib_Xext_XShapeQueryExtension=yes
12001 else
12002 ac_cv_lib_Xext_XShapeQueryExtension=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
12009 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
12010 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
12012 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
12017 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
12018 case "x$with_xshape" in
12019 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
12020 xno) ;;
12021 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
12022 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
12023 esac
12027 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
12028 then
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
12030 $as_echo_n "checking for -lXxf86vm... " >&6; }
12031 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12032 $as_echo_n "(cached) " >&6
12033 else
12034 ac_check_soname_save_LIBS=$LIBS
12035 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12042 #ifdef __cplusplus
12043 extern "C"
12044 #endif
12045 char XF86VidModeQueryExtension ();
12047 main ()
12049 return XF86VidModeQueryExtension ();
12051 return 0;
12053 _ACEOF
12054 if ac_fn_c_try_link "$LINENO"; then :
12055 case "$LIBEXT" in
12056 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12057 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'` ;;
12058 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12059 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12060 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12061 fi ;;
12062 esac
12063 else
12064 ac_cv_lib_soname_Xxf86vm=
12066 rm -f core conftest.err conftest.$ac_objext \
12067 conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_soname_save_LIBS
12070 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12072 $as_echo "not found" >&6; }
12074 else
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12076 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12078 cat >>confdefs.h <<_ACEOF
12079 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12080 _ACEOF
12085 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12086 case "x$with_xxf86vm" in
12087 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12088 xno) ;;
12089 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12090 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12091 esac
12095 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12096 then
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12098 $as_echo_n "checking for -lXrender... " >&6; }
12099 if ${ac_cv_lib_soname_Xrender+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_soname_save_LIBS=$LIBS
12103 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12110 #ifdef __cplusplus
12111 extern "C"
12112 #endif
12113 char XRenderQueryExtension ();
12115 main ()
12117 return XRenderQueryExtension ();
12119 return 0;
12121 _ACEOF
12122 if ac_fn_c_try_link "$LINENO"; then :
12123 case "$LIBEXT" in
12124 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12125 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'` ;;
12126 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12127 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12128 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12129 fi ;;
12130 esac
12131 else
12132 ac_cv_lib_soname_Xrender=
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_soname_save_LIBS
12138 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12140 $as_echo "not found" >&6; }
12142 else
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12144 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12146 cat >>confdefs.h <<_ACEOF
12147 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12148 _ACEOF
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12151 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12152 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12153 $as_echo_n "(cached) " >&6
12154 else
12155 ac_check_lib_save_LIBS=$LIBS
12156 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 char XRenderSetPictureTransform ();
12168 main ()
12170 return XRenderSetPictureTransform ();
12172 return 0;
12174 _ACEOF
12175 if ac_fn_c_try_link "$LINENO"; then :
12176 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12177 else
12178 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12180 rm -f core conftest.err conftest.$ac_objext \
12181 conftest$ac_exeext conftest.$ac_ext
12182 LIBS=$ac_check_lib_save_LIBS
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12185 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12186 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12188 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12193 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12194 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12195 $as_echo_n "(cached) " >&6
12196 else
12197 ac_check_lib_save_LIBS=$LIBS
12198 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12202 /* Override any GCC internal prototype to avoid an error.
12203 Use char because int might match the return type of a GCC
12204 builtin and then its argument prototype would still apply. */
12205 #ifdef __cplusplus
12206 extern "C"
12207 #endif
12208 char XRenderCreateLinearGradient ();
12210 main ()
12212 return XRenderCreateLinearGradient ();
12214 return 0;
12216 _ACEOF
12217 if ac_fn_c_try_link "$LINENO"; then :
12218 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12219 else
12220 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12222 rm -f core conftest.err conftest.$ac_objext \
12223 conftest$ac_exeext conftest.$ac_ext
12224 LIBS=$ac_check_lib_save_LIBS
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12227 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12228 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12230 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12237 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12238 case "x$with_xrender" in
12239 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12240 xno) ;;
12241 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12242 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12243 esac
12247 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12248 then
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12251 #include <X11/Xlib.h>
12252 #include <X11/extensions/Xrandr.h>
12254 main ()
12256 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12258 return 0;
12260 _ACEOF
12261 if ac_fn_c_try_compile "$LINENO"; then :
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12263 $as_echo_n "checking for -lXrandr... " >&6; }
12264 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12265 $as_echo_n "(cached) " >&6
12266 else
12267 ac_check_soname_save_LIBS=$LIBS
12268 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12272 /* Override any GCC internal prototype to avoid an error.
12273 Use char because int might match the return type of a GCC
12274 builtin and then its argument prototype would still apply. */
12275 #ifdef __cplusplus
12276 extern "C"
12277 #endif
12278 char XRRQueryExtension ();
12280 main ()
12282 return XRRQueryExtension ();
12284 return 0;
12286 _ACEOF
12287 if ac_fn_c_try_link "$LINENO"; then :
12288 case "$LIBEXT" in
12289 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12290 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'` ;;
12291 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12292 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12293 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12294 fi ;;
12295 esac
12296 else
12297 ac_cv_lib_soname_Xrandr=
12299 rm -f core conftest.err conftest.$ac_objext \
12300 conftest$ac_exeext conftest.$ac_ext
12301 LIBS=$ac_check_soname_save_LIBS
12303 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12305 $as_echo "not found" >&6; }
12307 else
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12309 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12311 cat >>confdefs.h <<_ACEOF
12312 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12313 _ACEOF
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12317 #include <X11/Xlib.h>
12318 #include <X11/extensions/Xrandr.h>
12320 main ()
12322 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_compile "$LINENO"; then :
12329 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12331 else
12332 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12339 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12340 case "x$with_xrandr" in
12341 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12342 xno) ;;
12343 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12344 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12345 esac
12349 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12350 then
12351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352 /* end confdefs.h. */
12353 #include <X11/Xlib.h>
12354 #include <X11/extensions/Xfixes.h>
12356 main ()
12358 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12360 return 0;
12362 _ACEOF
12363 if ac_fn_c_try_compile "$LINENO"; then :
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12365 $as_echo_n "checking for -lXfixes... " >&6; }
12366 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12367 $as_echo_n "(cached) " >&6
12368 else
12369 ac_check_soname_save_LIBS=$LIBS
12370 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12372 /* end confdefs.h. */
12374 /* Override any GCC internal prototype to avoid an error.
12375 Use char because int might match the return type of a GCC
12376 builtin and then its argument prototype would still apply. */
12377 #ifdef __cplusplus
12378 extern "C"
12379 #endif
12380 char XFixesQueryVersion ();
12382 main ()
12384 return XFixesQueryVersion ();
12386 return 0;
12388 _ACEOF
12389 if ac_fn_c_try_link "$LINENO"; then :
12390 case "$LIBEXT" in
12391 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12392 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'` ;;
12393 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12394 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12395 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12396 fi ;;
12397 esac
12398 else
12399 ac_cv_lib_soname_Xfixes=
12401 rm -f core conftest.err conftest.$ac_objext \
12402 conftest$ac_exeext conftest.$ac_ext
12403 LIBS=$ac_check_soname_save_LIBS
12405 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12407 $as_echo "not found" >&6; }
12409 else
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12411 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12413 cat >>confdefs.h <<_ACEOF
12414 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12415 _ACEOF
12420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12422 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12423 case "x$with_xfixes" in
12424 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12425 xno) ;;
12426 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12427 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12428 esac
12432 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12433 then
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12436 #include <X11/Xlib.h>
12437 #include <X11/extensions/Xinerama.h>
12439 main ()
12441 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12443 return 0;
12445 _ACEOF
12446 if ac_fn_c_try_compile "$LINENO"; then :
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12448 $as_echo_n "checking for -lXinerama... " >&6; }
12449 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12450 $as_echo_n "(cached) " >&6
12451 else
12452 ac_check_soname_save_LIBS=$LIBS
12453 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12455 /* end confdefs.h. */
12457 /* Override any GCC internal prototype to avoid an error.
12458 Use char because int might match the return type of a GCC
12459 builtin and then its argument prototype would still apply. */
12460 #ifdef __cplusplus
12461 extern "C"
12462 #endif
12463 char XineramaQueryScreens ();
12465 main ()
12467 return XineramaQueryScreens ();
12469 return 0;
12471 _ACEOF
12472 if ac_fn_c_try_link "$LINENO"; then :
12473 case "$LIBEXT" in
12474 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12475 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'` ;;
12476 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12477 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12478 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12479 fi ;;
12480 esac
12481 else
12482 ac_cv_lib_soname_Xinerama=
12484 rm -f core conftest.err conftest.$ac_objext \
12485 conftest$ac_exeext conftest.$ac_ext
12486 LIBS=$ac_check_soname_save_LIBS
12488 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12490 $as_echo "not found" >&6; }
12492 else
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12494 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12496 cat >>confdefs.h <<_ACEOF
12497 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12498 _ACEOF
12503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12505 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12506 case "x$with_xinerama" in
12507 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12508 xno) ;;
12509 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12510 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12511 esac
12515 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12516 then
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12518 $as_echo_n "checking for -lXcomposite... " >&6; }
12519 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12520 $as_echo_n "(cached) " >&6
12521 else
12522 ac_check_soname_save_LIBS=$LIBS
12523 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 #ifdef __cplusplus
12531 extern "C"
12532 #endif
12533 char XCompositeRedirectWindow ();
12535 main ()
12537 return XCompositeRedirectWindow ();
12539 return 0;
12541 _ACEOF
12542 if ac_fn_c_try_link "$LINENO"; then :
12543 case "$LIBEXT" in
12544 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12545 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'` ;;
12546 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12547 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12548 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12549 fi ;;
12550 esac
12551 else
12552 ac_cv_lib_soname_Xcomposite=
12554 rm -f core conftest.err conftest.$ac_objext \
12555 conftest$ac_exeext conftest.$ac_ext
12556 LIBS=$ac_check_soname_save_LIBS
12558 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12560 $as_echo "not found" >&6; }
12562 else
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12564 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12566 cat >>confdefs.h <<_ACEOF
12567 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12568 _ACEOF
12573 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12574 case "x$with_xcomposite" in
12575 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12576 xno) ;;
12577 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12578 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12579 esac
12583 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12584 #include <X11/Xlib.h>
12585 #endif
12587 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12589 cat >>confdefs.h <<_ACEOF
12590 #define HAVE_XICCALLBACK_CALLBACK 1
12591 _ACEOF
12595 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12596 #include <X11/Xlib.h>
12597 #endif
12599 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12601 cat >>confdefs.h <<_ACEOF
12602 #define HAVE_XEVENT_XCOOKIE 1
12603 _ACEOF
12610 opengl_msg=""
12611 if test "x$with_opengl" != "xno"
12612 then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12614 $as_echo_n "checking for -lGL... " >&6; }
12615 if ${ac_cv_lib_soname_GL+:} false; then :
12616 $as_echo_n "(cached) " >&6
12617 else
12618 ac_check_soname_save_LIBS=$LIBS
12619 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12623 /* Override any GCC internal prototype to avoid an error.
12624 Use char because int might match the return type of a GCC
12625 builtin and then its argument prototype would still apply. */
12626 #ifdef __cplusplus
12627 extern "C"
12628 #endif
12629 char glXCreateContext ();
12631 main ()
12633 return glXCreateContext ();
12635 return 0;
12637 _ACEOF
12638 if ac_fn_c_try_link "$LINENO"; then :
12639 case "$LIBEXT" in
12640 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12641 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'` ;;
12642 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12643 if ${ac_cv_lib_soname_GL:+false} :; then :
12644 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12645 fi ;;
12646 esac
12647 else
12648 ac_cv_lib_soname_GL=
12650 rm -f core conftest.err conftest.$ac_objext \
12651 conftest$ac_exeext conftest.$ac_ext
12652 LIBS=$ac_check_soname_save_LIBS
12654 if ${ac_cv_lib_soname_GL:+false} :; then :
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12656 $as_echo "not found" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12658 $as_echo_n "checking for -lGL... " >&6; }
12659 if ${ac_cv_lib_soname_GL+:} false; then :
12660 $as_echo_n "(cached) " >&6
12661 else
12662 ac_check_soname_save_LIBS=$LIBS
12663 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"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12670 #ifdef __cplusplus
12671 extern "C"
12672 #endif
12673 char glXCreateContext ();
12675 main ()
12677 return glXCreateContext ();
12679 return 0;
12681 _ACEOF
12682 if ac_fn_c_try_link "$LINENO"; then :
12683 case "$LIBEXT" in
12684 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12685 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'` ;;
12686 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12687 if ${ac_cv_lib_soname_GL:+false} :; then :
12688 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12689 fi ;;
12690 esac
12691 else
12692 ac_cv_lib_soname_GL=
12694 rm -f core conftest.err conftest.$ac_objext \
12695 conftest$ac_exeext conftest.$ac_ext
12696 LIBS=$ac_check_soname_save_LIBS
12698 if ${ac_cv_lib_soname_GL:+false} :; then :
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12700 $as_echo "not found" >&6; }
12701 if test -f /usr/X11R6/lib/libGL.a
12702 then
12703 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12704 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12705 else
12706 opengl_msg="No OpenGL library found on this system."
12708 else
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12710 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12712 cat >>confdefs.h <<_ACEOF
12713 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12714 _ACEOF
12716 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"
12718 else
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12720 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12722 cat >>confdefs.h <<_ACEOF
12723 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12724 _ACEOF
12726 OPENGL_LIBS="-lGL"
12728 if test "x$with_osmesa" != "xno"
12729 then
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12731 $as_echo_n "checking for -lOSMesa... " >&6; }
12732 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12733 $as_echo_n "(cached) " >&6
12734 else
12735 ac_check_soname_save_LIBS=$LIBS
12736 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12740 /* Override any GCC internal prototype to avoid an error.
12741 Use char because int might match the return type of a GCC
12742 builtin and then its argument prototype would still apply. */
12743 #ifdef __cplusplus
12744 extern "C"
12745 #endif
12746 char OSMesaGetProcAddress ();
12748 main ()
12750 return OSMesaGetProcAddress ();
12752 return 0;
12754 _ACEOF
12755 if ac_fn_c_try_link "$LINENO"; then :
12756 case "$LIBEXT" in
12757 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12758 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'` ;;
12759 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12760 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12761 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12762 fi ;;
12763 esac
12764 else
12765 ac_cv_lib_soname_OSMesa=
12767 rm -f core conftest.err conftest.$ac_objext \
12768 conftest$ac_exeext conftest.$ac_ext
12769 LIBS=$ac_check_soname_save_LIBS
12771 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12773 $as_echo "not found" >&6; }
12775 else
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12777 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12779 cat >>confdefs.h <<_ACEOF
12780 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12781 _ACEOF
12785 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12786 case "x$with_osmesa" in
12787 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12788 xno) ;;
12789 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12790 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12791 esac
12796 if test -n "$opengl_msg"; then :
12797 case "x$with_opengl" in
12798 x) as_fn_append wine_warnings "|$opengl_msg
12799 OpenGL and Direct3D won't be supported." ;;
12800 xno) ;;
12801 *) as_fn_error $? "$opengl_msg
12802 OpenGL and Direct3D won't be supported.
12803 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12804 esac
12808 CPPFLAGS="$ac_save_CPPFLAGS"
12809 else
12810 X_CFLAGS=""
12811 X_LIBS=""
12814 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12815 then
12816 if test "x$X_LIBS" = "x"; then :
12817 case "x$with_x" in
12818 xno) ;;
12819 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12820 without X support, which probably isn't what you want. You will need
12821 to install ${notice_platform}development packages of Xlib at the very least.
12822 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12823 esac
12824 enable_winex11_drv=${enable_winex11_drv:-no}
12826 else
12827 if test "x$X_LIBS" = "x"; then :
12828 case "x$with_x" in
12829 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12830 xno) ;;
12831 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12832 This is an error since --with-x was requested." "$LINENO" 5 ;;
12833 esac
12834 enable_winex11_drv=${enable_winex11_drv:-no}
12838 if test "$ac_cv_header_CL_cl_h" = "yes"
12839 then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12841 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12842 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12843 $as_echo_n "(cached) " >&6
12844 else
12845 ac_check_lib_save_LIBS=$LIBS
12846 LIBS="-lOpenCL $LIBS"
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12850 /* Override any GCC internal prototype to avoid an error.
12851 Use char because int might match the return type of a GCC
12852 builtin and then its argument prototype would still apply. */
12853 #ifdef __cplusplus
12854 extern "C"
12855 #endif
12856 char clGetPlatformInfo ();
12858 main ()
12860 return clGetPlatformInfo ();
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_link "$LINENO"; then :
12866 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12867 else
12868 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_lib_save_LIBS
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12875 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12876 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12877 OPENCL_LIBS="-lOpenCL"
12882 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12883 case "x$with_opencl" in
12884 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12885 xno) ;;
12886 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12887 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12888 esac
12889 enable_opencl=${enable_opencl:-no}
12892 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12893 then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12895 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12896 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12897 $as_echo_n "(cached) " >&6
12898 else
12899 ac_check_lib_save_LIBS=$LIBS
12900 LIBS="-lpcap $LIBS"
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12904 /* Override any GCC internal prototype to avoid an error.
12905 Use char because int might match the return type of a GCC
12906 builtin and then its argument prototype would still apply. */
12907 #ifdef __cplusplus
12908 extern "C"
12909 #endif
12910 char pcap_create ();
12912 main ()
12914 return pcap_create ();
12916 return 0;
12918 _ACEOF
12919 if ac_fn_c_try_link "$LINENO"; then :
12920 ac_cv_lib_pcap_pcap_create=yes
12921 else
12922 ac_cv_lib_pcap_pcap_create=no
12924 rm -f core conftest.err conftest.$ac_objext \
12925 conftest$ac_exeext conftest.$ac_ext
12926 LIBS=$ac_check_lib_save_LIBS
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12929 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12930 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12931 PCAP_LIBS="-lpcap"
12936 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12937 case "x$with_pcap" in
12938 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12939 xno) ;;
12940 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12941 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12942 esac
12943 enable_wpcap=${enable_wpcap:-no}
12946 if test "x$with_inotify" != "xno"
12947 then
12948 if ${INOTIFY_CFLAGS:+false} :; then :
12949 if ${PKG_CONFIG+:} false; then :
12950 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
12954 if ${INOTIFY_LIBS:+false} :; then :
12955 if ${PKG_CONFIG+:} false; then :
12956 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
12961 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
12962 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
12963 ac_save_CPPFLAGS=$CPPFLAGS
12964 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
12965 for ac_header in sys/inotify.h
12966 do :
12967 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
12968 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
12969 cat >>confdefs.h <<_ACEOF
12970 #define HAVE_SYS_INOTIFY_H 1
12971 _ACEOF
12975 done
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
12978 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
12979 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
12980 $as_echo_n "(cached) " >&6
12981 else
12982 ac_check_lib_save_LIBS=$LIBS
12983 LIBS="-linotify $INOTIFY_LIBS $LIBS"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12990 #ifdef __cplusplus
12991 extern "C"
12992 #endif
12993 char inotify_add_watch ();
12995 main ()
12997 return inotify_add_watch ();
12999 return 0;
13001 _ACEOF
13002 if ac_fn_c_try_link "$LINENO"; then :
13003 ac_cv_lib_inotify_inotify_add_watch=yes
13004 else
13005 ac_cv_lib_inotify_inotify_add_watch=no
13007 rm -f core conftest.err conftest.$ac_objext \
13008 conftest$ac_exeext conftest.$ac_ext
13009 LIBS=$ac_check_lib_save_LIBS
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13012 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13013 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13015 else
13016 INOTIFY_LIBS=""
13019 CPPFLAGS=$ac_save_CPPFLAGS
13022 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13023 case "x$with_inotify" in
13024 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13025 xno) ;;
13026 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13027 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13028 esac
13032 if test "x$with_dbus" != "xno"
13033 then
13034 if ${DBUS_CFLAGS:+false} :; then :
13035 if ${PKG_CONFIG+:} false; then :
13036 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13040 if ${DBUS_LIBS:+false} :; then :
13041 if ${PKG_CONFIG+:} false; then :
13042 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13047 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13048 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13049 ac_save_CPPFLAGS=$CPPFLAGS
13050 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13051 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13052 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13054 $as_echo_n "checking for -ldbus-1... " >&6; }
13055 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13056 $as_echo_n "(cached) " >&6
13057 else
13058 ac_check_soname_save_LIBS=$LIBS
13059 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 /* Override any GCC internal prototype to avoid an error.
13064 Use char because int might match the return type of a GCC
13065 builtin and then its argument prototype would still apply. */
13066 #ifdef __cplusplus
13067 extern "C"
13068 #endif
13069 char dbus_connection_close ();
13071 main ()
13073 return dbus_connection_close ();
13075 return 0;
13077 _ACEOF
13078 if ac_fn_c_try_link "$LINENO"; then :
13079 case "$LIBEXT" in
13080 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13081 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'` ;;
13082 *) 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'`
13083 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13084 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13085 fi ;;
13086 esac
13087 else
13088 ac_cv_lib_soname_dbus_1=
13090 rm -f core conftest.err conftest.$ac_objext \
13091 conftest$ac_exeext conftest.$ac_ext
13092 LIBS=$ac_check_soname_save_LIBS
13094 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13096 $as_echo "not found" >&6; }
13097 DBUS_CFLAGS=""
13098 else
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13100 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13102 cat >>confdefs.h <<_ACEOF
13103 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13104 _ACEOF
13108 else
13109 DBUS_CFLAGS=""
13113 CPPFLAGS=$ac_save_CPPFLAGS
13116 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13117 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13118 case "x$with_dbus" in
13119 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13120 xno) ;;
13121 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13122 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13123 esac
13127 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13128 then
13129 if ${HAL_CFLAGS:+false} :; then :
13130 if ${PKG_CONFIG+:} false; then :
13131 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13135 if ${HAL_LIBS:+false} :; then :
13136 if ${PKG_CONFIG+:} false; then :
13137 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13141 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13142 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13143 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13144 ac_save_CPPFLAGS=$CPPFLAGS
13145 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13146 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13147 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13149 $as_echo_n "checking for -lhal... " >&6; }
13150 if ${ac_cv_lib_soname_hal+:} false; then :
13151 $as_echo_n "(cached) " >&6
13152 else
13153 ac_check_soname_save_LIBS=$LIBS
13154 LIBS="-lhal $HAL_LIBS $LIBS"
13155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13156 /* end confdefs.h. */
13158 /* Override any GCC internal prototype to avoid an error.
13159 Use char because int might match the return type of a GCC
13160 builtin and then its argument prototype would still apply. */
13161 #ifdef __cplusplus
13162 extern "C"
13163 #endif
13164 char libhal_ctx_new ();
13166 main ()
13168 return libhal_ctx_new ();
13170 return 0;
13172 _ACEOF
13173 if ac_fn_c_try_link "$LINENO"; then :
13174 case "$LIBEXT" in
13175 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13176 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'` ;;
13177 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13178 if ${ac_cv_lib_soname_hal:+false} :; then :
13179 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13180 fi ;;
13181 esac
13182 else
13183 ac_cv_lib_soname_hal=
13185 rm -f core conftest.err conftest.$ac_objext \
13186 conftest$ac_exeext conftest.$ac_ext
13187 LIBS=$ac_check_soname_save_LIBS
13189 if ${ac_cv_lib_soname_hal:+false} :; then :
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13191 $as_echo "not found" >&6; }
13192 HAL_CFLAGS=""
13193 else
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13195 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13197 cat >>confdefs.h <<_ACEOF
13198 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13199 _ACEOF
13203 else
13204 HAL_CFLAGS=""
13208 CPPFLAGS=$ac_save_CPPFLAGS
13210 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13211 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13212 case "x$with_hal" in
13213 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13214 xno) ;;
13215 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13216 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13217 esac
13222 if test "x$with_gnutls" != "xno"
13223 then
13224 if ${GNUTLS_CFLAGS:+false} :; then :
13225 if ${PKG_CONFIG+:} false; then :
13226 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13230 if ${GNUTLS_LIBS:+false} :; then :
13231 if ${PKG_CONFIG+:} false; then :
13232 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13236 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13237 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13238 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13239 ac_save_CPPFLAGS=$CPPFLAGS
13240 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13241 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13242 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13244 /* end confdefs.h. */
13245 #include <gnutls/gnutls.h>
13246 #include <gnutls/crypto.h>
13248 main ()
13250 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13252 return 0;
13254 _ACEOF
13255 if ac_fn_c_try_compile "$LINENO"; then :
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13257 $as_echo_n "checking for -lgnutls... " >&6; }
13258 if ${ac_cv_lib_soname_gnutls+:} false; then :
13259 $as_echo_n "(cached) " >&6
13260 else
13261 ac_check_soname_save_LIBS=$LIBS
13262 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13266 /* Override any GCC internal prototype to avoid an error.
13267 Use char because int might match the return type of a GCC
13268 builtin and then its argument prototype would still apply. */
13269 #ifdef __cplusplus
13270 extern "C"
13271 #endif
13272 char gnutls_global_init ();
13274 main ()
13276 return gnutls_global_init ();
13278 return 0;
13280 _ACEOF
13281 if ac_fn_c_try_link "$LINENO"; then :
13282 case "$LIBEXT" in
13283 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13284 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'` ;;
13285 *) 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'`
13286 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13287 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'`
13288 fi ;;
13289 esac
13290 else
13291 ac_cv_lib_soname_gnutls=
13293 rm -f core conftest.err conftest.$ac_objext \
13294 conftest$ac_exeext conftest.$ac_ext
13295 LIBS=$ac_check_soname_save_LIBS
13297 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13299 $as_echo "not found" >&6; }
13300 GNUTLS_CFLAGS=""
13301 else
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13303 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13305 cat >>confdefs.h <<_ACEOF
13306 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13307 _ACEOF
13311 ac_wine_check_funcs_save_LIBS="$LIBS"
13312 LIBS="$LIBS $GNUTLS_LIBS"
13313 for ac_func in gnutls_cipher_init
13314 do :
13315 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13316 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13317 cat >>confdefs.h <<_ACEOF
13318 #define HAVE_GNUTLS_CIPHER_INIT 1
13319 _ACEOF
13321 else
13322 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13324 done
13326 LIBS="$ac_wine_check_funcs_save_LIBS"
13328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13329 else
13330 GNUTLS_CFLAGS=""
13334 CPPFLAGS=$ac_save_CPPFLAGS
13337 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13338 case "x$with_gnutls" in
13339 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13340 xno) ;;
13341 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13342 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13343 esac
13347 if test "x$with_sane" != "xno"
13348 then
13349 if ${SANE_CFLAGS:+false} :; then :
13350 if ${PKG_CONFIG+:} false; then :
13351 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13354 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13355 if ${SANE_LIBS:+false} :; then :
13356 if ${PKG_CONFIG+:} false; then :
13357 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13360 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13362 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13363 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13364 ac_save_CPPFLAGS=$CPPFLAGS
13365 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13366 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13367 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13369 $as_echo_n "checking for -lsane... " >&6; }
13370 if ${ac_cv_lib_soname_sane+:} false; then :
13371 $as_echo_n "(cached) " >&6
13372 else
13373 ac_check_soname_save_LIBS=$LIBS
13374 LIBS="-lsane $SANE_LIBS $LIBS"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13381 #ifdef __cplusplus
13382 extern "C"
13383 #endif
13384 char sane_init ();
13386 main ()
13388 return sane_init ();
13390 return 0;
13392 _ACEOF
13393 if ac_fn_c_try_link "$LINENO"; then :
13394 case "$LIBEXT" in
13395 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13396 dylib) ac_cv_lib_soname_sane=`$OTOOL -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13397 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13398 if ${ac_cv_lib_soname_sane:+false} :; then :
13399 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13400 fi ;;
13401 esac
13402 else
13403 ac_cv_lib_soname_sane=
13405 rm -f core conftest.err conftest.$ac_objext \
13406 conftest$ac_exeext conftest.$ac_ext
13407 LIBS=$ac_check_soname_save_LIBS
13409 if ${ac_cv_lib_soname_sane:+false} :; then :
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13411 $as_echo "not found" >&6; }
13412 SANE_CFLAGS=""
13413 else
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13415 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13417 cat >>confdefs.h <<_ACEOF
13418 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13419 _ACEOF
13423 else
13424 SANE_CFLAGS=""
13428 CPPFLAGS=$ac_save_CPPFLAGS
13431 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13432 case "x$with_sane" in
13433 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13434 xno) ;;
13435 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13436 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13437 esac
13441 if test "x$with_usb" != "xno"
13442 then
13443 if ${USB_CFLAGS:+false} :; then :
13444 if ${PKG_CONFIG+:} false; then :
13445 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13449 if ${USB_LIBS:+false} :; then :
13450 if ${PKG_CONFIG+:} false; then :
13451 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13455 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13456 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13457 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13458 ac_save_CPPFLAGS=$CPPFLAGS
13459 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13460 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13461 if test "x$ac_cv_header_libusb_h" = xyes; then :
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13463 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13464 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13465 $as_echo_n "(cached) " >&6
13466 else
13467 ac_check_lib_save_LIBS=$LIBS
13468 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13472 /* Override any GCC internal prototype to avoid an error.
13473 Use char because int might match the return type of a GCC
13474 builtin and then its argument prototype would still apply. */
13475 #ifdef __cplusplus
13476 extern "C"
13477 #endif
13478 char libusb_interrupt_event_handler ();
13480 main ()
13482 return libusb_interrupt_event_handler ();
13484 return 0;
13486 _ACEOF
13487 if ac_fn_c_try_link "$LINENO"; then :
13488 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13489 else
13490 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13492 rm -f core conftest.err conftest.$ac_objext \
13493 conftest$ac_exeext conftest.$ac_ext
13494 LIBS=$ac_check_lib_save_LIBS
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13497 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13498 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13500 else
13501 USB_LIBS=""
13504 else
13505 USB_LIBS=""
13509 CPPFLAGS=$ac_save_CPPFLAGS
13512 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13513 case "x$with_usb" in
13514 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13515 xno) ;;
13516 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13517 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13518 esac
13519 enable_wineusb_sys=${enable_wineusb_sys:-no}
13522 if test "x$with_v4l2" != "xno"
13523 then
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13525 $as_echo_n "checking for -lv4l2... " >&6; }
13526 if ${ac_cv_lib_soname_v4l2+:} false; then :
13527 $as_echo_n "(cached) " >&6
13528 else
13529 ac_check_soname_save_LIBS=$LIBS
13530 LIBS="-lv4l2 $LIBS"
13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13534 /* Override any GCC internal prototype to avoid an error.
13535 Use char because int might match the return type of a GCC
13536 builtin and then its argument prototype would still apply. */
13537 #ifdef __cplusplus
13538 extern "C"
13539 #endif
13540 char v4l2_open ();
13542 main ()
13544 return v4l2_open ();
13546 return 0;
13548 _ACEOF
13549 if ac_fn_c_try_link "$LINENO"; then :
13550 case "$LIBEXT" in
13551 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13552 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'` ;;
13553 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13554 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13555 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13556 fi ;;
13557 esac
13558 else
13559 ac_cv_lib_soname_v4l2=
13561 rm -f core conftest.err conftest.$ac_objext \
13562 conftest$ac_exeext conftest.$ac_ext
13563 LIBS=$ac_check_soname_save_LIBS
13565 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13567 $as_echo "not found" >&6; }
13569 else
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13571 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13573 cat >>confdefs.h <<_ACEOF
13574 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13575 _ACEOF
13580 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13581 case "x$with_v4l2" in
13582 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13583 xno) ;;
13584 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13585 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13586 esac
13590 if test "x$with_gphoto" != "xno"
13591 then
13592 if ${GPHOTO2_CFLAGS:+false} :; then :
13593 if ${PKG_CONFIG+:} false; then :
13594 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13597 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13598 if ${GPHOTO2_LIBS:+false} :; then :
13599 if ${PKG_CONFIG+:} false; then :
13600 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13603 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13604 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13605 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13606 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13607 ac_save_CPPFLAGS=$CPPFLAGS
13608 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13609 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13610 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13612 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13613 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13614 $as_echo_n "(cached) " >&6
13615 else
13616 ac_check_lib_save_LIBS=$LIBS
13617 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13621 /* Override any GCC internal prototype to avoid an error.
13622 Use char because int might match the return type of a GCC
13623 builtin and then its argument prototype would still apply. */
13624 #ifdef __cplusplus
13625 extern "C"
13626 #endif
13627 char gp_camera_new ();
13629 main ()
13631 return gp_camera_new ();
13633 return 0;
13635 _ACEOF
13636 if ac_fn_c_try_link "$LINENO"; then :
13637 ac_cv_lib_gphoto2_gp_camera_new=yes
13638 else
13639 ac_cv_lib_gphoto2_gp_camera_new=no
13641 rm -f core conftest.err conftest.$ac_objext \
13642 conftest$ac_exeext conftest.$ac_ext
13643 LIBS=$ac_check_lib_save_LIBS
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13646 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13647 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13649 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13651 else
13652 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13655 else
13656 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13660 CPPFLAGS=$ac_save_CPPFLAGS
13662 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13663 if ${PKG_CONFIG+:} false; then :
13664 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13667 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13668 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13669 if ${PKG_CONFIG+:} false; then :
13670 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13673 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13674 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13675 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13676 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13677 ac_save_CPPFLAGS=$CPPFLAGS
13678 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13679 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13680 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13682 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13683 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13684 $as_echo_n "(cached) " >&6
13685 else
13686 ac_check_lib_save_LIBS=$LIBS
13687 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13691 /* Override any GCC internal prototype to avoid an error.
13692 Use char because int might match the return type of a GCC
13693 builtin and then its argument prototype would still apply. */
13694 #ifdef __cplusplus
13695 extern "C"
13696 #endif
13697 char gp_port_info_list_new ();
13699 main ()
13701 return gp_port_info_list_new ();
13703 return 0;
13705 _ACEOF
13706 if ac_fn_c_try_link "$LINENO"; then :
13707 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13708 else
13709 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13711 rm -f core conftest.err conftest.$ac_objext \
13712 conftest$ac_exeext conftest.$ac_ext
13713 LIBS=$ac_check_lib_save_LIBS
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13716 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13717 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13719 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13721 else
13722 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13725 else
13726 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13730 CPPFLAGS=$ac_save_CPPFLAGS
13733 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13734 case "x$with_gphoto" in
13735 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13736 xno) ;;
13737 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13738 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13739 esac
13742 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13743 case "x$with_gphoto" in
13744 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13745 xno) ;;
13746 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13747 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13748 esac
13753 if test "$ac_cv_header_resolv_h" = "yes"
13754 then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13756 $as_echo_n "checking for resolver library... " >&6; }
13757 if ${ac_cv_have_resolv+:} false; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 ac_save_LIBS="$LIBS"
13761 for lib in '' -lresolv
13763 LIBS="$lib $ac_save_LIBS"
13764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13766 #ifdef HAVE_NETINET_IN_H
13767 #include <netinet/in.h>
13768 #endif
13769 #include <resolv.h>
13771 main ()
13773 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
13775 return 0;
13777 _ACEOF
13778 if ac_fn_c_try_link "$LINENO"; then :
13779 ac_cv_have_resolv=${lib:-"none required"}
13780 else
13781 ac_cv_have_resolv="not found"
13783 rm -f core conftest.err conftest.$ac_objext \
13784 conftest$ac_exeext conftest.$ac_ext
13785 test "x$ac_cv_have_resolv" = "xnot found" || break
13786 done
13787 LIBS="$ac_save_LIBS"
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13790 $as_echo "$ac_cv_have_resolv" >&6; }
13792 case "$ac_cv_have_resolv" in
13793 "not found") ;;
13794 "none required")
13796 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13799 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13801 RESOLV_LIBS=$ac_cv_have_resolv
13803 esac
13805 if test "x$ac_cv_have_resolv" != "xnot found"
13806 then
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
13808 $as_echo_n "checking for res_getservers... " >&6; }
13809 if ${ac_cv_have_res_getservers+:} false; then :
13810 $as_echo_n "(cached) " >&6
13811 else
13812 ac_save_LIBS="$LIBS"
13813 LIBS="$RESOLV_LIBS $LIBS"
13814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13816 #include <resolv.h>
13818 main ()
13820 res_getservers(NULL, NULL, 0);
13822 return 0;
13824 _ACEOF
13825 if ac_fn_c_try_link "$LINENO"; then :
13826 ac_cv_have_res_getservers=yes
13827 else
13828 ac_cv_have_res_getservers=no
13830 rm -f core conftest.err conftest.$ac_objext \
13831 conftest$ac_exeext conftest.$ac_ext
13832 LIBS="$ac_save_LIBS"
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
13835 $as_echo "$ac_cv_have_res_getservers" >&6; }
13836 if test "$ac_cv_have_res_getservers" = "yes"
13837 then
13839 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
13845 if test "x$with_freetype" != "xno"
13846 then
13847 if ${FREETYPE_CFLAGS:+false} :; then :
13848 if ${PKG_CONFIG+:} false; then :
13849 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13852 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13853 if ${FREETYPE_LIBS:+false} :; then :
13854 if ${PKG_CONFIG+:} false; then :
13855 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13858 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13859 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13860 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13861 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13862 ac_save_CPPFLAGS=$CPPFLAGS
13863 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13864 for ac_header in ft2build.h
13865 do :
13866 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13867 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13868 cat >>confdefs.h <<_ACEOF
13869 #define HAVE_FT2BUILD_H 1
13870 _ACEOF
13874 done
13876 if test "$ac_cv_header_ft2build_h" = "yes"
13877 then
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13879 $as_echo_n "checking for -lfreetype... " >&6; }
13880 if ${ac_cv_lib_soname_freetype+:} false; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 ac_check_soname_save_LIBS=$LIBS
13884 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13891 #ifdef __cplusplus
13892 extern "C"
13893 #endif
13894 char FT_Init_FreeType ();
13896 main ()
13898 return FT_Init_FreeType ();
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"; then :
13904 case "$LIBEXT" in
13905 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13906 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'` ;;
13907 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13908 if ${ac_cv_lib_soname_freetype:+false} :; then :
13909 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13910 fi ;;
13911 esac
13912 else
13913 ac_cv_lib_soname_freetype=
13915 rm -f core conftest.err conftest.$ac_objext \
13916 conftest$ac_exeext conftest.$ac_ext
13917 LIBS=$ac_check_soname_save_LIBS
13919 if ${ac_cv_lib_soname_freetype:+false} :; then :
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13921 $as_echo "not found" >&6; }
13922 FREETYPE_LIBS=""
13923 else
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13925 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13927 cat >>confdefs.h <<_ACEOF
13928 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13929 _ACEOF
13932 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13934 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13935 #include FT_MODULE_H
13937 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13939 cat >>confdefs.h <<_ACEOF
13940 #define HAVE_FT_TRUETYPEENGINETYPE 1
13941 _ACEOF
13947 else
13948 FREETYPE_CFLAGS=""
13949 FREETYPE_LIBS=""
13951 CPPFLAGS=$ac_save_CPPFLAGS
13954 if test "x$ac_cv_lib_soname_freetype" = x; then :
13955 case "x$with_freetype" in
13956 xno) ;;
13957 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13958 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13959 esac
13960 enable_fonts=${enable_fonts:-no}
13963 ac_wine_check_funcs_save_LIBS="$LIBS"
13964 LIBS="$LIBS $PTHREAD_LIBS"
13965 for ac_func in \
13966 pthread_getthreadid_np
13967 do :
13968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13970 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13971 cat >>confdefs.h <<_ACEOF
13972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13973 _ACEOF
13976 done
13978 LIBS="$ac_wine_check_funcs_save_LIBS"
13980 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13981 then
13982 if test "$ac_cv_header_gettext_po_h" = "yes"
13983 then
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13985 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13986 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 ac_check_lib_save_LIBS=$LIBS
13990 LIBS="-lgettextpo $LIBS"
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13994 /* Override any GCC internal prototype to avoid an error.
13995 Use char because int might match the return type of a GCC
13996 builtin and then its argument prototype would still apply. */
13997 #ifdef __cplusplus
13998 extern "C"
13999 #endif
14000 char po_message_msgctxt ();
14002 main ()
14004 return po_message_msgctxt ();
14006 return 0;
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14011 else
14012 ac_cv_lib_gettextpo_po_message_msgctxt=no
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 LIBS=$ac_check_lib_save_LIBS
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14019 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14020 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14022 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14024 GETTEXTPO_LIBS="-lgettextpo"
14029 if test "x$GETTEXTPO_LIBS" = "x"; then :
14030 case "x$with_gettextpo" in
14031 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14032 xno) ;;
14033 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14034 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14035 esac
14038 if test "$srcdir" != .; then :
14039 case "x$with_gettextpo" in
14040 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14041 xno) ;;
14042 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14043 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14044 esac
14049 if test "x$with_pulse" != "xno";
14050 then
14051 if ${PULSE_CFLAGS:+false} :; then :
14052 if ${PKG_CONFIG+:} false; then :
14053 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14057 if ${PULSE_LIBS:+false} :; then :
14058 if ${PKG_CONFIG+:} false; then :
14059 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14064 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14065 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14066 ac_save_CPPFLAGS=$CPPFLAGS
14067 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14068 for ac_header in pulse/pulseaudio.h
14069 do :
14070 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14071 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14072 cat >>confdefs.h <<_ACEOF
14073 #define HAVE_PULSE_PULSEAUDIO_H 1
14074 _ACEOF
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14076 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14077 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14078 $as_echo_n "(cached) " >&6
14079 else
14080 ac_check_lib_save_LIBS=$LIBS
14081 LIBS="-lpulse $PULSE_LIBS $LIBS"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14088 #ifdef __cplusplus
14089 extern "C"
14090 #endif
14091 char pa_stream_is_corked ();
14093 main ()
14095 return pa_stream_is_corked ();
14097 return 0;
14099 _ACEOF
14100 if ac_fn_c_try_link "$LINENO"; then :
14101 ac_cv_lib_pulse_pa_stream_is_corked=yes
14102 else
14103 ac_cv_lib_pulse_pa_stream_is_corked=no
14105 rm -f core conftest.err conftest.$ac_objext \
14106 conftest$ac_exeext conftest.$ac_ext
14107 LIBS=$ac_check_lib_save_LIBS
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14110 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14111 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14113 else
14114 PULSE_LIBS=""
14117 else
14118 PULSE_LIBS=""
14121 done
14123 CPPFLAGS=$ac_save_CPPFLAGS
14126 if test -z "$PULSE_LIBS"; then :
14127 case "x$with_pulse" in
14128 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14129 xno) ;;
14130 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14131 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14132 esac
14133 enable_winepulse_drv=${enable_winepulse_drv:-no}
14136 if test "x$with_gstreamer" != "xno"
14137 then
14138 if ${GSTREAMER_CFLAGS:+false} :; then :
14139 if ${PKG_CONFIG+:} false; then :
14140 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14144 if ${GSTREAMER_LIBS:+false} :; then :
14145 if ${PKG_CONFIG+:} false; then :
14146 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14151 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14152 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14153 ac_save_CPPFLAGS=$CPPFLAGS
14154 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14155 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14156 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14158 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14161 #include <gst/gst.h>
14163 main ()
14165 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14167 return 0;
14169 _ACEOF
14170 if ac_fn_c_try_compile "$LINENO"; then :
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14172 $as_echo "yes" >&6; }
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14174 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14175 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14176 $as_echo_n "(cached) " >&6
14177 else
14178 ac_check_lib_save_LIBS=$LIBS
14179 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14183 /* Override any GCC internal prototype to avoid an error.
14184 Use char because int might match the return type of a GCC
14185 builtin and then its argument prototype would still apply. */
14186 #ifdef __cplusplus
14187 extern "C"
14188 #endif
14189 char gst_pad_new ();
14191 main ()
14193 return gst_pad_new ();
14195 return 0;
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14200 else
14201 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 LIBS=$ac_check_lib_save_LIBS
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14208 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14209 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14213 else
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14215 $as_echo "no" >&6; }
14216 ac_glib2_broken=yes
14217 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14223 CPPFLAGS=$ac_save_CPPFLAGS
14226 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14227 then
14228 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14229 case "x$with_gstreamer" in
14230 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14231 xno) ;;
14232 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14233 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14234 esac
14238 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14240 ALSA_LIBS=""
14242 if test "x$with_alsa" != "xno"
14243 then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14245 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14246 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 ac_check_lib_save_LIBS=$LIBS
14250 LIBS="-lasound $LIBS"
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14254 /* Override any GCC internal prototype to avoid an error.
14255 Use char because int might match the return type of a GCC
14256 builtin and then its argument prototype would still apply. */
14257 #ifdef __cplusplus
14258 extern "C"
14259 #endif
14260 char snd_pcm_hw_params_get_access_mask ();
14262 main ()
14264 return snd_pcm_hw_params_get_access_mask ();
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14271 else
14272 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 LIBS=$ac_check_lib_save_LIBS
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14279 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14280 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14283 #include <alsa/asoundlib.h>
14285 main ()
14287 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14289 return 0;
14291 _ACEOF
14292 if ac_fn_c_try_compile "$LINENO"; then :
14293 ALSA_LIBS="-lasound"
14295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14299 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14301 if test "x$with_oss" != xno
14302 then
14303 ac_save_CPPFLAGS="$CPPFLAGS"
14304 if test -f /etc/oss.conf
14305 then
14306 . /etc/oss.conf
14308 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14309 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14310 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14311 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14312 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14314 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14316 cat >>confdefs.h <<_ACEOF
14317 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14318 _ACEOF
14320 OSS4_CFLAGS="$ac_oss_incl"
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14323 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14324 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14325 $as_echo_n "(cached) " >&6
14326 else
14327 ac_check_lib_save_LIBS=$LIBS
14328 LIBS="-lossaudio $LIBS"
14329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14330 /* end confdefs.h. */
14332 /* Override any GCC internal prototype to avoid an error.
14333 Use char because int might match the return type of a GCC
14334 builtin and then its argument prototype would still apply. */
14335 #ifdef __cplusplus
14336 extern "C"
14337 #endif
14338 char _oss_ioctl ();
14340 main ()
14342 return _oss_ioctl ();
14344 return 0;
14346 _ACEOF
14347 if ac_fn_c_try_link "$LINENO"; then :
14348 ac_cv_lib_ossaudio__oss_ioctl=yes
14349 else
14350 ac_cv_lib_ossaudio__oss_ioctl=no
14352 rm -f core conftest.err conftest.$ac_objext \
14353 conftest$ac_exeext conftest.$ac_ext
14354 LIBS=$ac_check_lib_save_LIBS
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14357 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14358 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14359 OSS4_LIBS="-lossaudio"
14368 CPPFLAGS="$ac_save_CPPFLAGS"
14370 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14371 case "x$with_oss" in
14372 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14373 xno) ;;
14374 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14375 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14376 esac
14377 enable_wineoss_drv=${enable_wineoss_drv:-no}
14380 if test "x$with_udev" != "xno"
14381 then
14382 if ${UDEV_CFLAGS:+false} :; then :
14383 if ${PKG_CONFIG+:} false; then :
14384 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14388 if ${UDEV_LIBS:+false} :; then :
14389 if ${PKG_CONFIG+:} false; then :
14390 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14394 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14395 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14396 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14397 ac_save_CPPFLAGS=$CPPFLAGS
14398 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14399 for ac_header in libudev.h
14400 do :
14401 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14402 if test "x$ac_cv_header_libudev_h" = xyes; then :
14403 cat >>confdefs.h <<_ACEOF
14404 #define HAVE_LIBUDEV_H 1
14405 _ACEOF
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14407 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14408 if ${ac_cv_lib_udev_udev_new+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 ac_check_lib_save_LIBS=$LIBS
14412 LIBS="-ludev $UDEV_LIBS $LIBS"
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14416 /* Override any GCC internal prototype to avoid an error.
14417 Use char because int might match the return type of a GCC
14418 builtin and then its argument prototype would still apply. */
14419 #ifdef __cplusplus
14420 extern "C"
14421 #endif
14422 char udev_new ();
14424 main ()
14426 return udev_new ();
14428 return 0;
14430 _ACEOF
14431 if ac_fn_c_try_link "$LINENO"; then :
14432 ac_cv_lib_udev_udev_new=yes
14433 else
14434 ac_cv_lib_udev_udev_new=no
14436 rm -f core conftest.err conftest.$ac_objext \
14437 conftest$ac_exeext conftest.$ac_ext
14438 LIBS=$ac_check_lib_save_LIBS
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14441 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14442 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14444 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14446 else
14447 UDEV_LIBS=""
14450 else
14451 UDEV_LIBS=""
14454 done
14456 CPPFLAGS=$ac_save_CPPFLAGS
14459 if test "x$UDEV_LIBS" = "x"; then :
14460 case "x$with_udev" in
14461 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14462 xno) ;;
14463 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14464 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14465 esac
14469 if test "x$with_unwind" != xno
14470 then
14471 if ${UNWIND_CFLAGS:+false} :; then :
14472 if ${PKG_CONFIG+:} false; then :
14473 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14477 if ${UNWIND_LIBS:+false} :; then :
14478 if ${PKG_CONFIG+:} false; then :
14479 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14483 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14484 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14485 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14486 ac_save_CPPFLAGS=$CPPFLAGS
14487 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14489 $as_echo_n "checking for unw_step... " >&6; }
14490 if ${wine_cv_have_unw_step+:} false; then :
14491 $as_echo_n "(cached) " >&6
14492 else
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14495 #define UNW_LOCAL_ONLY
14496 #include <libunwind.h>
14498 main ()
14500 unw_cursor_t cursor; unw_step( &cursor );
14502 return 0;
14504 _ACEOF
14505 if ac_fn_c_try_link "$LINENO"; then :
14506 wine_cv_have_unw_step="yes"
14507 else
14508 wine_cv_have_unw_step="no"
14510 rm -f core conftest.err conftest.$ac_objext \
14511 conftest$ac_exeext conftest.$ac_ext
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14514 $as_echo "$wine_cv_have_unw_step" >&6; }
14515 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14516 then
14517 save_libs=$LIBS
14518 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14519 LIBS="$UNWIND_LIBS $LIBS"
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14521 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14522 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14527 #define UNW_LOCAL_ONLY
14528 #include <libunwind.h>
14530 main ()
14532 unw_cursor_t cursor; unw_step( &cursor );
14534 return 0;
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"; then :
14538 wine_cv_have_libunwind_unw_step="yes"
14539 else
14540 wine_cv_have_libunwind_unw_step="no"
14542 rm -f core conftest.err conftest.$ac_objext \
14543 conftest$ac_exeext conftest.$ac_ext
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14546 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14547 LIBS=$save_libs
14549 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14550 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14551 then
14553 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14556 CPPFLAGS=$ac_save_CPPFLAGS
14559 case $host in
14560 aarch64*|*-darwin*)
14561 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14562 case "x$with_unwind" in
14563 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14564 xno) ;;
14565 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14566 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14567 esac
14569 fi ;;
14570 esac
14572 if test "x$with_sdl" != "xno"
14573 then
14574 if ${SDL2_CFLAGS:+false} :; then :
14575 if ${PKG_CONFIG+:} false; then :
14576 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14580 if ${SDL2_LIBS:+false} :; then :
14581 if ${PKG_CONFIG+:} false; then :
14582 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14586 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14587 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14588 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14589 ac_save_CPPFLAGS=$CPPFLAGS
14590 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14591 for ac_header in SDL.h
14592 do :
14593 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14594 if test "x$ac_cv_header_SDL_h" = xyes; then :
14595 cat >>confdefs.h <<_ACEOF
14596 #define HAVE_SDL_H 1
14597 _ACEOF
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14599 $as_echo_n "checking for -lSDL2... " >&6; }
14600 if ${ac_cv_lib_soname_SDL2+:} false; then :
14601 $as_echo_n "(cached) " >&6
14602 else
14603 ac_check_soname_save_LIBS=$LIBS
14604 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14608 /* Override any GCC internal prototype to avoid an error.
14609 Use char because int might match the return type of a GCC
14610 builtin and then its argument prototype would still apply. */
14611 #ifdef __cplusplus
14612 extern "C"
14613 #endif
14614 char SDL_Init ();
14616 main ()
14618 return SDL_Init ();
14620 return 0;
14622 _ACEOF
14623 if ac_fn_c_try_link "$LINENO"; then :
14624 case "$LIBEXT" in
14625 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14626 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'` ;;
14627 *) 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'`
14628 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14629 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14630 fi ;;
14631 esac
14632 else
14633 ac_cv_lib_soname_SDL2=
14635 rm -f core conftest.err conftest.$ac_objext \
14636 conftest$ac_exeext conftest.$ac_ext
14637 LIBS=$ac_check_soname_save_LIBS
14639 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14641 $as_echo "not found" >&6; }
14643 else
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14645 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14647 cat >>confdefs.h <<_ACEOF
14648 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14649 _ACEOF
14655 done
14657 CPPFLAGS=$ac_save_CPPFLAGS
14660 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14661 case "x$with_sdl" in
14662 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14663 xno) ;;
14664 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14665 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14666 esac
14670 if test "x$with_capi" != "xno"
14671 then
14672 if ${CAPI20_CFLAGS:+false} :; then :
14673 if ${PKG_CONFIG+:} false; then :
14674 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14678 if ${CAPI20_LIBS:+false} :; then :
14679 if ${PKG_CONFIG+:} false; then :
14680 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14685 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14686 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14687 ac_save_CPPFLAGS=$CPPFLAGS
14688 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14689 for ac_header in capi20.h linux/capi.h
14690 do :
14691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14692 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14695 cat >>confdefs.h <<_ACEOF
14696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14697 _ACEOF
14701 done
14703 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14704 then
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14706 $as_echo_n "checking for -lcapi20... " >&6; }
14707 if ${ac_cv_lib_soname_capi20+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 ac_check_soname_save_LIBS=$LIBS
14711 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply. */
14718 #ifdef __cplusplus
14719 extern "C"
14720 #endif
14721 char capi20_register ();
14723 main ()
14725 return capi20_register ();
14727 return 0;
14729 _ACEOF
14730 if ac_fn_c_try_link "$LINENO"; then :
14731 case "$LIBEXT" in
14732 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14733 dylib) ac_cv_lib_soname_capi20=`$OTOOL -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14734 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14735 if ${ac_cv_lib_soname_capi20:+false} :; then :
14736 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14737 fi ;;
14738 esac
14739 else
14740 ac_cv_lib_soname_capi20=
14742 rm -f core conftest.err conftest.$ac_objext \
14743 conftest$ac_exeext conftest.$ac_ext
14744 LIBS=$ac_check_soname_save_LIBS
14746 if ${ac_cv_lib_soname_capi20:+false} :; then :
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14748 $as_echo "not found" >&6; }
14750 else
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14752 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14754 cat >>confdefs.h <<_ACEOF
14755 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14756 _ACEOF
14761 CPPFLAGS=$ac_save_CPPFLAGS
14764 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14765 case "x$with_capi" in
14766 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14767 xno) ;;
14768 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14769 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14770 esac
14774 if test "x$with_cups" != "xno"
14775 then
14776 if ${CUPS_CFLAGS:+false} :; then :
14777 if ${PKG_CONFIG+:} false; then :
14778 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14781 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14782 if ${CUPS_LIBS:+false} :; then :
14783 if ${PKG_CONFIG+:} false; then :
14784 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14787 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14788 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14789 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14790 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14791 ac_save_CPPFLAGS=$CPPFLAGS
14792 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14793 for ac_header in cups/cups.h cups/ppd.h
14794 do :
14795 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14796 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14797 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14798 cat >>confdefs.h <<_ACEOF
14799 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14800 _ACEOF
14804 done
14806 if test "$ac_cv_header_cups_cups_h" = "yes"
14807 then
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14809 $as_echo_n "checking for -lcups... " >&6; }
14810 if ${ac_cv_lib_soname_cups+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_check_soname_save_LIBS=$LIBS
14814 LIBS="-lcups $CUPS_LIBS $LIBS"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14818 /* Override any GCC internal prototype to avoid an error.
14819 Use char because int might match the return type of a GCC
14820 builtin and then its argument prototype would still apply. */
14821 #ifdef __cplusplus
14822 extern "C"
14823 #endif
14824 char cupsGetDefault ();
14826 main ()
14828 return cupsGetDefault ();
14830 return 0;
14832 _ACEOF
14833 if ac_fn_c_try_link "$LINENO"; then :
14834 case "$LIBEXT" in
14835 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14836 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'` ;;
14837 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14838 if ${ac_cv_lib_soname_cups:+false} :; then :
14839 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14840 fi ;;
14841 esac
14842 else
14843 ac_cv_lib_soname_cups=
14845 rm -f core conftest.err conftest.$ac_objext \
14846 conftest$ac_exeext conftest.$ac_ext
14847 LIBS=$ac_check_soname_save_LIBS
14849 if ${ac_cv_lib_soname_cups:+false} :; then :
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14851 $as_echo "not found" >&6; }
14852 CUPS_LIBS=""
14853 else
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14855 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14857 cat >>confdefs.h <<_ACEOF
14858 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14859 _ACEOF
14863 else
14864 CUPS_CFLAGS=""
14865 CUPS_LIBS=""
14867 CPPFLAGS=$ac_save_CPPFLAGS
14870 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14871 case "x$with_cups" in
14872 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14873 xno) ;;
14874 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14875 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14876 esac
14880 if test "x$with_fontconfig" != "xno"
14881 then
14882 if ${FONTCONFIG_CFLAGS:+false} :; then :
14883 if ${PKG_CONFIG+:} false; then :
14884 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14887 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14888 if ${FONTCONFIG_LIBS:+false} :; then :
14889 if ${PKG_CONFIG+:} false; then :
14890 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14893 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14895 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14896 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14897 ac_save_CPPFLAGS=$CPPFLAGS
14898 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14899 for ac_header in fontconfig/fontconfig.h
14900 do :
14901 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14902 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14903 cat >>confdefs.h <<_ACEOF
14904 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14905 _ACEOF
14909 done
14911 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14912 then
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14914 $as_echo_n "checking for -lfontconfig... " >&6; }
14915 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14916 $as_echo_n "(cached) " >&6
14917 else
14918 ac_check_soname_save_LIBS=$LIBS
14919 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14923 /* Override any GCC internal prototype to avoid an error.
14924 Use char because int might match the return type of a GCC
14925 builtin and then its argument prototype would still apply. */
14926 #ifdef __cplusplus
14927 extern "C"
14928 #endif
14929 char FcInit ();
14931 main ()
14933 return FcInit ();
14935 return 0;
14937 _ACEOF
14938 if ac_fn_c_try_link "$LINENO"; then :
14939 case "$LIBEXT" in
14940 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14941 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'` ;;
14942 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14943 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14944 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14945 fi ;;
14946 esac
14947 else
14948 ac_cv_lib_soname_fontconfig=
14950 rm -f core conftest.err conftest.$ac_objext \
14951 conftest$ac_exeext conftest.$ac_ext
14952 LIBS=$ac_check_soname_save_LIBS
14954 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14956 $as_echo "not found" >&6; }
14957 FONTCONFIG_CFLAGS=""
14958 else
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14960 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14962 cat >>confdefs.h <<_ACEOF
14963 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14964 _ACEOF
14968 else
14969 FONTCONFIG_CFLAGS=""
14971 CPPFLAGS=$ac_save_CPPFLAGS
14974 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14975 case "x$with_fontconfig" in
14976 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14977 xno) ;;
14978 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14979 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14980 esac
14984 if test "x$with_krb5" != "xno"
14985 then
14986 if ${KRB5_CFLAGS:+false} :; then :
14987 if ${PKG_CONFIG+:} false; then :
14988 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14991 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14992 if ${KRB5_LIBS:+false} :; then :
14993 if ${PKG_CONFIG+:} false; then :
14994 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14997 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14999 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15000 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15001 ac_save_CPPFLAGS=$CPPFLAGS
15002 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15003 for ac_header in krb5/krb5.h
15004 do :
15005 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15006 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15007 cat >>confdefs.h <<_ACEOF
15008 #define HAVE_KRB5_KRB5_H 1
15009 _ACEOF
15013 done
15015 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15016 then
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15018 $as_echo_n "checking for -lkrb5... " >&6; }
15019 if ${ac_cv_lib_soname_krb5+:} false; then :
15020 $as_echo_n "(cached) " >&6
15021 else
15022 ac_check_soname_save_LIBS=$LIBS
15023 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15030 #ifdef __cplusplus
15031 extern "C"
15032 #endif
15033 char krb5_is_config_principal ();
15035 main ()
15037 return krb5_is_config_principal ();
15039 return 0;
15041 _ACEOF
15042 if ac_fn_c_try_link "$LINENO"; then :
15043 case "$LIBEXT" in
15044 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15045 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'` ;;
15046 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15047 if ${ac_cv_lib_soname_krb5:+false} :; then :
15048 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15049 fi ;;
15050 esac
15051 else
15052 ac_cv_lib_soname_krb5=
15054 rm -f core conftest.err conftest.$ac_objext \
15055 conftest$ac_exeext conftest.$ac_ext
15056 LIBS=$ac_check_soname_save_LIBS
15058 if ${ac_cv_lib_soname_krb5:+false} :; then :
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15060 $as_echo "not found" >&6; }
15061 KRB5_CFLAGS=""
15062 else
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15064 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15066 cat >>confdefs.h <<_ACEOF
15067 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15068 _ACEOF
15072 else
15073 KRB5_CFLAGS=""
15075 CPPFLAGS=$ac_save_CPPFLAGS
15078 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15079 case "x$with_krb5" in
15080 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15081 xno) ;;
15082 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15083 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15084 esac
15087 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15089 if test "x$with_gssapi" != "xno"
15090 then
15091 if ${GSSAPI_CFLAGS:+false} :; then :
15092 if ${PKG_CONFIG+:} false; then :
15093 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15096 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15097 if ${GSSAPI_LIBS:+false} :; then :
15098 if ${PKG_CONFIG+:} false; then :
15099 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15102 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15104 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15105 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15106 ac_save_CPPFLAGS=$CPPFLAGS
15107 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15108 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15109 do :
15110 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15111 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15112 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15113 cat >>confdefs.h <<_ACEOF
15114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15115 _ACEOF
15119 done
15121 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15122 then
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15124 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15125 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15126 $as_echo_n "(cached) " >&6
15127 else
15128 ac_check_soname_save_LIBS=$LIBS
15129 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15133 /* Override any GCC internal prototype to avoid an error.
15134 Use char because int might match the return type of a GCC
15135 builtin and then its argument prototype would still apply. */
15136 #ifdef __cplusplus
15137 extern "C"
15138 #endif
15139 char gss_init_sec_context ();
15141 main ()
15143 return gss_init_sec_context ();
15145 return 0;
15147 _ACEOF
15148 if ac_fn_c_try_link "$LINENO"; then :
15149 case "$LIBEXT" in
15150 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15151 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'` ;;
15152 *) 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'`
15153 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15154 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15155 fi ;;
15156 esac
15157 else
15158 ac_cv_lib_soname_gssapi_krb5=
15160 rm -f core conftest.err conftest.$ac_objext \
15161 conftest$ac_exeext conftest.$ac_ext
15162 LIBS=$ac_check_soname_save_LIBS
15164 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15166 $as_echo "not found" >&6; }
15167 GSSAPI_CFLAGS=""
15168 else
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15170 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15172 cat >>confdefs.h <<_ACEOF
15173 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15174 _ACEOF
15178 else
15179 GSSAPI_CFLAGS=""
15181 CPPFLAGS=$ac_save_CPPFLAGS
15184 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15185 case "x$with_gssapi" in
15186 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15187 xno) ;;
15188 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15189 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15190 esac
15194 if test "x$with_jpeg" != "xno"
15195 then
15196 if ${JPEG_CFLAGS:+false} :; then :
15197 if ${PKG_CONFIG+:} false; then :
15198 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15202 if ${JPEG_LIBS:+false} :; then :
15203 if ${PKG_CONFIG+:} false; then :
15204 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15209 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15210 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15211 ac_save_CPPFLAGS=$CPPFLAGS
15212 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15213 for ac_header in jpeglib.h
15214 do :
15215 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15216 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15217 cat >>confdefs.h <<_ACEOF
15218 #define HAVE_JPEGLIB_H 1
15219 _ACEOF
15223 done
15225 if test "$ac_cv_header_jpeglib_h" = "yes"
15226 then
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15228 $as_echo_n "checking for -ljpeg... " >&6; }
15229 if ${ac_cv_lib_soname_jpeg+:} false; then :
15230 $as_echo_n "(cached) " >&6
15231 else
15232 ac_check_soname_save_LIBS=$LIBS
15233 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 #ifdef __cplusplus
15241 extern "C"
15242 #endif
15243 char jpeg_start_decompress ();
15245 main ()
15247 return jpeg_start_decompress ();
15249 return 0;
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"; then :
15253 case "$LIBEXT" in
15254 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15255 dylib) ac_cv_lib_soname_jpeg=`$OTOOL -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15256 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15257 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15258 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15259 fi ;;
15260 esac
15261 else
15262 ac_cv_lib_soname_jpeg=
15264 rm -f core conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext conftest.$ac_ext
15266 LIBS=$ac_check_soname_save_LIBS
15268 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 $as_echo "not found" >&6; }
15271 JPEG_CFLAGS=""
15272 else
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15274 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15276 cat >>confdefs.h <<_ACEOF
15277 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15278 _ACEOF
15282 else
15283 JPEG_CFLAGS=""
15285 CPPFLAGS=$ac_save_CPPFLAGS
15288 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15289 case "x$with_jpeg" in
15290 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15291 xno) ;;
15292 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15293 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15294 esac
15298 if test "$ac_cv_header_AL_al_h" = "yes"
15299 then
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15301 $as_echo_n "checking for -lopenal... " >&6; }
15302 if ${ac_cv_lib_soname_openal+:} false; then :
15303 $as_echo_n "(cached) " >&6
15304 else
15305 ac_check_soname_save_LIBS=$LIBS
15306 LIBS="-lopenal $LIBS"
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 #ifdef __cplusplus
15314 extern "C"
15315 #endif
15316 char alGetSource3i ();
15318 main ()
15320 return alGetSource3i ();
15322 return 0;
15324 _ACEOF
15325 if ac_fn_c_try_link "$LINENO"; then :
15326 case "$LIBEXT" in
15327 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15328 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'` ;;
15329 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15330 if ${ac_cv_lib_soname_openal:+false} :; then :
15331 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15332 fi ;;
15333 esac
15334 else
15335 ac_cv_lib_soname_openal=
15337 rm -f core conftest.err conftest.$ac_objext \
15338 conftest$ac_exeext conftest.$ac_ext
15339 LIBS=$ac_check_soname_save_LIBS
15341 if ${ac_cv_lib_soname_openal:+false} :; then :
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15343 $as_echo "not found" >&6; }
15345 else
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15347 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15349 cat >>confdefs.h <<_ACEOF
15350 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15351 _ACEOF
15353 OPENAL_LIBS="-lopenal"
15355 ac_cv_lib_openal=yes
15357 cat >>confdefs.h <<_ACEOF
15358 #define HAVE_OPENAL 1
15359 _ACEOF
15363 if test "x$ac_cv_lib_openal" != xyes; then :
15364 case "x$with_openal" in
15365 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15366 xno) ;;
15367 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15368 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15369 esac
15370 enable_openal32=${enable_openal32:-no}
15373 if test "$ac_cv_header_libprocstat_h" = "yes"
15374 then
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15376 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15377 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15378 $as_echo_n "(cached) " >&6
15379 else
15380 ac_check_lib_save_LIBS=$LIBS
15381 LIBS="-lprocstat $LIBS"
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15385 /* Override any GCC internal prototype to avoid an error.
15386 Use char because int might match the return type of a GCC
15387 builtin and then its argument prototype would still apply. */
15388 #ifdef __cplusplus
15389 extern "C"
15390 #endif
15391 char procstat_open_sysctl ();
15393 main ()
15395 return procstat_open_sysctl ();
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"; then :
15401 ac_cv_lib_procstat_procstat_open_sysctl=yes
15402 else
15403 ac_cv_lib_procstat_procstat_open_sysctl=no
15405 rm -f core conftest.err conftest.$ac_objext \
15406 conftest$ac_exeext conftest.$ac_ext
15407 LIBS=$ac_check_lib_save_LIBS
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15410 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15411 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15413 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15415 PROCSTAT_LIBS="-lprocstat"
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15422 $as_echo_n "checking for -lodbc... " >&6; }
15423 if ${ac_cv_lib_soname_odbc+:} false; then :
15424 $as_echo_n "(cached) " >&6
15425 else
15426 ac_check_soname_save_LIBS=$LIBS
15427 LIBS="-lodbc $LIBS"
15428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15431 /* Override any GCC internal prototype to avoid an error.
15432 Use char because int might match the return type of a GCC
15433 builtin and then its argument prototype would still apply. */
15434 #ifdef __cplusplus
15435 extern "C"
15436 #endif
15437 char SQLConnect ();
15439 main ()
15441 return SQLConnect ();
15443 return 0;
15445 _ACEOF
15446 if ac_fn_c_try_link "$LINENO"; then :
15447 case "$LIBEXT" in
15448 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15449 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'` ;;
15450 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15451 if ${ac_cv_lib_soname_odbc:+false} :; then :
15452 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15453 fi ;;
15454 esac
15455 else
15456 ac_cv_lib_soname_odbc=
15458 rm -f core conftest.err conftest.$ac_objext \
15459 conftest$ac_exeext conftest.$ac_ext
15460 LIBS=$ac_check_soname_save_LIBS
15462 if ${ac_cv_lib_soname_odbc:+false} :; then :
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15464 $as_echo "not found" >&6; }
15465 cat >>confdefs.h <<_ACEOF
15466 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15467 _ACEOF
15469 else
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15471 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15473 cat >>confdefs.h <<_ACEOF
15474 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15475 _ACEOF
15480 if test "x$with_netapi" != "xno"
15481 then
15482 if ${NETAPI_CFLAGS:+false} :; then :
15483 if ${PKG_CONFIG+:} false; then :
15484 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15488 if ${NETAPI_LIBS:+false} :; then :
15489 if ${PKG_CONFIG+:} false; then :
15490 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15495 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15496 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15497 ac_save_CPPFLAGS=$CPPFLAGS
15498 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15500 $as_echo_n "checking for -lnetapi... " >&6; }
15501 if ${ac_cv_lib_soname_netapi+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15504 ac_check_soname_save_LIBS=$LIBS
15505 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15507 /* end confdefs.h. */
15509 /* Override any GCC internal prototype to avoid an error.
15510 Use char because int might match the return type of a GCC
15511 builtin and then its argument prototype would still apply. */
15512 #ifdef __cplusplus
15513 extern "C"
15514 #endif
15515 char libnetapi_init ();
15517 main ()
15519 return libnetapi_init ();
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_link "$LINENO"; then :
15525 case "$LIBEXT" in
15526 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15527 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'` ;;
15528 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15529 if ${ac_cv_lib_soname_netapi:+false} :; then :
15530 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15531 fi ;;
15532 esac
15533 else
15534 ac_cv_lib_soname_netapi=
15536 rm -f core conftest.err conftest.$ac_objext \
15537 conftest$ac_exeext conftest.$ac_ext
15538 LIBS=$ac_check_soname_save_LIBS
15540 if ${ac_cv_lib_soname_netapi:+false} :; then :
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15542 $as_echo "not found" >&6; }
15543 cat >>confdefs.h <<_ACEOF
15544 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15545 _ACEOF
15547 else
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15549 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15551 cat >>confdefs.h <<_ACEOF
15552 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15553 _ACEOF
15557 CPPFLAGS=$ac_save_CPPFLAGS
15561 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15562 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15563 then
15564 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15567 if test "x$with_vulkan" != "xno"
15568 then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15570 $as_echo_n "checking for -lvulkan... " >&6; }
15571 if ${ac_cv_lib_soname_vulkan+:} false; then :
15572 $as_echo_n "(cached) " >&6
15573 else
15574 ac_check_soname_save_LIBS=$LIBS
15575 LIBS="-lvulkan $LIBS"
15576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15577 /* end confdefs.h. */
15579 /* Override any GCC internal prototype to avoid an error.
15580 Use char because int might match the return type of a GCC
15581 builtin and then its argument prototype would still apply. */
15582 #ifdef __cplusplus
15583 extern "C"
15584 #endif
15585 char vkGetInstanceProcAddr ();
15587 main ()
15589 return vkGetInstanceProcAddr ();
15591 return 0;
15593 _ACEOF
15594 if ac_fn_c_try_link "$LINENO"; then :
15595 case "$LIBEXT" in
15596 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15597 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'` ;;
15598 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15599 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15600 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15601 fi ;;
15602 esac
15603 else
15604 ac_cv_lib_soname_vulkan=
15606 rm -f core conftest.err conftest.$ac_objext \
15607 conftest$ac_exeext conftest.$ac_ext
15608 LIBS=$ac_check_soname_save_LIBS
15610 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15612 $as_echo "not found" >&6; }
15614 else
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15616 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15618 cat >>confdefs.h <<_ACEOF
15619 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15620 _ACEOF
15624 if test "x$ac_cv_lib_soname_vulkan" = "x"
15625 then
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15627 $as_echo_n "checking for -lMoltenVK... " >&6; }
15628 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15629 $as_echo_n "(cached) " >&6
15630 else
15631 ac_check_soname_save_LIBS=$LIBS
15632 LIBS="-lMoltenVK $LIBS"
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15639 #ifdef __cplusplus
15640 extern "C"
15641 #endif
15642 char vkGetInstanceProcAddr ();
15644 main ()
15646 return vkGetInstanceProcAddr ();
15648 return 0;
15650 _ACEOF
15651 if ac_fn_c_try_link "$LINENO"; then :
15652 case "$LIBEXT" in
15653 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15654 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'` ;;
15655 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15656 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15657 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15658 fi ;;
15659 esac
15660 else
15661 ac_cv_lib_soname_MoltenVK=
15663 rm -f core conftest.err conftest.$ac_objext \
15664 conftest$ac_exeext conftest.$ac_ext
15665 LIBS=$ac_check_soname_save_LIBS
15667 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15669 $as_echo "not found" >&6; }
15671 else
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15673 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15675 cat >>confdefs.h <<_ACEOF
15676 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15677 _ACEOF
15683 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15684 case "x$with_vulkan" in
15685 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15686 xno) ;;
15687 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15688 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15689 esac
15693 if test "x$with_vkd3d" != "xno"
15694 then
15695 if ${VKD3D_CFLAGS:+false} :; then :
15696 if ${PKG_CONFIG+:} false; then :
15697 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15701 if ${VKD3D_LIBS:+false} :; then :
15702 if ${PKG_CONFIG+:} false; then :
15703 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15708 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15709 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15710 ac_save_CPPFLAGS=$CPPFLAGS
15711 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15713 $as_echo_n "checking for -lvkd3d... " >&6; }
15714 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15715 $as_echo_n "(cached) " >&6
15716 else
15717 ac_check_soname_save_LIBS=$LIBS
15718 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15722 /* Override any GCC internal prototype to avoid an error.
15723 Use char because int might match the return type of a GCC
15724 builtin and then its argument prototype would still apply. */
15725 #ifdef __cplusplus
15726 extern "C"
15727 #endif
15728 char vkd3d_serialize_versioned_root_signature ();
15730 main ()
15732 return vkd3d_serialize_versioned_root_signature ();
15734 return 0;
15736 _ACEOF
15737 if ac_fn_c_try_link "$LINENO"; then :
15738 case "$LIBEXT" in
15739 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15740 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'` ;;
15741 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15742 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15743 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15744 fi ;;
15745 esac
15746 else
15747 ac_cv_lib_soname_vkd3d=
15749 rm -f core conftest.err conftest.$ac_objext \
15750 conftest$ac_exeext conftest.$ac_ext
15751 LIBS=$ac_check_soname_save_LIBS
15753 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15755 $as_echo "not found" >&6; }
15757 else
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15759 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15761 cat >>confdefs.h <<_ACEOF
15762 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15763 _ACEOF
15767 CPPFLAGS=$ac_save_CPPFLAGS
15769 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
15770 if ${PKG_CONFIG+:} false; then :
15771 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
15775 if ${VKD3D_SHADER_LIBS:+false} :; then :
15776 if ${PKG_CONFIG+:} false; then :
15777 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
15782 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
15783 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
15784 ac_save_CPPFLAGS=$CPPFLAGS
15785 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
15787 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
15788 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
15789 $as_echo_n "(cached) " >&6
15790 else
15791 ac_check_soname_save_LIBS=$LIBS
15792 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
15793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15794 /* end confdefs.h. */
15796 /* Override any GCC internal prototype to avoid an error.
15797 Use char because int might match the return type of a GCC
15798 builtin and then its argument prototype would still apply. */
15799 #ifdef __cplusplus
15800 extern "C"
15801 #endif
15802 char vkd3d_shader_compile ();
15804 main ()
15806 return vkd3d_shader_compile ();
15808 return 0;
15810 _ACEOF
15811 if ac_fn_c_try_link "$LINENO"; then :
15812 case "$LIBEXT" in
15813 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15814 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'` ;;
15815 *) 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'`
15816 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
15817 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15818 fi ;;
15819 esac
15820 else
15821 ac_cv_lib_soname_vkd3d_shader=
15823 rm -f core conftest.err conftest.$ac_objext \
15824 conftest$ac_exeext conftest.$ac_ext
15825 LIBS=$ac_check_soname_save_LIBS
15827 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15829 $as_echo "not found" >&6; }
15831 else
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
15833 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
15835 cat >>confdefs.h <<_ACEOF
15836 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
15837 _ACEOF
15841 CPPFLAGS=$ac_save_CPPFLAGS
15844 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15845 case "x$with_vkd3d" in
15846 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
15847 xno) ;;
15848 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
15849 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15850 esac
15853 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15856 if test "x${GCC}" = "xyes"
15857 then
15858 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
15860 saved_CFLAGS=$CFLAGS
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15862 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15863 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15864 $as_echo_n "(cached) " >&6
15865 else
15866 ac_wine_try_cflags_saved=$CFLAGS
15867 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15870 int main(int argc, char **argv) { return 0; }
15871 _ACEOF
15872 if ac_fn_c_try_link "$LINENO"; then :
15873 ac_cv_cflags__Werror_unknown_warning_option=yes
15874 else
15875 ac_cv_cflags__Werror_unknown_warning_option=no
15877 rm -f core conftest.err conftest.$ac_objext \
15878 conftest$ac_exeext conftest.$ac_ext
15879 CFLAGS=$ac_wine_try_cflags_saved
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15882 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15883 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15884 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
15887 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
15888 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
15889 $as_echo_n "(cached) " >&6
15890 else
15891 ac_wine_try_cflags_saved=$CFLAGS
15892 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 int main(int argc, char **argv) { return 0; }
15896 _ACEOF
15897 if ac_fn_c_try_link "$LINENO"; then :
15898 ac_cv_cflags__Werror_unused_command_line_argument=yes
15899 else
15900 ac_cv_cflags__Werror_unused_command_line_argument=no
15902 rm -f core conftest.err conftest.$ac_objext \
15903 conftest$ac_exeext conftest.$ac_ext
15904 CFLAGS=$ac_wine_try_cflags_saved
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
15907 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
15908 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
15909 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
15912 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
15913 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
15914 $as_echo_n "(cached) " >&6
15915 else
15916 ac_wine_try_cflags_saved=$CFLAGS
15917 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
15918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15919 /* end confdefs.h. */
15920 int main(int argc, char **argv) { return 0; }
15921 _ACEOF
15922 if ac_fn_c_try_link "$LINENO"; then :
15923 ac_cv_cflags__Werror_ignored_optimization_argument=yes
15924 else
15925 ac_cv_cflags__Werror_ignored_optimization_argument=no
15927 rm -f core conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext conftest.$ac_ext
15929 CFLAGS=$ac_wine_try_cflags_saved
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
15932 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
15933 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
15934 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
15937 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
15938 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
15939 $as_echo_n "(cached) " >&6
15940 else
15941 ac_wine_try_cflags_saved=$CFLAGS
15942 CFLAGS="$CFLAGS -fcf-protection=none"
15943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15944 /* end confdefs.h. */
15945 int main(int argc, char **argv) { return 0; }
15946 _ACEOF
15947 if ac_fn_c_try_link "$LINENO"; then :
15948 ac_cv_cflags__fcf_protection_none=yes
15949 else
15950 ac_cv_cflags__fcf_protection_none=no
15952 rm -f core conftest.err conftest.$ac_objext \
15953 conftest$ac_exeext conftest.$ac_ext
15954 CFLAGS=$ac_wine_try_cflags_saved
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
15957 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
15958 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
15959 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
15962 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
15963 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
15964 $as_echo_n "(cached) " >&6
15965 else
15966 ac_wine_try_cflags_saved=$CFLAGS
15967 CFLAGS="$CFLAGS -fno-stack-protector"
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15970 int main(int argc, char **argv) { return 0; }
15971 _ACEOF
15972 if ac_fn_c_try_link "$LINENO"; then :
15973 ac_cv_cflags__fno_stack_protector=yes
15974 else
15975 ac_cv_cflags__fno_stack_protector=no
15977 rm -f core conftest.err conftest.$ac_objext \
15978 conftest$ac_exeext conftest.$ac_ext
15979 CFLAGS=$ac_wine_try_cflags_saved
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
15982 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
15983 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
15984 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15987 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15988 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15989 $as_echo_n "(cached) " >&6
15990 else
15991 ac_wine_try_cflags_saved=$CFLAGS
15992 CFLAGS="$CFLAGS -fno-strict-aliasing"
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15995 int main(int argc, char **argv) { return 0; }
15996 _ACEOF
15997 if ac_fn_c_try_link "$LINENO"; then :
15998 ac_cv_cflags__fno_strict_aliasing=yes
15999 else
16000 ac_cv_cflags__fno_strict_aliasing=no
16002 rm -f core conftest.err conftest.$ac_objext \
16003 conftest$ac_exeext conftest.$ac_ext
16004 CFLAGS=$ac_wine_try_cflags_saved
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16007 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16008 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16009 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16012 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16013 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16014 $as_echo_n "(cached) " >&6
16015 else
16016 ac_wine_try_cflags_saved=$CFLAGS
16017 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16019 /* end confdefs.h. */
16020 int main(int argc, char **argv) { return 0; }
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 ac_cv_cflags__Wdeclaration_after_statement=yes
16024 else
16025 ac_cv_cflags__Wdeclaration_after_statement=no
16027 rm -f core conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16029 CFLAGS=$ac_wine_try_cflags_saved
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16032 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16033 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16034 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16037 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16038 if ${ac_cv_cflags__Wempty_body+:} false; then :
16039 $as_echo_n "(cached) " >&6
16040 else
16041 ac_wine_try_cflags_saved=$CFLAGS
16042 CFLAGS="$CFLAGS -Wempty-body"
16043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16044 /* end confdefs.h. */
16045 int main(int argc, char **argv) { return 0; }
16046 _ACEOF
16047 if ac_fn_c_try_link "$LINENO"; then :
16048 ac_cv_cflags__Wempty_body=yes
16049 else
16050 ac_cv_cflags__Wempty_body=no
16052 rm -f core conftest.err conftest.$ac_objext \
16053 conftest$ac_exeext conftest.$ac_ext
16054 CFLAGS=$ac_wine_try_cflags_saved
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16057 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16058 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16059 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16062 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16063 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16064 $as_echo_n "(cached) " >&6
16065 else
16066 ac_wine_try_cflags_saved=$CFLAGS
16067 CFLAGS="$CFLAGS -Wignored-qualifiers"
16068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16069 /* end confdefs.h. */
16070 int main(int argc, char **argv) { return 0; }
16071 _ACEOF
16072 if ac_fn_c_try_link "$LINENO"; then :
16073 ac_cv_cflags__Wignored_qualifiers=yes
16074 else
16075 ac_cv_cflags__Wignored_qualifiers=no
16077 rm -f core conftest.err conftest.$ac_objext \
16078 conftest$ac_exeext conftest.$ac_ext
16079 CFLAGS=$ac_wine_try_cflags_saved
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16082 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16083 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16084 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
16087 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
16088 if ${ac_cv_cflags__Winit_self+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_wine_try_cflags_saved=$CFLAGS
16092 CFLAGS="$CFLAGS -Winit-self"
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16095 int main(int argc, char **argv) { return 0; }
16096 _ACEOF
16097 if ac_fn_c_try_link "$LINENO"; then :
16098 ac_cv_cflags__Winit_self=yes
16099 else
16100 ac_cv_cflags__Winit_self=no
16102 rm -f core conftest.err conftest.$ac_objext \
16103 conftest$ac_exeext conftest.$ac_ext
16104 CFLAGS=$ac_wine_try_cflags_saved
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
16107 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
16108 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
16109 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16112 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16113 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16114 $as_echo_n "(cached) " >&6
16115 else
16116 ac_wine_try_cflags_saved=$CFLAGS
16117 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16119 /* end confdefs.h. */
16120 int main(int argc, char **argv) { return 0; }
16121 _ACEOF
16122 if ac_fn_c_try_link "$LINENO"; then :
16123 ac_cv_cflags__Wpacked_not_aligned=yes
16124 else
16125 ac_cv_cflags__Wpacked_not_aligned=no
16127 rm -f core conftest.err conftest.$ac_objext \
16128 conftest$ac_exeext conftest.$ac_ext
16129 CFLAGS=$ac_wine_try_cflags_saved
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16132 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16133 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16134 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16137 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16138 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16139 $as_echo_n "(cached) " >&6
16140 else
16141 ac_wine_try_cflags_saved=$CFLAGS
16142 CFLAGS="$CFLAGS -Wpragma-pack"
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16145 int main(int argc, char **argv) { return 0; }
16146 _ACEOF
16147 if ac_fn_c_try_link "$LINENO"; then :
16148 ac_cv_cflags__Wpragma_pack=yes
16149 else
16150 ac_cv_cflags__Wpragma_pack=no
16152 rm -f core conftest.err conftest.$ac_objext \
16153 conftest$ac_exeext conftest.$ac_ext
16154 CFLAGS=$ac_wine_try_cflags_saved
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16157 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16158 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16159 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16162 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16163 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16164 $as_echo_n "(cached) " >&6
16165 else
16166 ac_wine_try_cflags_saved=$CFLAGS
16167 CFLAGS="$CFLAGS -Wshift-overflow=2"
16168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16169 /* end confdefs.h. */
16170 int main(int argc, char **argv) { return 0; }
16171 _ACEOF
16172 if ac_fn_c_try_link "$LINENO"; then :
16173 ac_cv_cflags__Wshift_overflow_2=yes
16174 else
16175 ac_cv_cflags__Wshift_overflow_2=no
16177 rm -f core conftest.err conftest.$ac_objext \
16178 conftest$ac_exeext conftest.$ac_ext
16179 CFLAGS=$ac_wine_try_cflags_saved
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16182 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16183 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16184 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16187 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16188 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16189 $as_echo_n "(cached) " >&6
16190 else
16191 ac_wine_try_cflags_saved=$CFLAGS
16192 CFLAGS="$CFLAGS -Wstrict-prototypes"
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16195 int main(int argc, char **argv) { return 0; }
16196 _ACEOF
16197 if ac_fn_c_try_link "$LINENO"; then :
16198 ac_cv_cflags__Wstrict_prototypes=yes
16199 else
16200 ac_cv_cflags__Wstrict_prototypes=no
16202 rm -f core conftest.err conftest.$ac_objext \
16203 conftest$ac_exeext conftest.$ac_ext
16204 CFLAGS=$ac_wine_try_cflags_saved
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16207 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16208 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16209 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16212 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16213 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16214 $as_echo_n "(cached) " >&6
16215 else
16216 ac_wine_try_cflags_saved=$CFLAGS
16217 CFLAGS="$CFLAGS -Wtype-limits"
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16220 int main(int argc, char **argv) { return 0; }
16221 _ACEOF
16222 if ac_fn_c_try_link "$LINENO"; then :
16223 ac_cv_cflags__Wtype_limits=yes
16224 else
16225 ac_cv_cflags__Wtype_limits=no
16227 rm -f core conftest.err conftest.$ac_objext \
16228 conftest$ac_exeext conftest.$ac_ext
16229 CFLAGS=$ac_wine_try_cflags_saved
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16232 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16233 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16234 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16237 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16238 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16239 $as_echo_n "(cached) " >&6
16240 else
16241 ac_wine_try_cflags_saved=$CFLAGS
16242 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16245 int main(int argc, char **argv) { return 0; }
16246 _ACEOF
16247 if ac_fn_c_try_link "$LINENO"; then :
16248 ac_cv_cflags__Wunused_but_set_parameter=yes
16249 else
16250 ac_cv_cflags__Wunused_but_set_parameter=no
16252 rm -f core conftest.err conftest.$ac_objext \
16253 conftest$ac_exeext conftest.$ac_ext
16254 CFLAGS=$ac_wine_try_cflags_saved
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16257 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16258 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16259 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16262 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16263 if ${ac_cv_cflags__Wvla+:} false; then :
16264 $as_echo_n "(cached) " >&6
16265 else
16266 ac_wine_try_cflags_saved=$CFLAGS
16267 CFLAGS="$CFLAGS -Wvla"
16268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16270 int main(int argc, char **argv) { return 0; }
16271 _ACEOF
16272 if ac_fn_c_try_link "$LINENO"; then :
16273 ac_cv_cflags__Wvla=yes
16274 else
16275 ac_cv_cflags__Wvla=no
16277 rm -f core conftest.err conftest.$ac_objext \
16278 conftest$ac_exeext conftest.$ac_ext
16279 CFLAGS=$ac_wine_try_cflags_saved
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16282 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16283 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16284 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16287 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16288 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16289 $as_echo_n "(cached) " >&6
16290 else
16291 ac_wine_try_cflags_saved=$CFLAGS
16292 CFLAGS="$CFLAGS -Wwrite-strings"
16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294 /* end confdefs.h. */
16295 int main(int argc, char **argv) { return 0; }
16296 _ACEOF
16297 if ac_fn_c_try_link "$LINENO"; then :
16298 ac_cv_cflags__Wwrite_strings=yes
16299 else
16300 ac_cv_cflags__Wwrite_strings=no
16302 rm -f core conftest.err conftest.$ac_objext \
16303 conftest$ac_exeext conftest.$ac_ext
16304 CFLAGS=$ac_wine_try_cflags_saved
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16307 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16308 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16309 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16312 if test -z "$CROSSTARGET"
16313 then
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16315 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16316 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16317 $as_echo_n "(cached) " >&6
16318 else
16319 ac_wine_try_cflags_saved=$CFLAGS
16320 CFLAGS="$CFLAGS -fexcess-precision=standard"
16321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h. */
16323 int main(int argc, char **argv) { return 0; }
16324 _ACEOF
16325 if ac_fn_c_try_link "$LINENO"; then :
16326 ac_cv_cflags__fexcess_precision_standard=yes
16327 else
16328 ac_cv_cflags__fexcess_precision_standard=no
16330 rm -f core conftest.err conftest.$ac_objext \
16331 conftest$ac_exeext conftest.$ac_ext
16332 CFLAGS=$ac_wine_try_cflags_saved
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16335 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16336 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16337 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16343 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16344 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16345 $as_echo_n "(cached) " >&6
16346 else
16347 ac_wine_try_cflags_saved=$CFLAGS
16348 CFLAGS="$CFLAGS -Wpointer-arith"
16349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16350 /* end confdefs.h. */
16351 int main(int argc, char **argv) { return 0; }
16352 _ACEOF
16353 if ac_fn_c_try_link "$LINENO"; then :
16354 ac_cv_cflags__Wpointer_arith=yes
16355 else
16356 ac_cv_cflags__Wpointer_arith=no
16358 rm -f core conftest.err conftest.$ac_objext \
16359 conftest$ac_exeext conftest.$ac_ext
16360 CFLAGS=$ac_wine_try_cflags_saved
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16363 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16364 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16365 saved_string_h_CFLAGS=$CFLAGS
16366 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16368 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16369 if ${ac_cv_c_string_h_warnings+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <string.h>
16376 main ()
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 ac_cv_c_string_h_warnings=no
16385 else
16386 ac_cv_c_string_h_warnings=yes
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16391 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16392 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16393 CFLAGS=$saved_string_h_CFLAGS
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16397 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16398 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16399 $as_echo_n "(cached) " >&6
16400 else
16401 ac_wine_try_cflags_saved=$CFLAGS
16402 CFLAGS="$CFLAGS -Wlogical-op"
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16405 int main(int argc, char **argv) { return 0; }
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"; then :
16408 ac_cv_cflags__Wlogical_op=yes
16409 else
16410 ac_cv_cflags__Wlogical_op=no
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16414 CFLAGS=$ac_wine_try_cflags_saved
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16417 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16418 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16419 saved_string_h_CFLAGS=$CFLAGS
16420 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16422 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16423 if ${ac_cv_c_logicalop_noisy+:} false; then :
16424 $as_echo_n "(cached) " >&6
16425 else
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 #include <string.h>
16429 char*f(const char *h,char n) {return strchr(h,n);}
16431 main ()
16435 return 0;
16437 _ACEOF
16438 if ac_fn_c_try_compile "$LINENO"; then :
16439 ac_cv_c_logicalop_noisy=no
16440 else
16441 ac_cv_c_logicalop_noisy=yes
16443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16446 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16447 CFLAGS=$saved_string_h_CFLAGS
16448 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
16452 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
16453 if ${wine_cv_64bit_compare_swap+:} false; then :
16454 $as_echo_n "(cached) " >&6
16455 else
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16458 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
16459 #error no
16460 #endif
16462 main ()
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_compile "$LINENO"; then :
16470 wine_cv_64bit_compare_swap="none needed"
16471 else
16472 case $host_cpu in
16473 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
16474 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
16475 *) wine_cv_64bit_compare_swap="unknown" ;;
16476 esac
16477 if test "x$wine_cv_64bit_compare_swap" != xunknown
16478 then
16479 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
16480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16481 /* end confdefs.h. */
16482 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
16483 #error no
16484 #endif
16486 main ()
16490 return 0;
16492 _ACEOF
16493 if ac_fn_c_try_compile "$LINENO"; then :
16495 else
16496 wine_cv_64bit_compare_swap="unknown"
16498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16499 CFLAGS=$saved_CFLAGS
16502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
16505 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
16506 case "$wine_cv_64bit_compare_swap" in
16507 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
16508 "none needed") ;;
16509 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
16510 esac
16512 for ac_flag in $CFLAGS; do
16513 case $ac_flag in
16514 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16515 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16516 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16517 $as_echo_n "(cached) " >&6
16518 else
16519 ac_wine_try_cflags_saved=$CFLAGS
16520 CFLAGS="$CFLAGS -gdwarf-2"
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__gdwarf_2=yes
16527 else
16528 ac_cv_cflags__gdwarf_2=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__gdwarf_2" >&5
16535 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16536 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16537 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16540 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16541 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16542 $as_echo_n "(cached) " >&6
16543 else
16544 ac_wine_try_cflags_saved=$CFLAGS
16545 CFLAGS="$CFLAGS -gstrict-dwarf"
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__gstrict_dwarf=yes
16552 else
16553 ac_cv_cflags__gstrict_dwarf=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__gstrict_dwarf" >&5
16560 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16561 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16562 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16563 fi ;;
16564 esac
16565 done
16567 MSVCRTFLAGS=""
16569 case $host_os in
16570 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
16571 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
16572 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_wine_try_cflags_saved=$CFLAGS
16576 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16579 int main(int argc, char **argv) { return 0; }
16580 _ACEOF
16581 if ac_fn_c_try_link "$LINENO"; then :
16582 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
16583 else
16584 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
16586 rm -f core conftest.err conftest.$ac_objext \
16587 conftest$ac_exeext conftest.$ac_ext
16588 CFLAGS=$ac_wine_try_cflags_saved
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
16591 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
16592 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
16593 DELAYLOADFLAG="-Wl,-delayload,"
16595 fi ;;
16596 *) MSVCRTFLAGS="-D_WIN32"
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
16598 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
16599 if ${ac_cv_cflags__fno_builtin+:} false; then :
16600 $as_echo_n "(cached) " >&6
16601 else
16602 ac_wine_try_cflags_saved=$CFLAGS
16603 CFLAGS="$CFLAGS -fno-builtin"
16604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16606 int main(int argc, char **argv) { return 0; }
16607 _ACEOF
16608 if ac_fn_c_try_link "$LINENO"; then :
16609 ac_cv_cflags__fno_builtin=yes
16610 else
16611 ac_cv_cflags__fno_builtin=no
16613 rm -f core conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16615 CFLAGS=$ac_wine_try_cflags_saved
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
16618 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
16619 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
16620 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
16623 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
16624 if ${ac_cv_cflags__fshort_wchar+:} false; then :
16625 $as_echo_n "(cached) " >&6
16626 else
16627 ac_wine_try_cflags_saved=$CFLAGS
16628 CFLAGS="$CFLAGS -fshort-wchar"
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 int main(int argc, char **argv) { return 0; }
16632 _ACEOF
16633 if ac_fn_c_try_link "$LINENO"; then :
16634 ac_cv_cflags__fshort_wchar=yes
16635 else
16636 ac_cv_cflags__fshort_wchar=no
16638 rm -f core conftest.err conftest.$ac_objext \
16639 conftest$ac_exeext conftest.$ac_ext
16640 CFLAGS=$ac_wine_try_cflags_saved
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
16643 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
16644 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
16645 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
16646 fi ;;
16647 esac
16649 case $host_cpu in
16650 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16651 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16652 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16653 $as_echo_n "(cached) " >&6
16654 else
16655 ac_wine_try_cflags_saved=$CFLAGS
16656 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 int main(int argc, char **argv) { return 0; }
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"; then :
16662 ac_cv_cflags__fno_omit_frame_pointer=yes
16663 else
16664 ac_cv_cflags__fno_omit_frame_pointer=no
16666 rm -f core conftest.err conftest.$ac_objext \
16667 conftest$ac_exeext conftest.$ac_ext
16668 CFLAGS=$ac_wine_try_cflags_saved
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16671 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16672 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16673 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16674 fi ;;
16675 *x86_64*)
16676 case $host_os in
16677 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16678 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16679 if ${ac_cv_cflags__Wno_format+:} false; then :
16680 $as_echo_n "(cached) " >&6
16681 else
16682 ac_wine_try_cflags_saved=$CFLAGS
16683 CFLAGS="$CFLAGS -Wno-format"
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16686 int main(int argc, char **argv) { return 0; }
16687 _ACEOF
16688 if ac_fn_c_try_link "$LINENO"; then :
16689 ac_cv_cflags__Wno_format=yes
16690 else
16691 ac_cv_cflags__Wno_format=no
16693 rm -f core conftest.err conftest.$ac_objext \
16694 conftest$ac_exeext conftest.$ac_ext
16695 CFLAGS=$ac_wine_try_cflags_saved
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16698 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16699 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16700 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16701 fi ;;
16702 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
16703 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
16704 if ${ac_cv_cflags__mabi_ms+:} false; then :
16705 $as_echo_n "(cached) " >&6
16706 else
16707 ac_wine_try_cflags_saved=$CFLAGS
16708 CFLAGS="$CFLAGS -mabi=ms"
16709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16710 /* end confdefs.h. */
16711 int main(int argc, char **argv) { return 0; }
16712 _ACEOF
16713 if ac_fn_c_try_link "$LINENO"; then :
16714 ac_cv_cflags__mabi_ms=yes
16715 else
16716 ac_cv_cflags__mabi_ms=no
16718 rm -f core conftest.err conftest.$ac_objext \
16719 conftest$ac_exeext conftest.$ac_ext
16720 CFLAGS=$ac_wine_try_cflags_saved
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
16723 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
16724 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
16725 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
16726 fi ;;
16727 esac ;;
16728 esac
16730 CFLAGS=$saved_CFLAGS
16732 if test "x$enable_werror" = "xyes"
16733 then
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16735 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16736 if ${ac_cv_cflags__Werror+:} false; then :
16737 $as_echo_n "(cached) " >&6
16738 else
16739 ac_wine_try_cflags_saved=$CFLAGS
16740 CFLAGS="$CFLAGS -Werror"
16741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h. */
16743 int main(int argc, char **argv) { return 0; }
16744 _ACEOF
16745 if ac_fn_c_try_link "$LINENO"; then :
16746 ac_cv_cflags__Werror=yes
16747 else
16748 ac_cv_cflags__Werror=no
16750 rm -f core conftest.err conftest.$ac_objext \
16751 conftest$ac_exeext conftest.$ac_ext
16752 CFLAGS=$ac_wine_try_cflags_saved
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16755 $as_echo "$ac_cv_cflags__Werror" >&6; }
16756 if test "x$ac_cv_cflags__Werror" = xyes; then :
16757 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16760 if test "x$enable_build_id" = "xyes"
16761 then
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
16763 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
16764 if ${ac_cv_cflags__Wl___build_id+:} false; then :
16765 $as_echo_n "(cached) " >&6
16766 else
16767 ac_wine_try_cflags_saved=$CFLAGS
16768 CFLAGS="$CFLAGS -Wl,--build-id"
16769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h. */
16771 int main(int argc, char **argv) { return 0; }
16772 _ACEOF
16773 if ac_fn_c_try_link "$LINENO"; then :
16774 ac_cv_cflags__Wl___build_id=yes
16775 else
16776 ac_cv_cflags__Wl___build_id=no
16778 rm -f core conftest.err conftest.$ac_objext \
16779 conftest$ac_exeext conftest.$ac_ext
16780 CFLAGS=$ac_wine_try_cflags_saved
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
16783 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
16784 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
16785 CFLAGS="$CFLAGS -Wl,--build-id"
16786 LDFLAGS="$LDFLAGS -Wl,--build-id"
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16793 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16794 if ${ac_cv_c_fortify_enabled+:} false; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h. */
16799 #include <string.h>
16801 main ()
16803 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16804 #error Fortify enabled
16805 #endif
16807 return 0;
16809 _ACEOF
16810 if ac_fn_c_try_compile "$LINENO"; then :
16811 ac_cv_c_fortify_enabled=no
16812 else
16813 ac_cv_c_fortify_enabled=yes
16815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16818 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16819 if test "$ac_cv_c_fortify_enabled" = yes
16820 then
16821 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16826 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16827 if ${ac_cv_c_cfi_support+:} false; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16832 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16834 main ()
16838 return 0;
16840 _ACEOF
16841 if ac_fn_c_try_compile "$LINENO"; then :
16842 ac_cv_c_cfi_support="yes"
16843 else
16844 ac_cv_c_cfi_support="no"
16846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16849 $as_echo "$ac_cv_c_cfi_support" >&6; }
16850 if test "$ac_cv_c_cfi_support" = "yes"
16851 then
16852 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
16853 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
16854 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
16855 else
16856 if test "x$enable_win64" = "xyes"
16857 then
16858 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16863 case $build_os in
16864 cygwin*|mingw32*) TOOLSEXT=".exe"
16866 esac
16868 case $host_os in
16869 linux*)
16870 case $host_cpu in
16871 *i[3456789]86*|x86_64*|*aarch64*|arm*)
16872 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16873 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16875 esac
16877 esac
16880 ac_save_CFLAGS="$CFLAGS"
16881 CFLAGS="$CFLAGS $BUILTINFLAG"
16882 for ac_func in \
16883 epoll_create \
16884 fork \
16885 fstatfs \
16886 futimens \
16887 futimes \
16888 futimesat \
16889 getattrlist \
16890 getauxval \
16891 getifaddrs \
16892 getrandom \
16893 kqueue \
16894 mach_continuous_time \
16895 pipe2 \
16896 port_create \
16897 posix_fadvise \
16898 posix_fallocate \
16899 prctl \
16900 proc_pidinfo \
16901 setproctitle \
16902 setprogname \
16903 sigprocmask \
16904 sysinfo \
16905 tcdrain \
16906 thr_kill2
16908 do :
16909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16911 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16912 cat >>confdefs.h <<_ACEOF
16913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16914 _ACEOF
16917 done
16919 CFLAGS="$ac_save_CFLAGS"
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16922 $as_echo_n "checking for library containing dlopen... " >&6; }
16923 if ${ac_cv_search_dlopen+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 ac_func_search_save_LIBS=$LIBS
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16930 /* Override any GCC internal prototype to avoid an error.
16931 Use char because int might match the return type of a GCC
16932 builtin and then its argument prototype would still apply. */
16933 #ifdef __cplusplus
16934 extern "C"
16935 #endif
16936 char dlopen ();
16938 main ()
16940 return dlopen ();
16942 return 0;
16944 _ACEOF
16945 for ac_lib in '' dl; do
16946 if test -z "$ac_lib"; then
16947 ac_res="none required"
16948 else
16949 ac_res=-l$ac_lib
16950 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16952 if ac_fn_c_try_link "$LINENO"; then :
16953 ac_cv_search_dlopen=$ac_res
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext
16957 if ${ac_cv_search_dlopen+:} false; then :
16958 break
16960 done
16961 if ${ac_cv_search_dlopen+:} false; then :
16963 else
16964 ac_cv_search_dlopen=no
16966 rm conftest.$ac_ext
16967 LIBS=$ac_func_search_save_LIBS
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16970 $as_echo "$ac_cv_search_dlopen" >&6; }
16971 ac_res=$ac_cv_search_dlopen
16972 if test "$ac_res" != no; then :
16973 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16977 ac_wine_check_funcs_save_LIBS="$LIBS"
16978 LIBS="$LIBS $DL_LIBS"
16979 for ac_func in dlinfo
16980 do :
16981 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
16982 if test "x$ac_cv_func_dlinfo" = xyes; then :
16983 cat >>confdefs.h <<_ACEOF
16984 #define HAVE_DLINFO 1
16985 _ACEOF
16988 done
16990 LIBS="$ac_wine_check_funcs_save_LIBS"
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16993 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16994 if ${ac_cv_search_gethostbyname+:} false; then :
16995 $as_echo_n "(cached) " >&6
16996 else
16997 ac_func_search_save_LIBS=$LIBS
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17001 /* Override any GCC internal prototype to avoid an error.
17002 Use char because int might match the return type of a GCC
17003 builtin and then its argument prototype would still apply. */
17004 #ifdef __cplusplus
17005 extern "C"
17006 #endif
17007 char gethostbyname ();
17009 main ()
17011 return gethostbyname ();
17013 return 0;
17015 _ACEOF
17016 for ac_lib in '' nsl; do
17017 if test -z "$ac_lib"; then
17018 ac_res="none required"
17019 else
17020 ac_res=-l$ac_lib
17021 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17023 if ac_fn_c_try_link "$LINENO"; then :
17024 ac_cv_search_gethostbyname=$ac_res
17026 rm -f core conftest.err conftest.$ac_objext \
17027 conftest$ac_exeext
17028 if ${ac_cv_search_gethostbyname+:} false; then :
17029 break
17031 done
17032 if ${ac_cv_search_gethostbyname+:} false; then :
17034 else
17035 ac_cv_search_gethostbyname=no
17037 rm conftest.$ac_ext
17038 LIBS=$ac_func_search_save_LIBS
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17041 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17042 ac_res=$ac_cv_search_gethostbyname
17043 if test "$ac_res" != no; then :
17044 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17050 $as_echo_n "checking for library containing connect... " >&6; }
17051 if ${ac_cv_search_connect+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 ac_func_search_save_LIBS=$LIBS
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17058 /* Override any GCC internal prototype to avoid an error.
17059 Use char because int might match the return type of a GCC
17060 builtin and then its argument prototype would still apply. */
17061 #ifdef __cplusplus
17062 extern "C"
17063 #endif
17064 char connect ();
17066 main ()
17068 return connect ();
17070 return 0;
17072 _ACEOF
17073 for ac_lib in '' socket; do
17074 if test -z "$ac_lib"; then
17075 ac_res="none required"
17076 else
17077 ac_res=-l$ac_lib
17078 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17080 if ac_fn_c_try_link "$LINENO"; then :
17081 ac_cv_search_connect=$ac_res
17083 rm -f core conftest.err conftest.$ac_objext \
17084 conftest$ac_exeext
17085 if ${ac_cv_search_connect+:} false; then :
17086 break
17088 done
17089 if ${ac_cv_search_connect+:} false; then :
17091 else
17092 ac_cv_search_connect=no
17094 rm conftest.$ac_ext
17095 LIBS=$ac_func_search_save_LIBS
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17098 $as_echo "$ac_cv_search_connect" >&6; }
17099 ac_res=$ac_cv_search_connect
17100 if test "$ac_res" != no; then :
17101 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17107 $as_echo_n "checking for library containing inet_aton... " >&6; }
17108 if ${ac_cv_search_inet_aton+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 ac_func_search_save_LIBS=$LIBS
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17115 /* Override any GCC internal prototype to avoid an error.
17116 Use char because int might match the return type of a GCC
17117 builtin and then its argument prototype would still apply. */
17118 #ifdef __cplusplus
17119 extern "C"
17120 #endif
17121 char inet_aton ();
17123 main ()
17125 return inet_aton ();
17127 return 0;
17129 _ACEOF
17130 for ac_lib in '' resolv; do
17131 if test -z "$ac_lib"; then
17132 ac_res="none required"
17133 else
17134 ac_res=-l$ac_lib
17135 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17137 if ac_fn_c_try_link "$LINENO"; then :
17138 ac_cv_search_inet_aton=$ac_res
17140 rm -f core conftest.err conftest.$ac_objext \
17141 conftest$ac_exeext
17142 if ${ac_cv_search_inet_aton+:} false; then :
17143 break
17145 done
17146 if ${ac_cv_search_inet_aton+:} false; then :
17148 else
17149 ac_cv_search_inet_aton=no
17151 rm conftest.$ac_ext
17152 LIBS=$ac_func_search_save_LIBS
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17155 $as_echo "$ac_cv_search_inet_aton" >&6; }
17156 ac_res=$ac_cv_search_inet_aton
17157 if test "$ac_res" != no; then :
17158 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17163 for ac_func in getaddrinfo
17164 do :
17165 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
17166 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
17167 cat >>confdefs.h <<_ACEOF
17168 #define HAVE_GETADDRINFO 1
17169 _ACEOF
17172 done
17175 case $host_os in
17176 darwin*|macosx*) ;;
17177 *) ac_save_LIBS=$LIBS
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17179 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17180 if ${ac_cv_search_clock_gettime+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 ac_func_search_save_LIBS=$LIBS
17184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17187 /* Override any GCC internal prototype to avoid an error.
17188 Use char because int might match the return type of a GCC
17189 builtin and then its argument prototype would still apply. */
17190 #ifdef __cplusplus
17191 extern "C"
17192 #endif
17193 char clock_gettime ();
17195 main ()
17197 return clock_gettime ();
17199 return 0;
17201 _ACEOF
17202 for ac_lib in '' rt; do
17203 if test -z "$ac_lib"; then
17204 ac_res="none required"
17205 else
17206 ac_res=-l$ac_lib
17207 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17209 if ac_fn_c_try_link "$LINENO"; then :
17210 ac_cv_search_clock_gettime=$ac_res
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext
17214 if ${ac_cv_search_clock_gettime+:} false; then :
17215 break
17217 done
17218 if ${ac_cv_search_clock_gettime+:} false; then :
17220 else
17221 ac_cv_search_clock_gettime=no
17223 rm conftest.$ac_ext
17224 LIBS=$ac_func_search_save_LIBS
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17227 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17228 ac_res=$ac_cv_search_clock_gettime
17229 if test "$ac_res" != no; then :
17230 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17232 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17234 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17238 LIBS=$ac_save_LIBS
17240 esac
17242 if test "x$with_ldap" != "xno"
17243 then
17244 if ${LDAP_CFLAGS:+false} :; then :
17245 if ${PKG_CONFIG+:} false; then :
17246 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17250 if ${LDAP_LIBS:+false} :; then :
17251 if ${PKG_CONFIG+:} false; then :
17252 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17256 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17257 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17258 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17259 ac_save_CPPFLAGS=$CPPFLAGS
17260 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17261 for ac_header in ldap.h lber.h
17262 do :
17263 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17264 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17265 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17266 cat >>confdefs.h <<_ACEOF
17267 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17268 _ACEOF
17272 done
17274 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17275 then
17276 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17278 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17280 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17281 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17282 $as_echo_n "(cached) " >&6
17283 else
17284 ac_check_lib_save_LIBS=$LIBS
17285 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17289 /* Override any GCC internal prototype to avoid an error.
17290 Use char because int might match the return type of a GCC
17291 builtin and then its argument prototype would still apply. */
17292 #ifdef __cplusplus
17293 extern "C"
17294 #endif
17295 char ldap_initialize ();
17297 main ()
17299 return ldap_initialize ();
17301 return 0;
17303 _ACEOF
17304 if ac_fn_c_try_link "$LINENO"; then :
17305 ac_cv_lib_ldap_r_ldap_initialize=yes
17306 else
17307 ac_cv_lib_ldap_r_ldap_initialize=no
17309 rm -f core conftest.err conftest.$ac_objext \
17310 conftest$ac_exeext conftest.$ac_ext
17311 LIBS=$ac_check_lib_save_LIBS
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17314 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17315 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17317 $as_echo_n "checking for ber_init in -llber... " >&6; }
17318 if ${ac_cv_lib_lber_ber_init+:} false; then :
17319 $as_echo_n "(cached) " >&6
17320 else
17321 ac_check_lib_save_LIBS=$LIBS
17322 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17326 /* Override any GCC internal prototype to avoid an error.
17327 Use char because int might match the return type of a GCC
17328 builtin and then its argument prototype would still apply. */
17329 #ifdef __cplusplus
17330 extern "C"
17331 #endif
17332 char ber_init ();
17334 main ()
17336 return ber_init ();
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"; then :
17342 ac_cv_lib_lber_ber_init=yes
17343 else
17344 ac_cv_lib_lber_ber_init=no
17346 rm -f core conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17348 LIBS=$ac_check_lib_save_LIBS
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17351 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17352 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17354 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17356 else
17357 LDAP_LIBS=""
17360 else
17361 LDAP_LIBS=""
17364 else
17365 LDAP_LIBS=""
17368 ac_wine_check_funcs_save_LIBS="$LIBS"
17369 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17370 for ac_func in \
17371 ldap_count_references \
17372 ldap_first_reference \
17373 ldap_next_reference \
17374 ldap_parse_reference \
17375 ldap_parse_sort_control \
17376 ldap_parse_sortresponse_control \
17377 ldap_parse_vlv_control \
17378 ldap_parse_vlvresponse_control
17379 do :
17380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17382 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17383 cat >>confdefs.h <<_ACEOF
17384 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17385 _ACEOF
17388 done
17390 LIBS="$ac_wine_check_funcs_save_LIBS"
17391 else
17392 LDAP_LIBS=""
17394 CPPFLAGS=$ac_save_CPPFLAGS
17397 if test "x$LDAP_LIBS" = "x"; then :
17398 case "x$with_ldap" in
17399 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17400 xno) ;;
17401 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17402 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17403 esac
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17408 $as_echo_n "checking for sched_setaffinity... " >&6; }
17409 if ${wine_cv_have_sched_setaffinity+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 #include <sched.h>
17416 main ()
17418 sched_setaffinity(0, 0, 0);
17420 return 0;
17422 _ACEOF
17423 if ac_fn_c_try_link "$LINENO"; then :
17424 wine_cv_have_sched_setaffinity=yes
17425 else
17426 wine_cv_have_sched_setaffinity=no
17428 rm -f core conftest.err conftest.$ac_objext \
17429 conftest$ac_exeext conftest.$ac_ext
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17432 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17433 if test "$wine_cv_have_sched_setaffinity" = "yes"
17434 then
17436 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17442 $as_echo_n "checking for inline... " >&6; }
17443 if ${ac_cv_c_inline+:} false; then :
17444 $as_echo_n "(cached) " >&6
17445 else
17446 ac_cv_c_inline=no
17447 for ac_kw in inline __inline__ __inline; do
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #ifndef __cplusplus
17451 typedef int foo_t;
17452 static $ac_kw foo_t static_foo () {return 0; }
17453 $ac_kw foo_t foo () {return 0; }
17454 #endif
17456 _ACEOF
17457 if ac_fn_c_try_compile "$LINENO"; then :
17458 ac_cv_c_inline=$ac_kw
17460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 test "$ac_cv_c_inline" != no && break
17462 done
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17466 $as_echo "$ac_cv_c_inline" >&6; }
17468 case $ac_cv_c_inline in
17469 inline | yes) ;;
17471 case $ac_cv_c_inline in
17472 no) ac_val=;;
17473 *) ac_val=$ac_cv_c_inline;;
17474 esac
17475 cat >>confdefs.h <<_ACEOF
17476 #ifndef __cplusplus
17477 #define inline $ac_val
17478 #endif
17479 _ACEOF
17481 esac
17483 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17484 #include <signal.h>
17486 if test "x$ac_cv_type_sigset_t" = xyes; then :
17488 cat >>confdefs.h <<_ACEOF
17489 #define HAVE_SIGSET_T 1
17490 _ACEOF
17495 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17497 if test "x$ac_cv_type_request_sense" = xyes; then :
17499 cat >>confdefs.h <<_ACEOF
17500 #define HAVE_REQUEST_SENSE 1
17501 _ACEOF
17507 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17508 #ifdef HAVE_SYS_SOCKET_H
17509 #include <sys/socket.h>
17510 #endif
17511 #ifdef HAVE_SYS_SOCKETVAR_H
17512 #include <sys/socketvar.h>
17513 #endif
17514 #ifdef HAVE_NET_ROUTE_H
17515 #include <net/route.h>
17516 #endif
17517 #ifdef HAVE_NETINET_IN_H
17518 #include <netinet/in.h>
17519 #endif
17520 #ifdef HAVE_NETINET_IN_SYSTM_H
17521 #include <netinet/in_systm.h>
17522 #endif
17523 #ifdef HAVE_NETINET_IP_H
17524 #include <netinet/ip.h>
17525 #endif
17526 #ifdef HAVE_NETINET_IN_PCB_H
17527 #include <netinet/in_pcb.h>
17528 #endif
17530 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17532 cat >>confdefs.h <<_ACEOF
17533 #define HAVE_STRUCT_XINPGEN 1
17534 _ACEOF
17540 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17541 #include <linux/input.h>
17542 #endif
17544 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17546 cat >>confdefs.h <<_ACEOF
17547 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17548 _ACEOF
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17555 $as_echo_n "checking for sigaddset... " >&6; }
17556 if ${wine_cv_have_sigaddset+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17561 #include <signal.h>
17563 main ()
17565 sigset_t set; sigaddset(&set,SIGTERM);
17567 return 0;
17569 _ACEOF
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 wine_cv_have_sigaddset=yes
17572 else
17573 wine_cv_have_sigaddset=no
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17579 $as_echo "$wine_cv_have_sigaddset" >&6; }
17580 if test "$wine_cv_have_sigaddset" = "yes"
17581 then
17583 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17589 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17590 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 #include <netdb.h>
17597 main ()
17600 char *name=0;
17601 struct hostent he;
17602 struct hostent *result;
17603 char *buf=0;
17604 int bufsize=0;
17605 int errnr;
17606 char *addr=0;
17607 int addrlen=0;
17608 int addrtype=0;
17609 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17610 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17613 return 0;
17615 _ACEOF
17616 if ac_fn_c_try_link "$LINENO"; then :
17617 wine_cv_linux_gethostbyname_r_6=yes
17618 else
17619 wine_cv_linux_gethostbyname_r_6=no
17622 rm -f core conftest.err conftest.$ac_objext \
17623 conftest$ac_exeext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17627 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17628 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17629 then
17631 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17635 if test "$ac_cv_header_linux_joystick_h" = "yes"
17636 then
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17638 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17639 if ${wine_cv_linux_joystick_22_api+:} false; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17645 #include <sys/ioctl.h>
17646 #include <sys/types.h>
17647 #include <linux/joystick.h>
17649 struct js_event blub;
17650 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17651 #error "no 2.2 header"
17652 #endif
17655 main ()
17657 /*empty*/
17659 return 0;
17661 _ACEOF
17662 if ac_fn_c_try_compile "$LINENO"; then :
17663 wine_cv_linux_joystick_22_api=yes
17664 else
17665 wine_cv_linux_joystick_22_api=no
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17671 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17672 if test "$wine_cv_linux_joystick_22_api" = "yes"
17673 then
17675 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17680 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17681 #ifdef HAVE_SYS_SOCKET_H
17682 # include <sys/socket.h>
17683 #endif
17684 #ifdef HAVE_SYS_UN_H
17685 # include <sys/un.h>
17686 #endif
17688 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17690 cat >>confdefs.h <<_ACEOF
17691 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17692 _ACEOF
17696 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17697 #ifdef HAVE_SYS_SOCKET_H
17698 # include <sys/socket.h>
17699 #endif
17700 #ifdef HAVE_SYS_UN_H
17701 # include <sys/un.h>
17702 #endif
17704 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17706 cat >>confdefs.h <<_ACEOF
17707 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17708 _ACEOF
17714 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17715 #ifdef HAVE_SCSI_SG_H
17716 #include <scsi/sg.h>
17717 #endif
17719 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17721 cat >>confdefs.h <<_ACEOF
17722 #define HAVE_SCSIREQ_T_CMD 1
17723 _ACEOF
17727 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>
17728 #ifdef HAVE_SCSI_SG_H
17729 #include <scsi/sg.h>
17730 #endif
17732 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17734 cat >>confdefs.h <<_ACEOF
17735 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17736 _ACEOF
17742 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17744 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17746 cat >>confdefs.h <<_ACEOF
17747 #define HAVE_SIGINFO_T_SI_FD 1
17748 _ACEOF
17754 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17755 #ifdef HAVE_SYS_MTIO_H
17756 #include <sys/mtio.h>
17757 #endif
17759 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17761 cat >>confdefs.h <<_ACEOF
17762 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17763 _ACEOF
17767 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17768 #ifdef HAVE_SYS_MTIO_H
17769 #include <sys/mtio.h>
17770 #endif
17772 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17774 cat >>confdefs.h <<_ACEOF
17775 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17776 _ACEOF
17780 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17781 #ifdef HAVE_SYS_MTIO_H
17782 #include <sys/mtio.h>
17783 #endif
17785 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17787 cat >>confdefs.h <<_ACEOF
17788 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17789 _ACEOF
17795 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17796 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17798 cat >>confdefs.h <<_ACEOF
17799 #define HAVE_STRUCT_STAT_ST_MTIM 1
17800 _ACEOF
17804 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17805 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17807 cat >>confdefs.h <<_ACEOF
17808 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17809 _ACEOF
17813 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17814 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17816 cat >>confdefs.h <<_ACEOF
17817 #define HAVE_STRUCT_STAT_ST_CTIM 1
17818 _ACEOF
17822 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17823 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17825 cat >>confdefs.h <<_ACEOF
17826 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17827 _ACEOF
17831 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17832 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17834 cat >>confdefs.h <<_ACEOF
17835 #define HAVE_STRUCT_STAT_ST_ATIM 1
17836 _ACEOF
17840 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17841 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17843 cat >>confdefs.h <<_ACEOF
17844 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17845 _ACEOF
17849 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17850 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17852 cat >>confdefs.h <<_ACEOF
17853 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17854 _ACEOF
17858 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17859 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17861 cat >>confdefs.h <<_ACEOF
17862 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17863 _ACEOF
17867 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17868 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17870 cat >>confdefs.h <<_ACEOF
17871 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17872 _ACEOF
17876 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17877 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17879 cat >>confdefs.h <<_ACEOF
17880 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17881 _ACEOF
17885 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17886 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17888 cat >>confdefs.h <<_ACEOF
17889 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17890 _ACEOF
17896 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
17897 #include <sys/types.h>
17898 #endif
17899 #ifdef HAVE_NETINET_IN_H
17900 #include <netinet/in.h>
17901 #endif
17903 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17905 cat >>confdefs.h <<_ACEOF
17906 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17907 _ACEOF
17913 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17914 #include <sys/types.h>
17915 #endif
17916 #ifdef HAVE_NETINET_IN_H
17917 #include <netinet/in.h>
17918 #endif
17919 #ifdef HAVE_RESOLV_H
17920 #include <resolv.h>
17921 #endif
17923 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17925 cat >>confdefs.h <<_ACEOF
17926 #define HAVE_STRUCT___RES_STATE 1
17927 _ACEOF
17933 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
17934 #include <resolv.h>
17935 #endif
17937 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17939 cat >>confdefs.h <<_ACEOF
17940 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17941 _ACEOF
17947 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17948 #include <sys/types.h>
17949 #endif
17950 #ifdef HAVE_NETINET_IN_H
17951 #include <netinet/in.h>
17952 #endif
17953 #ifdef HAVE_NETINET_IP_H
17954 #include <netinet/ip.h>
17955 #endif
17956 #ifdef HAVE_NETINET_IP_ICMP_H
17957 #include <netinet/ip_icmp.h>
17958 #endif
17959 #ifdef HAVE_NETINET_ICMP_VAR_H
17960 #include <netinet/icmp_var.h>
17961 #endif
17963 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17965 cat >>confdefs.h <<_ACEOF
17966 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17967 _ACEOF
17973 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17974 #include <sys/types.h>
17975 #endif
17976 #ifdef HAVE_ALIAS_H
17977 #include <alias.h>
17978 #endif
17979 #ifdef HAVE_SYS_SOCKET_H
17980 #include <sys/socket.h>
17981 #endif
17982 #ifdef HAVE_SYS_SOCKETVAR_H
17983 #include <sys/socketvar.h>
17984 #endif
17985 #ifdef HAVE_SYS_TIMEOUT_H
17986 #include <sys/timeout.h>
17987 #endif
17988 #ifdef HAVE_NETINET_IN_H
17989 #include <netinet/in.h>
17990 #endif
17991 #ifdef HAVE_NETINET_IN_SYSTM_H
17992 #include <netinet/in_systm.h>
17993 #endif
17994 #ifdef HAVE_NETINET_IP_H
17995 #include <netinet/ip.h>
17996 #endif
17997 #ifdef HAVE_NETINET_IP_VAR_H
17998 #include <netinet/ip_var.h>
17999 #endif
18000 #ifdef HAVE_NETINET_IP_ICMP_H
18001 #include <netinet/ip_icmp.h>
18002 #endif
18003 #ifdef HAVE_NETINET_ICMP_VAR_H
18004 #include <netinet/icmp_var.h>
18005 #endif
18007 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18009 cat >>confdefs.h <<_ACEOF
18010 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18011 _ACEOF
18017 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
18018 #include <netinet/in.h>
18019 #endif
18021 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
18023 cat >>confdefs.h <<_ACEOF
18024 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
18025 _ACEOF
18031 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18032 #include <sys/types.h>
18033 #endif
18034 #ifdef HAVE_SYS_SOCKETVAR_H
18035 #include <sys/socketvar.h>
18036 #endif
18037 #ifdef HAVE_NETINET_IN_H
18038 #include <netinet/in.h>
18039 #endif
18040 #ifdef HAVE_NETINET_IP_VAR_H
18041 #include <netinet/ip_var.h>
18042 #endif
18044 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18046 cat >>confdefs.h <<_ACEOF
18047 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18048 _ACEOF
18054 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
18055 #include <netinet/ip_var.h>
18056 #endif
18058 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18060 cat >>confdefs.h <<_ACEOF
18061 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18062 _ACEOF
18068 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18069 #include <sys/types.h>
18070 #endif
18071 #ifdef HAVE_SYS_SOCKETVAR_H
18072 #include <sys/socketvar.h>
18073 #endif
18074 #ifdef HAVE_NETINET_IN_H
18075 #include <netinet/in.h>
18076 #endif
18077 #ifdef HAVE_NETINET_TCP_H
18078 #include <netinet/tcp.h>
18079 #endif
18080 #ifdef HAVE_NETINET_TCP_VAR_H
18081 #include <netinet/tcp_var.h>
18082 #endif
18084 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18086 cat >>confdefs.h <<_ACEOF
18087 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18088 _ACEOF
18094 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
18095 #include <netinet/tcp_var.h>
18096 #endif
18098 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18100 cat >>confdefs.h <<_ACEOF
18101 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18102 _ACEOF
18108 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18109 #include <sys/types.h>
18110 #endif
18111 #ifdef HAVE_NETINET_IN_H
18112 #include <netinet/in.h>
18113 #endif
18114 #ifdef HAVE_NETINET_IP_VAR_H
18115 #include <netinet/ip_var.h>
18116 #endif
18117 #ifdef HAVE_NETINET_UDP_H
18118 #include <netinet/udp.h>
18119 #endif
18120 #ifdef HAVE_NETINET_UDP_VAR_H
18121 #include <netinet/udp_var.h>
18122 #endif
18124 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18126 cat >>confdefs.h <<_ACEOF
18127 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18128 _ACEOF
18134 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18135 #include <sys/types.h>
18136 #endif
18137 #ifdef HAVE_NET_IF_H
18138 # include <net/if.h>
18139 #endif
18141 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18143 cat >>confdefs.h <<_ACEOF
18144 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18145 _ACEOF
18151 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
18152 # include <sys/sysinfo.h>
18153 #endif
18155 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
18157 cat >>confdefs.h <<_ACEOF
18158 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
18159 _ACEOF
18163 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
18164 # include <sys/sysinfo.h>
18165 #endif
18167 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
18169 cat >>confdefs.h <<_ACEOF
18170 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
18171 _ACEOF
18177 ac_save_LIBS="$LIBS"
18178 LIBS="$LIBS -lm"
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18180 $as_echo_n "checking for isfinite... " >&6; }
18181 if ${ac_cv_have_isfinite+:} false; then :
18182 $as_echo_n "(cached) " >&6
18183 else
18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18186 #include <math.h>
18188 main ()
18190 float f = 0.0; return isfinite(f)
18192 return 0;
18194 _ACEOF
18195 if ac_fn_c_try_link "$LINENO"; then :
18196 ac_cv_have_isfinite="yes"
18197 else
18198 ac_cv_have_isfinite="no"
18200 rm -f core conftest.err conftest.$ac_objext \
18201 conftest$ac_exeext conftest.$ac_ext
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18204 $as_echo "$ac_cv_have_isfinite" >&6; }
18205 if test "$ac_cv_have_isfinite" = "yes"
18206 then
18208 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18213 $as_echo_n "checking for isinf... " >&6; }
18214 if ${ac_cv_have_isinf+:} false; then :
18215 $as_echo_n "(cached) " >&6
18216 else
18217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18218 /* end confdefs.h. */
18219 #include <math.h>
18221 main ()
18223 float f = 0.0; return isinf(f)
18225 return 0;
18227 _ACEOF
18228 if ac_fn_c_try_link "$LINENO"; then :
18229 ac_cv_have_isinf="yes"
18230 else
18231 ac_cv_have_isinf="no"
18233 rm -f core conftest.err conftest.$ac_objext \
18234 conftest$ac_exeext conftest.$ac_ext
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18237 $as_echo "$ac_cv_have_isinf" >&6; }
18238 if test "$ac_cv_have_isinf" = "yes"
18239 then
18241 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18246 $as_echo_n "checking for isnan... " >&6; }
18247 if ${ac_cv_have_isnan+:} false; then :
18248 $as_echo_n "(cached) " >&6
18249 else
18250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18252 #include <math.h>
18254 main ()
18256 float f = 0.0; return isnan(f)
18258 return 0;
18260 _ACEOF
18261 if ac_fn_c_try_link "$LINENO"; then :
18262 ac_cv_have_isnan="yes"
18263 else
18264 ac_cv_have_isnan="no"
18266 rm -f core conftest.err conftest.$ac_objext \
18267 conftest$ac_exeext conftest.$ac_ext
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18270 $as_echo "$ac_cv_have_isnan" >&6; }
18271 if test "$ac_cv_have_isnan" = "yes"
18272 then
18274 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18278 LIBS="$ac_save_LIBS"
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18281 $as_echo_n "checking for __builtin_popcount... " >&6; }
18282 if ${ac_cv_have___builtin_popcount+:} false; then :
18283 $as_echo_n "(cached) " >&6
18284 else
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18289 main ()
18291 return __builtin_popcount(1)
18293 return 0;
18295 _ACEOF
18296 if ac_fn_c_try_link "$LINENO"; then :
18297 ac_cv_have___builtin_popcount="yes"
18298 else
18299 ac_cv_have___builtin_popcount="no"
18301 rm -f core conftest.err conftest.$ac_objext \
18302 conftest$ac_exeext conftest.$ac_ext
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18305 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18306 if test "$ac_cv_have___builtin_popcount" = "yes"
18307 then
18309 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18314 $as_echo_n "checking for __clear_cache... " >&6; }
18315 if ${ac_cv_have___clear_cache+:} false; then :
18316 $as_echo_n "(cached) " >&6
18317 else
18318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18319 /* end confdefs.h. */
18322 main ()
18324 __clear_cache((void*)0, (void*)0); return 0;
18326 return 0;
18328 _ACEOF
18329 if ac_fn_c_try_link "$LINENO"; then :
18330 ac_cv_have___clear_cache="yes"
18331 else
18332 ac_cv_have___clear_cache="no"
18334 rm -f core conftest.err conftest.$ac_objext \
18335 conftest$ac_exeext conftest.$ac_ext
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18338 $as_echo "$ac_cv_have___clear_cache" >&6; }
18339 if test "$ac_cv_have___clear_cache" = "yes"
18340 then
18342 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18347 case $host_cpu in
18348 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18349 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18350 if ${ac_cv_cpp_def___i386__+:} false; then :
18351 $as_echo_n "(cached) " >&6
18352 else
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18355 #ifndef __i386__
18357 #endif
18358 _ACEOF
18359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18360 $EGREP "yes" >/dev/null 2>&1; then :
18361 ac_cv_cpp_def___i386__=yes
18362 else
18363 ac_cv_cpp_def___i386__=no
18365 rm -f conftest*
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18369 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18370 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18371 CFLAGS="$CFLAGS -D__i386__"
18372 LINTFLAGS="$LINTFLAGS -D__i386__"
18373 fi ;;
18374 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18375 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18376 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18380 /* end confdefs.h. */
18381 #ifndef __x86_64__
18383 #endif
18384 _ACEOF
18385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18386 $EGREP "yes" >/dev/null 2>&1; then :
18387 ac_cv_cpp_def___x86_64__=yes
18388 else
18389 ac_cv_cpp_def___x86_64__=no
18391 rm -f conftest*
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18395 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18396 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18397 CFLAGS="$CFLAGS -D__x86_64__"
18398 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18399 fi ;;
18400 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18401 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18402 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18403 $as_echo_n "(cached) " >&6
18404 else
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 #ifndef __sparc64__
18409 #endif
18410 _ACEOF
18411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18412 $EGREP "yes" >/dev/null 2>&1; then :
18413 ac_cv_cpp_def___sparc64__=yes
18414 else
18415 ac_cv_cpp_def___sparc64__=no
18417 rm -f conftest*
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18421 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18422 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18423 CFLAGS="$CFLAGS -D__sparc64__"
18424 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18425 fi ;;
18426 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18427 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18428 if ${ac_cv_cpp_def___sparc__+:} false; then :
18429 $as_echo_n "(cached) " >&6
18430 else
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18433 #ifndef __sparc__
18435 #endif
18436 _ACEOF
18437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18438 $EGREP "yes" >/dev/null 2>&1; then :
18439 ac_cv_cpp_def___sparc__=yes
18440 else
18441 ac_cv_cpp_def___sparc__=no
18443 rm -f conftest*
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18447 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18448 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18449 CFLAGS="$CFLAGS -D__sparc__"
18450 LINTFLAGS="$LINTFLAGS -D__sparc__"
18451 fi ;;
18452 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18453 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18454 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18455 $as_echo_n "(cached) " >&6
18456 else
18457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18458 /* end confdefs.h. */
18459 #ifndef __powerpc64__
18461 #endif
18462 _ACEOF
18463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18464 $EGREP "yes" >/dev/null 2>&1; then :
18465 ac_cv_cpp_def___powerpc64__=yes
18466 else
18467 ac_cv_cpp_def___powerpc64__=no
18469 rm -f conftest*
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18473 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18474 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18475 CFLAGS="$CFLAGS -D__powerpc64__"
18476 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18477 fi ;;
18478 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18479 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18480 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18481 $as_echo_n "(cached) " >&6
18482 else
18483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18484 /* end confdefs.h. */
18485 #ifndef __powerpc__
18487 #endif
18488 _ACEOF
18489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18490 $EGREP "yes" >/dev/null 2>&1; then :
18491 ac_cv_cpp_def___powerpc__=yes
18492 else
18493 ac_cv_cpp_def___powerpc__=no
18495 rm -f conftest*
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18499 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18500 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18501 CFLAGS="$CFLAGS -D__powerpc__"
18502 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18503 fi ;;
18504 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18505 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18506 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18507 $as_echo_n "(cached) " >&6
18508 else
18509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h. */
18511 #ifndef __aarch64__
18513 #endif
18514 _ACEOF
18515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18516 $EGREP "yes" >/dev/null 2>&1; then :
18517 ac_cv_cpp_def___aarch64__=yes
18518 else
18519 ac_cv_cpp_def___aarch64__=no
18521 rm -f conftest*
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18525 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18526 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18527 CFLAGS="$CFLAGS -D__aarch64__"
18528 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18529 fi ;;
18530 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18531 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18532 if ${ac_cv_cpp_def___arm__+:} false; then :
18533 $as_echo_n "(cached) " >&6
18534 else
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 #ifndef __arm__
18539 #endif
18540 _ACEOF
18541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18542 $EGREP "yes" >/dev/null 2>&1; then :
18543 ac_cv_cpp_def___arm__=yes
18544 else
18545 ac_cv_cpp_def___arm__=no
18547 rm -f conftest*
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18551 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18552 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18553 CFLAGS="$CFLAGS -D__arm__"
18554 LINTFLAGS="$LINTFLAGS -D__arm__"
18555 fi ;;
18556 esac
18558 case $host_vendor in
18559 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18560 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18561 if ${ac_cv_cpp_def___sun__+:} false; then :
18562 $as_echo_n "(cached) " >&6
18563 else
18564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18565 /* end confdefs.h. */
18566 #ifndef __sun__
18568 #endif
18569 _ACEOF
18570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18571 $EGREP "yes" >/dev/null 2>&1; then :
18572 ac_cv_cpp_def___sun__=yes
18573 else
18574 ac_cv_cpp_def___sun__=no
18576 rm -f conftest*
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18580 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18581 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18582 CFLAGS="$CFLAGS -D__sun__"
18583 LINTFLAGS="$LINTFLAGS -D__sun__"
18584 fi ;;
18585 esac
18591 ac_config_commands="$ac_config_commands include/stamp-h"
18593 $as_echo_n "creating Makefile rules..." >&6
18595 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
18596 OPENGL_LIBS = $OPENGL_LIBS
18597 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18598 IOKIT_LIBS = $IOKIT_LIBS
18599 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18600 CORESERVICES_LIBS = $CORESERVICES_LIBS
18601 APPKIT_LIBS = $APPKIT_LIBS
18602 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
18603 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18604 SECURITY_LIBS = $SECURITY_LIBS
18605 COREAUDIO_LIBS = $COREAUDIO_LIBS
18606 OPENAL_LIBS = $OPENAL_LIBS
18607 OPENCL_LIBS = $OPENCL_LIBS
18608 QUICKTIME_LIBS = $QUICKTIME_LIBS
18609 CARBON_LIBS = $CARBON_LIBS
18610 METAL_LIBS = $METAL_LIBS
18611 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18612 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
18613 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
18614 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
18615 GSM_PE_LIBS = $GSM_PE_LIBS
18616 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
18617 JPEG_PE_LIBS = $JPEG_PE_LIBS
18618 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
18619 JXR_PE_LIBS = $JXR_PE_LIBS
18620 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
18621 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
18622 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
18623 MPG123_PE_LIBS = $MPG123_PE_LIBS
18624 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
18625 PNG_PE_LIBS = $PNG_PE_LIBS
18626 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
18627 TIFF_PE_LIBS = $TIFF_PE_LIBS
18628 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
18629 XML2_PE_LIBS = $XML2_PE_LIBS
18630 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
18631 XSLT_PE_LIBS = $XSLT_PE_LIBS
18632 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
18633 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
18634 PTHREAD_LIBS = $PTHREAD_LIBS
18635 X_CFLAGS = $X_CFLAGS
18636 X_PRE_LIBS = $X_PRE_LIBS
18637 X_LIBS = $X_LIBS
18638 X_EXTRA_LIBS = $X_EXTRA_LIBS
18639 PCAP_LIBS = $PCAP_LIBS
18640 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
18641 INOTIFY_LIBS = $INOTIFY_LIBS
18642 DBUS_CFLAGS = $DBUS_CFLAGS
18643 DBUS_LIBS = $DBUS_LIBS
18644 HAL_CFLAGS = $HAL_CFLAGS
18645 HAL_LIBS = $HAL_LIBS
18646 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18647 GNUTLS_LIBS = $GNUTLS_LIBS
18648 SANE_CFLAGS = $SANE_CFLAGS
18649 SANE_LIBS = $SANE_LIBS
18650 USB_CFLAGS = $USB_CFLAGS
18651 USB_LIBS = $USB_LIBS
18652 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18653 GPHOTO2_LIBS = $GPHOTO2_LIBS
18654 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18655 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18656 RESOLV_LIBS = $RESOLV_LIBS
18657 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18658 FREETYPE_LIBS = $FREETYPE_LIBS
18659 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18660 PULSE_CFLAGS = $PULSE_CFLAGS
18661 PULSE_LIBS = $PULSE_LIBS
18662 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18663 GSTREAMER_LIBS = $GSTREAMER_LIBS
18664 ALSA_LIBS = $ALSA_LIBS
18665 OSS4_CFLAGS = $OSS4_CFLAGS
18666 OSS4_LIBS = $OSS4_LIBS
18667 UDEV_CFLAGS = $UDEV_CFLAGS
18668 UDEV_LIBS = $UDEV_LIBS
18669 UNWIND_CFLAGS = $UNWIND_CFLAGS
18670 UNWIND_LIBS = $UNWIND_LIBS
18671 SDL2_CFLAGS = $SDL2_CFLAGS
18672 SDL2_LIBS = $SDL2_LIBS
18673 CAPI20_CFLAGS = $CAPI20_CFLAGS
18674 CAPI20_LIBS = $CAPI20_LIBS
18675 CUPS_CFLAGS = $CUPS_CFLAGS
18676 CUPS_LIBS = $CUPS_LIBS
18677 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18678 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18679 KRB5_CFLAGS = $KRB5_CFLAGS
18680 KRB5_LIBS = $KRB5_LIBS
18681 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18682 GSSAPI_LIBS = $GSSAPI_LIBS
18683 JPEG_CFLAGS = $JPEG_CFLAGS
18684 JPEG_LIBS = $JPEG_LIBS
18685 PROCSTAT_LIBS = $PROCSTAT_LIBS
18686 NETAPI_CFLAGS = $NETAPI_CFLAGS
18687 NETAPI_LIBS = $NETAPI_LIBS
18688 VKD3D_CFLAGS = $VKD3D_CFLAGS
18689 VKD3D_LIBS = $VKD3D_LIBS
18690 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
18691 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
18692 RT_LIBS = $RT_LIBS
18693 LDAP_CFLAGS = $LDAP_CFLAGS
18694 LDAP_LIBS = $LDAP_LIBS
18698 makedep_flags=""
18699 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
18702 wine_fn_append_rule "
18703 # Rules automatically generated by configure
18705 .INIT: Makefile
18706 .MAKEFILEDEPS:
18707 all: Makefile
18708 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18709 @./config.status Make.tmp Makefile
18710 depend: \$(MAKEDEP)
18711 \$(MAKEDEP)$makedep_flags
18712 dummy:
18713 .PHONY: depend dummy"
18715 ac_config_links="$ac_config_links wine:tools/winewrapper"
18716 wine_fn_config_symlink wine
18717 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
18718 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18719 wine_fn_config_symlink wine64
18722 wine_fn_config_makefile dlls/acledit enable_acledit
18723 wine_fn_config_makefile dlls/aclui enable_aclui
18724 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
18725 wine_fn_config_makefile dlls/activeds enable_activeds
18726 wine_fn_config_makefile dlls/activeds/tests enable_tests
18727 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18728 wine_fn_config_makefile dlls/adsldp enable_adsldp
18729 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18730 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18731 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18732 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18733 wine_fn_config_makefile dlls/advpack enable_advpack
18734 wine_fn_config_makefile dlls/advpack/tests enable_tests
18735 wine_fn_config_makefile dlls/amsi enable_amsi
18736 wine_fn_config_makefile dlls/amstream enable_amstream
18737 wine_fn_config_makefile dlls/amstream/tests enable_tests
18738 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18739 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18740 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18741 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18742 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18743 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18744 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18745 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18746 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18747 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18748 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18749 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
18750 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18751 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
18752 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18753 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
18754 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18755 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18756 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18757 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18758 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18759 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18760 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18761 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18762 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18763 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18764 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18765 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18766 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
18767 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18768 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18769 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
18770 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
18771 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18772 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18773 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18774 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18775 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18776 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18777 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18778 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18779 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18780 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18781 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18782 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18783 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18784 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18785 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18786 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18787 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18788 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18789 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18790 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18791 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
18792 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
18793 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18794 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18795 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18796 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18797 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18798 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18799 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18800 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
18801 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18802 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18803 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18804 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
18805 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18806 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18807 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18808 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18809 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18810 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18811 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18812 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18813 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18814 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
18815 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
18816 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18817 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
18818 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18819 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18820 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18821 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18822 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18823 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18824 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18825 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18826 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18827 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18828 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18829 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
18830 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
18831 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18832 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18833 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18834 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18835 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18836 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
18837 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18838 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18839 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
18840 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18841 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18842 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
18843 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18844 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18845 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18846 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18847 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18848 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18849 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18850 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18851 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18852 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18853 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18854 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18855 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
18856 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18857 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18858 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18859 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18860 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18861 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18862 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18863 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
18864 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18865 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18866 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18867 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18868 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18869 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18870 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18871 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18872 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18873 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18874 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18875 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18876 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18877 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18878 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18879 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18880 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18881 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18882 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18883 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18884 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
18885 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18886 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18887 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18888 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18889 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18890 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18891 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18892 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18893 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18894 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18895 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18896 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18897 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18898 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18899 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18900 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18901 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18902 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18903 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18904 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
18905 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18906 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18907 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18908 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18909 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
18910 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18911 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18912 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18913 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18914 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18915 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18916 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18917 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18918 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18919 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18920 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18921 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18922 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18923 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18924 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
18925 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18926 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18927 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18928 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18929 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18930 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18931 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18932 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
18933 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18934 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18935 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18936 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18937 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18938 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18939 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18940 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18941 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18942 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18943 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18944 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18945 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18946 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18947 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18948 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18949 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
18950 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18951 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18952 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18953 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18954 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18955 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18956 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18957 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18958 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18959 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18960 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18961 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18962 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18963 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18964 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18965 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18966 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18967 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
18968 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18969 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18970 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
18971 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18972 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18973 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18974 wine_fn_config_makefile dlls/apphelp enable_apphelp
18975 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18976 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18977 wine_fn_config_makefile dlls/atl enable_atl
18978 wine_fn_config_makefile dlls/atl/tests enable_tests
18979 wine_fn_config_makefile dlls/atl100 enable_atl100
18980 wine_fn_config_makefile dlls/atl100/tests enable_tests
18981 wine_fn_config_makefile dlls/atl110 enable_atl110
18982 wine_fn_config_makefile dlls/atl80 enable_atl80
18983 wine_fn_config_makefile dlls/atl80/tests enable_tests
18984 wine_fn_config_makefile dlls/atl90 enable_atl90
18985 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
18986 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
18987 wine_fn_config_makefile dlls/atmlib enable_atmlib
18988 wine_fn_config_makefile dlls/authz enable_authz
18989 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18990 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18991 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18992 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18993 wine_fn_config_makefile dlls/avrt enable_avrt
18994 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18995 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18996 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18997 wine_fn_config_makefile dlls/browseui enable_browseui
18998 wine_fn_config_makefile dlls/browseui/tests enable_tests
18999 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19000 wine_fn_config_makefile dlls/cabinet enable_cabinet
19001 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19002 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19003 wine_fn_config_makefile dlls/cards enable_cards
19004 wine_fn_config_makefile dlls/cdosys enable_cdosys
19005 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19006 wine_fn_config_makefile dlls/clusapi enable_clusapi
19007 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
19008 wine_fn_config_makefile dlls/combase enable_combase
19009 wine_fn_config_makefile dlls/combase/tests enable_tests
19010 wine_fn_config_makefile dlls/comcat enable_comcat
19011 wine_fn_config_makefile dlls/comcat/tests enable_tests
19012 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19013 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19014 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19015 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19016 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19017 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19018 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19019 wine_fn_config_makefile dlls/compstui enable_compstui
19020 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19021 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19022 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19023 wine_fn_config_makefile dlls/concrt140/tests enable_tests
19024 wine_fn_config_makefile dlls/connect enable_connect
19025 wine_fn_config_makefile dlls/credui enable_credui
19026 wine_fn_config_makefile dlls/credui/tests enable_tests
19027 wine_fn_config_makefile dlls/crtdll enable_crtdll
19028 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19029 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19030 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19031 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19032 wine_fn_config_makefile dlls/cryptext enable_cryptext
19033 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19034 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19035 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
19036 wine_fn_config_makefile dlls/cryptui enable_cryptui
19037 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19038 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19039 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19040 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19041 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19042 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19043 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19044 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19045 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19046 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19047 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19048 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19049 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19050 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19051 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19052 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19053 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19054 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19055 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19056 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
19057 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19058 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19059 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19060 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19061 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19062 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19063 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19064 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19065 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19066 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19067 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19068 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19069 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19070 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19071 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19072 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
19073 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19074 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
19075 wine_fn_config_makefile dlls/d3dim enable_d3dim
19076 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
19077 wine_fn_config_makefile dlls/d3drm enable_d3drm
19078 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19079 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19080 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19081 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
19082 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19083 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
19084 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19085 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
19086 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19087 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
19088 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19089 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
19090 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19091 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
19092 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19093 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
19094 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19095 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
19096 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19097 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
19098 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19099 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19100 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19101 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
19102 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19103 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19104 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19105 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19106 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19107 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19108 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19109 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19110 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19111 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19112 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19113 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19114 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19115 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19116 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19117 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19118 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19119 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19120 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19121 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19122 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19123 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19124 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19125 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19126 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19127 wine_fn_config_makefile dlls/davclnt enable_davclnt
19128 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19129 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
19130 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19131 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19132 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19133 wine_fn_config_makefile dlls/dcomp enable_dcomp
19134 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19135 wine_fn_config_makefile dlls/ddraw enable_ddraw
19136 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19137 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19138 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19139 wine_fn_config_makefile dlls/devenum enable_devenum
19140 wine_fn_config_makefile dlls/devenum/tests enable_tests
19141 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19142 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
19143 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
19144 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19145 wine_fn_config_makefile dlls/difxapi enable_difxapi
19146 wine_fn_config_makefile dlls/dinput enable_dinput
19147 wine_fn_config_makefile dlls/dinput/tests enable_tests
19148 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19149 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19150 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
19151 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
19152 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19153 wine_fn_config_makefile dlls/dispex enable_dispex
19154 wine_fn_config_makefile dlls/dispex/tests enable_tests
19155 wine_fn_config_makefile dlls/display.drv16 enable_win16
19156 wine_fn_config_makefile dlls/dmband enable_dmband
19157 wine_fn_config_makefile dlls/dmband/tests enable_tests
19158 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19159 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19160 wine_fn_config_makefile dlls/dmime enable_dmime
19161 wine_fn_config_makefile dlls/dmime/tests enable_tests
19162 wine_fn_config_makefile dlls/dmloader enable_dmloader
19163 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19164 wine_fn_config_makefile dlls/dmscript enable_dmscript
19165 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19166 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19167 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19168 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19169 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19170 wine_fn_config_makefile dlls/dmusic enable_dmusic
19171 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19172 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19173 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19174 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19175 wine_fn_config_makefile dlls/dplay enable_dplay
19176 wine_fn_config_makefile dlls/dplayx enable_dplayx
19177 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19178 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19179 wine_fn_config_makefile dlls/dpnet enable_dpnet
19180 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19181 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19182 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
19183 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19184 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19185 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19186 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19187 wine_fn_config_makefile dlls/drmclien enable_drmclien
19188 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
19189 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
19190 wine_fn_config_makefile dlls/dsound enable_dsound
19191 wine_fn_config_makefile dlls/dsound/tests enable_tests
19192 wine_fn_config_makefile dlls/dsquery enable_dsquery
19193 wine_fn_config_makefile dlls/dssenh enable_dssenh
19194 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19195 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
19196 wine_fn_config_makefile dlls/dswave enable_dswave
19197 wine_fn_config_makefile dlls/dswave/tests enable_tests
19198 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19199 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
19200 wine_fn_config_makefile dlls/dwrite enable_dwrite
19201 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19202 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19203 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19204 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19205 wine_fn_config_makefile dlls/dxgi enable_dxgi
19206 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19207 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
19208 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19209 wine_fn_config_makefile dlls/dxva2/tests enable_tests
19210 wine_fn_config_makefile dlls/esent enable_esent
19211 wine_fn_config_makefile dlls/evr enable_evr
19212 wine_fn_config_makefile dlls/evr/tests enable_tests
19213 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19214 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19215 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19216 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19217 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19218 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
19219 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19220 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19221 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19222 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
19223 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19224 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
19225 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
19226 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19227 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19228 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19229 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
19230 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19231 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
19232 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19233 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19234 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
19235 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19236 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
19237 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19238 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19239 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19240 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19241 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19242 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19243 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19244 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
19245 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19246 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19247 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
19248 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19249 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19250 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19251 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19252 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19253 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19254 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19255 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
19256 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19257 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19258 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19259 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19260 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19261 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19262 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19263 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
19264 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
19265 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
19266 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19267 wine_fn_config_makefile dlls/faultrep enable_faultrep
19268 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19269 wine_fn_config_makefile dlls/feclient enable_feclient
19270 wine_fn_config_makefile dlls/fltlib enable_fltlib
19271 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19272 wine_fn_config_makefile dlls/fntcache enable_fntcache
19273 wine_fn_config_makefile dlls/fontsub enable_fontsub
19274 wine_fn_config_makefile dlls/fusion enable_fusion
19275 wine_fn_config_makefile dlls/fusion/tests enable_tests
19276 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19277 wine_fn_config_makefile dlls/gameux enable_gameux
19278 wine_fn_config_makefile dlls/gameux/tests enable_tests
19279 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
19280 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19281 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19282 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19283 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19284 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19285 wine_fn_config_makefile dlls/glu32 enable_glu32
19286 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19287 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19288 wine_fn_config_makefile dlls/hal enable_hal
19289 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19290 wine_fn_config_makefile dlls/hid enable_hid
19291 wine_fn_config_makefile dlls/hid/tests enable_tests
19292 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19293 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
19294 wine_fn_config_makefile dlls/hlink enable_hlink
19295 wine_fn_config_makefile dlls/hlink/tests enable_tests
19296 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19297 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19298 wine_fn_config_makefile dlls/http.sys enable_http_sys
19299 wine_fn_config_makefile dlls/httpapi enable_httpapi
19300 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19301 wine_fn_config_makefile dlls/iccvid enable_iccvid
19302 wine_fn_config_makefile dlls/icmp enable_icmp
19303 wine_fn_config_makefile dlls/ieframe enable_ieframe
19304 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19305 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19306 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19307 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19308 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19309 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19310 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19311 wine_fn_config_makefile dlls/imm32 enable_imm32
19312 wine_fn_config_makefile dlls/imm32/tests enable_tests
19313 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19314 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19315 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19316 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19317 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19318 wine_fn_config_makefile dlls/infosoft enable_infosoft
19319 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19320 wine_fn_config_makefile dlls/initpki enable_initpki
19321 wine_fn_config_makefile dlls/inkobj enable_inkobj
19322 wine_fn_config_makefile dlls/inseng enable_inseng
19323 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19324 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19325 wine_fn_config_makefile dlls/iprop enable_iprop
19326 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19327 wine_fn_config_makefile dlls/itircl enable_itircl
19328 wine_fn_config_makefile dlls/itss enable_itss
19329 wine_fn_config_makefile dlls/itss/tests enable_tests
19330 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19331 wine_fn_config_makefile dlls/jscript enable_jscript
19332 wine_fn_config_makefile dlls/jscript/tests enable_tests
19333 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19334 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19335 wine_fn_config_makefile dlls/kerberos enable_kerberos
19336 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19337 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19338 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19339 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19340 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19341 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19342 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
19343 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
19344 wine_fn_config_makefile dlls/ksuser enable_ksuser
19345 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19346 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19347 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
19348 wine_fn_config_makefile dlls/loadperf enable_loadperf
19349 wine_fn_config_makefile dlls/localspl enable_localspl
19350 wine_fn_config_makefile dlls/localspl/tests enable_tests
19351 wine_fn_config_makefile dlls/localui enable_localui
19352 wine_fn_config_makefile dlls/localui/tests enable_tests
19353 wine_fn_config_makefile dlls/lz32 enable_lz32
19354 wine_fn_config_makefile dlls/lz32/tests enable_tests
19355 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19356 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19357 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19358 wine_fn_config_makefile dlls/mapistub enable_mapistub
19359 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19360 wine_fn_config_makefile dlls/mcicda enable_mcicda
19361 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19362 wine_fn_config_makefile dlls/mciseq enable_mciseq
19363 wine_fn_config_makefile dlls/mciwave enable_mciwave
19364 wine_fn_config_makefile dlls/mf enable_mf
19365 wine_fn_config_makefile dlls/mf/tests enable_tests
19366 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19367 wine_fn_config_makefile dlls/mferror enable_mferror
19368 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
19369 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
19370 wine_fn_config_makefile dlls/mfplat enable_mfplat
19371 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19372 wine_fn_config_makefile dlls/mfplay enable_mfplay
19373 wine_fn_config_makefile dlls/mfplay/tests enable_tests
19374 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19375 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19376 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19377 wine_fn_config_makefile dlls/midimap enable_midimap
19378 wine_fn_config_makefile dlls/mlang enable_mlang
19379 wine_fn_config_makefile dlls/mlang/tests enable_tests
19380 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19381 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19382 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19383 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19384 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19385 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19386 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19387 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19388 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19389 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19390 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19391 wine_fn_config_makefile dlls/mpr enable_mpr
19392 wine_fn_config_makefile dlls/mpr/tests enable_tests
19393 wine_fn_config_makefile dlls/mprapi enable_mprapi
19394 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19395 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19396 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19397 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19398 wine_fn_config_makefile dlls/msado15 enable_msado15
19399 wine_fn_config_makefile dlls/msado15/tests enable_tests
19400 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19401 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19402 wine_fn_config_makefile dlls/msasn1/tests enable_tests
19403 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19404 wine_fn_config_makefile dlls/mscms enable_mscms
19405 wine_fn_config_makefile dlls/mscms/tests enable_tests
19406 wine_fn_config_makefile dlls/mscoree enable_mscoree
19407 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19408 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
19409 wine_fn_config_makefile dlls/msctf enable_msctf
19410 wine_fn_config_makefile dlls/msctf/tests enable_tests
19411 wine_fn_config_makefile dlls/msctfp enable_msctfp
19412 wine_fn_config_makefile dlls/msdaps enable_msdaps
19413 wine_fn_config_makefile dlls/msdasql enable_msdasql
19414 wine_fn_config_makefile dlls/msdasql/tests enable_tests
19415 wine_fn_config_makefile dlls/msdelta enable_msdelta
19416 wine_fn_config_makefile dlls/msdmo enable_msdmo
19417 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19418 wine_fn_config_makefile dlls/msdrm enable_msdrm
19419 wine_fn_config_makefile dlls/msftedit enable_msftedit
19420 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19421 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19422 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19423 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19424 wine_fn_config_makefile dlls/mshtml enable_mshtml
19425 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19426 wine_fn_config_makefile dlls/msi enable_msi
19427 wine_fn_config_makefile dlls/msi/tests enable_tests
19428 wine_fn_config_makefile dlls/msident enable_msident
19429 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19430 wine_fn_config_makefile dlls/msimsg enable_msimsg
19431 wine_fn_config_makefile dlls/msimtf enable_msimtf
19432 wine_fn_config_makefile dlls/msisip enable_msisip
19433 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19434 wine_fn_config_makefile dlls/msls31 enable_msls31
19435 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19436 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19437 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
19438 wine_fn_config_makefile dlls/msports enable_msports
19439 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19440 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19441 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19442 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19443 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19444 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19445 wine_fn_config_makefile dlls/mstask enable_mstask
19446 wine_fn_config_makefile dlls/mstask/tests enable_tests
19447 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
19448 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19449 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19450 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19451 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19452 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19453 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19454 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19455 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19456 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19457 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19458 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19459 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19460 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19461 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
19462 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
19463 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19464 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19465 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19466 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19467 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19468 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19469 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19470 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19471 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19472 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19473 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19474 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19475 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19476 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19477 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19478 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19479 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19480 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19481 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19482 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19483 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19484 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19485 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19486 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19487 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19488 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19489 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19490 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19491 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19492 wine_fn_config_makefile dlls/mswsock enable_mswsock
19493 wine_fn_config_makefile dlls/msxml enable_msxml
19494 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19495 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19496 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19497 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19498 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19499 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19500 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19501 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19502 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19503 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
19504 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19505 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19506 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19507 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19508 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
19509 wine_fn_config_makefile dlls/netprofm enable_netprofm
19510 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19511 wine_fn_config_makefile dlls/netutils enable_netutils
19512 wine_fn_config_makefile dlls/newdev enable_newdev
19513 wine_fn_config_makefile dlls/ninput enable_ninput
19514 wine_fn_config_makefile dlls/ninput/tests enable_tests
19515 wine_fn_config_makefile dlls/normaliz enable_normaliz
19516 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19517 wine_fn_config_makefile dlls/npptools enable_npptools
19518 wine_fn_config_makefile dlls/nsi enable_nsi
19519 wine_fn_config_makefile dlls/nsi/tests enable_tests
19520 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
19521 wine_fn_config_makefile dlls/ntdll enable_ntdll
19522 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19523 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19524 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19525 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19526 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19527 wine_fn_config_makefile dlls/ntprint enable_ntprint
19528 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19529 wine_fn_config_makefile dlls/objsel enable_objsel
19530 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19531 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
19532 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19533 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19534 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19535 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19536 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19537 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19538 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19539 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19540 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19541 wine_fn_config_makefile dlls/ole32 enable_ole32
19542 wine_fn_config_makefile dlls/ole32/tests enable_tests
19543 wine_fn_config_makefile dlls/oleacc enable_oleacc
19544 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19545 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19546 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19547 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19548 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19549 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19550 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19551 wine_fn_config_makefile dlls/oledlg enable_oledlg
19552 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19553 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19554 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19555 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19556 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19557 wine_fn_config_makefile dlls/opcservices enable_opcservices
19558 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19559 wine_fn_config_makefile dlls/openal32 enable_openal32
19560 wine_fn_config_makefile dlls/opencl enable_opencl
19561 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19562 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19563 wine_fn_config_makefile dlls/packager enable_packager
19564 wine_fn_config_makefile dlls/packager/tests enable_tests
19565 wine_fn_config_makefile dlls/pdh enable_pdh
19566 wine_fn_config_makefile dlls/pdh/tests enable_tests
19567 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19568 wine_fn_config_makefile dlls/pidgen enable_pidgen
19569 wine_fn_config_makefile dlls/powrprof enable_powrprof
19570 wine_fn_config_makefile dlls/printui enable_printui
19571 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19572 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
19573 wine_fn_config_makefile dlls/propsys enable_propsys
19574 wine_fn_config_makefile dlls/propsys/tests enable_tests
19575 wine_fn_config_makefile dlls/psapi enable_psapi
19576 wine_fn_config_makefile dlls/psapi/tests enable_tests
19577 wine_fn_config_makefile dlls/pstorec enable_pstorec
19578 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19579 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
19580 wine_fn_config_makefile dlls/qasf enable_qasf
19581 wine_fn_config_makefile dlls/qasf/tests enable_tests
19582 wine_fn_config_makefile dlls/qcap enable_qcap
19583 wine_fn_config_makefile dlls/qcap/tests enable_tests
19584 wine_fn_config_makefile dlls/qdvd enable_qdvd
19585 wine_fn_config_makefile dlls/qdvd/tests enable_tests
19586 wine_fn_config_makefile dlls/qedit enable_qedit
19587 wine_fn_config_makefile dlls/qedit/tests enable_tests
19588 wine_fn_config_makefile dlls/qmgr enable_qmgr
19589 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19590 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19591 wine_fn_config_makefile dlls/quartz enable_quartz
19592 wine_fn_config_makefile dlls/quartz/tests enable_tests
19593 wine_fn_config_makefile dlls/query enable_query
19594 wine_fn_config_makefile dlls/qwave enable_qwave
19595 wine_fn_config_makefile dlls/qwave/tests enable_tests
19596 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19597 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19598 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19599 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19600 wine_fn_config_makefile dlls/regapi enable_regapi
19601 wine_fn_config_makefile dlls/resutils enable_resutils
19602 wine_fn_config_makefile dlls/riched20 enable_riched20
19603 wine_fn_config_makefile dlls/riched20/tests enable_tests
19604 wine_fn_config_makefile dlls/riched32 enable_riched32
19605 wine_fn_config_makefile dlls/riched32/tests enable_tests
19606 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19607 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19608 wine_fn_config_makefile dlls/rsabase enable_rsabase
19609 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19610 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19611 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19612 wine_fn_config_makefile dlls/rtutils enable_rtutils
19613 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
19614 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
19615 wine_fn_config_makefile dlls/samlib enable_samlib
19616 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19617 wine_fn_config_makefile dlls/sapi enable_sapi
19618 wine_fn_config_makefile dlls/sapi/tests enable_tests
19619 wine_fn_config_makefile dlls/sas enable_sas
19620 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19621 wine_fn_config_makefile dlls/sccbase enable_sccbase
19622 wine_fn_config_makefile dlls/schannel enable_schannel
19623 wine_fn_config_makefile dlls/schannel/tests enable_tests
19624 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19625 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19626 wine_fn_config_makefile dlls/scrobj enable_scrobj
19627 wine_fn_config_makefile dlls/scrobj/tests enable_tests
19628 wine_fn_config_makefile dlls/scrrun enable_scrrun
19629 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19630 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19631 wine_fn_config_makefile dlls/sechost enable_sechost
19632 wine_fn_config_makefile dlls/secur32 enable_secur32
19633 wine_fn_config_makefile dlls/secur32/tests enable_tests
19634 wine_fn_config_makefile dlls/security enable_security
19635 wine_fn_config_makefile dlls/sensapi enable_sensapi
19636 wine_fn_config_makefile dlls/serialui enable_serialui
19637 wine_fn_config_makefile dlls/serialui/tests enable_tests
19638 wine_fn_config_makefile dlls/setupapi enable_setupapi
19639 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19640 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19641 wine_fn_config_makefile dlls/sfc enable_sfc
19642 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19643 wine_fn_config_makefile dlls/shcore enable_shcore
19644 wine_fn_config_makefile dlls/shcore/tests enable_tests
19645 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19646 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19647 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19648 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19649 wine_fn_config_makefile dlls/shell32 enable_shell32
19650 wine_fn_config_makefile dlls/shell32/tests enable_tests
19651 wine_fn_config_makefile dlls/shfolder enable_shfolder
19652 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19653 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19654 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19655 wine_fn_config_makefile dlls/slc enable_slc
19656 wine_fn_config_makefile dlls/slc/tests enable_tests
19657 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19658 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19659 wine_fn_config_makefile dlls/softpub enable_softpub
19660 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19661 wine_fn_config_makefile dlls/spoolss enable_spoolss
19662 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19663 wine_fn_config_makefile dlls/sppc enable_sppc
19664 wine_fn_config_makefile dlls/srclient enable_srclient
19665 wine_fn_config_makefile dlls/srvcli enable_srvcli
19666 wine_fn_config_makefile dlls/sspicli enable_sspicli
19667 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19668 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19669 wine_fn_config_makefile dlls/sti enable_sti
19670 wine_fn_config_makefile dlls/sti/tests enable_tests
19671 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19672 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19673 wine_fn_config_makefile dlls/strmbase enable_strmbase
19674 wine_fn_config_makefile dlls/strmdll enable_strmdll
19675 wine_fn_config_makefile dlls/svrapi enable_svrapi
19676 wine_fn_config_makefile dlls/sxs enable_sxs
19677 wine_fn_config_makefile dlls/sxs/tests enable_tests
19678 wine_fn_config_makefile dlls/system.drv16 enable_win16
19679 wine_fn_config_makefile dlls/t2embed enable_t2embed
19680 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19681 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19682 wine_fn_config_makefile dlls/tapi32/tests enable_tests
19683 wine_fn_config_makefile dlls/taskschd enable_taskschd
19684 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19685 wine_fn_config_makefile dlls/tbs enable_tbs
19686 wine_fn_config_makefile dlls/tdh enable_tdh
19687 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19688 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19689 wine_fn_config_makefile dlls/traffic enable_traffic
19690 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19691 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19692 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19693 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19694 wine_fn_config_makefile dlls/tzres enable_tzres
19695 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19696 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19697 wine_fn_config_makefile dlls/uianimation enable_uianimation
19698 wine_fn_config_makefile dlls/uianimation/tests enable_tests
19699 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19700 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
19701 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19702 wine_fn_config_makefile dlls/unicows enable_unicows
19703 wine_fn_config_makefile dlls/updspapi enable_updspapi
19704 wine_fn_config_makefile dlls/url enable_url
19705 wine_fn_config_makefile dlls/urlmon enable_urlmon
19706 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19707 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19708 wine_fn_config_makefile dlls/user.exe16 enable_win16
19709 wine_fn_config_makefile dlls/user32 enable_user32
19710 wine_fn_config_makefile dlls/user32/tests enable_tests
19711 wine_fn_config_makefile dlls/userenv enable_userenv
19712 wine_fn_config_makefile dlls/userenv/tests enable_tests
19713 wine_fn_config_makefile dlls/usp10 enable_usp10
19714 wine_fn_config_makefile dlls/usp10/tests enable_tests
19715 wine_fn_config_makefile dlls/utildll enable_utildll
19716 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19717 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19718 wine_fn_config_makefile dlls/vbscript enable_vbscript
19719 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19720 wine_fn_config_makefile dlls/vcomp enable_vcomp
19721 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19722 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19723 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19724 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
19725 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19726 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19727 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19728 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19729 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
19730 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19731 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19732 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19733 wine_fn_config_makefile dlls/version enable_version
19734 wine_fn_config_makefile dlls/version/tests enable_tests
19735 wine_fn_config_makefile dlls/vga enable_vga
19736 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19737 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19738 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19739 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19740 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19741 wine_fn_config_makefile dlls/vssapi enable_vssapi
19742 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19743 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19744 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19745 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19746 wine_fn_config_makefile dlls/w32skrnl enable_win16
19747 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19748 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19749 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19750 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19751 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19752 wine_fn_config_makefile dlls/wdscore enable_wdscore
19753 wine_fn_config_makefile dlls/webservices enable_webservices
19754 wine_fn_config_makefile dlls/webservices/tests enable_tests
19755 wine_fn_config_makefile dlls/websocket enable_websocket
19756 wine_fn_config_makefile dlls/wer enable_wer
19757 wine_fn_config_makefile dlls/wer/tests enable_tests
19758 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19759 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
19760 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
19761 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19762 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19763 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19764 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19765 wine_fn_config_makefile dlls/win32u enable_win32u
19766 wine_fn_config_makefile dlls/win32u/tests enable_tests
19767 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19768 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19769 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19770 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
19771 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
19772 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
19773 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
19774 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
19775 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
19776 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
19777 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
19778 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
19779 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19780 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19781 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19782 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19783 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19784 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19785 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19786 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19787 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19788 wine_fn_config_makefile dlls/wined3d enable_wined3d
19789 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19790 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19791 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19792 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19793 wine_fn_config_makefile dlls/winemapi enable_winemapi
19794 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19795 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19796 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19797 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19798 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19799 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
19800 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19801 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19802 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
19803 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19804 wine_fn_config_makefile dlls/wing32 enable_wing32
19805 wine_fn_config_makefile dlls/winhttp enable_winhttp
19806 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19807 wine_fn_config_makefile dlls/wininet enable_wininet
19808 wine_fn_config_makefile dlls/wininet/tests enable_tests
19809 wine_fn_config_makefile dlls/winmm enable_winmm
19810 wine_fn_config_makefile dlls/winmm/tests enable_tests
19811 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19812 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19813 wine_fn_config_makefile dlls/winscard enable_winscard
19814 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19815 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19816 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19817 wine_fn_config_makefile dlls/winsta enable_winsta
19818 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19819 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19820 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19821 wine_fn_config_makefile dlls/wintrust enable_wintrust
19822 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19823 wine_fn_config_makefile dlls/winusb enable_winusb
19824 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19825 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19826 wine_fn_config_makefile dlls/wlanui enable_wlanui
19827 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19828 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19829 wine_fn_config_makefile dlls/wmasf enable_wmasf
19830 wine_fn_config_makefile dlls/wmi enable_wmi
19831 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19832 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19833 wine_fn_config_makefile dlls/wmp enable_wmp
19834 wine_fn_config_makefile dlls/wmp/tests enable_tests
19835 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19836 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19837 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19838 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19839 wine_fn_config_makefile dlls/wow32 enable_win16
19840 wine_fn_config_makefile dlls/wow64 enable_wow64
19841 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
19842 wine_fn_config_makefile dlls/wow64win enable_wow64win
19843 wine_fn_config_makefile dlls/wpc enable_wpc
19844 wine_fn_config_makefile dlls/wpc/tests enable_tests
19845 wine_fn_config_makefile dlls/wpcap enable_wpcap
19846 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19847 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19848 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19849 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19850 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19851 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19852 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19853 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19854 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19855 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19856 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19857 wine_fn_config_makefile dlls/wuapi enable_wuapi
19858 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19859 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19860 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19861 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19862 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19863 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19864 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19865 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19866 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19867 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
19868 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
19869 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
19870 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
19871 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
19872 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
19873 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
19874 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
19875 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
19876 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
19877 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
19878 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
19879 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
19880 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19881 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19882 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19883 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19884 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19885 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19886 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19887 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19888 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19889 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19890 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19891 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19892 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19893 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19894 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19895 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19896 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19897 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19898 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19899 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19900 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19901 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19902 wine_fn_config_makefile dlls/xmllite enable_xmllite
19903 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19904 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19905 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19906 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19907 wine_fn_config_makefile fonts enable_fonts
19908 wine_fn_config_makefile include enable_include
19909 wine_fn_config_makefile libs/adsiid enable_adsiid
19910 wine_fn_config_makefile libs/dmoguids enable_dmoguids
19911 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
19912 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
19913 wine_fn_config_makefile libs/dxguid enable_dxguid
19914 wine_fn_config_makefile libs/faudio enable_faudio
19915 wine_fn_config_makefile libs/gsm enable_gsm
19916 wine_fn_config_makefile libs/jpeg enable_jpeg
19917 wine_fn_config_makefile libs/jxr enable_jxr
19918 wine_fn_config_makefile libs/lcms2 enable_lcms2
19919 wine_fn_config_makefile libs/mfuuid enable_mfuuid
19920 wine_fn_config_makefile libs/mpg123 enable_mpg123
19921 wine_fn_config_makefile libs/png enable_png
19922 wine_fn_config_makefile libs/strmiids enable_strmiids
19923 wine_fn_config_makefile libs/tiff enable_tiff
19924 wine_fn_config_makefile libs/uuid enable_uuid
19925 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
19926 wine_fn_config_makefile libs/wine enable_wine
19927 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
19928 wine_fn_config_makefile libs/xml2 enable_xml2
19929 wine_fn_config_makefile libs/xslt enable_xslt
19930 wine_fn_config_makefile libs/zlib enable_zlib
19931 wine_fn_config_makefile loader enable_loader
19932 wine_fn_config_makefile nls enable_nls
19933 wine_fn_config_makefile po enable_po
19934 wine_fn_config_makefile programs/arp enable_arp
19935 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19936 wine_fn_config_makefile programs/attrib enable_attrib
19937 wine_fn_config_makefile programs/cabarc enable_cabarc
19938 wine_fn_config_makefile programs/cacls enable_cacls
19939 wine_fn_config_makefile programs/chcp.com enable_chcp_com
19940 wine_fn_config_makefile programs/clock enable_clock
19941 wine_fn_config_makefile programs/cmd enable_cmd
19942 wine_fn_config_makefile programs/cmd/tests enable_tests
19943 wine_fn_config_makefile programs/conhost enable_conhost
19944 wine_fn_config_makefile programs/conhost/tests enable_tests
19945 wine_fn_config_makefile programs/control enable_control
19946 wine_fn_config_makefile programs/cscript enable_cscript
19947 wine_fn_config_makefile programs/dism enable_dism
19948 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
19949 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19950 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
19951 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19952 wine_fn_config_makefile programs/eject enable_eject
19953 wine_fn_config_makefile programs/expand enable_expand
19954 wine_fn_config_makefile programs/explorer enable_explorer
19955 wine_fn_config_makefile programs/extrac32 enable_extrac32
19956 wine_fn_config_makefile programs/fc enable_fc
19957 wine_fn_config_makefile programs/find enable_find
19958 wine_fn_config_makefile programs/find/tests enable_tests
19959 wine_fn_config_makefile programs/findstr enable_findstr
19960 wine_fn_config_makefile programs/fsutil enable_fsutil
19961 wine_fn_config_makefile programs/fsutil/tests enable_tests
19962 wine_fn_config_makefile programs/hh enable_hh
19963 wine_fn_config_makefile programs/hostname enable_hostname
19964 wine_fn_config_makefile programs/icacls enable_icacls
19965 wine_fn_config_makefile programs/icinfo enable_icinfo
19966 wine_fn_config_makefile programs/iexplore enable_iexplore
19967 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19968 wine_fn_config_makefile programs/lodctr enable_lodctr
19969 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19970 wine_fn_config_makefile programs/mshta enable_mshta
19971 wine_fn_config_makefile programs/msidb enable_msidb
19972 wine_fn_config_makefile programs/msiexec enable_msiexec
19973 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19974 wine_fn_config_makefile programs/net enable_net
19975 wine_fn_config_makefile programs/netsh enable_netsh
19976 wine_fn_config_makefile programs/netstat enable_netstat
19977 wine_fn_config_makefile programs/ngen enable_ngen
19978 wine_fn_config_makefile programs/notepad enable_notepad
19979 wine_fn_config_makefile programs/oleview enable_oleview
19980 wine_fn_config_makefile programs/ping enable_ping
19981 wine_fn_config_makefile programs/plugplay enable_plugplay
19982 wine_fn_config_makefile programs/powershell enable_powershell
19983 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19984 wine_fn_config_makefile programs/progman enable_progman
19985 wine_fn_config_makefile programs/reg enable_reg
19986 wine_fn_config_makefile programs/reg/tests enable_tests
19987 wine_fn_config_makefile programs/regasm enable_regasm
19988 wine_fn_config_makefile programs/regedit enable_regedit
19989 wine_fn_config_makefile programs/regedit/tests enable_tests
19990 wine_fn_config_makefile programs/regini enable_regini
19991 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19992 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19993 wine_fn_config_makefile programs/robocopy enable_robocopy
19994 wine_fn_config_makefile programs/rpcss enable_rpcss
19995 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19996 wine_fn_config_makefile programs/rundll32 enable_rundll32
19997 wine_fn_config_makefile programs/sc enable_sc
19998 wine_fn_config_makefile programs/schtasks enable_schtasks
19999 wine_fn_config_makefile programs/schtasks/tests enable_tests
20000 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20001 wine_fn_config_makefile programs/secedit enable_secedit
20002 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20003 wine_fn_config_makefile programs/services enable_services
20004 wine_fn_config_makefile programs/services/tests enable_tests
20005 wine_fn_config_makefile programs/shutdown enable_shutdown
20006 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20007 wine_fn_config_makefile programs/start enable_start
20008 wine_fn_config_makefile programs/subst enable_subst
20009 wine_fn_config_makefile programs/svchost enable_svchost
20010 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20011 wine_fn_config_makefile programs/taskkill enable_taskkill
20012 wine_fn_config_makefile programs/tasklist enable_tasklist
20013 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20014 wine_fn_config_makefile programs/termsv enable_termsv
20015 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20016 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20017 wine_fn_config_makefile programs/view enable_view
20018 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20019 wine_fn_config_makefile programs/where enable_where
20020 wine_fn_config_makefile programs/whoami enable_whoami
20021 wine_fn_config_makefile programs/wineboot enable_wineboot
20022 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20023 wine_fn_config_makefile programs/winecfg enable_winecfg
20024 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20025 wine_fn_config_makefile programs/winedbg enable_winedbg
20026 wine_fn_config_makefile programs/winedevice enable_winedevice
20027 wine_fn_config_makefile programs/winefile enable_winefile
20028 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20029 wine_fn_config_makefile programs/winemine enable_winemine
20030 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20031 wine_fn_config_makefile programs/winepath enable_winepath
20032 wine_fn_config_makefile programs/winetest enable_winetest
20033 wine_fn_config_makefile programs/winevdm enable_win16
20034 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20035 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20036 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20037 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20038 wine_fn_config_makefile programs/winver enable_winver
20039 wine_fn_config_makefile programs/wmic enable_wmic
20040 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20041 wine_fn_config_makefile programs/wordpad enable_wordpad
20042 wine_fn_config_makefile programs/write enable_write
20043 wine_fn_config_makefile programs/wscript enable_wscript
20044 wine_fn_config_makefile programs/wscript/tests enable_tests
20045 wine_fn_config_makefile programs/wuauserv enable_wuauserv
20046 wine_fn_config_makefile programs/wusa enable_wusa
20047 wine_fn_config_makefile programs/xcopy enable_xcopy
20048 wine_fn_config_makefile programs/xcopy/tests enable_tests
20049 wine_fn_config_makefile server enable_server
20050 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20051 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20052 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20053 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20054 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20055 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20056 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20057 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20058 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20061 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20062 wine_fn_append_file CONFIGURE_TARGETS "tags"
20063 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20064 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20065 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20066 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20067 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20068 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20070 if test "x$enable_tools" != xno
20071 then
20072 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20073 ac_config_commands="$ac_config_commands tools/makedep"
20077 ac_config_commands="$ac_config_commands Makefile"
20080 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20084 if test "x$enable_maintainer_mode" = xyes
20085 then
20086 wine_fn_append_rule "configure: configure.ac aclocal.m4
20087 autoconf --warnings=all
20088 include/config.h.in: include/stamp-h.in
20089 include/stamp-h.in: configure.ac aclocal.m4
20090 autoheader --warnings=all
20091 @echo timestamp > \$@"
20094 if test "x$enable_tools" != xno
20095 then
20096 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20097 @./config.status tools/makedep
20098 Makefile: tools/makedep$ac_exeext"
20099 else
20100 wine_fn_append_rule "\$(MAKEDEP):
20101 @echo \"You need to run make in $TOOLSDIR first\" && false"
20104 if test -n "$with_wine64"
20105 then
20106 case "$with_wine64" in
20107 /*) reldir="" ;;
20108 *) reldir="../" ;;
20109 esac
20110 rm -f fonts server 2>/dev/null
20111 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20112 loader/wine64 loader/wine64-preloader:
20113 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20114 $with_wine64/loader/wine:
20115 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20116 $with_wine64/loader/wine-preloader:
20117 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20118 clean::
20119 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20120 else
20121 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20122 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20123 fonts \
20124 loader/wine.inf \
20125 nls \
20126 programs/msidb/msidb \
20127 programs/msiexec/msiexec \
20128 programs/notepad/notepad \
20129 programs/regedit/regedit \
20130 programs/regsvr32/regsvr32 \
20131 programs/wineboot/wineboot \
20132 programs/winecfg/winecfg \
20133 programs/wineconsole/wineconsole \
20134 programs/winedbg/winedbg \
20135 programs/winefile/winefile \
20136 programs/winemine/winemine \
20137 programs/winepath/winepath \
20138 server/wineserver"
20140 case $host_os in
20141 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20142 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20143 esac
20146 $as_echo " done" >&6
20147 cat >confcache <<\_ACEOF
20148 # This file is a shell script that caches the results of configure
20149 # tests run on this system so they can be shared between configure
20150 # scripts and configure runs, see configure's option --config-cache.
20151 # It is not useful on other systems. If it contains results you don't
20152 # want to keep, you may remove or edit it.
20154 # config.status only pays attention to the cache file if you give it
20155 # the --recheck option to rerun configure.
20157 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20158 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20159 # following values.
20161 _ACEOF
20163 # The following way of writing the cache mishandles newlines in values,
20164 # but we know of no workaround that is simple, portable, and efficient.
20165 # So, we kill variables containing newlines.
20166 # Ultrix sh set writes to stderr and can't be redirected directly,
20167 # and sets the high bit in the cache file unless we assign to the vars.
20169 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20170 eval ac_val=\$$ac_var
20171 case $ac_val in #(
20172 *${as_nl}*)
20173 case $ac_var in #(
20174 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20175 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20176 esac
20177 case $ac_var in #(
20178 _ | IFS | as_nl) ;; #(
20179 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20180 *) { eval $ac_var=; unset $ac_var;} ;;
20181 esac ;;
20182 esac
20183 done
20185 (set) 2>&1 |
20186 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20187 *${as_nl}ac_space=\ *)
20188 # `set' does not quote correctly, so add quotes: double-quote
20189 # substitution turns \\\\ into \\, and sed turns \\ into \.
20190 sed -n \
20191 "s/'/'\\\\''/g;
20192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20193 ;; #(
20195 # `set' quotes correctly as required by POSIX, so do not add quotes.
20196 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20198 esac |
20199 sort
20201 sed '
20202 /^ac_cv_env_/b end
20203 t clear
20204 :clear
20205 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20206 t end
20207 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20208 :end' >>confcache
20209 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20210 if test -w "$cache_file"; then
20211 if test "x$cache_file" != "x/dev/null"; then
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20213 $as_echo "$as_me: updating cache $cache_file" >&6;}
20214 if test ! -f "$cache_file" || test -h "$cache_file"; then
20215 cat confcache >"$cache_file"
20216 else
20217 case $cache_file in #(
20218 */* | ?:*)
20219 mv -f confcache "$cache_file"$$ &&
20220 mv -f "$cache_file"$$ "$cache_file" ;; #(
20222 mv -f confcache "$cache_file" ;;
20223 esac
20226 else
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20228 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20231 rm -f confcache
20233 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20234 # Let make expand exec_prefix.
20235 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20237 DEFS=-DHAVE_CONFIG_H
20239 ac_libobjs=
20240 ac_ltlibobjs=
20242 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20243 # 1. Remove the extension, and $U if already installed.
20244 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20245 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20246 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20247 # will be set to the directory where LIBOBJS objects are built.
20248 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20249 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20250 done
20251 LIBOBJS=$ac_libobjs
20253 LTLIBOBJS=$ac_ltlibobjs
20257 : "${CONFIG_STATUS=./config.status}"
20258 ac_write_fail=0
20259 ac_clean_files_save=$ac_clean_files
20260 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20262 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20263 as_write_fail=0
20264 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20265 #! $SHELL
20266 # Generated by $as_me.
20267 # Run this file to recreate the current configuration.
20268 # Compiler output produced by configure, useful for debugging
20269 # configure, is in config.log if it exists.
20271 debug=false
20272 ac_cs_recheck=false
20273 ac_cs_silent=false
20275 SHELL=\${CONFIG_SHELL-$SHELL}
20276 export SHELL
20277 _ASEOF
20278 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20279 ## -------------------- ##
20280 ## M4sh Initialization. ##
20281 ## -------------------- ##
20283 # Be more Bourne compatible
20284 DUALCASE=1; export DUALCASE # for MKS sh
20285 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20286 emulate sh
20287 NULLCMD=:
20288 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20289 # is contrary to our usage. Disable this feature.
20290 alias -g '${1+"$@"}'='"$@"'
20291 setopt NO_GLOB_SUBST
20292 else
20293 case `(set -o) 2>/dev/null` in #(
20294 *posix*) :
20295 set -o posix ;; #(
20296 *) :
20298 esac
20302 as_nl='
20304 export as_nl
20305 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20306 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20307 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20308 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20309 # Prefer a ksh shell builtin over an external printf program on Solaris,
20310 # but without wasting forks for bash or zsh.
20311 if test -z "$BASH_VERSION$ZSH_VERSION" \
20312 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20313 as_echo='print -r --'
20314 as_echo_n='print -rn --'
20315 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20316 as_echo='printf %s\n'
20317 as_echo_n='printf %s'
20318 else
20319 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20320 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20321 as_echo_n='/usr/ucb/echo -n'
20322 else
20323 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20324 as_echo_n_body='eval
20325 arg=$1;
20326 case $arg in #(
20327 *"$as_nl"*)
20328 expr "X$arg" : "X\\(.*\\)$as_nl";
20329 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20330 esac;
20331 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20333 export as_echo_n_body
20334 as_echo_n='sh -c $as_echo_n_body as_echo'
20336 export as_echo_body
20337 as_echo='sh -c $as_echo_body as_echo'
20340 # The user is always right.
20341 if test "${PATH_SEPARATOR+set}" != set; then
20342 PATH_SEPARATOR=:
20343 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20344 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20345 PATH_SEPARATOR=';'
20350 # IFS
20351 # We need space, tab and new line, in precisely that order. Quoting is
20352 # there to prevent editors from complaining about space-tab.
20353 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20354 # splitting by setting IFS to empty value.)
20355 IFS=" "" $as_nl"
20357 # Find who we are. Look in the path if we contain no directory separator.
20358 as_myself=
20359 case $0 in #((
20360 *[\\/]* ) as_myself=$0 ;;
20361 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20362 for as_dir in $PATH
20364 IFS=$as_save_IFS
20365 test -z "$as_dir" && as_dir=.
20366 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20367 done
20368 IFS=$as_save_IFS
20371 esac
20372 # We did not find ourselves, most probably we were run as `sh COMMAND'
20373 # in which case we are not to be found in the path.
20374 if test "x$as_myself" = x; then
20375 as_myself=$0
20377 if test ! -f "$as_myself"; then
20378 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20379 exit 1
20382 # Unset variables that we do not need and which cause bugs (e.g. in
20383 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20384 # suppresses any "Segmentation fault" message there. '((' could
20385 # trigger a bug in pdksh 5.2.14.
20386 for as_var in BASH_ENV ENV MAIL MAILPATH
20387 do eval test x\${$as_var+set} = xset \
20388 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20389 done
20390 PS1='$ '
20391 PS2='> '
20392 PS4='+ '
20394 # NLS nuisances.
20395 LC_ALL=C
20396 export LC_ALL
20397 LANGUAGE=C
20398 export LANGUAGE
20400 # CDPATH.
20401 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20404 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20405 # ----------------------------------------
20406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20408 # script with STATUS, using 1 if that was 0.
20409 as_fn_error ()
20411 as_status=$1; test $as_status -eq 0 && as_status=1
20412 if test "$4"; then
20413 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20416 $as_echo "$as_me: error: $2" >&2
20417 as_fn_exit $as_status
20418 } # as_fn_error
20421 # as_fn_set_status STATUS
20422 # -----------------------
20423 # Set $? to STATUS, without forking.
20424 as_fn_set_status ()
20426 return $1
20427 } # as_fn_set_status
20429 # as_fn_exit STATUS
20430 # -----------------
20431 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20432 as_fn_exit ()
20434 set +e
20435 as_fn_set_status $1
20436 exit $1
20437 } # as_fn_exit
20439 # as_fn_unset VAR
20440 # ---------------
20441 # Portably unset VAR.
20442 as_fn_unset ()
20444 { eval $1=; unset $1;}
20446 as_unset=as_fn_unset
20447 # as_fn_append VAR VALUE
20448 # ----------------------
20449 # Append the text in VALUE to the end of the definition contained in VAR. Take
20450 # advantage of any shell optimizations that allow amortized linear growth over
20451 # repeated appends, instead of the typical quadratic growth present in naive
20452 # implementations.
20453 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20454 eval 'as_fn_append ()
20456 eval $1+=\$2
20458 else
20459 as_fn_append ()
20461 eval $1=\$$1\$2
20463 fi # as_fn_append
20465 # as_fn_arith ARG...
20466 # ------------------
20467 # Perform arithmetic evaluation on the ARGs, and store the result in the
20468 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20469 # must be portable across $(()) and expr.
20470 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20471 eval 'as_fn_arith ()
20473 as_val=$(( $* ))
20475 else
20476 as_fn_arith ()
20478 as_val=`expr "$@" || test $? -eq 1`
20480 fi # as_fn_arith
20483 if expr a : '\(a\)' >/dev/null 2>&1 &&
20484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20485 as_expr=expr
20486 else
20487 as_expr=false
20490 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20491 as_basename=basename
20492 else
20493 as_basename=false
20496 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20497 as_dirname=dirname
20498 else
20499 as_dirname=false
20502 as_me=`$as_basename -- "$0" ||
20503 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20504 X"$0" : 'X\(//\)$' \| \
20505 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20506 $as_echo X/"$0" |
20507 sed '/^.*\/\([^/][^/]*\)\/*$/{
20508 s//\1/
20511 /^X\/\(\/\/\)$/{
20512 s//\1/
20515 /^X\/\(\/\).*/{
20516 s//\1/
20519 s/.*/./; q'`
20521 # Avoid depending upon Character Ranges.
20522 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20523 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20524 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20525 as_cr_digits='0123456789'
20526 as_cr_alnum=$as_cr_Letters$as_cr_digits
20528 ECHO_C= ECHO_N= ECHO_T=
20529 case `echo -n x` in #(((((
20530 -n*)
20531 case `echo 'xy\c'` in
20532 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20533 xy) ECHO_C='\c';;
20534 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20535 ECHO_T=' ';;
20536 esac;;
20538 ECHO_N='-n';;
20539 esac
20541 rm -f conf$$ conf$$.exe conf$$.file
20542 if test -d conf$$.dir; then
20543 rm -f conf$$.dir/conf$$.file
20544 else
20545 rm -f conf$$.dir
20546 mkdir conf$$.dir 2>/dev/null
20548 if (echo >conf$$.file) 2>/dev/null; then
20549 if ln -s conf$$.file conf$$ 2>/dev/null; then
20550 as_ln_s='ln -s'
20551 # ... but there are two gotchas:
20552 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20553 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20554 # In both cases, we have to default to `cp -pR'.
20555 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20556 as_ln_s='cp -pR'
20557 elif ln conf$$.file conf$$ 2>/dev/null; then
20558 as_ln_s=ln
20559 else
20560 as_ln_s='cp -pR'
20562 else
20563 as_ln_s='cp -pR'
20565 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20566 rmdir conf$$.dir 2>/dev/null
20569 # as_fn_mkdir_p
20570 # -------------
20571 # Create "$as_dir" as a directory, including parents if necessary.
20572 as_fn_mkdir_p ()
20575 case $as_dir in #(
20576 -*) as_dir=./$as_dir;;
20577 esac
20578 test -d "$as_dir" || eval $as_mkdir_p || {
20579 as_dirs=
20580 while :; do
20581 case $as_dir in #(
20582 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20583 *) as_qdir=$as_dir;;
20584 esac
20585 as_dirs="'$as_qdir' $as_dirs"
20586 as_dir=`$as_dirname -- "$as_dir" ||
20587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20588 X"$as_dir" : 'X\(//\)[^/]' \| \
20589 X"$as_dir" : 'X\(//\)$' \| \
20590 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20591 $as_echo X"$as_dir" |
20592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20593 s//\1/
20596 /^X\(\/\/\)[^/].*/{
20597 s//\1/
20600 /^X\(\/\/\)$/{
20601 s//\1/
20604 /^X\(\/\).*/{
20605 s//\1/
20608 s/.*/./; q'`
20609 test -d "$as_dir" && break
20610 done
20611 test -z "$as_dirs" || eval "mkdir $as_dirs"
20612 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20615 } # as_fn_mkdir_p
20616 if mkdir -p . 2>/dev/null; then
20617 as_mkdir_p='mkdir -p "$as_dir"'
20618 else
20619 test -d ./-p && rmdir ./-p
20620 as_mkdir_p=false
20624 # as_fn_executable_p FILE
20625 # -----------------------
20626 # Test if FILE is an executable regular file.
20627 as_fn_executable_p ()
20629 test -f "$1" && test -x "$1"
20630 } # as_fn_executable_p
20631 as_test_x='test -x'
20632 as_executable_p=as_fn_executable_p
20634 # Sed expression to map a string onto a valid CPP name.
20635 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20637 # Sed expression to map a string onto a valid variable name.
20638 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20641 exec 6>&1
20642 ## ----------------------------------- ##
20643 ## Main body of $CONFIG_STATUS script. ##
20644 ## ----------------------------------- ##
20645 _ASEOF
20646 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20649 # Save the log message, to keep $0 and so on meaningful, and to
20650 # report actual input values of CONFIG_FILES etc. instead of their
20651 # values after options handling.
20652 ac_log="
20653 This file was extended by Wine $as_me 6.20, which was
20654 generated by GNU Autoconf 2.69. Invocation command line was
20656 CONFIG_FILES = $CONFIG_FILES
20657 CONFIG_HEADERS = $CONFIG_HEADERS
20658 CONFIG_LINKS = $CONFIG_LINKS
20659 CONFIG_COMMANDS = $CONFIG_COMMANDS
20660 $ $0 $@
20662 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20665 _ACEOF
20667 case $ac_config_files in *"
20668 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20669 esac
20671 case $ac_config_headers in *"
20672 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20673 esac
20676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20677 # Files that config.status was made for.
20678 config_files="$ac_config_files"
20679 config_headers="$ac_config_headers"
20680 config_links="$ac_config_links"
20681 config_commands="$ac_config_commands"
20683 _ACEOF
20685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20686 ac_cs_usage="\
20687 \`$as_me' instantiates files and other configuration actions
20688 from templates according to the current configuration. Unless the files
20689 and actions are specified as TAGs, all are instantiated by default.
20691 Usage: $0 [OPTION]... [TAG]...
20693 -h, --help print this help, then exit
20694 -V, --version print version number and configuration settings, then exit
20695 --config print configuration, then exit
20696 -q, --quiet, --silent
20697 do not print progress messages
20698 -d, --debug don't remove temporary files
20699 --recheck update $as_me by reconfiguring in the same conditions
20700 --file=FILE[:TEMPLATE]
20701 instantiate the configuration file FILE
20702 --header=FILE[:TEMPLATE]
20703 instantiate the configuration header FILE
20705 Configuration files:
20706 $config_files
20708 Configuration headers:
20709 $config_headers
20711 Configuration links:
20712 $config_links
20714 Configuration commands:
20715 $config_commands
20717 Report bugs to <wine-devel@winehq.org>.
20718 Wine home page: <https://www.winehq.org>."
20720 _ACEOF
20721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20722 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20723 ac_cs_version="\\
20724 Wine config.status 6.20
20725 configured by $0, generated by GNU Autoconf 2.69,
20726 with options \\"\$ac_cs_config\\"
20728 Copyright (C) 2012 Free Software Foundation, Inc.
20729 This config.status script is free software; the Free Software Foundation
20730 gives unlimited permission to copy, distribute and modify it."
20732 ac_pwd='$ac_pwd'
20733 srcdir='$srcdir'
20734 test -n "\$AWK" || AWK=awk
20735 _ACEOF
20737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20738 # The default lists apply if the user does not specify any file.
20739 ac_need_defaults=:
20740 while test $# != 0
20742 case $1 in
20743 --*=?*)
20744 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20745 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20746 ac_shift=:
20748 --*=)
20749 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20750 ac_optarg=
20751 ac_shift=:
20754 ac_option=$1
20755 ac_optarg=$2
20756 ac_shift=shift
20758 esac
20760 case $ac_option in
20761 # Handling of the options.
20762 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20763 ac_cs_recheck=: ;;
20764 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20765 $as_echo "$ac_cs_version"; exit ;;
20766 --config | --confi | --conf | --con | --co | --c )
20767 $as_echo "$ac_cs_config"; exit ;;
20768 --debug | --debu | --deb | --de | --d | -d )
20769 debug=: ;;
20770 --file | --fil | --fi | --f )
20771 $ac_shift
20772 case $ac_optarg in
20773 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20774 '') as_fn_error $? "missing file argument" ;;
20775 esac
20776 as_fn_append CONFIG_FILES " '$ac_optarg'"
20777 ac_need_defaults=false;;
20778 --header | --heade | --head | --hea )
20779 $ac_shift
20780 case $ac_optarg in
20781 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20782 esac
20783 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20784 ac_need_defaults=false;;
20785 --he | --h)
20786 # Conflict between --help and --header
20787 as_fn_error $? "ambiguous option: \`$1'
20788 Try \`$0 --help' for more information.";;
20789 --help | --hel | -h )
20790 $as_echo "$ac_cs_usage"; exit ;;
20791 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20792 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20793 ac_cs_silent=: ;;
20795 # This is an error.
20796 -*) as_fn_error $? "unrecognized option: \`$1'
20797 Try \`$0 --help' for more information." ;;
20799 *) as_fn_append ac_config_targets " $1"
20800 ac_need_defaults=false ;;
20802 esac
20803 shift
20804 done
20806 ac_configure_extra_args=
20808 if $ac_cs_silent; then
20809 exec 6>/dev/null
20810 ac_configure_extra_args="$ac_configure_extra_args --silent"
20813 _ACEOF
20814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20815 if \$ac_cs_recheck; then
20816 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20817 shift
20818 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20819 CONFIG_SHELL='$SHELL'
20820 export CONFIG_SHELL
20821 exec "\$@"
20824 _ACEOF
20825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20826 exec 5>>config.log
20828 echo
20829 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20830 ## Running $as_me. ##
20831 _ASBOX
20832 $as_echo "$ac_log"
20833 } >&5
20835 _ACEOF
20836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20838 # INIT-COMMANDS
20840 wine_fn_output_makedep ()
20842 as_dir=tools; as_fn_mkdir_p
20843 $CC -I$srcdir/tools -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20845 wine_fn_output_makefile ()
20847 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
20848 `cat $wine_rules_file`
20849 _WINE_EOF
20850 as_fn_error $? "could not create Makefile" "$LINENO" 5
20853 _ACEOF
20855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20857 # Handling of arguments.
20858 for ac_config_target in $ac_config_targets
20860 case $ac_config_target in
20861 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20862 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20863 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20864 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20865 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20866 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20867 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20869 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20870 esac
20871 done
20874 # If the user did not use the arguments to specify the items to instantiate,
20875 # then the envvar interface is used. Set only those that are not.
20876 # We use the long form for the default assignment because of an extremely
20877 # bizarre bug on SunOS 4.1.3.
20878 if $ac_need_defaults; then
20879 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20880 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20881 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20882 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20885 # Have a temporary directory for convenience. Make it in the build tree
20886 # simply because there is no reason against having it here, and in addition,
20887 # creating and moving files from /tmp can sometimes cause problems.
20888 # Hook for its removal unless debugging.
20889 # Note that there is a small window in which the directory will not be cleaned:
20890 # after its creation but before its name has been assigned to `$tmp'.
20891 $debug ||
20893 tmp= ac_tmp=
20894 trap 'exit_status=$?
20895 : "${ac_tmp:=$tmp}"
20896 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20898 trap 'as_fn_exit 1' 1 2 13 15
20900 # Create a (secure) tmp directory for tmp files.
20903 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20904 test -d "$tmp"
20905 } ||
20907 tmp=./conf$$-$RANDOM
20908 (umask 077 && mkdir "$tmp")
20909 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20910 ac_tmp=$tmp
20912 # Set up the scripts for CONFIG_FILES section.
20913 # No need to generate them if there are no CONFIG_FILES.
20914 # This happens for instance with `./config.status config.h'.
20915 if test -n "$CONFIG_FILES"; then
20918 ac_cr=`echo X | tr X '\015'`
20919 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20920 # But we know of no other shell where ac_cr would be empty at this
20921 # point, so we can use a bashism as a fallback.
20922 if test "x$ac_cr" = x; then
20923 eval ac_cr=\$\'\\r\'
20925 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20926 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20927 ac_cs_awk_cr='\\r'
20928 else
20929 ac_cs_awk_cr=$ac_cr
20932 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20933 _ACEOF
20937 echo "cat >conf$$subs.awk <<_ACEOF" &&
20938 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20939 echo "_ACEOF"
20940 } >conf$$subs.sh ||
20941 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20942 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20943 ac_delim='%!_!# '
20944 for ac_last_try in false false false false false :; do
20945 . ./conf$$subs.sh ||
20946 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20948 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20949 if test $ac_delim_n = $ac_delim_num; then
20950 break
20951 elif $ac_last_try; then
20952 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20953 else
20954 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20956 done
20957 rm -f conf$$subs.sh
20959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20960 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20961 _ACEOF
20962 sed -n '
20964 s/^/S["/; s/!.*/"]=/
20967 s/^[^!]*!//
20968 :repl
20969 t repl
20970 s/'"$ac_delim"'$//
20971 t delim
20974 s/\(.\{148\}\)..*/\1/
20975 t more1
20976 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20979 b repl
20980 :more1
20981 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20984 s/.\{148\}//
20985 t nl
20986 :delim
20988 s/\(.\{148\}\)..*/\1/
20989 t more2
20990 s/["\\]/\\&/g; s/^/"/; s/$/"/
20993 :more2
20994 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20997 s/.\{148\}//
20998 t delim
20999 ' <conf$$subs.awk | sed '
21000 /^[^""]/{
21002 s/\n//
21004 ' >>$CONFIG_STATUS || ac_write_fail=1
21005 rm -f conf$$subs.awk
21006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21007 _ACAWK
21008 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21009 for (key in S) S_is_set[key] = 1
21010 FS = "\a"
21014 line = $ 0
21015 nfields = split(line, field, "@")
21016 substed = 0
21017 len = length(field[1])
21018 for (i = 2; i < nfields; i++) {
21019 key = field[i]
21020 keylen = length(key)
21021 if (S_is_set[key]) {
21022 value = S[key]
21023 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21024 len += length(value) + length(field[++i])
21025 substed = 1
21026 } else
21027 len += 1 + keylen
21030 print line
21033 _ACAWK
21034 _ACEOF
21035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21036 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21037 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21038 else
21040 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21041 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21042 _ACEOF
21044 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21045 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21046 # trailing colons and then remove the whole line if VPATH becomes empty
21047 # (actually we leave an empty line to preserve line numbers).
21048 if test "x$srcdir" = x.; then
21049 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21051 s///
21052 s/^/:/
21053 s/[ ]*$/:/
21054 s/:\$(srcdir):/:/g
21055 s/:\${srcdir}:/:/g
21056 s/:@srcdir@:/:/g
21057 s/^:*//
21058 s/:*$//
21060 s/\(=[ ]*\).*/\1/
21062 s/\n//
21063 s/^[^=]*=[ ]*$//
21067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21068 fi # test -n "$CONFIG_FILES"
21070 # Set up the scripts for CONFIG_HEADERS section.
21071 # No need to generate them if there are no CONFIG_HEADERS.
21072 # This happens for instance with `./config.status Makefile'.
21073 if test -n "$CONFIG_HEADERS"; then
21074 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21075 BEGIN {
21076 _ACEOF
21078 # Transform confdefs.h into an awk script `defines.awk', embedded as
21079 # here-document in config.status, that substitutes the proper values into
21080 # config.h.in to produce config.h.
21082 # Create a delimiter string that does not exist in confdefs.h, to ease
21083 # handling of long lines.
21084 ac_delim='%!_!# '
21085 for ac_last_try in false false :; do
21086 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21087 if test -z "$ac_tt"; then
21088 break
21089 elif $ac_last_try; then
21090 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21091 else
21092 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21094 done
21096 # For the awk script, D is an array of macro values keyed by name,
21097 # likewise P contains macro parameters if any. Preserve backslash
21098 # newline sequences.
21100 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21101 sed -n '
21102 s/.\{148\}/&'"$ac_delim"'/g
21103 t rset
21104 :rset
21105 s/^[ ]*#[ ]*define[ ][ ]*/ /
21106 t def
21108 :def
21109 s/\\$//
21110 t bsnl
21111 s/["\\]/\\&/g
21112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21113 D["\1"]=" \3"/p
21114 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21116 :bsnl
21117 s/["\\]/\\&/g
21118 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21119 D["\1"]=" \3\\\\\\n"\\/p
21120 t cont
21121 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21122 t cont
21124 :cont
21126 s/.\{148\}/&'"$ac_delim"'/g
21127 t clear
21128 :clear
21129 s/\\$//
21130 t bsnlc
21131 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21133 :bsnlc
21134 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21135 b cont
21136 ' <confdefs.h | sed '
21137 s/'"$ac_delim"'/"\\\
21138 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21141 for (key in D) D_is_set[key] = 1
21142 FS = "\a"
21144 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21145 line = \$ 0
21146 split(line, arg, " ")
21147 if (arg[1] == "#") {
21148 defundef = arg[2]
21149 mac1 = arg[3]
21150 } else {
21151 defundef = substr(arg[1], 2)
21152 mac1 = arg[2]
21154 split(mac1, mac2, "(") #)
21155 macro = mac2[1]
21156 prefix = substr(line, 1, index(line, defundef) - 1)
21157 if (D_is_set[macro]) {
21158 # Preserve the white space surrounding the "#".
21159 print prefix "define", macro P[macro] D[macro]
21160 next
21161 } else {
21162 # Replace #undef with comments. This is necessary, for example,
21163 # in the case of _POSIX_SOURCE, which is predefined and required
21164 # on some systems where configure will not decide to define it.
21165 if (defundef == "undef") {
21166 print "/*", prefix defundef, macro, "*/"
21167 next
21171 { print }
21172 _ACAWK
21173 _ACEOF
21174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21175 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21176 fi # test -n "$CONFIG_HEADERS"
21179 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21180 shift
21181 for ac_tag
21183 case $ac_tag in
21184 :[FHLC]) ac_mode=$ac_tag; continue;;
21185 esac
21186 case $ac_mode$ac_tag in
21187 :[FHL]*:*);;
21188 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21189 :[FH]-) ac_tag=-:-;;
21190 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21191 esac
21192 ac_save_IFS=$IFS
21193 IFS=:
21194 set x $ac_tag
21195 IFS=$ac_save_IFS
21196 shift
21197 ac_file=$1
21198 shift
21200 case $ac_mode in
21201 :L) ac_source=$1;;
21202 :[FH])
21203 ac_file_inputs=
21204 for ac_f
21206 case $ac_f in
21207 -) ac_f="$ac_tmp/stdin";;
21208 *) # Look for the file first in the build tree, then in the source tree
21209 # (if the path is not absolute). The absolute path cannot be DOS-style,
21210 # because $ac_f cannot contain `:'.
21211 test -f "$ac_f" ||
21212 case $ac_f in
21213 [\\/$]*) false;;
21214 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21215 esac ||
21216 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21217 esac
21218 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21219 as_fn_append ac_file_inputs " '$ac_f'"
21220 done
21222 # Let's still pretend it is `configure' which instantiates (i.e., don't
21223 # use $as_me), people would be surprised to read:
21224 # /* config.h. Generated by config.status. */
21225 configure_input='Generated from '`
21226 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21227 `' by configure.'
21228 if test x"$ac_file" != x-; then
21229 configure_input="$ac_file. $configure_input"
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21231 $as_echo "$as_me: creating $ac_file" >&6;}
21233 # Neutralize special characters interpreted by sed in replacement strings.
21234 case $configure_input in #(
21235 *\&* | *\|* | *\\* )
21236 ac_sed_conf_input=`$as_echo "$configure_input" |
21237 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21238 *) ac_sed_conf_input=$configure_input;;
21239 esac
21241 case $ac_tag in
21242 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21244 esac
21246 esac
21248 ac_dir=`$as_dirname -- "$ac_file" ||
21249 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21250 X"$ac_file" : 'X\(//\)[^/]' \| \
21251 X"$ac_file" : 'X\(//\)$' \| \
21252 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21253 $as_echo X"$ac_file" |
21254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21255 s//\1/
21258 /^X\(\/\/\)[^/].*/{
21259 s//\1/
21262 /^X\(\/\/\)$/{
21263 s//\1/
21266 /^X\(\/\).*/{
21267 s//\1/
21270 s/.*/./; q'`
21271 as_dir="$ac_dir"; as_fn_mkdir_p
21272 ac_builddir=.
21274 case "$ac_dir" in
21275 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21277 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21278 # A ".." for each directory in $ac_dir_suffix.
21279 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21280 case $ac_top_builddir_sub in
21281 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21282 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21283 esac ;;
21284 esac
21285 ac_abs_top_builddir=$ac_pwd
21286 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21287 # for backward compatibility:
21288 ac_top_builddir=$ac_top_build_prefix
21290 case $srcdir in
21291 .) # We are building in place.
21292 ac_srcdir=.
21293 ac_top_srcdir=$ac_top_builddir_sub
21294 ac_abs_top_srcdir=$ac_pwd ;;
21295 [\\/]* | ?:[\\/]* ) # Absolute name.
21296 ac_srcdir=$srcdir$ac_dir_suffix;
21297 ac_top_srcdir=$srcdir
21298 ac_abs_top_srcdir=$srcdir ;;
21299 *) # Relative name.
21300 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21301 ac_top_srcdir=$ac_top_build_prefix$srcdir
21302 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21303 esac
21304 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21307 case $ac_mode in
21310 # CONFIG_FILE
21313 _ACEOF
21315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21316 # If the template does not know about datarootdir, expand it.
21317 # FIXME: This hack should be removed a few years after 2.60.
21318 ac_datarootdir_hack=; ac_datarootdir_seen=
21319 ac_sed_dataroot='
21320 /datarootdir/ {
21324 /@datadir@/p
21325 /@docdir@/p
21326 /@infodir@/p
21327 /@localedir@/p
21328 /@mandir@/p'
21329 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21330 *datarootdir*) ac_datarootdir_seen=yes;;
21331 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21333 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21334 _ACEOF
21335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21336 ac_datarootdir_hack='
21337 s&@datadir@&$datadir&g
21338 s&@docdir@&$docdir&g
21339 s&@infodir@&$infodir&g
21340 s&@localedir@&$localedir&g
21341 s&@mandir@&$mandir&g
21342 s&\\\${datarootdir}&$datarootdir&g' ;;
21343 esac
21344 _ACEOF
21346 # Neutralize VPATH when `$srcdir' = `.'.
21347 # Shell code in configure.ac might set extrasub.
21348 # FIXME: do we really want to maintain this feature?
21349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21350 ac_sed_extra="$ac_vpsub
21351 $extrasub
21352 _ACEOF
21353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21356 s|@configure_input@|$ac_sed_conf_input|;t t
21357 s&@top_builddir@&$ac_top_builddir_sub&;t t
21358 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21359 s&@srcdir@&$ac_srcdir&;t t
21360 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21361 s&@top_srcdir@&$ac_top_srcdir&;t t
21362 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21363 s&@builddir@&$ac_builddir&;t t
21364 s&@abs_builddir@&$ac_abs_builddir&;t t
21365 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21366 $ac_datarootdir_hack
21368 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21369 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21371 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21372 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21373 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21374 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21376 which seems to be undefined. Please make sure it is defined" >&5
21377 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21378 which seems to be undefined. Please make sure it is defined" >&2;}
21380 rm -f "$ac_tmp/stdin"
21381 case $ac_file in
21382 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21383 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21384 esac \
21385 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21389 # CONFIG_HEADER
21391 if test x"$ac_file" != x-; then
21393 $as_echo "/* $configure_input */" \
21394 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21395 } >"$ac_tmp/config.h" \
21396 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21397 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21399 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21400 else
21401 rm -f "$ac_file"
21402 mv "$ac_tmp/config.h" "$ac_file" \
21403 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21405 else
21406 $as_echo "/* $configure_input */" \
21407 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21408 || as_fn_error $? "could not create -" "$LINENO" 5
21413 # CONFIG_LINK
21416 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21418 else
21419 # Prefer the file from the source tree if names are identical.
21420 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21421 ac_source=$srcdir/$ac_source
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21425 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21427 if test ! -r "$ac_source"; then
21428 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21430 rm -f "$ac_file"
21432 # Try a relative symlink, then a hard link, then a copy.
21433 case $ac_source in
21434 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21435 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21436 esac
21437 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21438 ln "$ac_source" "$ac_file" 2>/dev/null ||
21439 cp -p "$ac_source" "$ac_file" ||
21440 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21443 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21444 $as_echo "$as_me: executing $ac_file commands" >&6;}
21446 esac
21449 case $ac_file$ac_mode in
21450 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21451 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21452 "Makefile":C) wine_fn_output_makefile Makefile ;;
21454 esac
21455 done # for ac_tag
21458 as_fn_exit 0
21459 _ACEOF
21460 ac_clean_files=$ac_clean_files_save
21462 test $ac_write_fail = 0 ||
21463 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21466 # configure is writing to config.log, and then calls config.status.
21467 # config.status does its own redirection, appending to config.log.
21468 # Unfortunately, on DOS this fails, as config.log is still kept open
21469 # by configure, so config.status won't be able to write to it; its
21470 # output is simply discarded. So we exec the FD to /dev/null,
21471 # effectively closing config.log, so it can be properly (re)opened and
21472 # appended to by config.status. When coming back to configure, we
21473 # need to make the FD available again.
21474 if test "$no_create" != yes; then
21475 ac_cs_success=:
21476 ac_config_status_args=
21477 test "$silent" = yes &&
21478 ac_config_status_args="$ac_config_status_args --quiet"
21479 exec 5>/dev/null
21480 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21481 exec 5>>config.log
21482 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21483 # would make configure fail if this is the last instruction.
21484 $ac_cs_success || as_fn_exit 1
21486 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21488 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21492 if test "$no_create" = "yes"
21493 then
21494 exit 0
21497 ac_save_IFS="$IFS"
21498 if test "x$wine_notices" != x; then
21499 echo >&6
21500 IFS="|"
21501 for msg in $wine_notices; do
21502 IFS="$ac_save_IFS"
21503 if ${msg:+false} :; then :
21505 else
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21507 $as_echo "$as_me: $msg" >&6;}
21509 done
21511 IFS="|"
21512 for msg in $wine_warnings; do
21513 IFS="$ac_save_IFS"
21514 if ${msg:+false} :; then :
21516 else
21517 echo >&2
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21519 $as_echo "$as_me: WARNING: $msg" >&2;}
21521 done
21522 IFS="$ac_save_IFS"
21524 $as_echo "
21525 $as_me: Finished. Do '${ac_make}' to compile Wine.
21526 " >&6