user32: Fix a typo in a comment.
[wine.git] / configure
blob8d782ad03530bc61271472ab2d0ded928523655b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.1.
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.1'
584 PACKAGE_STRING='Wine 6.1'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_maintainer_mode
846 enable_silent_rules
847 enable_werror
848 with_alsa
849 with_capi
850 with_cms
851 with_coreaudio
852 with_cups
853 with_dbus
854 with_faudio
855 with_float_abi
856 with_fontconfig
857 with_freetype
858 with_gettext
859 with_gettextpo
860 with_gphoto
861 with_gnutls
862 with_gsm
863 with_gssapi
864 with_gstreamer
865 with_hal
866 with_inotify
867 with_jpeg
868 with_jxrlib
869 with_krb5
870 with_ldap
871 with_mingw
872 with_mpg123
873 with_netapi
874 with_openal
875 with_opencl
876 with_opengl
877 with_osmesa
878 with_oss
879 with_pcap
880 with_png
881 with_pthread
882 with_pulse
883 with_quicktime
884 with_sane
885 with_sdl
886 with_tiff
887 with_udev
888 with_unwind
889 with_usb
890 with_v4l2
891 with_vkd3d
892 with_vulkan
893 with_xcomposite
894 with_xcursor
895 with_xfixes
896 with_xinerama
897 with_xinput
898 with_xinput2
899 with_xml
900 with_xrandr
901 with_xrender
902 with_xshape
903 with_xshm
904 with_xslt
905 with_xxf86vm
906 with_wine_tools
907 with_wine64
908 enable_largefile
909 with_x
910 enable_acledit
911 enable_aclui
912 enable_activeds_tlb
913 enable_activeds
914 enable_actxprxy
915 enable_adsiid
916 enable_adsldp
917 enable_adsldpc
918 enable_advapi32
919 enable_advpack
920 enable_amsi
921 enable_amstream
922 enable_api_ms_win_appmodel_identity_l1_1_0
923 enable_api_ms_win_appmodel_runtime_l1_1_1
924 enable_api_ms_win_appmodel_runtime_l1_1_2
925 enable_api_ms_win_core_apiquery_l1_1_0
926 enable_api_ms_win_core_appcompat_l1_1_1
927 enable_api_ms_win_core_appinit_l1_1_0
928 enable_api_ms_win_core_atoms_l1_1_0
929 enable_api_ms_win_core_bem_l1_1_0
930 enable_api_ms_win_core_com_l1_1_0
931 enable_api_ms_win_core_com_l1_1_1
932 enable_api_ms_win_core_com_private_l1_1_0
933 enable_api_ms_win_core_comm_l1_1_0
934 enable_api_ms_win_core_console_l1_1_0
935 enable_api_ms_win_core_console_l2_1_0
936 enable_api_ms_win_core_crt_l1_1_0
937 enable_api_ms_win_core_crt_l2_1_0
938 enable_api_ms_win_core_datetime_l1_1_0
939 enable_api_ms_win_core_datetime_l1_1_1
940 enable_api_ms_win_core_debug_l1_1_0
941 enable_api_ms_win_core_debug_l1_1_1
942 enable_api_ms_win_core_delayload_l1_1_0
943 enable_api_ms_win_core_delayload_l1_1_1
944 enable_api_ms_win_core_errorhandling_l1_1_0
945 enable_api_ms_win_core_errorhandling_l1_1_1
946 enable_api_ms_win_core_errorhandling_l1_1_2
947 enable_api_ms_win_core_errorhandling_l1_1_3
948 enable_api_ms_win_core_fibers_l1_1_0
949 enable_api_ms_win_core_fibers_l1_1_1
950 enable_api_ms_win_core_file_ansi_l2_1_0
951 enable_api_ms_win_core_file_fromapp_l1_1_0
952 enable_api_ms_win_core_file_l1_1_0
953 enable_api_ms_win_core_file_l1_2_0
954 enable_api_ms_win_core_file_l1_2_1
955 enable_api_ms_win_core_file_l1_2_2
956 enable_api_ms_win_core_file_l2_1_0
957 enable_api_ms_win_core_file_l2_1_1
958 enable_api_ms_win_core_file_l2_1_2
959 enable_api_ms_win_core_handle_l1_1_0
960 enable_api_ms_win_core_heap_l1_1_0
961 enable_api_ms_win_core_heap_l1_2_0
962 enable_api_ms_win_core_heap_l2_1_0
963 enable_api_ms_win_core_heap_obsolete_l1_1_0
964 enable_api_ms_win_core_interlocked_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_2_0
966 enable_api_ms_win_core_io_l1_1_0
967 enable_api_ms_win_core_io_l1_1_1
968 enable_api_ms_win_core_job_l1_1_0
969 enable_api_ms_win_core_job_l2_1_0
970 enable_api_ms_win_core_kernel32_legacy_l1_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_1
972 enable_api_ms_win_core_kernel32_private_l1_1_1
973 enable_api_ms_win_core_largeinteger_l1_1_0
974 enable_api_ms_win_core_libraryloader_l1_1_0
975 enable_api_ms_win_core_libraryloader_l1_1_1
976 enable_api_ms_win_core_libraryloader_l1_2_0
977 enable_api_ms_win_core_libraryloader_l1_2_1
978 enable_api_ms_win_core_libraryloader_l1_2_2
979 enable_api_ms_win_core_libraryloader_l2_1_0
980 enable_api_ms_win_core_localization_l1_1_0
981 enable_api_ms_win_core_localization_l1_2_0
982 enable_api_ms_win_core_localization_l1_2_1
983 enable_api_ms_win_core_localization_l1_2_2
984 enable_api_ms_win_core_localization_l2_1_0
985 enable_api_ms_win_core_localization_obsolete_l1_1_0
986 enable_api_ms_win_core_localization_obsolete_l1_2_0
987 enable_api_ms_win_core_localization_obsolete_l1_3_0
988 enable_api_ms_win_core_localization_private_l1_1_0
989 enable_api_ms_win_core_localregistry_l1_1_0
990 enable_api_ms_win_core_memory_l1_1_0
991 enable_api_ms_win_core_memory_l1_1_1
992 enable_api_ms_win_core_memory_l1_1_2
993 enable_api_ms_win_core_memory_l1_1_3
994 enable_api_ms_win_core_memory_l1_1_4
995 enable_api_ms_win_core_misc_l1_1_0
996 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
997 enable_api_ms_win_core_namedpipe_l1_1_0
998 enable_api_ms_win_core_namedpipe_l1_2_0
999 enable_api_ms_win_core_namespace_l1_1_0
1000 enable_api_ms_win_core_normalization_l1_1_0
1001 enable_api_ms_win_core_path_l1_1_0
1002 enable_api_ms_win_core_privateprofile_l1_1_1
1003 enable_api_ms_win_core_processenvironment_l1_1_0
1004 enable_api_ms_win_core_processenvironment_l1_2_0
1005 enable_api_ms_win_core_processthreads_l1_1_0
1006 enable_api_ms_win_core_processthreads_l1_1_1
1007 enable_api_ms_win_core_processthreads_l1_1_2
1008 enable_api_ms_win_core_processthreads_l1_1_3
1009 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1010 enable_api_ms_win_core_profile_l1_1_0
1011 enable_api_ms_win_core_psapi_ansi_l1_1_0
1012 enable_api_ms_win_core_psapi_l1_1_0
1013 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_quirks_l1_1_0
1015 enable_api_ms_win_core_realtime_l1_1_0
1016 enable_api_ms_win_core_registry_l1_1_0
1017 enable_api_ms_win_core_registry_l2_1_0
1018 enable_api_ms_win_core_registry_l2_2_0
1019 enable_api_ms_win_core_registryuserspecific_l1_1_0
1020 enable_api_ms_win_core_rtlsupport_l1_1_0
1021 enable_api_ms_win_core_rtlsupport_l1_2_0
1022 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1023 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1024 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1025 enable_api_ms_win_core_shutdown_l1_1_0
1026 enable_api_ms_win_core_sidebyside_l1_1_0
1027 enable_api_ms_win_core_string_l1_1_0
1028 enable_api_ms_win_core_string_l2_1_0
1029 enable_api_ms_win_core_string_obsolete_l1_1_0
1030 enable_api_ms_win_core_stringansi_l1_1_0
1031 enable_api_ms_win_core_stringloader_l1_1_1
1032 enable_api_ms_win_core_synch_ansi_l1_1_0
1033 enable_api_ms_win_core_synch_l1_1_0
1034 enable_api_ms_win_core_synch_l1_2_0
1035 enable_api_ms_win_core_synch_l1_2_1
1036 enable_api_ms_win_core_sysinfo_l1_1_0
1037 enable_api_ms_win_core_sysinfo_l1_2_0
1038 enable_api_ms_win_core_sysinfo_l1_2_1
1039 enable_api_ms_win_core_systemtopology_l1_1_0
1040 enable_api_ms_win_core_threadpool_l1_1_0
1041 enable_api_ms_win_core_threadpool_l1_2_0
1042 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1043 enable_api_ms_win_core_threadpool_private_l1_1_0
1044 enable_api_ms_win_core_timezone_l1_1_0
1045 enable_api_ms_win_core_toolhelp_l1_1_0
1046 enable_api_ms_win_core_url_l1_1_0
1047 enable_api_ms_win_core_util_l1_1_0
1048 enable_api_ms_win_core_version_l1_1_0
1049 enable_api_ms_win_core_version_l1_1_1
1050 enable_api_ms_win_core_version_private_l1_1_0
1051 enable_api_ms_win_core_versionansi_l1_1_0
1052 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1053 enable_api_ms_win_core_winrt_error_l1_1_0
1054 enable_api_ms_win_core_winrt_error_l1_1_1
1055 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1056 enable_api_ms_win_core_winrt_l1_1_0
1057 enable_api_ms_win_core_winrt_registration_l1_1_0
1058 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1059 enable_api_ms_win_core_winrt_string_l1_1_0
1060 enable_api_ms_win_core_winrt_string_l1_1_1
1061 enable_api_ms_win_core_wow64_l1_1_0
1062 enable_api_ms_win_core_wow64_l1_1_1
1063 enable_api_ms_win_core_xstate_l1_1_0
1064 enable_api_ms_win_core_xstate_l2_1_0
1065 enable_api_ms_win_crt_conio_l1_1_0
1066 enable_api_ms_win_crt_convert_l1_1_0
1067 enable_api_ms_win_crt_environment_l1_1_0
1068 enable_api_ms_win_crt_filesystem_l1_1_0
1069 enable_api_ms_win_crt_heap_l1_1_0
1070 enable_api_ms_win_crt_locale_l1_1_0
1071 enable_api_ms_win_crt_math_l1_1_0
1072 enable_api_ms_win_crt_multibyte_l1_1_0
1073 enable_api_ms_win_crt_private_l1_1_0
1074 enable_api_ms_win_crt_process_l1_1_0
1075 enable_api_ms_win_crt_runtime_l1_1_0
1076 enable_api_ms_win_crt_stdio_l1_1_0
1077 enable_api_ms_win_crt_string_l1_1_0
1078 enable_api_ms_win_crt_time_l1_1_0
1079 enable_api_ms_win_crt_utility_l1_1_0
1080 enable_api_ms_win_devices_config_l1_1_0
1081 enable_api_ms_win_devices_config_l1_1_1
1082 enable_api_ms_win_devices_query_l1_1_1
1083 enable_api_ms_win_downlevel_advapi32_l1_1_0
1084 enable_api_ms_win_downlevel_advapi32_l2_1_0
1085 enable_api_ms_win_downlevel_kernel32_l2_1_0
1086 enable_api_ms_win_downlevel_normaliz_l1_1_0
1087 enable_api_ms_win_downlevel_ole32_l1_1_0
1088 enable_api_ms_win_downlevel_shell32_l1_1_0
1089 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1090 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1091 enable_api_ms_win_downlevel_user32_l1_1_0
1092 enable_api_ms_win_downlevel_version_l1_1_0
1093 enable_api_ms_win_dx_d3dkmt_l1_1_0
1094 enable_api_ms_win_eventing_classicprovider_l1_1_0
1095 enable_api_ms_win_eventing_consumer_l1_1_0
1096 enable_api_ms_win_eventing_controller_l1_1_0
1097 enable_api_ms_win_eventing_legacy_l1_1_0
1098 enable_api_ms_win_eventing_provider_l1_1_0
1099 enable_api_ms_win_eventlog_legacy_l1_1_0
1100 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1101 enable_api_ms_win_mm_joystick_l1_1_0
1102 enable_api_ms_win_mm_misc_l1_1_1
1103 enable_api_ms_win_mm_mme_l1_1_0
1104 enable_api_ms_win_mm_time_l1_1_0
1105 enable_api_ms_win_ntuser_dc_access_l1_1_0
1106 enable_api_ms_win_ntuser_rectangle_l1_1_0
1107 enable_api_ms_win_ntuser_sysparams_l1_1_0
1108 enable_api_ms_win_perf_legacy_l1_1_0
1109 enable_api_ms_win_power_base_l1_1_0
1110 enable_api_ms_win_power_setting_l1_1_0
1111 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1114 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1118 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1119 enable_api_ms_win_security_audit_l1_1_1
1120 enable_api_ms_win_security_base_l1_1_0
1121 enable_api_ms_win_security_base_l1_2_0
1122 enable_api_ms_win_security_base_private_l1_1_1
1123 enable_api_ms_win_security_credentials_l1_1_0
1124 enable_api_ms_win_security_cryptoapi_l1_1_0
1125 enable_api_ms_win_security_grouppolicy_l1_1_0
1126 enable_api_ms_win_security_lsalookup_l1_1_0
1127 enable_api_ms_win_security_lsalookup_l1_1_1
1128 enable_api_ms_win_security_lsalookup_l2_1_0
1129 enable_api_ms_win_security_lsalookup_l2_1_1
1130 enable_api_ms_win_security_lsapolicy_l1_1_0
1131 enable_api_ms_win_security_provider_l1_1_0
1132 enable_api_ms_win_security_sddl_l1_1_0
1133 enable_api_ms_win_security_systemfunctions_l1_1_0
1134 enable_api_ms_win_service_core_l1_1_0
1135 enable_api_ms_win_service_core_l1_1_1
1136 enable_api_ms_win_service_management_l1_1_0
1137 enable_api_ms_win_service_management_l2_1_0
1138 enable_api_ms_win_service_private_l1_1_1
1139 enable_api_ms_win_service_winsvc_l1_1_0
1140 enable_api_ms_win_service_winsvc_l1_2_0
1141 enable_api_ms_win_shcore_obsolete_l1_1_0
1142 enable_api_ms_win_shcore_scaling_l1_1_1
1143 enable_api_ms_win_shcore_stream_l1_1_0
1144 enable_api_ms_win_shcore_thread_l1_1_0
1145 enable_api_ms_win_shell_shellcom_l1_1_0
1146 enable_api_ms_win_shell_shellfolders_l1_1_0
1147 enable_apphelp
1148 enable_appwiz_cpl
1149 enable_atl
1150 enable_atl100
1151 enable_atl110
1152 enable_atl80
1153 enable_atl90
1154 enable_atlthunk
1155 enable_atmlib
1156 enable_authz
1157 enable_avicap32
1158 enable_avifil32
1159 enable_avrt
1160 enable_bcrypt
1161 enable_bluetoothapis
1162 enable_browseui
1163 enable_bthprops_cpl
1164 enable_cabinet
1165 enable_capi2032
1166 enable_cards
1167 enable_cdosys
1168 enable_cfgmgr32
1169 enable_clusapi
1170 enable_combase
1171 enable_comcat
1172 enable_comctl32
1173 enable_comdlg32
1174 enable_compstui
1175 enable_comsvcs
1176 enable_concrt140
1177 enable_connect
1178 enable_credui
1179 enable_crtdll
1180 enable_crypt32
1181 enable_cryptdlg
1182 enable_cryptdll
1183 enable_cryptext
1184 enable_cryptnet
1185 enable_cryptui
1186 enable_ctapi32
1187 enable_ctl3d32
1188 enable_d2d1
1189 enable_d3d10
1190 enable_d3d10_1
1191 enable_d3d10core
1192 enable_d3d11
1193 enable_d3d12
1194 enable_d3d8
1195 enable_d3d8thk
1196 enable_d3d9
1197 enable_d3dcompiler_33
1198 enable_d3dcompiler_34
1199 enable_d3dcompiler_35
1200 enable_d3dcompiler_36
1201 enable_d3dcompiler_37
1202 enable_d3dcompiler_38
1203 enable_d3dcompiler_39
1204 enable_d3dcompiler_40
1205 enable_d3dcompiler_41
1206 enable_d3dcompiler_42
1207 enable_d3dcompiler_43
1208 enable_d3dcompiler_46
1209 enable_d3dcompiler_47
1210 enable_d3dim
1211 enable_d3dim700
1212 enable_d3drm
1213 enable_d3dx10_33
1214 enable_d3dx10_34
1215 enable_d3dx10_35
1216 enable_d3dx10_36
1217 enable_d3dx10_37
1218 enable_d3dx10_38
1219 enable_d3dx10_39
1220 enable_d3dx10_40
1221 enable_d3dx10_41
1222 enable_d3dx10_42
1223 enable_d3dx10_43
1224 enable_d3dx11_42
1225 enable_d3dx11_43
1226 enable_d3dx9_24
1227 enable_d3dx9_25
1228 enable_d3dx9_26
1229 enable_d3dx9_27
1230 enable_d3dx9_28
1231 enable_d3dx9_29
1232 enable_d3dx9_30
1233 enable_d3dx9_31
1234 enable_d3dx9_32
1235 enable_d3dx9_33
1236 enable_d3dx9_34
1237 enable_d3dx9_35
1238 enable_d3dx9_36
1239 enable_d3dx9_37
1240 enable_d3dx9_38
1241 enable_d3dx9_39
1242 enable_d3dx9_40
1243 enable_d3dx9_41
1244 enable_d3dx9_42
1245 enable_d3dx9_43
1246 enable_d3dxof
1247 enable_davclnt
1248 enable_dbgeng
1249 enable_dbghelp
1250 enable_dciman32
1251 enable_dcomp
1252 enable_ddraw
1253 enable_ddrawex
1254 enable_devenum
1255 enable_dhcpcsvc
1256 enable_dhtmled_ocx
1257 enable_difxapi
1258 enable_dinput
1259 enable_dinput8
1260 enable_directmanipulation
1261 enable_dispex
1262 enable_dmband
1263 enable_dmcompos
1264 enable_dmime
1265 enable_dmloader
1266 enable_dmoguids
1267 enable_dmscript
1268 enable_dmstyle
1269 enable_dmsynth
1270 enable_dmusic
1271 enable_dmusic32
1272 enable_dnsapi
1273 enable_dplay
1274 enable_dplayx
1275 enable_dpnaddr
1276 enable_dpnet
1277 enable_dpnhpast
1278 enable_dpnlobby
1279 enable_dpvoice
1280 enable_dpwsockx
1281 enable_drmclien
1282 enable_dsdmo
1283 enable_dsound
1284 enable_dsquery
1285 enable_dssenh
1286 enable_dsuiext
1287 enable_dswave
1288 enable_dwmapi
1289 enable_dwrite
1290 enable_dx8vb
1291 enable_dxdiagn
1292 enable_dxerr8
1293 enable_dxerr9
1294 enable_dxgi
1295 enable_dxguid
1296 enable_dxva2
1297 enable_esent
1298 enable_evr
1299 enable_explorerframe
1300 enable_ext_ms_win_authz_context_l1_1_0
1301 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1302 enable_ext_ms_win_dwmapi_ext_l1_1_0
1303 enable_ext_ms_win_gdi_dc_create_l1_1_0
1304 enable_ext_ms_win_gdi_dc_create_l1_1_1
1305 enable_ext_ms_win_gdi_dc_l1_2_0
1306 enable_ext_ms_win_gdi_devcaps_l1_1_0
1307 enable_ext_ms_win_gdi_draw_l1_1_0
1308 enable_ext_ms_win_gdi_draw_l1_1_1
1309 enable_ext_ms_win_gdi_font_l1_1_0
1310 enable_ext_ms_win_gdi_font_l1_1_1
1311 enable_ext_ms_win_gdi_render_l1_1_0
1312 enable_ext_ms_win_kernel32_package_current_l1_1_0
1313 enable_ext_ms_win_kernel32_package_l1_1_1
1314 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1315 enable_ext_ms_win_ntuser_draw_l1_1_0
1316 enable_ext_ms_win_ntuser_gui_l1_1_0
1317 enable_ext_ms_win_ntuser_gui_l1_3_0
1318 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1319 enable_ext_ms_win_ntuser_message_l1_1_0
1320 enable_ext_ms_win_ntuser_message_l1_1_1
1321 enable_ext_ms_win_ntuser_misc_l1_1_0
1322 enable_ext_ms_win_ntuser_misc_l1_2_0
1323 enable_ext_ms_win_ntuser_misc_l1_5_1
1324 enable_ext_ms_win_ntuser_mouse_l1_1_0
1325 enable_ext_ms_win_ntuser_private_l1_1_1
1326 enable_ext_ms_win_ntuser_private_l1_3_1
1327 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1328 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1329 enable_ext_ms_win_ntuser_window_l1_1_0
1330 enable_ext_ms_win_ntuser_window_l1_1_1
1331 enable_ext_ms_win_ntuser_window_l1_1_4
1332 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1333 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1334 enable_ext_ms_win_oleacc_l1_1_0
1335 enable_ext_ms_win_ras_rasapi32_l1_1_0
1336 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1337 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1338 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1340 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1343 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1346 enable_ext_ms_win_security_credui_l1_1_0
1347 enable_ext_ms_win_security_cryptui_l1_1_0
1348 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1349 enable_ext_ms_win_shell_comdlg32_l1_1_0
1350 enable_ext_ms_win_shell_shell32_l1_2_0
1351 enable_ext_ms_win_uxtheme_themes_l1_1_0
1352 enable_faultrep
1353 enable_feclient
1354 enable_fltlib
1355 enable_fltmgr_sys
1356 enable_fntcache
1357 enable_fontsub
1358 enable_fusion
1359 enable_fwpuclnt
1360 enable_gameux
1361 enable_gdi32
1362 enable_gdiplus
1363 enable_glu32
1364 enable_gphoto2_ds
1365 enable_gpkcsp
1366 enable_hal
1367 enable_hhctrl_ocx
1368 enable_hid
1369 enable_hidclass_sys
1370 enable_hlink
1371 enable_hnetcfg
1372 enable_http_sys
1373 enable_httpapi
1374 enable_iccvid
1375 enable_icmp
1376 enable_ieframe
1377 enable_ieproxy
1378 enable_imaadp32_acm
1379 enable_imagehlp
1380 enable_imm32
1381 enable_inetcomm
1382 enable_inetcpl_cpl
1383 enable_inetmib1
1384 enable_infosoft
1385 enable_initpki
1386 enable_inkobj
1387 enable_inseng
1388 enable_iphlpapi
1389 enable_iprop
1390 enable_irprops_cpl
1391 enable_itircl
1392 enable_itss
1393 enable_joy_cpl
1394 enable_jscript
1395 enable_jsproxy
1396 enable_kerberos
1397 enable_kernel32
1398 enable_kernelbase
1399 enable_ksecdd_sys
1400 enable_ksproxy_ax
1401 enable_ksuser
1402 enable_ktmw32
1403 enable_l3codeca_acm
1404 enable_loadperf
1405 enable_localspl
1406 enable_localui
1407 enable_lz32
1408 enable_mapi32
1409 enable_mapistub
1410 enable_mciavi32
1411 enable_mcicda
1412 enable_mciqtz32
1413 enable_mciseq
1414 enable_mciwave
1415 enable_mf
1416 enable_mf3216
1417 enable_mferror
1418 enable_mfmediaengine
1419 enable_mfplat
1420 enable_mfplay
1421 enable_mfreadwrite
1422 enable_mfuuid
1423 enable_mgmtapi
1424 enable_midimap
1425 enable_mlang
1426 enable_mmcndmgr
1427 enable_mmdevapi
1428 enable_mountmgr_sys
1429 enable_mp3dmod
1430 enable_mpr
1431 enable_mprapi
1432 enable_msacm32_drv
1433 enable_msacm32
1434 enable_msado15
1435 enable_msadp32_acm
1436 enable_msasn1
1437 enable_mscat32
1438 enable_mscms
1439 enable_mscoree
1440 enable_mscorwks
1441 enable_msctf
1442 enable_msctfp
1443 enable_msdaps
1444 enable_msdelta
1445 enable_msdmo
1446 enable_msdrm
1447 enable_msftedit
1448 enable_msg711_acm
1449 enable_msgsm32_acm
1450 enable_mshtml_tlb
1451 enable_mshtml
1452 enable_msi
1453 enable_msident
1454 enable_msimg32
1455 enable_msimsg
1456 enable_msimtf
1457 enable_msisip
1458 enable_msisys_ocx
1459 enable_msls31
1460 enable_msnet32
1461 enable_mspatcha
1462 enable_msports
1463 enable_msrle32
1464 enable_msscript_ocx
1465 enable_mssign32
1466 enable_mssip32
1467 enable_mstask
1468 enable_msvcirt
1469 enable_msvcm80
1470 enable_msvcm90
1471 enable_msvcp100
1472 enable_msvcp110
1473 enable_msvcp120
1474 enable_msvcp120_app
1475 enable_msvcp140
1476 enable_msvcp140_1
1477 enable_msvcp60
1478 enable_msvcp70
1479 enable_msvcp71
1480 enable_msvcp80
1481 enable_msvcp90
1482 enable_msvcr100
1483 enable_msvcr110
1484 enable_msvcr120
1485 enable_msvcr120_app
1486 enable_msvcr70
1487 enable_msvcr71
1488 enable_msvcr80
1489 enable_msvcr90
1490 enable_msvcrt
1491 enable_msvcrt20
1492 enable_msvcrt40
1493 enable_msvcrtd
1494 enable_msvfw32
1495 enable_msvidc32
1496 enable_mswsock
1497 enable_msxml
1498 enable_msxml2
1499 enable_msxml3
1500 enable_msxml4
1501 enable_msxml6
1502 enable_mtxdm
1503 enable_ncrypt
1504 enable_nddeapi
1505 enable_ndis_sys
1506 enable_netapi32
1507 enable_netcfgx
1508 enable_netio_sys
1509 enable_netprofm
1510 enable_netutils
1511 enable_newdev
1512 enable_ninput
1513 enable_normaliz
1514 enable_npmshtml
1515 enable_npptools
1516 enable_ntdll
1517 enable_ntdsapi
1518 enable_ntoskrnl_exe
1519 enable_ntprint
1520 enable_objsel
1521 enable_odbc32
1522 enable_odbcbcp
1523 enable_odbccp32
1524 enable_odbccu32
1525 enable_ole32
1526 enable_oleacc
1527 enable_oleaut32
1528 enable_olecli32
1529 enable_oledb32
1530 enable_oledlg
1531 enable_olepro32
1532 enable_olesvr32
1533 enable_olethk32
1534 enable_opcservices
1535 enable_openal32
1536 enable_opencl
1537 enable_opengl32
1538 enable_packager
1539 enable_pdh
1540 enable_photometadatahandler
1541 enable_pidgen
1542 enable_powrprof
1543 enable_printui
1544 enable_prntvpt
1545 enable_propsys
1546 enable_psapi
1547 enable_pstorec
1548 enable_pwrshplugin
1549 enable_qasf
1550 enable_qcap
1551 enable_qdvd
1552 enable_qedit
1553 enable_qmgr
1554 enable_qmgrprxy
1555 enable_quartz
1556 enable_query
1557 enable_qwave
1558 enable_rasapi32
1559 enable_rasdlg
1560 enable_regapi
1561 enable_resutils
1562 enable_riched20
1563 enable_riched32
1564 enable_rpcrt4
1565 enable_rsabase
1566 enable_rsaenh
1567 enable_rstrtmgr
1568 enable_rtutils
1569 enable_rtworkq
1570 enable_samlib
1571 enable_sane_ds
1572 enable_sapi
1573 enable_sas
1574 enable_scarddlg
1575 enable_sccbase
1576 enable_schannel
1577 enable_schedsvc
1578 enable_scrobj
1579 enable_scrrun
1580 enable_scsiport_sys
1581 enable_sechost
1582 enable_secur32
1583 enable_security
1584 enable_sensapi
1585 enable_serialui
1586 enable_setupapi
1587 enable_sfc
1588 enable_sfc_os
1589 enable_shcore
1590 enable_shdoclc
1591 enable_shdocvw
1592 enable_shell32
1593 enable_shfolder
1594 enable_shlwapi
1595 enable_slbcsp
1596 enable_slc
1597 enable_snmpapi
1598 enable_softpub
1599 enable_spoolss
1600 enable_srclient
1601 enable_srvcli
1602 enable_sspicli
1603 enable_stdole2_tlb
1604 enable_stdole32_tlb
1605 enable_sti
1606 enable_strmbase
1607 enable_strmdll
1608 enable_strmiids
1609 enable_svrapi
1610 enable_sxs
1611 enable_t2embed
1612 enable_tapi32
1613 enable_taskschd
1614 enable_tdh
1615 enable_tdi_sys
1616 enable_traffic
1617 enable_twain_32
1618 enable_tzres
1619 enable_ucrtbase
1620 enable_uianimation
1621 enable_uiautomationcore
1622 enable_uiribbon
1623 enable_unicows
1624 enable_updspapi
1625 enable_url
1626 enable_urlmon
1627 enable_usbd_sys
1628 enable_user32
1629 enable_userenv
1630 enable_usp10
1631 enable_utildll
1632 enable_uuid
1633 enable_uxtheme
1634 enable_vbscript
1635 enable_vcomp
1636 enable_vcomp100
1637 enable_vcomp110
1638 enable_vcomp120
1639 enable_vcomp140
1640 enable_vcomp90
1641 enable_vcruntime140
1642 enable_vcruntime140_1
1643 enable_vdmdbg
1644 enable_version
1645 enable_vga
1646 enable_virtdisk
1647 enable_vssapi
1648 enable_vulkan_1
1649 enable_wbemdisp
1650 enable_wbemprox
1651 enable_wbemuuid
1652 enable_wdscore
1653 enable_webservices
1654 enable_wer
1655 enable_wevtapi
1656 enable_wevtsvc
1657 enable_wiaservc
1658 enable_wimgapi
1659 enable_windowscodecs
1660 enable_windowscodecsext
1661 enable_winealsa_drv
1662 enable_wineandroid_drv
1663 enable_winebus_sys
1664 enable_winecoreaudio_drv
1665 enable_winecrt0
1666 enable_wined3d
1667 enable_winegstreamer
1668 enable_winehid_sys
1669 enable_winejoystick_drv
1670 enable_winemac_drv
1671 enable_winemapi
1672 enable_wineoss_drv
1673 enable_wineps_drv
1674 enable_winepulse_drv
1675 enable_wineqtdecoder
1676 enable_wineusb_sys
1677 enable_winevulkan
1678 enable_winex11_drv
1679 enable_wing32
1680 enable_winhttp
1681 enable_wininet
1682 enable_winmm
1683 enable_winnls32
1684 enable_winscard
1685 enable_winspool_drv
1686 enable_winsta
1687 enable_wintab32
1688 enable_wintrust
1689 enable_winusb
1690 enable_wlanapi
1691 enable_wlanui
1692 enable_wldap32
1693 enable_wmasf
1694 enable_wmcodecdspuuid
1695 enable_wmi
1696 enable_wmiutils
1697 enable_wmp
1698 enable_wmphoto
1699 enable_wmvcore
1700 enable_wnaspi32
1701 enable_wpc
1702 enable_wpcap
1703 enable_ws2_32
1704 enable_wsdapi
1705 enable_wshom_ocx
1706 enable_wsnmp32
1707 enable_wsock32
1708 enable_wtsapi32
1709 enable_wuapi
1710 enable_wuaueng
1711 enable_x3daudio1_0
1712 enable_x3daudio1_1
1713 enable_x3daudio1_2
1714 enable_x3daudio1_3
1715 enable_x3daudio1_4
1716 enable_x3daudio1_5
1717 enable_x3daudio1_6
1718 enable_x3daudio1_7
1719 enable_xactengine3_0
1720 enable_xactengine3_1
1721 enable_xactengine3_2
1722 enable_xactengine3_3
1723 enable_xactengine3_4
1724 enable_xactengine3_5
1725 enable_xactengine3_6
1726 enable_xactengine3_7
1727 enable_xapofx1_1
1728 enable_xapofx1_2
1729 enable_xapofx1_3
1730 enable_xapofx1_4
1731 enable_xapofx1_5
1732 enable_xaudio2_0
1733 enable_xaudio2_1
1734 enable_xaudio2_2
1735 enable_xaudio2_3
1736 enable_xaudio2_4
1737 enable_xaudio2_5
1738 enable_xaudio2_6
1739 enable_xaudio2_7
1740 enable_xaudio2_8
1741 enable_xaudio2_9
1742 enable_xinput1_1
1743 enable_xinput1_2
1744 enable_xinput1_3
1745 enable_xinput1_4
1746 enable_xinput9_1_0
1747 enable_xmllite
1748 enable_xolehlp
1749 enable_xpsprint
1750 enable_xpssvcs
1751 enable_fonts
1752 enable_include
1753 enable_port
1754 enable_wine
1755 enable_wpp
1756 enable_loader
1757 enable_nls
1758 enable_po
1759 enable_arp
1760 enable_aspnet_regiis
1761 enable_attrib
1762 enable_cabarc
1763 enable_cacls
1764 enable_chcp_com
1765 enable_clock
1766 enable_cmd
1767 enable_conhost
1768 enable_control
1769 enable_cscript
1770 enable_dism
1771 enable_dplaysvr
1772 enable_dpnsvr
1773 enable_dpvsetup
1774 enable_dxdiag
1775 enable_eject
1776 enable_expand
1777 enable_explorer
1778 enable_extrac32
1779 enable_fc
1780 enable_find
1781 enable_findstr
1782 enable_fsutil
1783 enable_hh
1784 enable_hostname
1785 enable_icacls
1786 enable_icinfo
1787 enable_iexplore
1788 enable_ipconfig
1789 enable_lodctr
1790 enable_mofcomp
1791 enable_mshta
1792 enable_msidb
1793 enable_msiexec
1794 enable_msinfo32
1795 enable_net
1796 enable_netsh
1797 enable_netstat
1798 enable_ngen
1799 enable_notepad
1800 enable_oleview
1801 enable_ping
1802 enable_plugplay
1803 enable_powershell
1804 enable_presentationfontcache
1805 enable_progman
1806 enable_reg
1807 enable_regasm
1808 enable_regedit
1809 enable_regini
1810 enable_regsvcs
1811 enable_regsvr32
1812 enable_rpcss
1813 enable_rundll32
1814 enable_sc
1815 enable_schtasks
1816 enable_sdbinst
1817 enable_secedit
1818 enable_servicemodelreg
1819 enable_services
1820 enable_shutdown
1821 enable_spoolsv
1822 enable_start
1823 enable_subst
1824 enable_svchost
1825 enable_systeminfo
1826 enable_taskkill
1827 enable_tasklist
1828 enable_taskmgr
1829 enable_termsv
1830 enable_uninstaller
1831 enable_unlodctr
1832 enable_view
1833 enable_wevtutil
1834 enable_where
1835 enable_whoami
1836 enable_wineboot
1837 enable_winebrowser
1838 enable_winecfg
1839 enable_wineconsole
1840 enable_winedbg
1841 enable_winedevice
1842 enable_winefile
1843 enable_winemenubuilder
1844 enable_winemine
1845 enable_winemsibuilder
1846 enable_winepath
1847 enable_winetest
1848 enable_winhlp32
1849 enable_winmgmt
1850 enable_winver
1851 enable_wmic
1852 enable_wmplayer
1853 enable_wordpad
1854 enable_write
1855 enable_wscript
1856 enable_wuauserv
1857 enable_wusa
1858 enable_xcopy
1859 enable_server
1860 enable_tools
1861 enable_sfnt2fon
1862 enable_widl
1863 enable_winebuild
1864 enable_winedump
1865 enable_winegcc
1866 enable_winemaker
1867 enable_wmc
1868 enable_wrc
1870 ac_precious_vars='build_alias
1871 host_alias
1872 target_alias
1874 CFLAGS
1875 LDFLAGS
1876 LIBS
1877 CPPFLAGS
1879 CXXFLAGS
1882 OBJC
1883 OBJCFLAGS
1884 OBJCPP
1885 XMKMF
1886 XML2_CFLAGS
1887 XML2_LIBS
1888 XSLT_CFLAGS
1889 XSLT_LIBS
1890 INOTIFY_CFLAGS
1891 INOTIFY_LIBS
1892 DBUS_CFLAGS
1893 DBUS_LIBS
1894 HAL_CFLAGS
1895 HAL_LIBS
1896 GNUTLS_CFLAGS
1897 GNUTLS_LIBS
1898 SANE_CFLAGS
1899 SANE_LIBS
1900 USB_CFLAGS
1901 USB_LIBS
1902 GPHOTO2_CFLAGS
1903 GPHOTO2_LIBS
1904 GPHOTO2_PORT_CFLAGS
1905 GPHOTO2_PORT_LIBS
1906 LCMS2_CFLAGS
1907 LCMS2_LIBS
1908 FREETYPE_CFLAGS
1909 FREETYPE_LIBS
1910 PULSE_CFLAGS
1911 PULSE_LIBS
1912 GSTREAMER_CFLAGS
1913 GSTREAMER_LIBS
1914 UDEV_CFLAGS
1915 UDEV_LIBS
1916 UNWIND_CFLAGS
1917 UNWIND_LIBS
1918 SDL2_CFLAGS
1919 SDL2_LIBS
1920 FAUDIO_CFLAGS
1921 FAUDIO_LIBS
1922 CAPI20_CFLAGS
1923 CAPI20_LIBS
1924 CUPS_CFLAGS
1925 CUPS_LIBS
1926 FONTCONFIG_CFLAGS
1927 FONTCONFIG_LIBS
1928 KRB5_CFLAGS
1929 KRB5_LIBS
1930 GSSAPI_CFLAGS
1931 GSSAPI_LIBS
1932 JPEG_CFLAGS
1933 JPEG_LIBS
1934 JXRLIB_CFLAGS
1935 JXRLIB_LIBS
1936 PNG_CFLAGS
1937 PNG_LIBS
1938 TIFF_CFLAGS
1939 TIFF_LIBS
1940 MPG123_CFLAGS
1941 MPG123_LIBS
1942 NETAPI_CFLAGS
1943 NETAPI_LIBS
1944 VKD3D_CFLAGS
1945 VKD3D_LIBS
1946 VKD3D_SHADER_CFLAGS
1947 VKD3D_SHADER_LIBS
1948 LDAP_CFLAGS
1949 LDAP_LIBS'
1952 # Initialize some variables set by options.
1953 ac_init_help=
1954 ac_init_version=false
1955 ac_unrecognized_opts=
1956 ac_unrecognized_sep=
1957 # The variables have the same names as the options, with
1958 # dashes changed to underlines.
1959 cache_file=/dev/null
1960 exec_prefix=NONE
1961 no_create=
1962 no_recursion=
1963 prefix=NONE
1964 program_prefix=NONE
1965 program_suffix=NONE
1966 program_transform_name=s,x,x,
1967 silent=
1968 site=
1969 srcdir=
1970 verbose=
1971 x_includes=NONE
1972 x_libraries=NONE
1974 # Installation directory options.
1975 # These are left unexpanded so users can "make install exec_prefix=/foo"
1976 # and all the variables that are supposed to be based on exec_prefix
1977 # by default will actually change.
1978 # Use braces instead of parens because sh, perl, etc. also accept them.
1979 # (The list follows the same order as the GNU Coding Standards.)
1980 bindir='${exec_prefix}/bin'
1981 sbindir='${exec_prefix}/sbin'
1982 libexecdir='${exec_prefix}/libexec'
1983 datarootdir='${prefix}/share'
1984 datadir='${datarootdir}'
1985 sysconfdir='${prefix}/etc'
1986 sharedstatedir='${prefix}/com'
1987 localstatedir='${prefix}/var'
1988 runstatedir='${localstatedir}/run'
1989 includedir='${prefix}/include'
1990 oldincludedir='/usr/include'
1991 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1992 infodir='${datarootdir}/info'
1993 htmldir='${docdir}'
1994 dvidir='${docdir}'
1995 pdfdir='${docdir}'
1996 psdir='${docdir}'
1997 libdir='${exec_prefix}/lib'
1998 localedir='${datarootdir}/locale'
1999 mandir='${datarootdir}/man'
2001 ac_prev=
2002 ac_dashdash=
2003 for ac_option
2005 # If the previous option needs an argument, assign it.
2006 if test -n "$ac_prev"; then
2007 eval $ac_prev=\$ac_option
2008 ac_prev=
2009 continue
2012 case $ac_option in
2013 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2014 *=) ac_optarg= ;;
2015 *) ac_optarg=yes ;;
2016 esac
2018 # Accept the important Cygnus configure options, so we can diagnose typos.
2020 case $ac_dashdash$ac_option in
2022 ac_dashdash=yes ;;
2024 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2025 ac_prev=bindir ;;
2026 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2027 bindir=$ac_optarg ;;
2029 -build | --build | --buil | --bui | --bu)
2030 ac_prev=build_alias ;;
2031 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2032 build_alias=$ac_optarg ;;
2034 -cache-file | --cache-file | --cache-fil | --cache-fi \
2035 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2036 ac_prev=cache_file ;;
2037 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2038 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2039 cache_file=$ac_optarg ;;
2041 --config-cache | -C)
2042 cache_file=config.cache ;;
2044 -datadir | --datadir | --datadi | --datad)
2045 ac_prev=datadir ;;
2046 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2047 datadir=$ac_optarg ;;
2049 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2050 | --dataroo | --dataro | --datar)
2051 ac_prev=datarootdir ;;
2052 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2053 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2054 datarootdir=$ac_optarg ;;
2056 -disable-* | --disable-*)
2057 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2058 # Reject names that are not valid shell variable names.
2059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2060 as_fn_error $? "invalid feature name: $ac_useropt"
2061 ac_useropt_orig=$ac_useropt
2062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2063 case $ac_user_opts in
2065 "enable_$ac_useropt"
2066 "*) ;;
2067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2068 ac_unrecognized_sep=', ';;
2069 esac
2070 eval enable_$ac_useropt=no ;;
2072 -docdir | --docdir | --docdi | --doc | --do)
2073 ac_prev=docdir ;;
2074 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2075 docdir=$ac_optarg ;;
2077 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2078 ac_prev=dvidir ;;
2079 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2080 dvidir=$ac_optarg ;;
2082 -enable-* | --enable-*)
2083 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2084 # Reject names that are not valid shell variable names.
2085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2086 as_fn_error $? "invalid feature name: $ac_useropt"
2087 ac_useropt_orig=$ac_useropt
2088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2089 case $ac_user_opts in
2091 "enable_$ac_useropt"
2092 "*) ;;
2093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2094 ac_unrecognized_sep=', ';;
2095 esac
2096 eval enable_$ac_useropt=\$ac_optarg ;;
2098 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2099 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2100 | --exec | --exe | --ex)
2101 ac_prev=exec_prefix ;;
2102 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2103 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2104 | --exec=* | --exe=* | --ex=*)
2105 exec_prefix=$ac_optarg ;;
2107 -gas | --gas | --ga | --g)
2108 # Obsolete; use --with-gas.
2109 with_gas=yes ;;
2111 -help | --help | --hel | --he | -h)
2112 ac_init_help=long ;;
2113 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2114 ac_init_help=recursive ;;
2115 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2116 ac_init_help=short ;;
2118 -host | --host | --hos | --ho)
2119 ac_prev=host_alias ;;
2120 -host=* | --host=* | --hos=* | --ho=*)
2121 host_alias=$ac_optarg ;;
2123 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2124 ac_prev=htmldir ;;
2125 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2126 | --ht=*)
2127 htmldir=$ac_optarg ;;
2129 -includedir | --includedir | --includedi | --included | --include \
2130 | --includ | --inclu | --incl | --inc)
2131 ac_prev=includedir ;;
2132 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2133 | --includ=* | --inclu=* | --incl=* | --inc=*)
2134 includedir=$ac_optarg ;;
2136 -infodir | --infodir | --infodi | --infod | --info | --inf)
2137 ac_prev=infodir ;;
2138 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2139 infodir=$ac_optarg ;;
2141 -libdir | --libdir | --libdi | --libd)
2142 ac_prev=libdir ;;
2143 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2144 libdir=$ac_optarg ;;
2146 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2147 | --libexe | --libex | --libe)
2148 ac_prev=libexecdir ;;
2149 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2150 | --libexe=* | --libex=* | --libe=*)
2151 libexecdir=$ac_optarg ;;
2153 -localedir | --localedir | --localedi | --localed | --locale)
2154 ac_prev=localedir ;;
2155 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2156 localedir=$ac_optarg ;;
2158 -localstatedir | --localstatedir | --localstatedi | --localstated \
2159 | --localstate | --localstat | --localsta | --localst | --locals)
2160 ac_prev=localstatedir ;;
2161 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2162 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2163 localstatedir=$ac_optarg ;;
2165 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2166 ac_prev=mandir ;;
2167 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2168 mandir=$ac_optarg ;;
2170 -nfp | --nfp | --nf)
2171 # Obsolete; use --without-fp.
2172 with_fp=no ;;
2174 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2175 | --no-cr | --no-c | -n)
2176 no_create=yes ;;
2178 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2179 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2180 no_recursion=yes ;;
2182 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2183 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2184 | --oldin | --oldi | --old | --ol | --o)
2185 ac_prev=oldincludedir ;;
2186 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2187 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2188 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2189 oldincludedir=$ac_optarg ;;
2191 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2192 ac_prev=prefix ;;
2193 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2194 prefix=$ac_optarg ;;
2196 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2197 | --program-pre | --program-pr | --program-p)
2198 ac_prev=program_prefix ;;
2199 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2200 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2201 program_prefix=$ac_optarg ;;
2203 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2204 | --program-suf | --program-su | --program-s)
2205 ac_prev=program_suffix ;;
2206 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2207 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2208 program_suffix=$ac_optarg ;;
2210 -program-transform-name | --program-transform-name \
2211 | --program-transform-nam | --program-transform-na \
2212 | --program-transform-n | --program-transform- \
2213 | --program-transform | --program-transfor \
2214 | --program-transfo | --program-transf \
2215 | --program-trans | --program-tran \
2216 | --progr-tra | --program-tr | --program-t)
2217 ac_prev=program_transform_name ;;
2218 -program-transform-name=* | --program-transform-name=* \
2219 | --program-transform-nam=* | --program-transform-na=* \
2220 | --program-transform-n=* | --program-transform-=* \
2221 | --program-transform=* | --program-transfor=* \
2222 | --program-transfo=* | --program-transf=* \
2223 | --program-trans=* | --program-tran=* \
2224 | --progr-tra=* | --program-tr=* | --program-t=*)
2225 program_transform_name=$ac_optarg ;;
2227 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2228 ac_prev=pdfdir ;;
2229 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2230 pdfdir=$ac_optarg ;;
2232 -psdir | --psdir | --psdi | --psd | --ps)
2233 ac_prev=psdir ;;
2234 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2235 psdir=$ac_optarg ;;
2237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2238 | -silent | --silent | --silen | --sile | --sil)
2239 silent=yes ;;
2241 -runstatedir | --runstatedir | --runstatedi | --runstated \
2242 | --runstate | --runstat | --runsta | --runst | --runs \
2243 | --run | --ru | --r)
2244 ac_prev=runstatedir ;;
2245 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2246 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2247 | --run=* | --ru=* | --r=*)
2248 runstatedir=$ac_optarg ;;
2250 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2251 ac_prev=sbindir ;;
2252 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2253 | --sbi=* | --sb=*)
2254 sbindir=$ac_optarg ;;
2256 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2257 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2258 | --sharedst | --shareds | --shared | --share | --shar \
2259 | --sha | --sh)
2260 ac_prev=sharedstatedir ;;
2261 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2262 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2263 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2264 | --sha=* | --sh=*)
2265 sharedstatedir=$ac_optarg ;;
2267 -site | --site | --sit)
2268 ac_prev=site ;;
2269 -site=* | --site=* | --sit=*)
2270 site=$ac_optarg ;;
2272 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2273 ac_prev=srcdir ;;
2274 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2275 srcdir=$ac_optarg ;;
2277 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2278 | --syscon | --sysco | --sysc | --sys | --sy)
2279 ac_prev=sysconfdir ;;
2280 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2281 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2282 sysconfdir=$ac_optarg ;;
2284 -target | --target | --targe | --targ | --tar | --ta | --t)
2285 ac_prev=target_alias ;;
2286 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2287 target_alias=$ac_optarg ;;
2289 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2290 verbose=yes ;;
2292 -version | --version | --versio | --versi | --vers | -V)
2293 ac_init_version=: ;;
2295 -with-* | --with-*)
2296 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2297 # Reject names that are not valid shell variable names.
2298 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2299 as_fn_error $? "invalid package name: $ac_useropt"
2300 ac_useropt_orig=$ac_useropt
2301 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2302 case $ac_user_opts in
2304 "with_$ac_useropt"
2305 "*) ;;
2306 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2307 ac_unrecognized_sep=', ';;
2308 esac
2309 eval with_$ac_useropt=\$ac_optarg ;;
2311 -without-* | --without-*)
2312 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2313 # Reject names that are not valid shell variable names.
2314 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2315 as_fn_error $? "invalid package name: $ac_useropt"
2316 ac_useropt_orig=$ac_useropt
2317 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2318 case $ac_user_opts in
2320 "with_$ac_useropt"
2321 "*) ;;
2322 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2323 ac_unrecognized_sep=', ';;
2324 esac
2325 eval with_$ac_useropt=no ;;
2327 --x)
2328 # Obsolete; use --with-x.
2329 with_x=yes ;;
2331 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2332 | --x-incl | --x-inc | --x-in | --x-i)
2333 ac_prev=x_includes ;;
2334 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2335 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2336 x_includes=$ac_optarg ;;
2338 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2339 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2340 ac_prev=x_libraries ;;
2341 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2342 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2343 x_libraries=$ac_optarg ;;
2345 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2346 Try \`$0 --help' for more information"
2349 *=*)
2350 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2351 # Reject names that are not valid shell variable names.
2352 case $ac_envvar in #(
2353 '' | [0-9]* | *[!_$as_cr_alnum]* )
2354 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2355 esac
2356 eval $ac_envvar=\$ac_optarg
2357 export $ac_envvar ;;
2360 # FIXME: should be removed in autoconf 3.0.
2361 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2362 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2363 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2364 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2367 esac
2368 done
2370 if test -n "$ac_prev"; then
2371 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2372 as_fn_error $? "missing argument to $ac_option"
2375 if test -n "$ac_unrecognized_opts"; then
2376 case $enable_option_checking in
2377 no) ;;
2378 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2379 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2380 esac
2383 # Check all directory arguments for consistency.
2384 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2385 datadir sysconfdir sharedstatedir localstatedir includedir \
2386 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2387 libdir localedir mandir runstatedir
2389 eval ac_val=\$$ac_var
2390 # Remove trailing slashes.
2391 case $ac_val in
2392 */ )
2393 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2394 eval $ac_var=\$ac_val;;
2395 esac
2396 # Be sure to have absolute directory names.
2397 case $ac_val in
2398 [\\/$]* | ?:[\\/]* ) continue;;
2399 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2400 esac
2401 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2402 done
2404 # There might be people who depend on the old broken behavior: `$host'
2405 # used to hold the argument of --host etc.
2406 # FIXME: To remove some day.
2407 build=$build_alias
2408 host=$host_alias
2409 target=$target_alias
2411 # FIXME: To remove some day.
2412 if test "x$host_alias" != x; then
2413 if test "x$build_alias" = x; then
2414 cross_compiling=maybe
2415 elif test "x$build_alias" != "x$host_alias"; then
2416 cross_compiling=yes
2420 ac_tool_prefix=
2421 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2423 test "$silent" = yes && exec 6>/dev/null
2426 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2427 ac_ls_di=`ls -di .` &&
2428 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2429 as_fn_error $? "working directory cannot be determined"
2430 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2431 as_fn_error $? "pwd does not report name of working directory"
2434 # Find the source files, if location was not specified.
2435 if test -z "$srcdir"; then
2436 ac_srcdir_defaulted=yes
2437 # Try the directory containing this script, then the parent directory.
2438 ac_confdir=`$as_dirname -- "$as_myself" ||
2439 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2440 X"$as_myself" : 'X\(//\)[^/]' \| \
2441 X"$as_myself" : 'X\(//\)$' \| \
2442 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2443 $as_echo X"$as_myself" |
2444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2445 s//\1/
2448 /^X\(\/\/\)[^/].*/{
2449 s//\1/
2452 /^X\(\/\/\)$/{
2453 s//\1/
2456 /^X\(\/\).*/{
2457 s//\1/
2460 s/.*/./; q'`
2461 srcdir=$ac_confdir
2462 if test ! -r "$srcdir/$ac_unique_file"; then
2463 srcdir=..
2465 else
2466 ac_srcdir_defaulted=no
2468 if test ! -r "$srcdir/$ac_unique_file"; then
2469 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2470 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2472 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2473 ac_abs_confdir=`(
2474 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2475 pwd)`
2476 # When building in place, set srcdir=.
2477 if test "$ac_abs_confdir" = "$ac_pwd"; then
2478 srcdir=.
2480 # Remove unnecessary trailing slashes from srcdir.
2481 # Double slashes in file names in object file debugging info
2482 # mess up M-x gdb in Emacs.
2483 case $srcdir in
2484 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2485 esac
2486 for ac_var in $ac_precious_vars; do
2487 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2488 eval ac_env_${ac_var}_value=\$${ac_var}
2489 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2490 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2491 done
2494 # Report the --help message.
2496 if test "$ac_init_help" = "long"; then
2497 # Omit some internal or obsolete options to make the list less imposing.
2498 # This message is too long to be a string in the A/UX 3.1 sh.
2499 cat <<_ACEOF
2500 \`configure' configures Wine 6.1 to adapt to many kinds of systems.
2502 Usage: $0 [OPTION]... [VAR=VALUE]...
2504 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2505 VAR=VALUE. See below for descriptions of some of the useful variables.
2507 Defaults for the options are specified in brackets.
2509 Configuration:
2510 -h, --help display this help and exit
2511 --help=short display options specific to this package
2512 --help=recursive display the short help of all the included packages
2513 -V, --version display version information and exit
2514 -q, --quiet, --silent do not print \`checking ...' messages
2515 --cache-file=FILE cache test results in FILE [disabled]
2516 -C, --config-cache alias for \`--cache-file=config.cache'
2517 -n, --no-create do not create output files
2518 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2520 Installation directories:
2521 --prefix=PREFIX install architecture-independent files in PREFIX
2522 [$ac_default_prefix]
2523 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2524 [PREFIX]
2526 By default, \`make install' will install all the files in
2527 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2528 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2529 for instance \`--prefix=\$HOME'.
2531 For better control, use the options below.
2533 Fine tuning of the installation directories:
2534 --bindir=DIR user executables [EPREFIX/bin]
2535 --sbindir=DIR system admin executables [EPREFIX/sbin]
2536 --libexecdir=DIR program executables [EPREFIX/libexec]
2537 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2538 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2539 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2540 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2541 --libdir=DIR object code libraries [EPREFIX/lib]
2542 --includedir=DIR C header files [PREFIX/include]
2543 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2544 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2545 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2546 --infodir=DIR info documentation [DATAROOTDIR/info]
2547 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2548 --mandir=DIR man documentation [DATAROOTDIR/man]
2549 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2550 --htmldir=DIR html documentation [DOCDIR]
2551 --dvidir=DIR dvi documentation [DOCDIR]
2552 --pdfdir=DIR pdf documentation [DOCDIR]
2553 --psdir=DIR ps documentation [DOCDIR]
2554 _ACEOF
2556 cat <<\_ACEOF
2558 X features:
2559 --x-includes=DIR X include files are in DIR
2560 --x-libraries=DIR X library files are in DIR
2562 System types:
2563 --build=BUILD configure for building on BUILD [guessed]
2564 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2565 _ACEOF
2568 if test -n "$ac_init_help"; then
2569 case $ac_init_help in
2570 short | recursive ) echo "Configuration of Wine 6.1:";;
2571 esac
2572 cat <<\_ACEOF
2574 Optional Features:
2575 --disable-option-checking ignore unrecognized --enable/--with options
2576 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2577 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2578 --disable-win16 do not include Win16 support
2579 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2580 binaries)
2581 --disable-tests do not build the regression tests
2582 --enable-maintainer-mode
2583 enable maintainer-specific build rules
2584 --enable-silent-rules use silent build rules (override: "make V=1")
2585 --enable-werror treat compilation warnings as errors
2586 --disable-largefile omit support for large files
2588 Optional Packages:
2589 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2590 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2591 --without-alsa do not use the Alsa sound support
2592 --without-capi do not use CAPI (ISDN support)
2593 --without-cms do not use CMS (color management support)
2594 --without-coreaudio do not use the CoreAudio sound support
2595 --without-cups do not use CUPS
2596 --without-dbus do not use DBus (dynamic device support)
2597 --without-faudio do not use FAudio (XAudio2 support)
2598 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2599 --without-fontconfig do not use fontconfig
2600 --without-freetype do not use the FreeType library
2601 --without-gettext do not use gettext
2602 --with-gettextpo use the GetTextPO library to rebuild po files
2603 --without-gphoto do not use gphoto (Digital Camera support)
2604 --without-gnutls do not use GnuTLS (schannel support)
2605 --without-gsm do not use libgsm (GSM 06.10 codec support)
2606 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2607 --without-gstreamer do not use GStreamer (codecs support)
2608 --without-hal do not use HAL (dynamic device support)
2609 --without-inotify do not use inotify (filesystem change notifications)
2610 --without-jpeg do not use JPEG
2611 --without-jxrlib do not use JPEG-XR
2612 --without-krb5 do not use krb5 (Kerberos)
2613 --without-ldap do not use LDAP
2614 --without-mingw do not use the MinGW cross-compiler
2615 --without-mpg123 do not use the mpg123 library
2616 --without-netapi do not use the Samba NetAPI library
2617 --without-openal do not use OpenAL
2618 --without-opencl do not use OpenCL
2619 --without-opengl do not use OpenGL
2620 --without-osmesa do not use the OSMesa library
2621 --without-oss do not use the OSS sound support
2622 --without-pcap do not use the Packet Capture library
2623 --without-png do not use PNG
2624 --without-pthread do not use the pthread library
2625 --without-pulse do not use PulseAudio sound support
2626 --without-quicktime do not use QuickTime support
2627 --without-sane do not use SANE (scanner support)
2628 --without-sdl do not use SDL
2629 --without-tiff do not use TIFF
2630 --without-udev do not use udev (plug and play support)
2631 --without-unwind do not use the libunwind library (exception
2632 handling)
2633 --without-usb do not use the libusb library
2634 --without-v4l2 do not use v4l2 (video capture)
2635 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2636 --without-vulkan do not use Vulkan
2637 --without-xcomposite do not use the Xcomposite extension
2638 --without-xcursor do not use the Xcursor extension
2639 --without-xfixes do not use Xfixes for clipboard change notifications
2640 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2641 --without-xinput do not use the Xinput extension
2642 --without-xinput2 do not use the Xinput 2 extension
2643 --without-xml do not use XML
2644 --without-xrandr do not use Xrandr (multi-monitor support)
2645 --without-xrender do not use the Xrender extension
2646 --without-xshape do not use the Xshape extension
2647 --without-xshm do not use XShm (shared memory extension)
2648 --without-xslt do not use XSLT
2649 --without-xxf86vm do not use XFree video mode extension
2650 --with-wine-tools=DIR use Wine tools from directory DIR
2651 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2652 --with-x use the X Window System
2654 Some influential environment variables:
2655 CC C compiler command
2656 CFLAGS C compiler flags
2657 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2658 nonstandard directory <lib dir>
2659 LIBS libraries to pass to the linker, e.g. -l<library>
2660 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2661 you have headers in a nonstandard directory <include dir>
2662 CXX C++ compiler command
2663 CXXFLAGS C++ compiler flags
2664 CPP C preprocessor
2665 OBJC Objective C compiler command
2666 OBJCFLAGS Objective C compiler flags
2667 OBJCPP Objective C preprocessor
2668 XMKMF Path to xmkmf, Makefile generator for X Window System
2669 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2670 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2671 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2672 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2673 INOTIFY_CFLAGS
2674 C compiler flags for libinotify, overriding pkg-config
2675 INOTIFY_LIBS
2676 Linker flags for libinotify, overriding pkg-config
2677 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2678 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2679 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2680 HAL_LIBS Linker flags for hal, overriding pkg-config
2681 GNUTLS_CFLAGS
2682 C compiler flags for gnutls, overriding pkg-config
2683 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2684 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2685 SANE_LIBS Linker flags for libsane, overriding pkg-config
2686 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2687 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2688 GPHOTO2_CFLAGS
2689 C compiler flags for libgphoto2, overriding pkg-config
2690 GPHOTO2_LIBS
2691 Linker flags for libgphoto2, overriding pkg-config
2692 GPHOTO2_PORT_CFLAGS
2693 C compiler flags for libgphoto2_port, overriding pkg-config
2694 GPHOTO2_PORT_LIBS
2695 Linker flags for libgphoto2_port, overriding pkg-config
2696 LCMS2_CFLAGS
2697 C compiler flags for lcms2, overriding pkg-config
2698 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2699 FREETYPE_CFLAGS
2700 C compiler flags for freetype2, overriding pkg-config
2701 FREETYPE_LIBS
2702 Linker flags for freetype2, overriding pkg-config
2703 PULSE_CFLAGS
2704 C compiler flags for libpulse, overriding pkg-config
2705 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2706 GSTREAMER_CFLAGS
2707 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2708 gstreamer-audio-1.0, overriding pkg-config
2709 GSTREAMER_LIBS
2710 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2711 gstreamer-audio-1.0, overriding pkg-config
2712 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2713 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2714 UNWIND_CFLAGS
2715 C compiler flags for libunwind, overriding pkg-config
2716 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2717 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2718 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2719 FAUDIO_CFLAGS
2720 C compiler flags for faudio, overriding pkg-config
2721 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2722 CAPI20_CFLAGS
2723 C compiler flags for capi20, overriding pkg-config
2724 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2725 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2726 CUPS_LIBS Linker flags for cups, overriding pkg-config
2727 FONTCONFIG_CFLAGS
2728 C compiler flags for fontconfig, overriding pkg-config
2729 FONTCONFIG_LIBS
2730 Linker flags for fontconfig, overriding pkg-config
2731 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2732 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2733 GSSAPI_CFLAGS
2734 C compiler flags for krb5-gssapi, overriding pkg-config
2735 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2736 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2737 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2738 JXRLIB_CFLAGS
2739 C compiler flags for jxrlib, overriding pkg-config
2740 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2741 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2742 PNG_LIBS Linker flags for libpng, overriding pkg-config
2743 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2744 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2745 MPG123_CFLAGS
2746 C compiler flags for libmpg123, overriding pkg-config
2747 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2748 NETAPI_CFLAGS
2749 C compiler flags for netapi, overriding pkg-config
2750 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2751 VKD3D_CFLAGS
2752 C compiler flags for libvkd3d, overriding pkg-config
2753 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2754 VKD3D_SHADER_CFLAGS
2755 C compiler flags for libvkd3d-shader, overriding pkg-config
2756 VKD3D_SHADER_LIBS
2757 Linker flags for libvkd3d-shader, overriding pkg-config
2758 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2759 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2761 Use these variables to override the choices made by `configure' or to help
2762 it to find libraries and programs with nonstandard names/locations.
2764 Report bugs to <wine-devel@winehq.org>.
2765 Wine home page: <https://www.winehq.org>.
2766 _ACEOF
2767 ac_status=$?
2770 if test "$ac_init_help" = "recursive"; then
2771 # If there are subdirs, report their specific --help.
2772 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2773 test -d "$ac_dir" ||
2774 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2775 continue
2776 ac_builddir=.
2778 case "$ac_dir" in
2779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2781 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2782 # A ".." for each directory in $ac_dir_suffix.
2783 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2784 case $ac_top_builddir_sub in
2785 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2786 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2787 esac ;;
2788 esac
2789 ac_abs_top_builddir=$ac_pwd
2790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2791 # for backward compatibility:
2792 ac_top_builddir=$ac_top_build_prefix
2794 case $srcdir in
2795 .) # We are building in place.
2796 ac_srcdir=.
2797 ac_top_srcdir=$ac_top_builddir_sub
2798 ac_abs_top_srcdir=$ac_pwd ;;
2799 [\\/]* | ?:[\\/]* ) # Absolute name.
2800 ac_srcdir=$srcdir$ac_dir_suffix;
2801 ac_top_srcdir=$srcdir
2802 ac_abs_top_srcdir=$srcdir ;;
2803 *) # Relative name.
2804 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2805 ac_top_srcdir=$ac_top_build_prefix$srcdir
2806 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2807 esac
2808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2810 cd "$ac_dir" || { ac_status=$?; continue; }
2811 # Check for guested configure.
2812 if test -f "$ac_srcdir/configure.gnu"; then
2813 echo &&
2814 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2815 elif test -f "$ac_srcdir/configure"; then
2816 echo &&
2817 $SHELL "$ac_srcdir/configure" --help=recursive
2818 else
2819 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2820 fi || ac_status=$?
2821 cd "$ac_pwd" || { ac_status=$?; break; }
2822 done
2825 test -n "$ac_init_help" && exit $ac_status
2826 if $ac_init_version; then
2827 cat <<\_ACEOF
2828 Wine configure 6.1
2829 generated by GNU Autoconf 2.69
2831 Copyright (C) 2012 Free Software Foundation, Inc.
2832 This configure script is free software; the Free Software Foundation
2833 gives unlimited permission to copy, distribute and modify it.
2834 _ACEOF
2835 exit
2838 ## ------------------------ ##
2839 ## Autoconf initialization. ##
2840 ## ------------------------ ##
2842 # ac_fn_c_try_compile LINENO
2843 # --------------------------
2844 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2845 ac_fn_c_try_compile ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 rm -f conftest.$ac_objext
2849 if { { ac_try="$ac_compile"
2850 case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2853 esac
2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2855 $as_echo "$ac_try_echo"; } >&5
2856 (eval "$ac_compile") 2>conftest.err
2857 ac_status=$?
2858 if test -s conftest.err; then
2859 grep -v '^ *+' conftest.err >conftest.er1
2860 cat conftest.er1 >&5
2861 mv -f conftest.er1 conftest.err
2863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2864 test $ac_status = 0; } && {
2865 test -z "$ac_c_werror_flag" ||
2866 test ! -s conftest.err
2867 } && test -s conftest.$ac_objext; then :
2868 ac_retval=0
2869 else
2870 $as_echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2873 ac_retval=1
2875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 as_fn_set_status $ac_retval
2878 } # ac_fn_c_try_compile
2880 # ac_fn_cxx_try_compile LINENO
2881 # ----------------------------
2882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2883 ac_fn_cxx_try_compile ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 rm -f conftest.$ac_objext
2887 if { { ac_try="$ac_compile"
2888 case "(($ac_try" in
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2891 esac
2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 $as_echo "$ac_try_echo"; } >&5
2894 (eval "$ac_compile") 2>conftest.err
2895 ac_status=$?
2896 if test -s conftest.err; then
2897 grep -v '^ *+' conftest.err >conftest.er1
2898 cat conftest.er1 >&5
2899 mv -f conftest.er1 conftest.err
2901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2902 test $ac_status = 0; } && {
2903 test -z "$ac_cxx_werror_flag" ||
2904 test ! -s conftest.err
2905 } && test -s conftest.$ac_objext; then :
2906 ac_retval=0
2907 else
2908 $as_echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2911 ac_retval=1
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2914 as_fn_set_status $ac_retval
2916 } # ac_fn_cxx_try_compile
2918 # ac_fn_c_try_link LINENO
2919 # -----------------------
2920 # Try to link conftest.$ac_ext, and return whether this succeeded.
2921 ac_fn_c_try_link ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 rm -f conftest.$ac_objext conftest$ac_exeext
2925 if { { ac_try="$ac_link"
2926 case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2929 esac
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_link") 2>conftest.err
2933 ac_status=$?
2934 if test -s conftest.err; then
2935 grep -v '^ *+' conftest.err >conftest.er1
2936 cat conftest.er1 >&5
2937 mv -f conftest.er1 conftest.err
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; } && {
2941 test -z "$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2943 } && test -s conftest$ac_exeext && {
2944 test "$cross_compiling" = yes ||
2945 test -x conftest$ac_exeext
2946 }; then :
2947 ac_retval=0
2948 else
2949 $as_echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2952 ac_retval=1
2954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2956 # interfere with the next link command; also delete a directory that is
2957 # left behind by Apple's compiler. We do this before executing the actions.
2958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2960 as_fn_set_status $ac_retval
2962 } # ac_fn_c_try_link
2964 # ac_fn_c_try_cpp LINENO
2965 # ----------------------
2966 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2967 ac_fn_c_try_cpp ()
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 if { { ac_try="$ac_cpp conftest.$ac_ext"
2971 case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2974 esac
2975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2976 $as_echo "$ac_try_echo"; } >&5
2977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2978 ac_status=$?
2979 if test -s conftest.err; then
2980 grep -v '^ *+' conftest.err >conftest.er1
2981 cat conftest.er1 >&5
2982 mv -f conftest.er1 conftest.err
2984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; } > conftest.i && {
2986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2987 test ! -s conftest.err
2988 }; then :
2989 ac_retval=0
2990 else
2991 $as_echo "$as_me: failed program was:" >&5
2992 sed 's/^/| /' conftest.$ac_ext >&5
2994 ac_retval=1
2996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2997 as_fn_set_status $ac_retval
2999 } # ac_fn_c_try_cpp
3001 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3002 # -------------------------------------------------------
3003 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3004 # the include files in INCLUDES and setting the cache variable VAR
3005 # accordingly.
3006 ac_fn_c_check_header_mongrel ()
3008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3009 if eval \${$3+:} false; then :
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3011 $as_echo_n "checking for $2... " >&6; }
3012 if eval \${$3+:} false; then :
3013 $as_echo_n "(cached) " >&6
3015 eval ac_res=\$$3
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3017 $as_echo "$ac_res" >&6; }
3018 else
3019 # Is the header compilable?
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3021 $as_echo_n "checking $2 usability... " >&6; }
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3025 #include <$2>
3026 _ACEOF
3027 if ac_fn_c_try_compile "$LINENO"; then :
3028 ac_header_compiler=yes
3029 else
3030 ac_header_compiler=no
3032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3034 $as_echo "$ac_header_compiler" >&6; }
3036 # Is the header present?
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3038 $as_echo_n "checking $2 presence... " >&6; }
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3041 #include <$2>
3042 _ACEOF
3043 if ac_fn_c_try_cpp "$LINENO"; then :
3044 ac_header_preproc=yes
3045 else
3046 ac_header_preproc=no
3048 rm -f conftest.err conftest.i conftest.$ac_ext
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3050 $as_echo "$ac_header_preproc" >&6; }
3052 # So? What about this header?
3053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3054 yes:no: )
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3056 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3058 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3060 no:yes:* )
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3062 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3064 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3066 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3068 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3070 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3071 ( $as_echo "## ------------------------------------ ##
3072 ## Report this to wine-devel@winehq.org ##
3073 ## ------------------------------------ ##"
3074 ) | sed "s/^/$as_me: WARNING: /" >&2
3076 esac
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3078 $as_echo_n "checking for $2... " >&6; }
3079 if eval \${$3+:} false; then :
3080 $as_echo_n "(cached) " >&6
3081 else
3082 eval "$3=\$ac_header_compiler"
3084 eval ac_res=\$$3
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3086 $as_echo "$ac_res" >&6; }
3088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3090 } # ac_fn_c_check_header_mongrel
3092 # ac_fn_c_try_run LINENO
3093 # ----------------------
3094 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3095 # that executables *can* be run.
3096 ac_fn_c_try_run ()
3098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3099 if { { ac_try="$ac_link"
3100 case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103 esac
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_link") 2>&5
3107 ac_status=$?
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3110 { { case "(($ac_try" in
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3113 esac
3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_try") 2>&5
3117 ac_status=$?
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }; }; then :
3120 ac_retval=0
3121 else
3122 $as_echo "$as_me: program exited with status $ac_status" >&5
3123 $as_echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3126 ac_retval=$ac_status
3128 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3130 as_fn_set_status $ac_retval
3132 } # ac_fn_c_try_run
3134 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3135 # -------------------------------------------------------
3136 # Tests whether HEADER exists and can be compiled using the include files in
3137 # INCLUDES, setting the cache variable VAR accordingly.
3138 ac_fn_c_check_header_compile ()
3140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3142 $as_echo_n "checking for $2... " >&6; }
3143 if eval \${$3+:} false; then :
3144 $as_echo_n "(cached) " >&6
3145 else
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3149 #include <$2>
3150 _ACEOF
3151 if ac_fn_c_try_compile "$LINENO"; then :
3152 eval "$3=yes"
3153 else
3154 eval "$3=no"
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 eval ac_res=\$$3
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3160 $as_echo "$ac_res" >&6; }
3161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3163 } # ac_fn_c_check_header_compile
3165 # ac_fn_objc_try_compile LINENO
3166 # -----------------------------
3167 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3168 ac_fn_objc_try_compile ()
3170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3171 rm -f conftest.$ac_objext
3172 if { { ac_try="$ac_compile"
3173 case "(($ac_try" in
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3176 esac
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_compile") 2>conftest.err
3180 ac_status=$?
3181 if test -s conftest.err; then
3182 grep -v '^ *+' conftest.err >conftest.er1
3183 cat conftest.er1 >&5
3184 mv -f conftest.er1 conftest.err
3186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3187 test $ac_status = 0; } && {
3188 test -z "$ac_objc_werror_flag" ||
3189 test ! -s conftest.err
3190 } && test -s conftest.$ac_objext; then :
3191 ac_retval=0
3192 else
3193 $as_echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3196 ac_retval=1
3198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199 as_fn_set_status $ac_retval
3201 } # ac_fn_objc_try_compile
3203 # ac_fn_objc_try_cpp LINENO
3204 # -------------------------
3205 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3206 ac_fn_objc_try_cpp ()
3208 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3209 if { { ac_try="$ac_cpp conftest.$ac_ext"
3210 case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3213 esac
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3217 ac_status=$?
3218 if test -s conftest.err; then
3219 grep -v '^ *+' conftest.err >conftest.er1
3220 cat conftest.er1 >&5
3221 mv -f conftest.er1 conftest.err
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; } > conftest.i && {
3225 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3226 test ! -s conftest.err
3227 }; then :
3228 ac_retval=0
3229 else
3230 $as_echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3233 ac_retval=1
3235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3236 as_fn_set_status $ac_retval
3238 } # ac_fn_objc_try_cpp
3240 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3241 # ----------------------------------------------------------
3242 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3243 # the include files in INCLUDES and setting the cache variable VAR
3244 # accordingly.
3245 ac_fn_objc_check_header_mongrel ()
3247 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3248 if eval \${$3+:} false; then :
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3250 $as_echo_n "checking for $2... " >&6; }
3251 if eval \${$3+:} false; then :
3252 $as_echo_n "(cached) " >&6
3254 eval ac_res=\$$3
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3256 $as_echo "$ac_res" >&6; }
3257 else
3258 # Is the header compilable?
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3260 $as_echo_n "checking $2 usability... " >&6; }
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3264 #include <$2>
3265 _ACEOF
3266 if ac_fn_objc_try_compile "$LINENO"; then :
3267 ac_header_compiler=yes
3268 else
3269 ac_header_compiler=no
3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3273 $as_echo "$ac_header_compiler" >&6; }
3275 # Is the header present?
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3277 $as_echo_n "checking $2 presence... " >&6; }
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3280 #include <$2>
3281 _ACEOF
3282 if ac_fn_objc_try_cpp "$LINENO"; then :
3283 ac_header_preproc=yes
3284 else
3285 ac_header_preproc=no
3287 rm -f conftest.err conftest.i conftest.$ac_ext
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3289 $as_echo "$ac_header_preproc" >&6; }
3291 # So? What about this header?
3292 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3293 yes:no: )
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3295 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3297 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3299 no:yes:* )
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3301 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3303 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3305 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3307 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3309 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3310 ( $as_echo "## ------------------------------------ ##
3311 ## Report this to wine-devel@winehq.org ##
3312 ## ------------------------------------ ##"
3313 ) | sed "s/^/$as_me: WARNING: /" >&2
3315 esac
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3317 $as_echo_n "checking for $2... " >&6; }
3318 if eval \${$3+:} false; then :
3319 $as_echo_n "(cached) " >&6
3320 else
3321 eval "$3=\$ac_header_compiler"
3323 eval ac_res=\$$3
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3325 $as_echo "$ac_res" >&6; }
3327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3329 } # ac_fn_objc_check_header_mongrel
3331 # ac_fn_c_check_func LINENO FUNC VAR
3332 # ----------------------------------
3333 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3334 ac_fn_c_check_func ()
3336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3338 $as_echo_n "checking for $2... " >&6; }
3339 if eval \${$3+:} false; then :
3340 $as_echo_n "(cached) " >&6
3341 else
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3344 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3346 #define $2 innocuous_$2
3348 /* System header to define __stub macros and hopefully few prototypes,
3349 which can conflict with char $2 (); below.
3350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3351 <limits.h> exists even on freestanding compilers. */
3353 #ifdef __STDC__
3354 # include <limits.h>
3355 #else
3356 # include <assert.h>
3357 #endif
3359 #undef $2
3361 /* Override any GCC internal prototype to avoid an error.
3362 Use char because int might match the return type of a GCC
3363 builtin and then its argument prototype would still apply. */
3364 #ifdef __cplusplus
3365 extern "C"
3366 #endif
3367 char $2 ();
3368 /* The GNU C library defines this for functions which it implements
3369 to always fail with ENOSYS. Some functions are actually named
3370 something starting with __ and the normal name is an alias. */
3371 #if defined __stub_$2 || defined __stub___$2
3372 choke me
3373 #endif
3376 main ()
3378 return $2 ();
3380 return 0;
3382 _ACEOF
3383 if ac_fn_c_try_link "$LINENO"; then :
3384 eval "$3=yes"
3385 else
3386 eval "$3=no"
3388 rm -f core conftest.err conftest.$ac_objext \
3389 conftest$ac_exeext conftest.$ac_ext
3391 eval ac_res=\$$3
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3393 $as_echo "$ac_res" >&6; }
3394 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3396 } # ac_fn_c_check_func
3398 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3399 # ----------------------------------------------------
3400 # Tries to find if the field MEMBER exists in type AGGR, after including
3401 # INCLUDES, setting cache variable VAR accordingly.
3402 ac_fn_c_check_member ()
3404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3406 $as_echo_n "checking for $2.$3... " >&6; }
3407 if eval \${$4+:} false; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3414 main ()
3416 static $2 ac_aggr;
3417 if (ac_aggr.$3)
3418 return 0;
3420 return 0;
3422 _ACEOF
3423 if ac_fn_c_try_compile "$LINENO"; then :
3424 eval "$4=yes"
3425 else
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3430 main ()
3432 static $2 ac_aggr;
3433 if (sizeof ac_aggr.$3)
3434 return 0;
3436 return 0;
3438 _ACEOF
3439 if ac_fn_c_try_compile "$LINENO"; then :
3440 eval "$4=yes"
3441 else
3442 eval "$4=no"
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 eval ac_res=\$$4
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3450 $as_echo "$ac_res" >&6; }
3451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3453 } # ac_fn_c_check_member
3455 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3456 # -------------------------------------------
3457 # Tests whether TYPE exists after having included INCLUDES, setting cache
3458 # variable VAR accordingly.
3459 ac_fn_c_check_type ()
3461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3463 $as_echo_n "checking for $2... " >&6; }
3464 if eval \${$3+:} false; then :
3465 $as_echo_n "(cached) " >&6
3466 else
3467 eval "$3=no"
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3472 main ()
3474 if (sizeof ($2))
3475 return 0;
3477 return 0;
3479 _ACEOF
3480 if ac_fn_c_try_compile "$LINENO"; then :
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3485 main ()
3487 if (sizeof (($2)))
3488 return 0;
3490 return 0;
3492 _ACEOF
3493 if ac_fn_c_try_compile "$LINENO"; then :
3495 else
3496 eval "$3=yes"
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 eval ac_res=\$$3
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3504 $as_echo "$ac_res" >&6; }
3505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3507 } # ac_fn_c_check_type
3508 cat >config.log <<_ACEOF
3509 This file contains any messages produced by compilers while
3510 running configure, to aid debugging if configure makes a mistake.
3512 It was created by Wine $as_me 6.1, which was
3513 generated by GNU Autoconf 2.69. Invocation command line was
3515 $ $0 $@
3517 _ACEOF
3518 exec 5>>config.log
3520 cat <<_ASUNAME
3521 ## --------- ##
3522 ## Platform. ##
3523 ## --------- ##
3525 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3526 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3527 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3528 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3529 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3531 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3532 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3534 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3535 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3536 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3537 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3538 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3539 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3540 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3542 _ASUNAME
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3547 IFS=$as_save_IFS
3548 test -z "$as_dir" && as_dir=.
3549 $as_echo "PATH: $as_dir"
3550 done
3551 IFS=$as_save_IFS
3553 } >&5
3555 cat >&5 <<_ACEOF
3558 ## ----------- ##
3559 ## Core tests. ##
3560 ## ----------- ##
3562 _ACEOF
3565 # Keep a trace of the command line.
3566 # Strip out --no-create and --no-recursion so they do not pile up.
3567 # Strip out --silent because we don't want to record it for future runs.
3568 # Also quote any args containing shell meta-characters.
3569 # Make two passes to allow for proper duplicate-argument suppression.
3570 ac_configure_args=
3571 ac_configure_args0=
3572 ac_configure_args1=
3573 ac_must_keep_next=false
3574 for ac_pass in 1 2
3576 for ac_arg
3578 case $ac_arg in
3579 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3581 | -silent | --silent | --silen | --sile | --sil)
3582 continue ;;
3583 *\'*)
3584 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3585 esac
3586 case $ac_pass in
3587 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3589 as_fn_append ac_configure_args1 " '$ac_arg'"
3590 if test $ac_must_keep_next = true; then
3591 ac_must_keep_next=false # Got value, back to normal.
3592 else
3593 case $ac_arg in
3594 *=* | --config-cache | -C | -disable-* | --disable-* \
3595 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3596 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3597 | -with-* | --with-* | -without-* | --without-* | --x)
3598 case "$ac_configure_args0 " in
3599 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3600 esac
3602 -* ) ac_must_keep_next=true ;;
3603 esac
3605 as_fn_append ac_configure_args " '$ac_arg'"
3607 esac
3608 done
3609 done
3610 { ac_configure_args0=; unset ac_configure_args0;}
3611 { ac_configure_args1=; unset ac_configure_args1;}
3613 # When interrupted or exit'd, cleanup temporary files, and complete
3614 # config.log. We remove comments because anyway the quotes in there
3615 # would cause problems or look ugly.
3616 # WARNING: Use '\'' to represent an apostrophe within the trap.
3617 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3618 trap 'exit_status=$?
3619 # Save into config.log some information that might help in debugging.
3621 echo
3623 $as_echo "## ---------------- ##
3624 ## Cache variables. ##
3625 ## ---------------- ##"
3626 echo
3627 # The following way of writing the cache mishandles newlines in values,
3629 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3630 eval ac_val=\$$ac_var
3631 case $ac_val in #(
3632 *${as_nl}*)
3633 case $ac_var in #(
3634 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3635 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3636 esac
3637 case $ac_var in #(
3638 _ | IFS | as_nl) ;; #(
3639 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3640 *) { eval $ac_var=; unset $ac_var;} ;;
3641 esac ;;
3642 esac
3643 done
3644 (set) 2>&1 |
3645 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3646 *${as_nl}ac_space=\ *)
3647 sed -n \
3648 "s/'\''/'\''\\\\'\'''\''/g;
3649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3650 ;; #(
3652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3654 esac |
3655 sort
3657 echo
3659 $as_echo "## ----------------- ##
3660 ## Output variables. ##
3661 ## ----------------- ##"
3662 echo
3663 for ac_var in $ac_subst_vars
3665 eval ac_val=\$$ac_var
3666 case $ac_val in
3667 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3668 esac
3669 $as_echo "$ac_var='\''$ac_val'\''"
3670 done | sort
3671 echo
3673 if test -n "$ac_subst_files"; then
3674 $as_echo "## ------------------- ##
3675 ## File substitutions. ##
3676 ## ------------------- ##"
3677 echo
3678 for ac_var in $ac_subst_files
3680 eval ac_val=\$$ac_var
3681 case $ac_val in
3682 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3683 esac
3684 $as_echo "$ac_var='\''$ac_val'\''"
3685 done | sort
3686 echo
3689 if test -s confdefs.h; then
3690 $as_echo "## ----------- ##
3691 ## confdefs.h. ##
3692 ## ----------- ##"
3693 echo
3694 cat confdefs.h
3695 echo
3697 test "$ac_signal" != 0 &&
3698 $as_echo "$as_me: caught signal $ac_signal"
3699 $as_echo "$as_me: exit $exit_status"
3700 } >&5
3701 rm -f core *.core core.conftest.* &&
3702 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3703 exit $exit_status
3705 for ac_signal in 1 2 13 15; do
3706 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3707 done
3708 ac_signal=0
3710 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3711 rm -f -r conftest* confdefs.h
3713 $as_echo "/* confdefs.h */" > confdefs.h
3715 # Predefined preprocessor variables.
3717 cat >>confdefs.h <<_ACEOF
3718 #define PACKAGE_NAME "$PACKAGE_NAME"
3719 _ACEOF
3721 cat >>confdefs.h <<_ACEOF
3722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3723 _ACEOF
3725 cat >>confdefs.h <<_ACEOF
3726 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3727 _ACEOF
3729 cat >>confdefs.h <<_ACEOF
3730 #define PACKAGE_STRING "$PACKAGE_STRING"
3731 _ACEOF
3733 cat >>confdefs.h <<_ACEOF
3734 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3735 _ACEOF
3737 cat >>confdefs.h <<_ACEOF
3738 #define PACKAGE_URL "$PACKAGE_URL"
3739 _ACEOF
3742 # Let the site file select an alternate cache file if it wants to.
3743 # Prefer an explicitly selected file to automatically selected ones.
3744 ac_site_file1=NONE
3745 ac_site_file2=NONE
3746 if test -n "$CONFIG_SITE"; then
3747 # We do not want a PATH search for config.site.
3748 case $CONFIG_SITE in #((
3749 -*) ac_site_file1=./$CONFIG_SITE;;
3750 */*) ac_site_file1=$CONFIG_SITE;;
3751 *) ac_site_file1=./$CONFIG_SITE;;
3752 esac
3753 elif test "x$prefix" != xNONE; then
3754 ac_site_file1=$prefix/share/config.site
3755 ac_site_file2=$prefix/etc/config.site
3756 else
3757 ac_site_file1=$ac_default_prefix/share/config.site
3758 ac_site_file2=$ac_default_prefix/etc/config.site
3760 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3762 test "x$ac_site_file" = xNONE && continue
3763 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3765 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3766 sed 's/^/| /' "$ac_site_file" >&5
3767 . "$ac_site_file" \
3768 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770 as_fn_error $? "failed to load site script $ac_site_file
3771 See \`config.log' for more details" "$LINENO" 5; }
3773 done
3775 if test -r "$cache_file"; then
3776 # Some versions of bash will fail to source /dev/null (special files
3777 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3778 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3780 $as_echo "$as_me: loading cache $cache_file" >&6;}
3781 case $cache_file in
3782 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3783 *) . "./$cache_file";;
3784 esac
3786 else
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3788 $as_echo "$as_me: creating cache $cache_file" >&6;}
3789 >$cache_file
3792 # Check that the precious variables saved in the cache have kept the same
3793 # value.
3794 ac_cache_corrupted=false
3795 for ac_var in $ac_precious_vars; do
3796 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3797 eval ac_new_set=\$ac_env_${ac_var}_set
3798 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3799 eval ac_new_val=\$ac_env_${ac_var}_value
3800 case $ac_old_set,$ac_new_set in
3801 set,)
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3803 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3804 ac_cache_corrupted=: ;;
3805 ,set)
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3807 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3808 ac_cache_corrupted=: ;;
3809 ,);;
3811 if test "x$ac_old_val" != "x$ac_new_val"; then
3812 # differences in whitespace do not lead to failure.
3813 ac_old_val_w=`echo x $ac_old_val`
3814 ac_new_val_w=`echo x $ac_new_val`
3815 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3817 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3818 ac_cache_corrupted=:
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3821 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3822 eval $ac_var=\$ac_old_val
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3825 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3827 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3828 fi;;
3829 esac
3830 # Pass precious variables to config.status.
3831 if test "$ac_new_set" = set; then
3832 case $ac_new_val in
3833 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3834 *) ac_arg=$ac_var=$ac_new_val ;;
3835 esac
3836 case " $ac_configure_args " in
3837 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3838 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3839 esac
3841 done
3842 if $ac_cache_corrupted; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3846 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3847 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3849 ## -------------------- ##
3850 ## Main body of script. ##
3851 ## -------------------- ##
3853 ac_ext=c
3854 ac_cpp='$CPP $CPPFLAGS'
3855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3861 ac_config_headers="$ac_config_headers include/config.h"
3863 ac_aux_dir=
3864 for ac_dir in tools "$srcdir"/tools; do
3865 if test -f "$ac_dir/install-sh"; then
3866 ac_aux_dir=$ac_dir
3867 ac_install_sh="$ac_aux_dir/install-sh -c"
3868 break
3869 elif test -f "$ac_dir/install.sh"; then
3870 ac_aux_dir=$ac_dir
3871 ac_install_sh="$ac_aux_dir/install.sh -c"
3872 break
3873 elif test -f "$ac_dir/shtool"; then
3874 ac_aux_dir=$ac_dir
3875 ac_install_sh="$ac_aux_dir/shtool install -c"
3876 break
3878 done
3879 if test -z "$ac_aux_dir"; then
3880 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3883 # These three variables are undocumented and unsupported,
3884 # and are intended to be withdrawn in a future Autoconf release.
3885 # They can cause serious problems if a builder's source tree is in a directory
3886 # whose full name contains unusual characters.
3887 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3888 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3889 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3893 libwine_version="1.0"
3897 # Check whether --enable-win16 was given.
3898 if test "${enable_win16+set}" = set; then :
3899 enableval=$enable_win16;
3902 # Check whether --enable-win64 was given.
3903 if test "${enable_win64+set}" = set; then :
3904 enableval=$enable_win64;
3907 # Check whether --enable-tests was given.
3908 if test "${enable_tests+set}" = set; then :
3909 enableval=$enable_tests;
3912 # Check whether --enable-maintainer-mode was given.
3913 if test "${enable_maintainer_mode+set}" = set; then :
3914 enableval=$enable_maintainer_mode;
3917 # Check whether --enable-silent-rules was given.
3918 if test "${enable_silent_rules+set}" = set; then :
3919 enableval=$enable_silent_rules;
3922 # Check whether --enable-werror was given.
3923 if test "${enable_werror+set}" = set; then :
3924 enableval=$enable_werror;
3929 # Check whether --with-alsa was given.
3930 if test "${with_alsa+set}" = set; then :
3931 withval=$with_alsa;
3935 # Check whether --with-capi was given.
3936 if test "${with_capi+set}" = set; then :
3937 withval=$with_capi;
3941 # Check whether --with-cms was given.
3942 if test "${with_cms+set}" = set; then :
3943 withval=$with_cms;
3947 # Check whether --with-coreaudio was given.
3948 if test "${with_coreaudio+set}" = set; then :
3949 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3953 # Check whether --with-cups was given.
3954 if test "${with_cups+set}" = set; then :
3955 withval=$with_cups;
3959 # Check whether --with-dbus was given.
3960 if test "${with_dbus+set}" = set; then :
3961 withval=$with_dbus;
3965 # Check whether --with-faudio was given.
3966 if test "${with_faudio+set}" = set; then :
3967 withval=$with_faudio;
3971 # Check whether --with-float-abi was given.
3972 if test "${with_float_abi+set}" = set; then :
3973 withval=$with_float_abi;
3977 # Check whether --with-fontconfig was given.
3978 if test "${with_fontconfig+set}" = set; then :
3979 withval=$with_fontconfig;
3983 # Check whether --with-freetype was given.
3984 if test "${with_freetype+set}" = set; then :
3985 withval=$with_freetype;
3989 # Check whether --with-gettext was given.
3990 if test "${with_gettext+set}" = set; then :
3991 withval=$with_gettext;
3995 # Check whether --with-gettextpo was given.
3996 if test "${with_gettextpo+set}" = set; then :
3997 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4001 # Check whether --with-gphoto was given.
4002 if test "${with_gphoto+set}" = set; then :
4003 withval=$with_gphoto;
4007 # Check whether --with-gnutls was given.
4008 if test "${with_gnutls+set}" = set; then :
4009 withval=$with_gnutls;
4013 # Check whether --with-gsm was given.
4014 if test "${with_gsm+set}" = set; then :
4015 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4019 # Check whether --with-gssapi was given.
4020 if test "${with_gssapi+set}" = set; then :
4021 withval=$with_gssapi;
4025 # Check whether --with-gstreamer was given.
4026 if test "${with_gstreamer+set}" = set; then :
4027 withval=$with_gstreamer;
4031 # Check whether --with-hal was given.
4032 if test "${with_hal+set}" = set; then :
4033 withval=$with_hal;
4037 # Check whether --with-inotify was given.
4038 if test "${with_inotify+set}" = set; then :
4039 withval=$with_inotify;
4043 # Check whether --with-jpeg was given.
4044 if test "${with_jpeg+set}" = set; then :
4045 withval=$with_jpeg;
4049 # Check whether --with-jxrlib was given.
4050 if test "${with_jxrlib+set}" = set; then :
4051 withval=$with_jxrlib;
4055 # Check whether --with-krb5 was given.
4056 if test "${with_krb5+set}" = set; then :
4057 withval=$with_krb5;
4061 # Check whether --with-ldap was given.
4062 if test "${with_ldap+set}" = set; then :
4063 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4067 # Check whether --with-mingw was given.
4068 if test "${with_mingw+set}" = set; then :
4069 withval=$with_mingw;
4073 # Check whether --with-mpg123 was given.
4074 if test "${with_mpg123+set}" = set; then :
4075 withval=$with_mpg123;
4079 # Check whether --with-netapi was given.
4080 if test "${with_netapi+set}" = set; then :
4081 withval=$with_netapi;
4085 # Check whether --with-openal was given.
4086 if test "${with_openal+set}" = set; then :
4087 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4091 # Check whether --with-opencl was given.
4092 if test "${with_opencl+set}" = set; then :
4093 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4097 # Check whether --with-opengl was given.
4098 if test "${with_opengl+set}" = set; then :
4099 withval=$with_opengl;
4103 # Check whether --with-osmesa was given.
4104 if test "${with_osmesa+set}" = set; then :
4105 withval=$with_osmesa;
4109 # Check whether --with-oss was given.
4110 if test "${with_oss+set}" = set; then :
4111 withval=$with_oss;
4115 # Check whether --with-pcap was given.
4116 if test "${with_pcap+set}" = set; then :
4117 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4121 # Check whether --with-png was given.
4122 if test "${with_png+set}" = set; then :
4123 withval=$with_png;
4127 # Check whether --with-pthread was given.
4128 if test "${with_pthread+set}" = set; then :
4129 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4133 # Check whether --with-pulse was given.
4134 if test "${with_pulse+set}" = set; then :
4135 withval=$with_pulse;
4139 # Check whether --with-quicktime was given.
4140 if test "${with_quicktime+set}" = set; then :
4141 withval=$with_quicktime;
4145 # Check whether --with-sane was given.
4146 if test "${with_sane+set}" = set; then :
4147 withval=$with_sane;
4151 # Check whether --with-sdl was given.
4152 if test "${with_sdl+set}" = set; then :
4153 withval=$with_sdl;
4157 # Check whether --with-tiff was given.
4158 if test "${with_tiff+set}" = set; then :
4159 withval=$with_tiff;
4163 # Check whether --with-udev was given.
4164 if test "${with_udev+set}" = set; then :
4165 withval=$with_udev;
4169 # Check whether --with-unwind was given.
4170 if test "${with_unwind+set}" = set; then :
4171 withval=$with_unwind;
4175 # Check whether --with-usb was given.
4176 if test "${with_usb+set}" = set; then :
4177 withval=$with_usb;
4181 # Check whether --with-v4l2 was given.
4182 if test "${with_v4l2+set}" = set; then :
4183 withval=$with_v4l2;
4187 # Check whether --with-vkd3d was given.
4188 if test "${with_vkd3d+set}" = set; then :
4189 withval=$with_vkd3d;
4193 # Check whether --with-vulkan was given.
4194 if test "${with_vulkan+set}" = set; then :
4195 withval=$with_vulkan;
4199 # Check whether --with-xcomposite was given.
4200 if test "${with_xcomposite+set}" = set; then :
4201 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4205 # Check whether --with-xcursor was given.
4206 if test "${with_xcursor+set}" = set; then :
4207 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4211 # Check whether --with-xfixes was given.
4212 if test "${with_xfixes+set}" = set; then :
4213 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4217 # Check whether --with-xinerama was given.
4218 if test "${with_xinerama+set}" = set; then :
4219 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4223 # Check whether --with-xinput was given.
4224 if test "${with_xinput+set}" = set; then :
4225 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4229 # Check whether --with-xinput2 was given.
4230 if test "${with_xinput2+set}" = set; then :
4231 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4235 # Check whether --with-xml was given.
4236 if test "${with_xml+set}" = set; then :
4237 withval=$with_xml;
4241 # Check whether --with-xrandr was given.
4242 if test "${with_xrandr+set}" = set; then :
4243 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4247 # Check whether --with-xrender was given.
4248 if test "${with_xrender+set}" = set; then :
4249 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4253 # Check whether --with-xshape was given.
4254 if test "${with_xshape+set}" = set; then :
4255 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4259 # Check whether --with-xshm was given.
4260 if test "${with_xshm+set}" = set; then :
4261 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4265 # Check whether --with-xslt was given.
4266 if test "${with_xslt+set}" = set; then :
4267 withval=$with_xslt;
4271 # Check whether --with-xxf86vm was given.
4272 if test "${with_xxf86vm+set}" = set; then :
4273 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
4278 # Check whether --with-wine-tools was given.
4279 if test "${with_wine_tools+set}" = set; then :
4280 withval=$with_wine_tools;
4284 # Check whether --with-wine64 was given.
4285 if test "${with_wine64+set}" = set; then :
4286 withval=$with_wine64;
4290 # Make sure we can run config.sub.
4291 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4292 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4295 $as_echo_n "checking build system type... " >&6; }
4296 if ${ac_cv_build+:} false; then :
4297 $as_echo_n "(cached) " >&6
4298 else
4299 ac_build_alias=$build_alias
4300 test "x$ac_build_alias" = x &&
4301 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4302 test "x$ac_build_alias" = x &&
4303 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4305 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4309 $as_echo "$ac_cv_build" >&6; }
4310 case $ac_cv_build in
4311 *-*-*) ;;
4312 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4313 esac
4314 build=$ac_cv_build
4315 ac_save_IFS=$IFS; IFS='-'
4316 set x $ac_cv_build
4317 shift
4318 build_cpu=$1
4319 build_vendor=$2
4320 shift; shift
4321 # Remember, the first character of IFS is used to create $*,
4322 # except with old shells:
4323 build_os=$*
4324 IFS=$ac_save_IFS
4325 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4329 $as_echo_n "checking host system type... " >&6; }
4330 if ${ac_cv_host+:} false; then :
4331 $as_echo_n "(cached) " >&6
4332 else
4333 if test "x$host_alias" = x; then
4334 ac_cv_host=$ac_cv_build
4335 else
4336 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4337 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4342 $as_echo "$ac_cv_host" >&6; }
4343 case $ac_cv_host in
4344 *-*-*) ;;
4345 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4346 esac
4347 host=$ac_cv_host
4348 ac_save_IFS=$IFS; IFS='-'
4349 set x $ac_cv_host
4350 shift
4351 host_cpu=$1
4352 host_vendor=$2
4353 shift; shift
4354 # Remember, the first character of IFS is used to create $*,
4355 # except with old shells:
4356 host_os=$*
4357 IFS=$ac_save_IFS
4358 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4364 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4365 set x ${MAKE-make}
4366 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4367 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4368 $as_echo_n "(cached) " >&6
4369 else
4370 cat >conftest.make <<\_ACEOF
4371 SHELL = /bin/sh
4372 all:
4373 @echo '@@@%%%=$(MAKE)=@@@%%%'
4374 _ACEOF
4375 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4376 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4377 *@@@%%%=?*=@@@%%%*)
4378 eval ac_cv_prog_make_${ac_make}_set=yes;;
4380 eval ac_cv_prog_make_${ac_make}_set=no;;
4381 esac
4382 rm -f conftest.make
4384 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4386 $as_echo "yes" >&6; }
4387 SET_MAKE=
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 SET_MAKE="MAKE=${MAKE-make}"
4394 ac_ext=c
4395 ac_cpp='$CPP $CPPFLAGS'
4396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4399 if test -n "$ac_tool_prefix"; then
4400 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4401 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if ${ac_cv_prog_CC+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 if test -n "$CC"; then
4408 ac_cv_prog_CC="$CC" # Let the user override the test.
4409 else
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH
4413 IFS=$as_save_IFS
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4417 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 break 2
4421 done
4422 done
4423 IFS=$as_save_IFS
4427 CC=$ac_cv_prog_CC
4428 if test -n "$CC"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4430 $as_echo "$CC" >&6; }
4431 else
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4438 if test -z "$ac_cv_prog_CC"; then
4439 ac_ct_CC=$CC
4440 # Extract the first word of "gcc", so it can be a program name with args.
4441 set dummy gcc; ac_word=$2
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443 $as_echo_n "checking for $ac_word... " >&6; }
4444 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4445 $as_echo_n "(cached) " >&6
4446 else
4447 if test -n "$ac_ct_CC"; then
4448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4449 else
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH
4453 IFS=$as_save_IFS
4454 test -z "$as_dir" && as_dir=.
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4457 ac_cv_prog_ac_ct_CC="gcc"
4458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 break 2
4461 done
4462 done
4463 IFS=$as_save_IFS
4467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4468 if test -n "$ac_ct_CC"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4470 $as_echo "$ac_ct_CC" >&6; }
4471 else
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4476 if test "x$ac_ct_CC" = x; then
4477 CC=""
4478 else
4479 case $cross_compiling:$ac_tool_warned in
4480 yes:)
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4483 ac_tool_warned=yes ;;
4484 esac
4485 CC=$ac_ct_CC
4487 else
4488 CC="$ac_cv_prog_CC"
4491 if test -z "$CC"; then
4492 if test -n "$ac_tool_prefix"; then
4493 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4494 set dummy ${ac_tool_prefix}cc; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if ${ac_cv_prog_CC+:} false; then :
4498 $as_echo_n "(cached) " >&6
4499 else
4500 if test -n "$CC"; then
4501 ac_cv_prog_CC="$CC" # Let the user override the test.
4502 else
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH
4506 IFS=$as_save_IFS
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4510 ac_cv_prog_CC="${ac_tool_prefix}cc"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 break 2
4514 done
4515 done
4516 IFS=$as_save_IFS
4520 CC=$ac_cv_prog_CC
4521 if test -n "$CC"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4523 $as_echo "$CC" >&6; }
4524 else
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4532 if test -z "$CC"; then
4533 # Extract the first word of "cc", so it can be a program name with args.
4534 set dummy cc; ac_word=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if ${ac_cv_prog_CC+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 if test -n "$CC"; then
4541 ac_cv_prog_CC="$CC" # Let the user override the test.
4542 else
4543 ac_prog_rejected=no
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH
4547 IFS=$as_save_IFS
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4552 ac_prog_rejected=yes
4553 continue
4555 ac_cv_prog_CC="cc"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 break 2
4559 done
4560 done
4561 IFS=$as_save_IFS
4563 if test $ac_prog_rejected = yes; then
4564 # We found a bogon in the path, so make sure we never use it.
4565 set dummy $ac_cv_prog_CC
4566 shift
4567 if test $# != 0; then
4568 # We chose a different compiler from the bogus one.
4569 # However, it has the same basename, so the bogon will be chosen
4570 # first if we set CC to just the basename; use the full file name.
4571 shift
4572 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4577 CC=$ac_cv_prog_CC
4578 if test -n "$CC"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4580 $as_echo "$CC" >&6; }
4581 else
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4588 if test -z "$CC"; then
4589 if test -n "$ac_tool_prefix"; then
4590 for ac_prog in cl.exe
4592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if ${ac_cv_prog_CC+:} false; then :
4597 $as_echo_n "(cached) " >&6
4598 else
4599 if test -n "$CC"; then
4600 ac_cv_prog_CC="$CC" # Let the user override the test.
4601 else
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH
4605 IFS=$as_save_IFS
4606 test -z "$as_dir" && as_dir=.
4607 for ac_exec_ext in '' $ac_executable_extensions; do
4608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4609 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 break 2
4613 done
4614 done
4615 IFS=$as_save_IFS
4619 CC=$ac_cv_prog_CC
4620 if test -n "$CC"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4622 $as_echo "$CC" >&6; }
4623 else
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4629 test -n "$CC" && break
4630 done
4632 if test -z "$CC"; then
4633 ac_ct_CC=$CC
4634 for ac_prog in cl.exe
4636 # Extract the first word of "$ac_prog", so it can be a program name with args.
4637 set dummy $ac_prog; ac_word=$2
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4639 $as_echo_n "checking for $ac_word... " >&6; }
4640 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4641 $as_echo_n "(cached) " >&6
4642 else
4643 if test -n "$ac_ct_CC"; then
4644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4645 else
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $PATH
4649 IFS=$as_save_IFS
4650 test -z "$as_dir" && as_dir=.
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_ac_ct_CC="$ac_prog"
4654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 break 2
4657 done
4658 done
4659 IFS=$as_save_IFS
4663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4664 if test -n "$ac_ct_CC"; then
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4666 $as_echo "$ac_ct_CC" >&6; }
4667 else
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4669 $as_echo "no" >&6; }
4673 test -n "$ac_ct_CC" && break
4674 done
4676 if test "x$ac_ct_CC" = x; then
4677 CC=""
4678 else
4679 case $cross_compiling:$ac_tool_warned in
4680 yes:)
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4683 ac_tool_warned=yes ;;
4684 esac
4685 CC=$ac_ct_CC
4692 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4694 as_fn_error $? "no acceptable C compiler found in \$PATH
4695 See \`config.log' for more details" "$LINENO" 5; }
4697 # Provide some information about the compiler.
4698 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4699 set X $ac_compile
4700 ac_compiler=$2
4701 for ac_option in --version -v -V -qversion; do
4702 { { ac_try="$ac_compiler $ac_option >&5"
4703 case "(($ac_try" in
4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4705 *) ac_try_echo=$ac_try;;
4706 esac
4707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4708 $as_echo "$ac_try_echo"; } >&5
4709 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4710 ac_status=$?
4711 if test -s conftest.err; then
4712 sed '10a\
4713 ... rest of stderr output deleted ...
4714 10q' conftest.err >conftest.er1
4715 cat conftest.er1 >&5
4717 rm -f conftest.er1 conftest.err
4718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4719 test $ac_status = 0; }
4720 done
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4726 main ()
4730 return 0;
4732 _ACEOF
4733 ac_clean_files_save=$ac_clean_files
4734 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4735 # Try to create an executable without -o first, disregard a.out.
4736 # It will help us diagnose broken compilers, and finding out an intuition
4737 # of exeext.
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4739 $as_echo_n "checking whether the C compiler works... " >&6; }
4740 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4742 # The possible output files:
4743 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4745 ac_rmfiles=
4746 for ac_file in $ac_files
4748 case $ac_file in
4749 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4750 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4751 esac
4752 done
4753 rm -f $ac_rmfiles
4755 if { { ac_try="$ac_link_default"
4756 case "(($ac_try" in
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4759 esac
4760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4761 $as_echo "$ac_try_echo"; } >&5
4762 (eval "$ac_link_default") 2>&5
4763 ac_status=$?
4764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4765 test $ac_status = 0; }; then :
4766 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4767 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4768 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4769 # so that the user can short-circuit this test for compilers unknown to
4770 # Autoconf.
4771 for ac_file in $ac_files ''
4773 test -f "$ac_file" || continue
4774 case $ac_file in
4775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4777 [ab].out )
4778 # We found the default executable, but exeext='' is most
4779 # certainly right.
4780 break;;
4781 *.* )
4782 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4783 then :; else
4784 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4786 # We set ac_cv_exeext here because the later test for it is not
4787 # safe: cross compilers may not add the suffix if given an `-o'
4788 # argument, so we may need to know it at that point already.
4789 # Even if this section looks crufty: it has the advantage of
4790 # actually working.
4791 break;;
4793 break;;
4794 esac
4795 done
4796 test "$ac_cv_exeext" = no && ac_cv_exeext=
4798 else
4799 ac_file=''
4801 if test -z "$ac_file"; then :
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4804 $as_echo "$as_me: failed program was:" >&5
4805 sed 's/^/| /' conftest.$ac_ext >&5
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error 77 "C compiler cannot create executables
4810 See \`config.log' for more details" "$LINENO" 5; }
4811 else
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4813 $as_echo "yes" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4816 $as_echo_n "checking for C compiler default output file name... " >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4818 $as_echo "$ac_file" >&6; }
4819 ac_exeext=$ac_cv_exeext
4821 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4822 ac_clean_files=$ac_clean_files_save
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4824 $as_echo_n "checking for suffix of executables... " >&6; }
4825 if { { ac_try="$ac_link"
4826 case "(($ac_try" in
4827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4829 esac
4830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4831 $as_echo "$ac_try_echo"; } >&5
4832 (eval "$ac_link") 2>&5
4833 ac_status=$?
4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4835 test $ac_status = 0; }; then :
4836 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4837 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4838 # work properly (i.e., refer to `conftest.exe'), while it won't with
4839 # `rm'.
4840 for ac_file in conftest.exe conftest conftest.*; do
4841 test -f "$ac_file" || continue
4842 case $ac_file in
4843 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4844 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4845 break;;
4846 * ) break;;
4847 esac
4848 done
4849 else
4850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4852 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4853 See \`config.log' for more details" "$LINENO" 5; }
4855 rm -f conftest conftest$ac_cv_exeext
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4857 $as_echo "$ac_cv_exeext" >&6; }
4859 rm -f conftest.$ac_ext
4860 EXEEXT=$ac_cv_exeext
4861 ac_exeext=$EXEEXT
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4864 #include <stdio.h>
4866 main ()
4868 FILE *f = fopen ("conftest.out", "w");
4869 return ferror (f) || fclose (f) != 0;
4872 return 0;
4874 _ACEOF
4875 ac_clean_files="$ac_clean_files conftest.out"
4876 # Check that the compiler produces executables we can run. If not, either
4877 # the compiler is broken, or we cross compile.
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4879 $as_echo_n "checking whether we are cross compiling... " >&6; }
4880 if test "$cross_compiling" != yes; then
4881 { { ac_try="$ac_link"
4882 case "(($ac_try" in
4883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4884 *) ac_try_echo=$ac_try;;
4885 esac
4886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4887 $as_echo "$ac_try_echo"; } >&5
4888 (eval "$ac_link") 2>&5
4889 ac_status=$?
4890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4891 test $ac_status = 0; }
4892 if { ac_try='./conftest$ac_cv_exeext'
4893 { { case "(($ac_try" in
4894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4895 *) ac_try_echo=$ac_try;;
4896 esac
4897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4898 $as_echo "$ac_try_echo"; } >&5
4899 (eval "$ac_try") 2>&5
4900 ac_status=$?
4901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4902 test $ac_status = 0; }; }; then
4903 cross_compiling=no
4904 else
4905 if test "$cross_compiling" = maybe; then
4906 cross_compiling=yes
4907 else
4908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4910 as_fn_error $? "cannot run C compiled programs.
4911 If you meant to cross compile, use \`--host'.
4912 See \`config.log' for more details" "$LINENO" 5; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4917 $as_echo "$cross_compiling" >&6; }
4919 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4920 ac_clean_files=$ac_clean_files_save
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4922 $as_echo_n "checking for suffix of object files... " >&6; }
4923 if ${ac_cv_objext+:} false; then :
4924 $as_echo_n "(cached) " >&6
4925 else
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4934 return 0;
4936 _ACEOF
4937 rm -f conftest.o conftest.obj
4938 if { { ac_try="$ac_compile"
4939 case "(($ac_try" in
4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4941 *) ac_try_echo=$ac_try;;
4942 esac
4943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4944 $as_echo "$ac_try_echo"; } >&5
4945 (eval "$ac_compile") 2>&5
4946 ac_status=$?
4947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4948 test $ac_status = 0; }; then :
4949 for ac_file in conftest.o conftest.obj conftest.*; do
4950 test -f "$ac_file" || continue;
4951 case $ac_file in
4952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4953 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4954 break;;
4955 esac
4956 done
4957 else
4958 $as_echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.$ac_ext >&5
4961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4963 as_fn_error $? "cannot compute suffix of object files: cannot compile
4964 See \`config.log' for more details" "$LINENO" 5; }
4966 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4969 $as_echo "$ac_cv_objext" >&6; }
4970 OBJEXT=$ac_cv_objext
4971 ac_objext=$OBJEXT
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4973 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4974 if ${ac_cv_c_compiler_gnu+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4981 main ()
4983 #ifndef __GNUC__
4984 choke me
4985 #endif
4988 return 0;
4990 _ACEOF
4991 if ac_fn_c_try_compile "$LINENO"; then :
4992 ac_compiler_gnu=yes
4993 else
4994 ac_compiler_gnu=no
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5001 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5002 if test $ac_compiler_gnu = yes; then
5003 GCC=yes
5004 else
5005 GCC=
5007 ac_test_CFLAGS=${CFLAGS+set}
5008 ac_save_CFLAGS=$CFLAGS
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5010 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5011 if ${ac_cv_prog_cc_g+:} false; then :
5012 $as_echo_n "(cached) " >&6
5013 else
5014 ac_save_c_werror_flag=$ac_c_werror_flag
5015 ac_c_werror_flag=yes
5016 ac_cv_prog_cc_g=no
5017 CFLAGS="-g"
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5026 return 0;
5028 _ACEOF
5029 if ac_fn_c_try_compile "$LINENO"; then :
5030 ac_cv_prog_cc_g=yes
5031 else
5032 CFLAGS=""
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5037 main ()
5041 return 0;
5043 _ACEOF
5044 if ac_fn_c_try_compile "$LINENO"; then :
5046 else
5047 ac_c_werror_flag=$ac_save_c_werror_flag
5048 CFLAGS="-g"
5049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5053 main ()
5057 return 0;
5059 _ACEOF
5060 if ac_fn_c_try_compile "$LINENO"; then :
5061 ac_cv_prog_cc_g=yes
5063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 ac_c_werror_flag=$ac_save_c_werror_flag
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5071 $as_echo "$ac_cv_prog_cc_g" >&6; }
5072 if test "$ac_test_CFLAGS" = set; then
5073 CFLAGS=$ac_save_CFLAGS
5074 elif test $ac_cv_prog_cc_g = yes; then
5075 if test "$GCC" = yes; then
5076 CFLAGS="-g -O2"
5077 else
5078 CFLAGS="-g"
5080 else
5081 if test "$GCC" = yes; then
5082 CFLAGS="-O2"
5083 else
5084 CFLAGS=
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5088 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5089 if ${ac_cv_prog_cc_c89+:} false; then :
5090 $as_echo_n "(cached) " >&6
5091 else
5092 ac_cv_prog_cc_c89=no
5093 ac_save_CC=$CC
5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h. */
5096 #include <stdarg.h>
5097 #include <stdio.h>
5098 struct stat;
5099 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5100 struct buf { int x; };
5101 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5102 static char *e (p, i)
5103 char **p;
5104 int i;
5106 return p[i];
5108 static char *f (char * (*g) (char **, int), char **p, ...)
5110 char *s;
5111 va_list v;
5112 va_start (v,p);
5113 s = g (p, va_arg (v,int));
5114 va_end (v);
5115 return s;
5118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5119 function prototypes and stuff, but not '\xHH' hex character constants.
5120 These don't provoke an error unfortunately, instead are silently treated
5121 as 'x'. The following induces an error, until -std is added to get
5122 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5123 array size at least. It's necessary to write '\x00'==0 to get something
5124 that's true only with -std. */
5125 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5127 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5128 inside strings and character constants. */
5129 #define FOO(x) 'x'
5130 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5132 int test (int i, double x);
5133 struct s1 {int (*f) (int a);};
5134 struct s2 {int (*f) (double a);};
5135 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5136 int argc;
5137 char **argv;
5139 main ()
5141 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5143 return 0;
5145 _ACEOF
5146 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5149 CC="$ac_save_CC $ac_arg"
5150 if ac_fn_c_try_compile "$LINENO"; then :
5151 ac_cv_prog_cc_c89=$ac_arg
5153 rm -f core conftest.err conftest.$ac_objext
5154 test "x$ac_cv_prog_cc_c89" != "xno" && break
5155 done
5156 rm -f conftest.$ac_ext
5157 CC=$ac_save_CC
5160 # AC_CACHE_VAL
5161 case "x$ac_cv_prog_cc_c89" in
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5164 $as_echo "none needed" >&6; } ;;
5165 xno)
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5167 $as_echo "unsupported" >&6; } ;;
5169 CC="$CC $ac_cv_prog_cc_c89"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5171 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5172 esac
5173 if test "x$ac_cv_prog_cc_c89" != xno; then :
5177 ac_ext=c
5178 ac_cpp='$CPP $CPPFLAGS'
5179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5183 ac_ext=cpp
5184 ac_cpp='$CXXCPP $CPPFLAGS'
5185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5188 if test -z "$CXX"; then
5189 if test -n "$CCC"; then
5190 CXX=$CCC
5191 else
5192 if test -n "$ac_tool_prefix"; then
5193 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5195 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5196 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if ${ac_cv_prog_CXX+:} false; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$CXX"; then
5203 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5216 done
5217 done
5218 IFS=$as_save_IFS
5222 CXX=$ac_cv_prog_CXX
5223 if test -n "$CXX"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5225 $as_echo "$CXX" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5232 test -n "$CXX" && break
5233 done
5235 if test -z "$CXX"; then
5236 ac_ct_CXX=$CXX
5237 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5239 # Extract the first word of "$ac_prog", so it can be a program name with args.
5240 set dummy $ac_prog; ac_word=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5244 $as_echo_n "(cached) " >&6
5245 else
5246 if test -n "$ac_ct_CXX"; then
5247 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_ac_ct_CXX="$ac_prog"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5267 if test -n "$ac_ct_CXX"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5269 $as_echo "$ac_ct_CXX" >&6; }
5270 else
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5276 test -n "$ac_ct_CXX" && break
5277 done
5279 if test "x$ac_ct_CXX" = x; then
5280 CXX="g++"
5281 else
5282 case $cross_compiling:$ac_tool_warned in
5283 yes:)
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5286 ac_tool_warned=yes ;;
5287 esac
5288 CXX=$ac_ct_CXX
5294 # Provide some information about the compiler.
5295 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5296 set X $ac_compile
5297 ac_compiler=$2
5298 for ac_option in --version -v -V -qversion; do
5299 { { ac_try="$ac_compiler $ac_option >&5"
5300 case "(($ac_try" in
5301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302 *) ac_try_echo=$ac_try;;
5303 esac
5304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5305 $as_echo "$ac_try_echo"; } >&5
5306 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5307 ac_status=$?
5308 if test -s conftest.err; then
5309 sed '10a\
5310 ... rest of stderr output deleted ...
5311 10q' conftest.err >conftest.er1
5312 cat conftest.er1 >&5
5314 rm -f conftest.er1 conftest.err
5315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5316 test $ac_status = 0; }
5317 done
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5320 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5321 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5322 $as_echo_n "(cached) " >&6
5323 else
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5328 main ()
5330 #ifndef __GNUC__
5331 choke me
5332 #endif
5335 return 0;
5337 _ACEOF
5338 if ac_fn_cxx_try_compile "$LINENO"; then :
5339 ac_compiler_gnu=yes
5340 else
5341 ac_compiler_gnu=no
5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5348 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5349 if test $ac_compiler_gnu = yes; then
5350 GXX=yes
5351 else
5352 GXX=
5354 ac_test_CXXFLAGS=${CXXFLAGS+set}
5355 ac_save_CXXFLAGS=$CXXFLAGS
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5357 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5358 if ${ac_cv_prog_cxx_g+:} false; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5362 ac_cxx_werror_flag=yes
5363 ac_cv_prog_cxx_g=no
5364 CXXFLAGS="-g"
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main ()
5373 return 0;
5375 _ACEOF
5376 if ac_fn_cxx_try_compile "$LINENO"; then :
5377 ac_cv_prog_cxx_g=yes
5378 else
5379 CXXFLAGS=""
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5384 main ()
5388 return 0;
5390 _ACEOF
5391 if ac_fn_cxx_try_compile "$LINENO"; then :
5393 else
5394 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5395 CXXFLAGS="-g"
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5400 main ()
5404 return 0;
5406 _ACEOF
5407 if ac_fn_cxx_try_compile "$LINENO"; then :
5408 ac_cv_prog_cxx_g=yes
5410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5418 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5419 if test "$ac_test_CXXFLAGS" = set; then
5420 CXXFLAGS=$ac_save_CXXFLAGS
5421 elif test $ac_cv_prog_cxx_g = yes; then
5422 if test "$GXX" = yes; then
5423 CXXFLAGS="-g -O2"
5424 else
5425 CXXFLAGS="-g"
5427 else
5428 if test "$GXX" = yes; then
5429 CXXFLAGS="-O2"
5430 else
5431 CXXFLAGS=
5434 ac_ext=c
5435 ac_cpp='$CPP $CPPFLAGS'
5436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5440 if test -n "$ac_tool_prefix"; then
5441 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5442 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_CPPBIN+:} false; then :
5446 $as_echo_n "(cached) " >&6
5447 else
5448 if test -n "$CPPBIN"; then
5449 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5450 else
5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5452 for as_dir in $PATH
5454 IFS=$as_save_IFS
5455 test -z "$as_dir" && as_dir=.
5456 for ac_exec_ext in '' $ac_executable_extensions; do
5457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5458 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 break 2
5462 done
5463 done
5464 IFS=$as_save_IFS
5468 CPPBIN=$ac_cv_prog_CPPBIN
5469 if test -n "$CPPBIN"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5471 $as_echo "$CPPBIN" >&6; }
5472 else
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5479 if test -z "$ac_cv_prog_CPPBIN"; then
5480 ac_ct_CPPBIN=$CPPBIN
5481 # Extract the first word of "cpp", so it can be a program name with args.
5482 set dummy cpp; ac_word=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5486 $as_echo_n "(cached) " >&6
5487 else
5488 if test -n "$ac_ct_CPPBIN"; then
5489 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5490 else
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5498 ac_cv_prog_ac_ct_CPPBIN="cpp"
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 break 2
5502 done
5503 done
5504 IFS=$as_save_IFS
5508 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5509 if test -n "$ac_ct_CPPBIN"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5511 $as_echo "$ac_ct_CPPBIN" >&6; }
5512 else
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5517 if test "x$ac_ct_CPPBIN" = x; then
5518 CPPBIN="cpp"
5519 else
5520 case $cross_compiling:$ac_tool_warned in
5521 yes:)
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned=yes ;;
5525 esac
5526 CPPBIN=$ac_ct_CPPBIN
5528 else
5529 CPPBIN="$ac_cv_prog_CPPBIN"
5533 cat >>confdefs.h <<_ACEOF
5534 #define EXEEXT "$ac_exeext"
5535 _ACEOF
5537 if test -n "$ac_tool_prefix"; then
5538 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5539 set dummy ${ac_tool_prefix}ld; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_LD+:} false; then :
5543 $as_echo_n "(cached) " >&6
5544 else
5545 if test -n "$LD"; then
5546 ac_cv_prog_LD="$LD" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_LD="${ac_tool_prefix}ld"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 break 2
5559 done
5560 done
5561 IFS=$as_save_IFS
5565 LD=$ac_cv_prog_LD
5566 if test -n "$LD"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5568 $as_echo "$LD" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5576 if test -z "$ac_cv_prog_LD"; then
5577 ac_ct_LD=$LD
5578 # Extract the first word of "ld", so it can be a program name with args.
5579 set dummy ld; ac_word=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5583 $as_echo_n "(cached) " >&6
5584 else
5585 if test -n "$ac_ct_LD"; then
5586 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5587 else
5588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5589 for as_dir in $PATH
5591 IFS=$as_save_IFS
5592 test -z "$as_dir" && as_dir=.
5593 for ac_exec_ext in '' $ac_executable_extensions; do
5594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5595 ac_cv_prog_ac_ct_LD="ld"
5596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 break 2
5599 done
5600 done
5601 IFS=$as_save_IFS
5605 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5606 if test -n "$ac_ct_LD"; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5608 $as_echo "$ac_ct_LD" >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }
5614 if test "x$ac_ct_LD" = x; then
5615 LD=""
5616 else
5617 case $cross_compiling:$ac_tool_warned in
5618 yes:)
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5621 ac_tool_warned=yes ;;
5622 esac
5623 LD=$ac_ct_LD
5625 else
5626 LD="$ac_cv_prog_LD"
5630 case $host in
5631 *-darwin*)
5632 with_fontconfig=${with_fontconfig:-no}
5634 *-mingw32*|*-cygwin*)
5635 enable_win16=${enable_win16:-no}
5636 with_mingw=${with_mingw:-no}
5637 CFLAGS="$CFLAGS -D_WIN32"
5639 esac
5641 TARGETFLAGS=""
5643 case $host in
5644 x86_64*|amd64*)
5645 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5646 then
5647 CC="$CC -m32"
5648 CXX="$CXX -m32"
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5651 $as_echo_n "checking whether $CC works... " >&6; }
5652 if ${wine_cv_cc_m32+:} false; then :
5653 $as_echo_n "(cached) " >&6
5654 else
5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5659 main ()
5663 return 0;
5665 _ACEOF
5666 if ac_fn_c_try_link "$LINENO"; then :
5667 wine_cv_cc_m32=yes
5668 else
5669 wine_cv_cc_m32=no
5671 rm -f core conftest.err conftest.$ac_objext \
5672 conftest$ac_exeext conftest.$ac_ext
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5675 $as_echo "$wine_cv_cc_m32" >&6; }
5676 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
5677 host_cpu="i386"
5678 notice_platform="32-bit "
5679 TARGETFLAGS="-m32"
5680 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5681 export PKG_CONFIG_PATH
5682 enable_win16=${enable_win16:-yes}
5683 with_unwind=${with_unwind:-no}
5684 else
5685 if test "x${GCC}" = "xyes"
5686 then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5688 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5689 if ${wine_cv_builtin_ms_va_list+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5694 #include <stdarg.h>
5696 main ()
5698 void func(__builtin_ms_va_list *args);
5700 return 0;
5702 _ACEOF
5703 if ac_fn_c_try_compile "$LINENO"; then :
5704 wine_cv_builtin_ms_va_list=yes
5705 else
5706 wine_cv_builtin_ms_va_list=no
5708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5711 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5712 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
5714 CC="$CC -m64"
5715 CXX="$CXX -m64"
5716 host_cpu="x86_64"
5717 notice_platform="64-bit "
5718 TARGETFLAGS="-m64"
5721 arm*)
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5723 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5724 if ${wine_cv_thumb2+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5728 /* end confdefs.h. */
5731 main ()
5733 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5735 return 0;
5737 _ACEOF
5738 if ac_fn_c_try_link "$LINENO"; then :
5739 wine_cv_thumb2=yes
5740 else
5741 wine_cv_thumb2=no
5743 rm -f core conftest.err conftest.$ac_objext \
5744 conftest$ac_exeext conftest.$ac_ext
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5747 $as_echo "$wine_cv_thumb2" >&6; }
5748 if test x"$wine_cv_thumb2" = xyes
5749 then
5750 CFLAGS="$CFLAGS -mthumb"
5751 TARGETFLAGS="-mthumb"
5752 else
5753 CFLAGS="$CFLAGS -marm"
5754 TARGETFLAGS="-marm"
5756 case $with_float_abi in
5757 soft|softfp|hard)
5758 float_abi=$with_float_abi ;;
5760 case $host_os in
5761 *eabihf)
5762 float_abi=hard ;;
5764 float_abi=softfp
5765 saved_CFLAGS=$CFLAGS
5766 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5768 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5769 if ${wine_cv_float_abi+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5773 /* end confdefs.h. */
5776 main ()
5778 asm("vmrs r2,fpscr");
5780 return 0;
5782 _ACEOF
5783 if ac_fn_c_try_link "$LINENO"; then :
5784 wine_cv_float_abi=yes
5785 else
5786 wine_cv_float_abi=no
5788 rm -f core conftest.err conftest.$ac_objext \
5789 conftest$ac_exeext conftest.$ac_ext
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5792 $as_echo "$wine_cv_float_abi" >&6; }
5793 if test $wine_cv_float_abi = no
5794 then
5795 float_abi=soft
5796 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5798 CFLAGS=$saved_CFLAGS
5799 esac
5801 esac
5802 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5803 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5805 aarch64*)
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5807 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5808 if ${wine_cv_builtin_ms_va_list+:} false; then :
5809 $as_echo_n "(cached) " >&6
5810 else
5811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5812 /* end confdefs.h. */
5813 #include <stdarg.h>
5815 main ()
5817 void func(__builtin_ms_va_list *args);
5819 return 0;
5821 _ACEOF
5822 if ac_fn_c_try_compile "$LINENO"; then :
5823 wine_cv_builtin_ms_va_list=yes
5824 else
5825 wine_cv_builtin_ms_va_list=no
5827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5830 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5831 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5833 i[3456789]86*)
5834 enable_win16=${enable_win16:-yes}
5835 with_unwind=${with_unwind:-no}
5837 esac
5839 enable_win16=${enable_win16:-no}
5840 enable_win64=${enable_win64:-no}
5842 enable_winetest=${enable_winetest:-$enable_tests}
5844 if test "x$enable_win64" = "xyes"
5845 then
5846 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5847 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5848 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5852 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5853 if ${wine_cv_toolsdir+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 wine_cv_toolsdir="$with_wine_tools"
5857 if test -z "$with_wine_tools"; then
5858 if test "$cross_compiling" = "yes"; then
5859 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5860 elif test -n "$with_wine64"; then
5861 wine_cv_toolsdir="$with_wine64"
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5866 $as_echo "$wine_cv_toolsdir" >&6; }
5867 if test -z "$wine_cv_toolsdir"; then
5868 wine_makedep=tools/makedep
5869 TOOLSDIR="."
5871 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5872 wine_makedep=$wine_cv_toolsdir/tools/makedep
5873 TOOLSDIR=$wine_cv_toolsdir
5875 enable_tools=${enable_tools:-no}
5876 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5877 else
5878 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5880 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5881 then
5882 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5885 for ac_prog in flex
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if ${ac_cv_prog_FLEX+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 if test -n "$FLEX"; then
5895 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5896 else
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 for as_dir in $PATH
5900 IFS=$as_save_IFS
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_FLEX="$ac_prog"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 break 2
5908 done
5909 done
5910 IFS=$as_save_IFS
5914 FLEX=$ac_cv_prog_FLEX
5915 if test -n "$FLEX"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5917 $as_echo "$FLEX" >&6; }
5918 else
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5924 test -n "$FLEX" && break
5925 done
5926 test -n "$FLEX" || FLEX="none"
5928 if test "$FLEX" = "none"
5929 then
5930 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5933 $as_echo_n "checking whether flex is recent enough... " >&6; }
5934 if ${wine_cv_recent_flex+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 cat >conftest.l <<EOF
5938 %top{
5939 #include "prediluvian.h"
5943 if $FLEX -t conftest.l >/dev/null 2>&5
5944 then
5945 wine_cv_recent_flex=yes
5946 else
5947 wine_cv_recent_flex=no
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5951 $as_echo "$wine_cv_recent_flex" >&6; }
5952 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
5954 for ac_prog in bison
5956 # Extract the first word of "$ac_prog", so it can be a program name with args.
5957 set dummy $ac_prog; ac_word=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if ${ac_cv_prog_BISON+:} false; then :
5961 $as_echo_n "(cached) " >&6
5962 else
5963 if test -n "$BISON"; then
5964 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5965 else
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH
5969 IFS=$as_save_IFS
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 ac_cv_prog_BISON="$ac_prog"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 break 2
5977 done
5978 done
5979 IFS=$as_save_IFS
5983 BISON=$ac_cv_prog_BISON
5984 if test -n "$BISON"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5986 $as_echo "$BISON" >&6; }
5987 else
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5993 test -n "$BISON" && break
5994 done
5995 test -n "$BISON" || BISON="none"
5997 if test "$BISON" = "none"
5998 then
5999 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6002 $as_echo_n "checking whether bison is recent enough... " >&6; }
6003 if ${wine_cv_recent_bison+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 cat >conftest.y <<EOF
6007 %define parse.error verbose
6009 empty: ;
6011 if $BISON conftest.y >/dev/null 2>&5
6012 then
6013 wine_cv_recent_bison=yes
6014 else
6015 wine_cv_recent_bison=no
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6019 $as_echo "$wine_cv_recent_bison" >&6; }
6020 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
6022 if test -n "$ac_tool_prefix"; then
6023 for ac_prog in ar gar
6025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_AR+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 if test -n "$AR"; then
6033 ac_cv_prog_AR="$AR" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 AR=$ac_cv_prog_AR
6053 if test -n "$AR"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6055 $as_echo "$AR" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6062 test -n "$AR" && break
6063 done
6065 if test -z "$AR"; then
6066 ac_ct_AR=$AR
6067 for ac_prog in ar gar
6069 # Extract the first word of "$ac_prog", so it can be a program name with args.
6070 set dummy $ac_prog; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 if test -n "$ac_ct_AR"; then
6077 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6078 else
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 for as_dir in $PATH
6082 IFS=$as_save_IFS
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_ac_ct_AR="$ac_prog"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088 break 2
6090 done
6091 done
6092 IFS=$as_save_IFS
6096 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6097 if test -n "$ac_ct_AR"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6099 $as_echo "$ac_ct_AR" >&6; }
6100 else
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6106 test -n "$ac_ct_AR" && break
6107 done
6109 if test "x$ac_ct_AR" = x; then
6110 AR="ar"
6111 else
6112 case $cross_compiling:$ac_tool_warned in
6113 yes:)
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6117 esac
6118 AR=$ac_ct_AR
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6124 set dummy ${ac_tool_prefix}strip; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_STRIP+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$STRIP"; then
6131 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 STRIP=$ac_cv_prog_STRIP
6151 if test -n "$STRIP"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6153 $as_echo "$STRIP" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6161 if test -z "$ac_cv_prog_STRIP"; then
6162 ac_ct_STRIP=$STRIP
6163 # Extract the first word of "strip", so it can be a program name with args.
6164 set dummy strip; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$ac_ct_STRIP"; then
6171 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_ac_ct_STRIP="strip"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6191 if test -n "$ac_ct_STRIP"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6193 $as_echo "$ac_ct_STRIP" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6199 if test "x$ac_ct_STRIP" = x; then
6200 STRIP="strip"
6201 else
6202 case $cross_compiling:$ac_tool_warned in
6203 yes:)
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6206 ac_tool_warned=yes ;;
6207 esac
6208 STRIP=$ac_ct_STRIP
6210 else
6211 STRIP="$ac_cv_prog_STRIP"
6214 if test -n "$ac_tool_prefix"; then
6215 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6216 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218 $as_echo_n "checking for $ac_word... " >&6; }
6219 if ${ac_cv_prog_RANLIB+:} false; then :
6220 $as_echo_n "(cached) " >&6
6221 else
6222 if test -n "$RANLIB"; then
6223 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6224 else
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226 for as_dir in $PATH
6228 IFS=$as_save_IFS
6229 test -z "$as_dir" && as_dir=.
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6232 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6234 break 2
6236 done
6237 done
6238 IFS=$as_save_IFS
6242 RANLIB=$ac_cv_prog_RANLIB
6243 if test -n "$RANLIB"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6245 $as_echo "$RANLIB" >&6; }
6246 else
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248 $as_echo "no" >&6; }
6253 if test -z "$ac_cv_prog_RANLIB"; then
6254 ac_ct_RANLIB=$RANLIB
6255 # Extract the first word of "ranlib", so it can be a program name with args.
6256 set dummy ranlib; ac_word=$2
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 $as_echo_n "checking for $ac_word... " >&6; }
6259 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6260 $as_echo_n "(cached) " >&6
6261 else
6262 if test -n "$ac_ct_RANLIB"; then
6263 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6264 else
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 for as_dir in $PATH
6268 IFS=$as_save_IFS
6269 test -z "$as_dir" && as_dir=.
6270 for ac_exec_ext in '' $ac_executable_extensions; do
6271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6272 ac_cv_prog_ac_ct_RANLIB="ranlib"
6273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 break 2
6276 done
6277 done
6278 IFS=$as_save_IFS
6282 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6283 if test -n "$ac_ct_RANLIB"; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6285 $as_echo "$ac_ct_RANLIB" >&6; }
6286 else
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 $as_echo "no" >&6; }
6291 if test "x$ac_ct_RANLIB" = x; then
6292 RANLIB=":"
6293 else
6294 case $cross_compiling:$ac_tool_warned in
6295 yes:)
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6298 ac_tool_warned=yes ;;
6299 esac
6300 RANLIB=$ac_ct_RANLIB
6302 else
6303 RANLIB="$ac_cv_prog_RANLIB"
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6307 $as_echo_n "checking whether ln -s works... " >&6; }
6308 LN_S=$as_ln_s
6309 if test "$LN_S" = "ln -s"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6311 $as_echo "yes" >&6; }
6312 else
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6314 $as_echo "no, using $LN_S" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6318 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6319 if ${ac_cv_path_GREP+:} false; then :
6320 $as_echo_n "(cached) " >&6
6321 else
6322 if test -z "$GREP"; then
6323 ac_path_GREP_found=false
6324 # Loop through the user's path and test for each of PROGNAME-LIST
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6328 IFS=$as_save_IFS
6329 test -z "$as_dir" && as_dir=.
6330 for ac_prog in grep ggrep; do
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6333 as_fn_executable_p "$ac_path_GREP" || continue
6334 # Check for GNU ac_path_GREP and select it if it is found.
6335 # Check for GNU $ac_path_GREP
6336 case `"$ac_path_GREP" --version 2>&1` in
6337 *GNU*)
6338 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6340 ac_count=0
6341 $as_echo_n 0123456789 >"conftest.in"
6342 while :
6344 cat "conftest.in" "conftest.in" >"conftest.tmp"
6345 mv "conftest.tmp" "conftest.in"
6346 cp "conftest.in" "conftest.nl"
6347 $as_echo 'GREP' >> "conftest.nl"
6348 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6349 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6350 as_fn_arith $ac_count + 1 && ac_count=$as_val
6351 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6352 # Best one so far, save it but keep looking for a better one
6353 ac_cv_path_GREP="$ac_path_GREP"
6354 ac_path_GREP_max=$ac_count
6356 # 10*(2^10) chars as input seems more than enough
6357 test $ac_count -gt 10 && break
6358 done
6359 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6360 esac
6362 $ac_path_GREP_found && break 3
6363 done
6364 done
6365 done
6366 IFS=$as_save_IFS
6367 if test -z "$ac_cv_path_GREP"; then
6368 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6370 else
6371 ac_cv_path_GREP=$GREP
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6376 $as_echo "$ac_cv_path_GREP" >&6; }
6377 GREP="$ac_cv_path_GREP"
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6381 $as_echo_n "checking for egrep... " >&6; }
6382 if ${ac_cv_path_EGREP+:} false; then :
6383 $as_echo_n "(cached) " >&6
6384 else
6385 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6386 then ac_cv_path_EGREP="$GREP -E"
6387 else
6388 if test -z "$EGREP"; then
6389 ac_path_EGREP_found=false
6390 # Loop through the user's path and test for each of PROGNAME-LIST
6391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6394 IFS=$as_save_IFS
6395 test -z "$as_dir" && as_dir=.
6396 for ac_prog in egrep; do
6397 for ac_exec_ext in '' $ac_executable_extensions; do
6398 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6399 as_fn_executable_p "$ac_path_EGREP" || continue
6400 # Check for GNU ac_path_EGREP and select it if it is found.
6401 # Check for GNU $ac_path_EGREP
6402 case `"$ac_path_EGREP" --version 2>&1` in
6403 *GNU*)
6404 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6406 ac_count=0
6407 $as_echo_n 0123456789 >"conftest.in"
6408 while :
6410 cat "conftest.in" "conftest.in" >"conftest.tmp"
6411 mv "conftest.tmp" "conftest.in"
6412 cp "conftest.in" "conftest.nl"
6413 $as_echo 'EGREP' >> "conftest.nl"
6414 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6415 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6416 as_fn_arith $ac_count + 1 && ac_count=$as_val
6417 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6418 # Best one so far, save it but keep looking for a better one
6419 ac_cv_path_EGREP="$ac_path_EGREP"
6420 ac_path_EGREP_max=$ac_count
6422 # 10*(2^10) chars as input seems more than enough
6423 test $ac_count -gt 10 && break
6424 done
6425 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6426 esac
6428 $ac_path_EGREP_found && break 3
6429 done
6430 done
6431 done
6432 IFS=$as_save_IFS
6433 if test -z "$ac_cv_path_EGREP"; then
6434 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6436 else
6437 ac_cv_path_EGREP=$EGREP
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6443 $as_echo "$ac_cv_path_EGREP" >&6; }
6444 EGREP="$ac_cv_path_EGREP"
6447 # Extract the first word of "ldconfig", so it can be a program name with args.
6448 set dummy ldconfig; ac_word=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6450 $as_echo_n "checking for $ac_word... " >&6; }
6451 if ${ac_cv_path_LDCONFIG+:} false; then :
6452 $as_echo_n "(cached) " >&6
6453 else
6454 case $LDCONFIG in
6455 [\\/]* | ?:[\\/]*)
6456 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 for as_dir in /sbin /usr/sbin $PATH
6462 IFS=$as_save_IFS
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6466 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 break 2
6470 done
6471 done
6472 IFS=$as_save_IFS
6474 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6476 esac
6478 LDCONFIG=$ac_cv_path_LDCONFIG
6479 if test -n "$LDCONFIG"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6481 $as_echo "$LDCONFIG" >&6; }
6482 else
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 $as_echo "no" >&6; }
6488 for ac_prog in msgfmt
6490 # Extract the first word of "$ac_prog", so it can be a program name with args.
6491 set dummy $ac_prog; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493 $as_echo_n "checking for $ac_word... " >&6; }
6494 if ${ac_cv_prog_MSGFMT+:} false; then :
6495 $as_echo_n "(cached) " >&6
6496 else
6497 if test -n "$MSGFMT"; then
6498 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6499 else
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in $PATH
6503 IFS=$as_save_IFS
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6507 ac_cv_prog_MSGFMT="$ac_prog"
6508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6509 break 2
6511 done
6512 done
6513 IFS=$as_save_IFS
6517 MSGFMT=$ac_cv_prog_MSGFMT
6518 if test -n "$MSGFMT"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6520 $as_echo "$MSGFMT" >&6; }
6521 else
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6523 $as_echo "no" >&6; }
6527 test -n "$MSGFMT" && break
6528 done
6529 test -n "$MSGFMT" || MSGFMT="false"
6531 if ${ac_tool_prefix+:} false; then :
6532 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6533 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6537 $as_echo_n "(cached) " >&6
6538 else
6539 if test -n "$PKG_CONFIG"; then
6540 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6545 IFS=$as_save_IFS
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 break 2
6553 done
6554 done
6555 IFS=$as_save_IFS
6559 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6560 if test -n "$PKG_CONFIG"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6562 $as_echo "$PKG_CONFIG" >&6; }
6563 else
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6570 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6571 if test "x$cross_compiling" = xyes; then :
6573 else
6574 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6575 # Extract the first word of "pkg-config", so it can be a program name with args.
6576 set dummy pkg-config; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$PKG_CONFIG"; then
6583 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_PKG_CONFIG="pkg-config"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6603 if test -n "$PKG_CONFIG"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6605 $as_echo "$PKG_CONFIG" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6613 else
6614 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6617 if test "x$enable_maintainer_mode" != "xyes"
6618 then
6619 FONTFORGE=""
6620 RSVG=""
6621 CONVERT=""
6622 ICOTOOL=""
6623 else
6624 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6625 for ac_prog in fontforge
6627 # Extract the first word of "$ac_prog", so it can be a program name with args.
6628 set dummy $ac_prog; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_FONTFORGE+:} false; then :
6632 $as_echo_n "(cached) " >&6
6633 else
6634 if test -n "$FONTFORGE"; then
6635 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6640 IFS=$as_save_IFS
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_FONTFORGE="$ac_prog"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 break 2
6648 done
6649 done
6650 IFS=$as_save_IFS
6654 FONTFORGE=$ac_cv_prog_FONTFORGE
6655 if test -n "$FONTFORGE"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6657 $as_echo "$FONTFORGE" >&6; }
6658 else
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6664 test -n "$FONTFORGE" && break
6665 done
6666 test -n "$FONTFORGE" || FONTFORGE="false"
6668 for ac_prog in rsvg-convert rsvg
6670 # Extract the first word of "$ac_prog", so it can be a program name with args.
6671 set dummy $ac_prog; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_RSVG+:} false; then :
6675 $as_echo_n "(cached) " >&6
6676 else
6677 if test -n "$RSVG"; then
6678 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6679 else
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 for as_dir in $PATH
6683 IFS=$as_save_IFS
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_RSVG="$ac_prog"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 break 2
6691 done
6692 done
6693 IFS=$as_save_IFS
6697 RSVG=$ac_cv_prog_RSVG
6698 if test -n "$RSVG"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6700 $as_echo "$RSVG" >&6; }
6701 else
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6707 test -n "$RSVG" && break
6708 done
6709 test -n "$RSVG" || RSVG="false"
6711 for ac_prog in convert
6713 # Extract the first word of "$ac_prog", so it can be a program name with args.
6714 set dummy $ac_prog; ac_word=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if ${ac_cv_prog_CONVERT+:} false; then :
6718 $as_echo_n "(cached) " >&6
6719 else
6720 if test -n "$CONVERT"; then
6721 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6722 else
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 for as_dir in $PATH
6726 IFS=$as_save_IFS
6727 test -z "$as_dir" && as_dir=.
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_CONVERT="$ac_prog"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 break 2
6734 done
6735 done
6736 IFS=$as_save_IFS
6740 CONVERT=$ac_cv_prog_CONVERT
6741 if test -n "$CONVERT"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6743 $as_echo "$CONVERT" >&6; }
6744 else
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 $as_echo "no" >&6; }
6750 test -n "$CONVERT" && break
6751 done
6752 test -n "$CONVERT" || CONVERT="false"
6754 for ac_prog in icotool
6756 # Extract the first word of "$ac_prog", so it can be a program name with args.
6757 set dummy $ac_prog; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 $as_echo_n "checking for $ac_word... " >&6; }
6760 if ${ac_cv_prog_ICOTOOL+:} false; then :
6761 $as_echo_n "(cached) " >&6
6762 else
6763 if test -n "$ICOTOOL"; then
6764 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6765 else
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 for as_dir in $PATH
6769 IFS=$as_save_IFS
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_ICOTOOL="$ac_prog"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 break 2
6777 done
6778 done
6779 IFS=$as_save_IFS
6783 ICOTOOL=$ac_cv_prog_ICOTOOL
6784 if test -n "$ICOTOOL"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6786 $as_echo "$ICOTOOL" >&6; }
6787 else
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 $as_echo "no" >&6; }
6793 test -n "$ICOTOOL" && break
6794 done
6795 test -n "$ICOTOOL" || ICOTOOL="false"
6797 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6798 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6800 if test "$CONVERT" = false
6801 then
6802 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6803 else
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6805 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6806 convert_version=`convert --version | head -n1`
6807 if test "x$convert_version" != "x"
6808 then
6809 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6810 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6811 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6812 then
6813 CONVERT=false
6816 if test "$CONVERT" = false
6817 then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6819 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6820 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6821 else
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6823 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6827 if test "$ICOTOOL" = false
6828 then
6829 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6830 else
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6832 $as_echo_n "checking for recent enough icotool... " >&6; }
6833 icotool_version=`icotool --version | head -n1`
6834 if test "x$icotool_version" != "x"
6835 then
6836 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6837 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6838 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6839 then
6840 ICOTOOL=false
6841 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6844 if test "$ICOTOOL" = false
6845 then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6847 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6848 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6849 else
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6851 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6855 with_gettext=yes
6856 with_gettextpo=yes
6858 enable_werror=yes
6861 test "x$with_gettext" != xno || MSGFMT=false
6862 if test "$MSGFMT" != "false"
6863 then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6865 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6866 if ${wine_cv_msgfmt_contexts+:} false; then :
6867 $as_echo_n "(cached) " >&6
6868 else
6869 cat >conftest.po <<EOF
6870 # comment
6871 msgctxt "ctxt"
6872 msgid "id"
6873 msgstr "str"
6875 if $MSGFMT -o /dev/null conftest.po 2>&5
6876 then
6877 wine_cv_msgfmt_contexts=yes
6878 else
6879 wine_cv_msgfmt_contexts=no
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6883 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6884 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6886 if test "$MSGFMT" = false; then :
6887 case "x$with_gettext" in
6888 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6889 xno) ;;
6890 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6891 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6892 esac
6893 enable_po=${enable_po:-no}
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6898 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6899 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6900 $as_echo_n "(cached) " >&6
6901 else
6902 ac_check_lib_save_LIBS=$LIBS
6903 LIBS="-li386 $LIBS"
6904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6905 /* end confdefs.h. */
6907 /* Override any GCC internal prototype to avoid an error.
6908 Use char because int might match the return type of a GCC
6909 builtin and then its argument prototype would still apply. */
6910 #ifdef __cplusplus
6911 extern "C"
6912 #endif
6913 char i386_set_ldt ();
6915 main ()
6917 return i386_set_ldt ();
6919 return 0;
6921 _ACEOF
6922 if ac_fn_c_try_link "$LINENO"; then :
6923 ac_cv_lib_i386_i386_set_ldt=yes
6924 else
6925 ac_cv_lib_i386_i386_set_ldt=no
6927 rm -f core conftest.err conftest.$ac_objext \
6928 conftest$ac_exeext conftest.$ac_ext
6929 LIBS=$ac_check_lib_save_LIBS
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6932 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6933 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6934 I386_LIBS="-li386"
6939 OPENGL_LIBS=""
6943 # Check whether --enable-largefile was given.
6944 if test "${enable_largefile+set}" = set; then :
6945 enableval=$enable_largefile;
6948 if test "$enable_largefile" != no; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6951 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6952 if ${ac_cv_sys_largefile_CC+:} false; then :
6953 $as_echo_n "(cached) " >&6
6954 else
6955 ac_cv_sys_largefile_CC=no
6956 if test "$GCC" != yes; then
6957 ac_save_CC=$CC
6958 while :; do
6959 # IRIX 6.2 and later do not support large files by default,
6960 # so use the C compiler's -n32 option if that helps.
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #include <sys/types.h>
6964 /* Check that off_t can represent 2**63 - 1 correctly.
6965 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6966 since some C++ compilers masquerading as C compilers
6967 incorrectly reject 9223372036854775807. */
6968 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6969 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6970 && LARGE_OFF_T % 2147483647 == 1)
6971 ? 1 : -1];
6973 main ()
6977 return 0;
6979 _ACEOF
6980 if ac_fn_c_try_compile "$LINENO"; then :
6981 break
6983 rm -f core conftest.err conftest.$ac_objext
6984 CC="$CC -n32"
6985 if ac_fn_c_try_compile "$LINENO"; then :
6986 ac_cv_sys_largefile_CC=' -n32'; break
6988 rm -f core conftest.err conftest.$ac_objext
6989 break
6990 done
6991 CC=$ac_save_CC
6992 rm -f conftest.$ac_ext
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6996 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6997 if test "$ac_cv_sys_largefile_CC" != no; then
6998 CC=$CC$ac_cv_sys_largefile_CC
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7002 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7003 if ${ac_cv_sys_file_offset_bits+:} false; then :
7004 $as_echo_n "(cached) " >&6
7005 else
7006 while :; do
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <sys/types.h>
7010 /* Check that off_t can represent 2**63 - 1 correctly.
7011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7012 since some C++ compilers masquerading as C compilers
7013 incorrectly reject 9223372036854775807. */
7014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7016 && LARGE_OFF_T % 2147483647 == 1)
7017 ? 1 : -1];
7019 main ()
7023 return 0;
7025 _ACEOF
7026 if ac_fn_c_try_compile "$LINENO"; then :
7027 ac_cv_sys_file_offset_bits=no; break
7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 #define _FILE_OFFSET_BITS 64
7033 #include <sys/types.h>
7034 /* Check that off_t can represent 2**63 - 1 correctly.
7035 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7036 since some C++ compilers masquerading as C compilers
7037 incorrectly reject 9223372036854775807. */
7038 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7040 && LARGE_OFF_T % 2147483647 == 1)
7041 ? 1 : -1];
7043 main ()
7047 return 0;
7049 _ACEOF
7050 if ac_fn_c_try_compile "$LINENO"; then :
7051 ac_cv_sys_file_offset_bits=64; break
7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7054 ac_cv_sys_file_offset_bits=unknown
7055 break
7056 done
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7059 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7060 case $ac_cv_sys_file_offset_bits in #(
7061 no | unknown) ;;
7063 cat >>confdefs.h <<_ACEOF
7064 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7065 _ACEOF
7067 esac
7068 rm -rf conftest*
7069 if test $ac_cv_sys_file_offset_bits = unknown; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7071 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7072 if ${ac_cv_sys_large_files+:} false; then :
7073 $as_echo_n "(cached) " >&6
7074 else
7075 while :; do
7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7078 #include <sys/types.h>
7079 /* Check that off_t can represent 2**63 - 1 correctly.
7080 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7081 since some C++ compilers masquerading as C compilers
7082 incorrectly reject 9223372036854775807. */
7083 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7084 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7085 && LARGE_OFF_T % 2147483647 == 1)
7086 ? 1 : -1];
7088 main ()
7092 return 0;
7094 _ACEOF
7095 if ac_fn_c_try_compile "$LINENO"; then :
7096 ac_cv_sys_large_files=no; break
7098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7101 #define _LARGE_FILES 1
7102 #include <sys/types.h>
7103 /* Check that off_t can represent 2**63 - 1 correctly.
7104 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7105 since some C++ compilers masquerading as C compilers
7106 incorrectly reject 9223372036854775807. */
7107 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7108 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7109 && LARGE_OFF_T % 2147483647 == 1)
7110 ? 1 : -1];
7112 main ()
7116 return 0;
7118 _ACEOF
7119 if ac_fn_c_try_compile "$LINENO"; then :
7120 ac_cv_sys_large_files=1; break
7122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7123 ac_cv_sys_large_files=unknown
7124 break
7125 done
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7128 $as_echo "$ac_cv_sys_large_files" >&6; }
7129 case $ac_cv_sys_large_files in #(
7130 no | unknown) ;;
7132 cat >>confdefs.h <<_ACEOF
7133 #define _LARGE_FILES $ac_cv_sys_large_files
7134 _ACEOF
7136 esac
7137 rm -rf conftest*
7144 ac_ext=c
7145 ac_cpp='$CPP $CPPFLAGS'
7146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7150 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7151 # On Suns, sometimes $CPP names a directory.
7152 if test -n "$CPP" && test -d "$CPP"; then
7153 CPP=
7155 if test -z "$CPP"; then
7156 if ${ac_cv_prog_CPP+:} false; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 # Double quotes because CPP needs to be expanded
7160 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7162 ac_preproc_ok=false
7163 for ac_c_preproc_warn_flag in '' yes
7165 # Use a header file that comes with gcc, so configuring glibc
7166 # with a fresh cross-compiler works.
7167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7168 # <limits.h> exists even on freestanding compilers.
7169 # On the NeXT, cc -E runs the code through the compiler's parser,
7170 # not just through cpp. "Syntax error" is here to catch this case.
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7173 #ifdef __STDC__
7174 # include <limits.h>
7175 #else
7176 # include <assert.h>
7177 #endif
7178 Syntax error
7179 _ACEOF
7180 if ac_fn_c_try_cpp "$LINENO"; then :
7182 else
7183 # Broken: fails on valid input.
7184 continue
7186 rm -f conftest.err conftest.i conftest.$ac_ext
7188 # OK, works on sane cases. Now check whether nonexistent headers
7189 # can be detected and how.
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 #include <ac_nonexistent.h>
7193 _ACEOF
7194 if ac_fn_c_try_cpp "$LINENO"; then :
7195 # Broken: success on invalid input.
7196 continue
7197 else
7198 # Passes both tests.
7199 ac_preproc_ok=:
7200 break
7202 rm -f conftest.err conftest.i conftest.$ac_ext
7204 done
7205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7206 rm -f conftest.i conftest.err conftest.$ac_ext
7207 if $ac_preproc_ok; then :
7208 break
7211 done
7212 ac_cv_prog_CPP=$CPP
7215 CPP=$ac_cv_prog_CPP
7216 else
7217 ac_cv_prog_CPP=$CPP
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7220 $as_echo "$CPP" >&6; }
7221 ac_preproc_ok=false
7222 for ac_c_preproc_warn_flag in '' yes
7224 # Use a header file that comes with gcc, so configuring glibc
7225 # with a fresh cross-compiler works.
7226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7227 # <limits.h> exists even on freestanding compilers.
7228 # On the NeXT, cc -E runs the code through the compiler's parser,
7229 # not just through cpp. "Syntax error" is here to catch this case.
7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7232 #ifdef __STDC__
7233 # include <limits.h>
7234 #else
7235 # include <assert.h>
7236 #endif
7237 Syntax error
7238 _ACEOF
7239 if ac_fn_c_try_cpp "$LINENO"; then :
7241 else
7242 # Broken: fails on valid input.
7243 continue
7245 rm -f conftest.err conftest.i conftest.$ac_ext
7247 # OK, works on sane cases. Now check whether nonexistent headers
7248 # can be detected and how.
7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7251 #include <ac_nonexistent.h>
7252 _ACEOF
7253 if ac_fn_c_try_cpp "$LINENO"; then :
7254 # Broken: success on invalid input.
7255 continue
7256 else
7257 # Passes both tests.
7258 ac_preproc_ok=:
7259 break
7261 rm -f conftest.err conftest.i conftest.$ac_ext
7263 done
7264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7265 rm -f conftest.i conftest.err conftest.$ac_ext
7266 if $ac_preproc_ok; then :
7268 else
7269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7271 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7272 See \`config.log' for more details" "$LINENO" 5; }
7275 ac_ext=c
7276 ac_cpp='$CPP $CPPFLAGS'
7277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7283 $as_echo_n "checking for ANSI C header files... " >&6; }
7284 if ${ac_cv_header_stdc+:} false; then :
7285 $as_echo_n "(cached) " >&6
7286 else
7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288 /* end confdefs.h. */
7289 #include <stdlib.h>
7290 #include <stdarg.h>
7291 #include <string.h>
7292 #include <float.h>
7295 main ()
7299 return 0;
7301 _ACEOF
7302 if ac_fn_c_try_compile "$LINENO"; then :
7303 ac_cv_header_stdc=yes
7304 else
7305 ac_cv_header_stdc=no
7307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7309 if test $ac_cv_header_stdc = yes; then
7310 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h. */
7313 #include <string.h>
7315 _ACEOF
7316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7317 $EGREP "memchr" >/dev/null 2>&1; then :
7319 else
7320 ac_cv_header_stdc=no
7322 rm -f conftest*
7326 if test $ac_cv_header_stdc = yes; then
7327 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7330 #include <stdlib.h>
7332 _ACEOF
7333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7334 $EGREP "free" >/dev/null 2>&1; then :
7336 else
7337 ac_cv_header_stdc=no
7339 rm -f conftest*
7343 if test $ac_cv_header_stdc = yes; then
7344 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7345 if test "$cross_compiling" = yes; then :
7347 else
7348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7349 /* end confdefs.h. */
7350 #include <ctype.h>
7351 #include <stdlib.h>
7352 #if ((' ' & 0x0FF) == 0x020)
7353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7355 #else
7356 # define ISLOWER(c) \
7357 (('a' <= (c) && (c) <= 'i') \
7358 || ('j' <= (c) && (c) <= 'r') \
7359 || ('s' <= (c) && (c) <= 'z'))
7360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7361 #endif
7363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7365 main ()
7367 int i;
7368 for (i = 0; i < 256; i++)
7369 if (XOR (islower (i), ISLOWER (i))
7370 || toupper (i) != TOUPPER (i))
7371 return 2;
7372 return 0;
7374 _ACEOF
7375 if ac_fn_c_try_run "$LINENO"; then :
7377 else
7378 ac_cv_header_stdc=no
7380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7381 conftest.$ac_objext conftest.beam conftest.$ac_ext
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7387 $as_echo "$ac_cv_header_stdc" >&6; }
7388 if test $ac_cv_header_stdc = yes; then
7390 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7394 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7395 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7396 inttypes.h stdint.h unistd.h
7397 do :
7398 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7399 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7401 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7402 cat >>confdefs.h <<_ACEOF
7403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7404 _ACEOF
7408 done
7411 for ac_header in \
7412 AL/al.h \
7413 ApplicationServices/ApplicationServices.h \
7414 AudioToolbox/AudioConverter.h \
7415 AudioUnit/AudioUnit.h \
7416 AudioUnit/AudioComponent.h \
7417 CL/cl.h \
7418 Carbon/Carbon.h \
7419 CommonCrypto/CommonCryptor.h \
7420 CoreAudio/CoreAudio.h \
7421 DiskArbitration/DiskArbitration.h \
7422 EGL/egl.h \
7423 IOKit/IOKitLib.h \
7424 IOKit/hid/IOHIDLib.h \
7425 OpenAL/al.h \
7426 OpenCL/opencl.h \
7427 QuickTime/ImageCompression.h \
7428 Security/Security.h \
7429 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7430 SystemConfiguration/SCNetworkConfiguration.h \
7431 alias.h \
7432 arpa/inet.h \
7433 arpa/nameser.h \
7434 asm/types.h \
7435 asm/user.h \
7436 dirent.h \
7437 dlfcn.h \
7438 elf.h \
7439 float.h \
7440 fnmatch.h \
7441 getopt.h \
7442 gettext-po.h \
7443 grp.h \
7444 gsm.h \
7445 gsm/gsm.h \
7446 ieeefp.h \
7447 inet/mib2.h \
7448 kstat.h \
7449 libproc.h \
7450 link.h \
7451 linux/cdrom.h \
7452 linux/filter.h \
7453 linux/hdreg.h \
7454 linux/hidraw.h \
7455 linux/input.h \
7456 linux/ioctl.h \
7457 linux/joystick.h \
7458 linux/major.h \
7459 linux/param.h \
7460 linux/serial.h \
7461 linux/types.h \
7462 linux/ucdrom.h \
7463 lwp.h \
7464 mach-o/loader.h \
7465 mach/mach.h \
7466 machine/cpu.h \
7467 machine/sysarch.h \
7468 mntent.h \
7469 netdb.h \
7470 netinet/in.h \
7471 netinet/in_systm.h \
7472 netinet/tcp.h \
7473 netinet/tcp_fsm.h \
7474 pcap/pcap.h \
7475 poll.h \
7476 port.h \
7477 pthread.h \
7478 pwd.h \
7479 sasl/sasl.h \
7480 sched.h \
7481 scsi/scsi.h \
7482 scsi/scsi_ioctl.h \
7483 scsi/sg.h \
7484 stdint.h \
7485 stropts.h \
7486 sys/attr.h \
7487 sys/auxv.h \
7488 sys/cdio.h \
7489 sys/epoll.h \
7490 sys/event.h \
7491 sys/filio.h \
7492 sys/ioctl.h \
7493 sys/ipc.h \
7494 sys/link.h \
7495 sys/mman.h \
7496 sys/modem.h \
7497 sys/msg.h \
7498 sys/mtio.h \
7499 sys/param.h \
7500 sys/poll.h \
7501 sys/prctl.h \
7502 sys/protosw.h \
7503 sys/ptrace.h \
7504 sys/queue.h \
7505 sys/random.h \
7506 sys/resource.h \
7507 sys/scsiio.h \
7508 sys/shm.h \
7509 sys/signal.h \
7510 sys/socket.h \
7511 sys/socketvar.h \
7512 sys/sockio.h \
7513 sys/statvfs.h \
7514 sys/strtio.h \
7515 sys/syscall.h \
7516 sys/sysinfo.h \
7517 sys/tihdr.h \
7518 sys/time.h \
7519 sys/timeout.h \
7520 sys/times.h \
7521 sys/uio.h \
7522 sys/user.h \
7523 sys/utsname.h \
7524 sys/vnode.h \
7525 sys/wait.h \
7526 syscall.h \
7527 termios.h \
7528 unistd.h \
7529 utime.h \
7530 valgrind/memcheck.h \
7531 valgrind/valgrind.h
7533 do :
7534 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7535 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7536 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7537 cat >>confdefs.h <<_ACEOF
7538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7539 _ACEOF
7543 done
7545 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7546 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7548 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7553 if test $ac_cv_header_sys_mkdev_h = no; then
7554 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7555 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7557 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7564 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7565 if ${ac_cv_header_stat_broken+:} false; then :
7566 $as_echo_n "(cached) " >&6
7567 else
7568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7570 #include <sys/types.h>
7571 #include <sys/stat.h>
7573 #if defined S_ISBLK && defined S_IFDIR
7574 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7575 #endif
7577 #if defined S_ISBLK && defined S_IFCHR
7578 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7579 #endif
7581 #if defined S_ISLNK && defined S_IFREG
7582 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7583 #endif
7585 #if defined S_ISSOCK && defined S_IFREG
7586 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7587 #endif
7589 _ACEOF
7590 if ac_fn_c_try_compile "$LINENO"; then :
7591 ac_cv_header_stat_broken=no
7592 else
7593 ac_cv_header_stat_broken=yes
7595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7598 $as_echo "$ac_cv_header_stat_broken" >&6; }
7599 if test $ac_cv_header_stat_broken = yes; then
7601 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7607 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7608 do :
7609 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7610 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7611 #ifdef HAVE_SYS_PARAM_H
7612 # include <sys/param.h>
7613 #endif
7615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7622 done
7625 saved_sysctl_h_CFLAGS=$CFLAGS
7626 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7627 for ac_header in sys/sysctl.h
7628 do :
7629 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7630 #ifdef HAVE_SYS_PARAM_H
7631 # include <sys/param.h>
7632 #endif
7634 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7635 cat >>confdefs.h <<_ACEOF
7636 #define HAVE_SYS_SYSCTL_H 1
7637 _ACEOF
7641 done
7643 CFLAGS=$saved_sysctl_h_CFLAGS
7645 for ac_header in \
7646 netinet/ip.h \
7647 net/if.h \
7648 net/if_arp.h \
7649 net/if_dl.h \
7650 net/if_types.h \
7651 net/route.h \
7652 netinet/if_ether.h \
7653 netinet/if_inarp.h \
7654 netinet/in_pcb.h \
7655 netinet/ip_icmp.h \
7656 netinet/ip_var.h \
7657 netinet/udp.h \
7658 netipx/ipx.h \
7659 sys/un.h \
7661 do :
7662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7663 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7664 #ifdef HAVE_SYS_SOCKET_H
7665 # include <sys/socket.h>
7666 #endif
7667 #ifdef HAVE_SYS_SOCKETVAR_H
7668 # include <sys/socketvar.h>
7669 #endif
7670 #ifdef HAVE_NET_ROUTE_H
7671 # include <net/route.h>
7672 #endif
7673 #ifdef HAVE_NETINET_IN_H
7674 # include <netinet/in.h>
7675 #endif
7676 #ifdef HAVE_NETINET_IN_SYSTM_H
7677 # include <netinet/in_systm.h>
7678 #endif
7679 #ifdef HAVE_NET_IF_H
7680 # include <net/if.h>
7681 #endif
7682 #ifdef HAVE_NETINET_IP_H
7683 # include <netinet/ip.h>
7684 #endif
7686 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7687 cat >>confdefs.h <<_ACEOF
7688 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7689 _ACEOF
7693 done
7696 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7697 do :
7698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7700 #ifdef HAVE_ALIAS_H
7701 # include <alias.h>
7702 #endif
7703 #ifdef HAVE_SYS_SOCKET_H
7704 # include <sys/socket.h>
7705 #endif
7706 #ifdef HAVE_SYS_SOCKETVAR_H
7707 # include <sys/socketvar.h>
7708 #endif
7709 #ifdef HAVE_SYS_TIMEOUT_H
7710 # include <sys/timeout.h>
7711 #endif
7712 #ifdef HAVE_NETINET_IN_H
7713 # include <netinet/in.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IN_SYSTM_H
7716 # include <netinet/in_systm.h>
7717 #endif
7718 #ifdef HAVE_NETINET_IP_H
7719 # include <netinet/ip.h>
7720 #endif
7721 #ifdef HAVE_NETINET_IP_VAR_H
7722 # include <netinet/ip_var.h>
7723 #endif
7724 #ifdef HAVE_NETINET_IP_ICMP_H
7725 # include <netinet/ip_icmp.h>
7726 #endif
7727 #ifdef HAVE_NETINET_UDP_H
7728 # include <netinet/udp.h>
7729 #endif
7730 #ifdef HAVE_NETINET_TCP_H
7731 # include <netinet/tcp.h>
7732 #endif
7733 #ifdef HAVE_NETINET_TCP_TIMER_H
7734 #include <netinet/tcp_timer.h>
7735 #endif
7737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7738 cat >>confdefs.h <<_ACEOF
7739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 _ACEOF
7744 done
7747 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7748 do :
7749 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7750 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7751 #ifdef HAVE_ASM_TYPES_H
7752 # include <asm/types.h>
7753 #endif
7754 #ifdef HAVE_SYS_SOCKET_H
7755 # include <sys/socket.h>
7756 #endif
7757 #ifdef HAVE_LINUX_TYPES_H
7758 # include <linux/types.h>
7759 #endif
7761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7764 _ACEOF
7768 done
7771 for ac_header in resolv.h
7772 do :
7773 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7774 #ifdef HAVE_SYS_SOCKET_H
7775 # include <sys/socket.h>
7776 #endif
7777 #ifdef HAVE_NETINET_IN_H
7778 # include <netinet/in.h>
7779 #endif
7780 #ifdef HAVE_ARPA_NAMESER_H
7781 # include <arpa/nameser.h>
7782 #endif
7784 if test "x$ac_cv_header_resolv_h" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_RESOLV_H 1
7787 _ACEOF
7791 done
7794 for ac_header in ifaddrs.h
7795 do :
7796 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7798 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7799 cat >>confdefs.h <<_ACEOF
7800 #define HAVE_IFADDRS_H 1
7801 _ACEOF
7805 done
7808 for ac_header in sys/ucontext.h
7809 do :
7810 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7812 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7813 cat >>confdefs.h <<_ACEOF
7814 #define HAVE_SYS_UCONTEXT_H 1
7815 _ACEOF
7819 done
7822 for ac_header in sys/thr.h
7823 do :
7824 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7825 #ifdef HAVE_SYS_UCONTEXT_H
7826 #include <sys/ucontext.h>
7827 #endif
7829 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7830 cat >>confdefs.h <<_ACEOF
7831 #define HAVE_SYS_THR_H 1
7832 _ACEOF
7836 done
7839 for ac_header in pthread_np.h
7840 do :
7841 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7842 #include <pthread.h>
7843 #endif
7845 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7846 cat >>confdefs.h <<_ACEOF
7847 #define HAVE_PTHREAD_NP_H 1
7848 _ACEOF
7852 done
7855 for ac_header in linux/videodev2.h
7856 do :
7857 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7858 #include <sys/time.h>
7859 #endif
7860 #include <sys/types.h>
7861 #ifdef HAVE_ASM_TYPES_H
7862 #include <asm/types.h>
7863 #endif
7865 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7866 cat >>confdefs.h <<_ACEOF
7867 #define HAVE_LINUX_VIDEODEV2_H 1
7868 _ACEOF
7872 done
7875 for ac_header in libprocstat.h
7876 do :
7877 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7878 #include <sys/param.h>
7879 #endif
7880 #ifdef HAVE_SYS_QUEUE_H
7881 #include <sys/queue.h>
7882 #endif
7883 #ifdef HAVE_SYS_SOCKET_H
7884 #include <sys/socket.h>
7885 #endif
7887 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7888 cat >>confdefs.h <<_ACEOF
7889 #define HAVE_LIBPROCSTAT_H 1
7890 _ACEOF
7894 done
7898 DLLFLAGS="-D_REENTRANT"
7900 LDDLLFLAGS=""
7902 LDEXECFLAGS=""
7904 TOP_INSTALL_LIB=""
7906 TOP_INSTALL_DEV=""
7908 WINELOADER_LDFLAGS=""
7910 WINEPRELOADER_LDFLAGS=""
7912 LIBEXT="so"
7913 DLLEXT=".so"
7914 # Extract the first word of "ldd", so it can be a program name with args.
7915 set dummy ldd; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_path_LDD+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 case $LDD in
7922 [\\/]* | ?:[\\/]*)
7923 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 as_dummy="/sbin:/usr/sbin:$PATH"
7928 for as_dir in $as_dummy
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7942 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7944 esac
7946 LDD=$ac_cv_path_LDD
7947 if test -n "$LDD"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7949 $as_echo "$LDD" >&6; }
7950 else
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7956 if test -n "$ac_tool_prefix"; then
7957 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7958 set dummy ${ac_tool_prefix}otool; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_prog_OTOOL+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 if test -n "$OTOOL"; then
7965 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7966 else
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 for as_dir in $PATH
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7978 done
7979 done
7980 IFS=$as_save_IFS
7984 OTOOL=$ac_cv_prog_OTOOL
7985 if test -n "$OTOOL"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7987 $as_echo "$OTOOL" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7995 if test -z "$ac_cv_prog_OTOOL"; then
7996 ac_ct_OTOOL=$OTOOL
7997 # Extract the first word of "otool", so it can be a program name with args.
7998 set dummy otool; ac_word=$2
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8000 $as_echo_n "checking for $ac_word... " >&6; }
8001 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8002 $as_echo_n "(cached) " >&6
8003 else
8004 if test -n "$ac_ct_OTOOL"; then
8005 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8006 else
8007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008 for as_dir in $PATH
8010 IFS=$as_save_IFS
8011 test -z "$as_dir" && as_dir=.
8012 for ac_exec_ext in '' $ac_executable_extensions; do
8013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8014 ac_cv_prog_ac_ct_OTOOL="otool"
8015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8016 break 2
8018 done
8019 done
8020 IFS=$as_save_IFS
8024 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8025 if test -n "$ac_ct_OTOOL"; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8027 $as_echo "$ac_ct_OTOOL" >&6; }
8028 else
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8030 $as_echo "no" >&6; }
8033 if test "x$ac_ct_OTOOL" = x; then
8034 OTOOL="otool"
8035 else
8036 case $cross_compiling:$ac_tool_warned in
8037 yes:)
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8040 ac_tool_warned=yes ;;
8041 esac
8042 OTOOL=$ac_ct_OTOOL
8044 else
8045 OTOOL="$ac_cv_prog_OTOOL"
8048 if test -n "$ac_tool_prefix"; then
8049 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8050 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8052 $as_echo_n "checking for $ac_word... " >&6; }
8053 if ${ac_cv_prog_READELF+:} false; then :
8054 $as_echo_n "(cached) " >&6
8055 else
8056 if test -n "$READELF"; then
8057 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8058 else
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 for as_dir in $PATH
8062 IFS=$as_save_IFS
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8066 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 break 2
8070 done
8071 done
8072 IFS=$as_save_IFS
8076 READELF=$ac_cv_prog_READELF
8077 if test -n "$READELF"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8079 $as_echo "$READELF" >&6; }
8080 else
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082 $as_echo "no" >&6; }
8087 if test -z "$ac_cv_prog_READELF"; then
8088 ac_ct_READELF=$READELF
8089 # Extract the first word of "readelf", so it can be a program name with args.
8090 set dummy readelf; ac_word=$2
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8092 $as_echo_n "checking for $ac_word... " >&6; }
8093 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8094 $as_echo_n "(cached) " >&6
8095 else
8096 if test -n "$ac_ct_READELF"; then
8097 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8098 else
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 for as_dir in $PATH
8102 IFS=$as_save_IFS
8103 test -z "$as_dir" && as_dir=.
8104 for ac_exec_ext in '' $ac_executable_extensions; do
8105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8106 ac_cv_prog_ac_ct_READELF="readelf"
8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8108 break 2
8110 done
8111 done
8112 IFS=$as_save_IFS
8116 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8117 if test -n "$ac_ct_READELF"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8119 $as_echo "$ac_ct_READELF" >&6; }
8120 else
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8125 if test "x$ac_ct_READELF" = x; then
8126 READELF="true"
8127 else
8128 case $cross_compiling:$ac_tool_warned in
8129 yes:)
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8132 ac_tool_warned=yes ;;
8133 esac
8134 READELF=$ac_ct_READELF
8136 else
8137 READELF="$ac_cv_prog_READELF"
8140 wine_rules_file=conf$$rules.make
8141 rm -f $wine_rules_file
8142 SUBDIRS=""
8144 DISABLED_SUBDIRS=""
8146 CONFIGURE_TARGETS=""
8149 wine_fn_append_file ()
8151 as_fn_append $1 " \\$as_nl $2"
8154 wine_fn_append_rule ()
8156 $as_echo "$1" >>$wine_rules_file
8159 wine_fn_config_makefile ()
8161 wine_fn_append_file SUBDIRS $1
8162 if eval test \"x\$"$2"\" = x"no"; then :
8163 wine_fn_append_file DISABLED_SUBDIRS $1
8167 wine_fn_config_symlink ()
8169 ac_links=$@
8170 wine_fn_append_rule \
8171 "$ac_links:
8172 @./config.status \$@"
8173 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8176 wine_binary="wine"
8177 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8178 WINELOADER_PROGRAMS="$wine_binary"
8180 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8182 case $host_os in
8183 cygwin*|mingw32*)
8184 if test -n "$ac_tool_prefix"; then
8185 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8186 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8188 $as_echo_n "checking for $ac_word... " >&6; }
8189 if ${ac_cv_prog_DLLTOOL+:} false; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 if test -n "$DLLTOOL"; then
8193 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8194 else
8195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8196 for as_dir in $PATH
8198 IFS=$as_save_IFS
8199 test -z "$as_dir" && as_dir=.
8200 for ac_exec_ext in '' $ac_executable_extensions; do
8201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8202 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8204 break 2
8206 done
8207 done
8208 IFS=$as_save_IFS
8212 DLLTOOL=$ac_cv_prog_DLLTOOL
8213 if test -n "$DLLTOOL"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8215 $as_echo "$DLLTOOL" >&6; }
8216 else
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8223 if test -z "$ac_cv_prog_DLLTOOL"; then
8224 ac_ct_DLLTOOL=$DLLTOOL
8225 # Extract the first word of "dlltool", so it can be a program name with args.
8226 set dummy dlltool; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8230 $as_echo_n "(cached) " >&6
8231 else
8232 if test -n "$ac_ct_DLLTOOL"; then
8233 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8234 else
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 for as_dir in $PATH
8238 IFS=$as_save_IFS
8239 test -z "$as_dir" && as_dir=.
8240 for ac_exec_ext in '' $ac_executable_extensions; do
8241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8242 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 break 2
8246 done
8247 done
8248 IFS=$as_save_IFS
8252 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8253 if test -n "$ac_ct_DLLTOOL"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8255 $as_echo "$ac_ct_DLLTOOL" >&6; }
8256 else
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8261 if test "x$ac_ct_DLLTOOL" = x; then
8262 DLLTOOL="false"
8263 else
8264 case $cross_compiling:$ac_tool_warned in
8265 yes:)
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8268 ac_tool_warned=yes ;;
8269 esac
8270 DLLTOOL=$ac_ct_DLLTOOL
8272 else
8273 DLLTOOL="$ac_cv_prog_DLLTOOL"
8276 LIBEXT="dll"
8277 DLLEXT=""
8278 case $host_cpu in
8279 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8280 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8281 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 ac_wine_try_cflags_saved=$CFLAGS
8285 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 int main(int argc, char **argv) { return 0; }
8289 _ACEOF
8290 if ac_fn_c_try_link "$LINENO"; then :
8291 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8292 else
8293 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8295 rm -f core conftest.err conftest.$ac_objext \
8296 conftest$ac_exeext conftest.$ac_ext
8297 CFLAGS=$ac_wine_try_cflags_saved
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8300 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8301 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8302 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8303 fi ;;
8304 esac
8305 enable_iphlpapi=${enable_iphlpapi:-no}
8306 enable_ws2_32=${enable_ws2_32:-no}
8307 enable_loader=${enable_loader:-no}
8308 enable_server=${enable_server:-no}
8309 with_x=${with_x:-no}
8310 with_pthread=${with_pthread:-no}
8313 darwin*|macosx*)
8314 ac_ext=m
8315 ac_cpp='$OBJCPP $CPPFLAGS'
8316 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8317 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8318 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8320 ac_ext=m
8321 ac_cpp='$OBJCPP $CPPFLAGS'
8322 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8323 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8324 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8325 if test -n "$ac_tool_prefix"; then
8326 for ac_prog in gcc objcc objc cc CC
8328 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8329 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8331 $as_echo_n "checking for $ac_word... " >&6; }
8332 if ${ac_cv_prog_OBJC+:} false; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 if test -n "$OBJC"; then
8336 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8337 else
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 for as_dir in $PATH
8341 IFS=$as_save_IFS
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8345 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8347 break 2
8349 done
8350 done
8351 IFS=$as_save_IFS
8355 OBJC=$ac_cv_prog_OBJC
8356 if test -n "$OBJC"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8358 $as_echo "$OBJC" >&6; }
8359 else
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8361 $as_echo "no" >&6; }
8365 test -n "$OBJC" && break
8366 done
8368 if test -z "$OBJC"; then
8369 ac_ct_OBJC=$OBJC
8370 for ac_prog in gcc objcc objc cc CC
8372 # Extract the first word of "$ac_prog", so it can be a program name with args.
8373 set dummy $ac_prog; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 if test -n "$ac_ct_OBJC"; then
8380 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8381 else
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 for as_dir in $PATH
8385 IFS=$as_save_IFS
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8391 break 2
8393 done
8394 done
8395 IFS=$as_save_IFS
8399 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8400 if test -n "$ac_ct_OBJC"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8402 $as_echo "$ac_ct_OBJC" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8409 test -n "$ac_ct_OBJC" && break
8410 done
8412 if test "x$ac_ct_OBJC" = x; then
8413 OBJC="gcc"
8414 else
8415 case $cross_compiling:$ac_tool_warned in
8416 yes:)
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8419 ac_tool_warned=yes ;;
8420 esac
8421 OBJC=$ac_ct_OBJC
8425 # Provide some information about the compiler.
8426 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8427 set X $ac_compile
8428 ac_compiler=$2
8429 for ac_option in --version -v -V -qversion; do
8430 { { ac_try="$ac_compiler $ac_option >&5"
8431 case "(($ac_try" in
8432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8433 *) ac_try_echo=$ac_try;;
8434 esac
8435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8436 $as_echo "$ac_try_echo"; } >&5
8437 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8438 ac_status=$?
8439 if test -s conftest.err; then
8440 sed '10a\
8441 ... rest of stderr output deleted ...
8442 10q' conftest.err >conftest.er1
8443 cat conftest.er1 >&5
8445 rm -f conftest.er1 conftest.err
8446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8447 test $ac_status = 0; }
8448 done
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8451 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8452 if ${ac_cv_objc_compiler_gnu+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8459 main ()
8461 #ifndef __GNUC__
8462 choke me
8463 #endif
8466 return 0;
8468 _ACEOF
8469 if ac_fn_objc_try_compile "$LINENO"; then :
8470 ac_compiler_gnu=yes
8471 else
8472 ac_compiler_gnu=no
8474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8475 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8479 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8480 if test $ac_compiler_gnu = yes; then
8481 GOBJC=yes
8482 else
8483 GOBJC=
8485 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8486 ac_save_OBJCFLAGS=$OBJCFLAGS
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8488 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8489 if ${ac_cv_prog_objc_g+:} false; then :
8490 $as_echo_n "(cached) " >&6
8491 else
8492 ac_save_objc_werror_flag=$ac_objc_werror_flag
8493 ac_objc_werror_flag=yes
8494 ac_cv_prog_objc_g=no
8495 OBJCFLAGS="-g"
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8500 main ()
8504 return 0;
8506 _ACEOF
8507 if ac_fn_objc_try_compile "$LINENO"; then :
8508 ac_cv_prog_objc_g=yes
8509 else
8510 OBJCFLAGS=""
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8515 main ()
8519 return 0;
8521 _ACEOF
8522 if ac_fn_objc_try_compile "$LINENO"; then :
8524 else
8525 ac_objc_werror_flag=$ac_save_objc_werror_flag
8526 OBJCFLAGS="-g"
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 :
8539 ac_cv_prog_objc_g=yes
8541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8546 ac_objc_werror_flag=$ac_save_objc_werror_flag
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8549 $as_echo "$ac_cv_prog_objc_g" >&6; }
8550 if test "$ac_test_OBJCFLAGS" = set; then
8551 OBJCFLAGS=$ac_save_OBJCFLAGS
8552 elif test $ac_cv_prog_objc_g = yes; then
8553 if test "$GOBJC" = yes; then
8554 OBJCFLAGS="-g -O2"
8555 else
8556 OBJCFLAGS="-g"
8558 else
8559 if test "$GOBJC" = yes; then
8560 OBJCFLAGS="-O2"
8561 else
8562 OBJCFLAGS=
8565 ac_ext=m
8566 ac_cpp='$OBJCPP $CPPFLAGS'
8567 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8568 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8569 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8572 ac_ext=m
8573 ac_cpp='$OBJCPP $CPPFLAGS'
8574 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8575 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8576 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8578 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8579 if test -z "$OBJCPP"; then
8580 if ${ac_cv_prog_OBJCPP+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 # Double quotes because OBJCPP needs to be expanded
8584 for OBJCPP in "$OBJC -E" "/lib/cpp"
8586 ac_preproc_ok=false
8587 for ac_objc_preproc_warn_flag in '' yes
8589 # Use a header file that comes with gcc, so configuring glibc
8590 # with a fresh cross-compiler works.
8591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8592 # <limits.h> exists even on freestanding compilers.
8593 # On the NeXT, cc -E runs the code through the compiler's parser,
8594 # not just through cpp. "Syntax error" is here to catch this case.
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8597 #ifdef __STDC__
8598 # include <limits.h>
8599 #else
8600 # include <assert.h>
8601 #endif
8602 Syntax error
8603 _ACEOF
8604 if ac_fn_objc_try_cpp "$LINENO"; then :
8606 else
8607 # Broken: fails on valid input.
8608 continue
8610 rm -f conftest.err conftest.i conftest.$ac_ext
8612 # OK, works on sane cases. Now check whether nonexistent headers
8613 # can be detected and how.
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 #include <ac_nonexistent.h>
8617 _ACEOF
8618 if ac_fn_objc_try_cpp "$LINENO"; then :
8619 # Broken: success on invalid input.
8620 continue
8621 else
8622 # Passes both tests.
8623 ac_preproc_ok=:
8624 break
8626 rm -f conftest.err conftest.i conftest.$ac_ext
8628 done
8629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8630 rm -f conftest.i conftest.err conftest.$ac_ext
8631 if $ac_preproc_ok; then :
8632 break
8635 done
8636 ac_cv_prog_OBJCPP=$OBJCPP
8639 OBJCPP=$ac_cv_prog_OBJCPP
8640 else
8641 ac_cv_prog_OBJCPP=$OBJCPP
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8644 $as_echo "$OBJCPP" >&6; }
8645 ac_preproc_ok=false
8646 for ac_objc_preproc_warn_flag in '' yes
8648 # Use a header file that comes with gcc, so configuring glibc
8649 # with a fresh cross-compiler works.
8650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8651 # <limits.h> exists even on freestanding compilers.
8652 # On the NeXT, cc -E runs the code through the compiler's parser,
8653 # not just through cpp. "Syntax error" is here to catch this case.
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 #ifdef __STDC__
8657 # include <limits.h>
8658 #else
8659 # include <assert.h>
8660 #endif
8661 Syntax error
8662 _ACEOF
8663 if ac_fn_objc_try_cpp "$LINENO"; then :
8665 else
8666 # Broken: fails on valid input.
8667 continue
8669 rm -f conftest.err conftest.i conftest.$ac_ext
8671 # OK, works on sane cases. Now check whether nonexistent headers
8672 # can be detected and how.
8673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8674 /* end confdefs.h. */
8675 #include <ac_nonexistent.h>
8676 _ACEOF
8677 if ac_fn_objc_try_cpp "$LINENO"; then :
8678 # Broken: success on invalid input.
8679 continue
8680 else
8681 # Passes both tests.
8682 ac_preproc_ok=:
8683 break
8685 rm -f conftest.err conftest.i conftest.$ac_ext
8687 done
8688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8689 rm -f conftest.i conftest.err conftest.$ac_ext
8690 if $ac_preproc_ok; then :
8692 else
8693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8695 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8696 See \`config.log' for more details" "$LINENO" 5; }
8699 ac_ext=m
8700 ac_cpp='$OBJCPP $CPPFLAGS'
8701 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8702 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8703 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8706 for ac_header in Metal/Metal.h
8707 do :
8708 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8709 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8710 cat >>confdefs.h <<_ACEOF
8711 #define HAVE_METAL_METAL_H 1
8712 _ACEOF
8716 done
8718 ac_ext=c
8719 ac_cpp='$CPP $CPPFLAGS'
8720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8724 LIBEXT="dylib"
8725 DLLFLAGS="$DLLFLAGS -fPIC"
8726 LDDLLFLAGS="-fPIC"
8727 COREFOUNDATION_LIBS="-framework CoreFoundation"
8729 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8731 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8733 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8735 CORESERVICES_LIBS="-framework CoreServices"
8737 APPKIT_LIBS="-framework AppKit"
8739 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8742 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8744 wine_can_build_preloader=yes
8745 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8747 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8748 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8749 $as_echo_n "(cached) " >&6
8750 else
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755 int main(int argc, char **argv) { return 0; }
8756 _ACEOF
8757 if ac_fn_c_try_link "$LINENO"; then :
8758 ac_cv_cflags__Wl__no_new_main__e__main=yes
8759 else
8760 ac_cv_cflags__Wl__no_new_main__e__main=no
8762 rm -f core conftest.err conftest.$ac_objext \
8763 conftest$ac_exeext conftest.$ac_ext
8764 CFLAGS=$ac_wine_try_cflags_saved
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8767 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8768 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8769 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8771 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8772 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8773 $as_echo_n "(cached) " >&6
8774 else
8775 ac_wine_try_cflags_saved=$CFLAGS
8776 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8779 int main(int argc, char **argv) { return 0; }
8780 _ACEOF
8781 if ac_fn_c_try_link "$LINENO"; then :
8782 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8783 else
8784 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8786 rm -f core conftest.err conftest.$ac_objext \
8787 conftest$ac_exeext conftest.$ac_ext
8788 CFLAGS=$ac_wine_try_cflags_saved
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8791 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8792 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8793 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8794 else
8795 { $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
8796 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8797 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 ac_wine_try_cflags_saved=$CFLAGS
8801 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8808 else
8809 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 { $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
8816 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8817 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8818 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8819 else
8820 wine_can_build_preloader=no
8823 else
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8825 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8826 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8827 $as_echo_n "(cached) " >&6
8828 else
8829 ac_wine_try_cflags_saved=$CFLAGS
8830 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8833 int main(int argc, char **argv) { return 0; }
8834 _ACEOF
8835 if ac_fn_c_try_link "$LINENO"; then :
8836 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8837 else
8838 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8840 rm -f core conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8845 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8846 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8847 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8848 else
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8850 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8851 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8852 $as_echo_n "(cached) " >&6
8853 else
8854 ac_wine_try_cflags_saved=$CFLAGS
8855 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8858 int main(int argc, char **argv) { return 0; }
8859 _ACEOF
8860 if ac_fn_c_try_link "$LINENO"; then :
8861 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8862 else
8863 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8865 rm -f core conftest.err conftest.$ac_objext \
8866 conftest$ac_exeext conftest.$ac_ext
8867 CFLAGS=$ac_wine_try_cflags_saved
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8870 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8871 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8872 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8873 else
8874 wine_can_build_preloader=no
8878 if test "$wine_can_build_preloader" = "yes"
8879 then
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8881 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8882 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8883 $as_echo_n "(cached) " >&6
8884 else
8885 ac_wine_try_cflags_saved=$CFLAGS
8886 CFLAGS="$CFLAGS -Wl,-no_pie"
8887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8888 /* end confdefs.h. */
8889 int main(int argc, char **argv) { return 0; }
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8892 ac_cv_cflags__Wl__no_pie=yes
8893 else
8894 ac_cv_cflags__Wl__no_pie=no
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8898 CFLAGS=$ac_wine_try_cflags_saved
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8901 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8902 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8903 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8905 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8906 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8907 else
8908 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8911 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8912 then
8913 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8916 if test "$ac_cv_header_Security_Security_h" = "yes"
8917 then
8918 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8920 ac_save_LIBS="$LIBS"
8921 LIBS="$LIBS $SECURITY_LIBS"
8922 for ac_func in SSLCopyPeerCertificates
8923 do :
8924 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8925 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8926 cat >>confdefs.h <<_ACEOF
8927 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8928 _ACEOF
8931 done
8933 LIBS="$ac_save_LIBS"
8935 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8936 then
8937 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8938 then
8939 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8941 else
8942 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8945 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8946 ac_save_LIBS="$LIBS"
8947 LIBS="$LIBS $COREAUDIO_LIBS"
8948 for ac_func in AUGraphAddNode
8949 do :
8950 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8951 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8952 cat >>confdefs.h <<_ACEOF
8953 #define HAVE_AUGRAPHADDNODE 1
8954 _ACEOF
8957 done
8959 LIBS="$ac_save_LIBS"
8961 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8962 then
8963 OPENAL_LIBS="-framework OpenAL"
8966 cat >>confdefs.h <<_ACEOF
8967 #define HAVE_OPENAL 1
8968 _ACEOF
8970 ac_cv_lib_openal=yes
8972 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8973 then
8974 OPENCL_LIBS="-framework OpenCL"
8976 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8978 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8979 then
8980 ac_save_LIBS="$LIBS"
8981 LIBS="$LIBS $IOKIT_LIBS"
8982 for ac_func in IOHIDManagerCreate
8983 do :
8984 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8985 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8986 cat >>confdefs.h <<_ACEOF
8987 #define HAVE_IOHIDMANAGERCREATE 1
8988 _ACEOF
8991 done
8993 LIBS="$ac_save_LIBS"
8996 if test "x$with_quicktime" != "xno"
8997 then
8998 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8999 then
9000 ac_save_LIBS="$LIBS"
9001 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9003 $as_echo_n "checking for the QuickTime framework... " >&6; }
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9006 #include <QuickTime/ImageCompression.h>
9008 main ()
9010 CodecManagerVersion(NULL);
9012 return 0;
9014 _ACEOF
9015 if ac_fn_c_try_link "$LINENO"; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9017 $as_echo "yes" >&6; }
9018 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9020 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9021 else
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 $as_echo "no" >&6; }
9024 ac_cv_header_QuickTime_ImageCompression_h=no
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 LIBS="$ac_save_LIBS"
9031 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9032 case "x$with_quicktime" in
9033 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9034 xno) ;;
9035 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9036 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9037 esac
9041 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9042 then
9043 CARBON_LIBS="-framework Carbon"
9046 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9047 then
9048 METAL_LIBS="-framework Metal -framework QuartzCore"
9052 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9053 then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9055 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9056 ac_ext=m
9057 ac_cpp='$OBJCPP $CPPFLAGS'
9058 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9059 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9060 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9063 /* end confdefs.h. */
9064 #include <Metal/Metal.h>
9066 main ()
9068 id<MTLDevice> device; device.registryID;
9070 return 0;
9072 _ACEOF
9073 if ac_fn_objc_try_compile "$LINENO"; then :
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9075 $as_echo "yes" >&6; }
9077 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9079 else
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9081 $as_echo "no" >&6; }
9083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9084 ac_ext=c
9085 ac_cpp='$CPP $CPPFLAGS'
9086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9092 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9093 then
9094 ac_save_LIBS="$LIBS"
9095 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9096 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9097 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9098 enable_winemac_drv=${enable_winemac_drv:-yes}
9101 LIBS="$ac_save_LIBS"
9104 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9106 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9108 WINELOADER_DEPENDS="wine_info.plist"
9110 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9113 linux-android*)
9114 DLLFLAGS="$DLLFLAGS -fPIC"
9115 LDDLLFLAGS="-fPIC"
9116 LDEXECFLAGS="-Wl,-pie"
9117 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9119 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9120 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_wine_try_cflags_saved=$CFLAGS
9124 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9127 int main(int argc, char **argv) { return 0; }
9128 _ACEOF
9129 if ac_fn_c_try_link "$LINENO"; then :
9130 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9131 else
9132 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9134 rm -f core conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9136 CFLAGS=$ac_wine_try_cflags_saved
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9139 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9140 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9141 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9143 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9145 LIBWINE_SHAREDLIB="libwine.so"
9147 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9149 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9152 $as_echo_n "checking for -lEGL... " >&6; }
9153 if ${ac_cv_lib_soname_EGL+:} false; then :
9154 $as_echo_n "(cached) " >&6
9155 else
9156 ac_check_soname_save_LIBS=$LIBS
9157 LIBS="-lEGL $LIBS"
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9161 /* Override any GCC internal prototype to avoid an error.
9162 Use char because int might match the return type of a GCC
9163 builtin and then its argument prototype would still apply. */
9164 #ifdef __cplusplus
9165 extern "C"
9166 #endif
9167 char eglGetProcAddress ();
9169 main ()
9171 return eglGetProcAddress ();
9173 return 0;
9175 _ACEOF
9176 if ac_fn_c_try_link "$LINENO"; then :
9177 case "$LIBEXT" in
9178 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9179 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'` ;;
9180 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9181 if ${ac_cv_lib_soname_EGL:+false} :; then :
9182 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9183 fi ;;
9184 esac
9185 else
9186 ac_cv_lib_soname_EGL=
9188 rm -f core conftest.err conftest.$ac_objext \
9189 conftest$ac_exeext conftest.$ac_ext
9190 LIBS=$ac_check_soname_save_LIBS
9192 if ${ac_cv_lib_soname_EGL:+false} :; then :
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9194 $as_echo "not found" >&6; }
9196 else
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9198 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9200 cat >>confdefs.h <<_ACEOF
9201 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9202 _ACEOF
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9207 $as_echo_n "checking for -lGLESv2... " >&6; }
9208 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 ac_check_soname_save_LIBS=$LIBS
9212 LIBS="-lGLESv2 $LIBS"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char glFlush ();
9224 main ()
9226 return glFlush ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 case "$LIBEXT" in
9233 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9234 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'` ;;
9235 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9236 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9237 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9238 fi ;;
9239 esac
9240 else
9241 ac_cv_lib_soname_GLESv2=
9243 rm -f core conftest.err conftest.$ac_objext \
9244 conftest$ac_exeext conftest.$ac_ext
9245 LIBS=$ac_check_soname_save_LIBS
9247 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9249 $as_echo "not found" >&6; }
9251 else
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9253 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9255 cat >>confdefs.h <<_ACEOF
9256 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9257 _ACEOF
9262 if test "x$exec_prefix" = xNONE
9263 then
9264 case $host_cpu in
9265 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9266 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9267 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9268 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9269 esac
9274 case $host_cpu in
9275 *i[3456789]86*)
9276 DLLFLAGS="$DLLFLAGS -fno-PIC"
9277 LDDLLFLAGS="-fno-PIC"
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9279 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9280 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9281 $as_echo_n "(cached) " >&6
9282 else
9283 ac_wine_try_cflags_saved=$CFLAGS
9284 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9287 int main(int argc, char **argv) { return 0; }
9288 _ACEOF
9289 if ac_fn_c_try_link "$LINENO"; then :
9290 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9291 else
9292 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9294 rm -f core conftest.err conftest.$ac_objext \
9295 conftest$ac_exeext conftest.$ac_ext
9296 CFLAGS=$ac_wine_try_cflags_saved
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9299 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9300 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9301 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9305 DLLFLAGS="$DLLFLAGS -fPIC"
9306 LDDLLFLAGS="-fPIC" ;;
9307 esac
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9309 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9310 if ${ac_cv_c_dll_gnuelf+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_wine_try_cflags_saved=$CFLAGS
9314 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9317 void myfunc() {}
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9321 else
9322 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 CFLAGS=$ac_wine_try_cflags_saved
9327 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9328 ac_cv_c_dll_gnuelf="yes"
9329 else
9330 ac_cv_c_dll_gnuelf="no"
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9334 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9335 if test "$ac_cv_c_dll_gnuelf" = "yes"
9336 then
9337 LIBWINE_LDFLAGS="-shared"
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9339 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9340 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_wine_try_cflags_saved=$CFLAGS
9344 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9347 int main(int argc, char **argv) { return 0; }
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9351 else
9352 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 CFLAGS=$ac_wine_try_cflags_saved
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9359 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9360 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9361 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9362 else
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9364 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9365 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 ac_wine_try_cflags_saved=$CFLAGS
9369 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9372 int main(int argc, char **argv) { return 0; }
9373 _ACEOF
9374 if ac_fn_c_try_link "$LINENO"; then :
9375 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9376 else
9377 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 CFLAGS=$ac_wine_try_cflags_saved
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9384 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9385 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9386 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9390 echo '{ global: *; };' >conftest.map
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9392 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9393 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9394 $as_echo_n "(cached) " >&6
9395 else
9396 ac_wine_try_cflags_saved=$CFLAGS
9397 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9400 int main(int argc, char **argv) { return 0; }
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9404 else
9405 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 CFLAGS=$ac_wine_try_cflags_saved
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9412 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9413 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9414 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9416 rm -f conftest.map
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9419 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9420 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9421 $as_echo_n "(cached) " >&6
9422 else
9423 ac_wine_try_cflags_saved=$CFLAGS
9424 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9427 int main(int argc, char **argv) { return 0; }
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"; then :
9430 ac_cv_cflags__Wl___export_dynamic=yes
9431 else
9432 ac_cv_cflags__Wl___export_dynamic=no
9434 rm -f core conftest.err conftest.$ac_objext \
9435 conftest$ac_exeext conftest.$ac_ext
9436 CFLAGS=$ac_wine_try_cflags_saved
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9439 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9440 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9441 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9443 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9445 case $host_cpu in
9446 *i[3456789]86* | x86_64 | *aarch64*)
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9448 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9449 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9460 else
9461 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 CFLAGS=$ac_wine_try_cflags_saved
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9468 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9469 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9470 case $host_os in
9471 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9472 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9473 esac
9474 else
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9476 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9477 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 ac_wine_try_cflags_saved=$CFLAGS
9481 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9484 int main(int argc, char **argv) { return 0; }
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9488 else
9489 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 CFLAGS=$ac_wine_try_cflags_saved
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9496 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9497 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9498 case $host_os in
9499 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9500 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9501 esac
9503 # Extract the first word of "prelink", so it can be a program name with args.
9504 set dummy prelink; ac_word=$2
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9506 $as_echo_n "checking for $ac_word... " >&6; }
9507 if ${ac_cv_path_PRELINK+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 case $PRELINK in
9511 [\\/]* | ?:[\\/]*)
9512 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9516 for as_dir in /sbin /usr/sbin $PATH
9518 IFS=$as_save_IFS
9519 test -z "$as_dir" && as_dir=.
9520 for ac_exec_ext in '' $ac_executable_extensions; do
9521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9522 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9524 break 2
9526 done
9527 done
9528 IFS=$as_save_IFS
9530 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9532 esac
9534 PRELINK=$ac_cv_path_PRELINK
9535 if test -n "$PRELINK"; then
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9537 $as_echo "$PRELINK" >&6; }
9538 else
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9540 $as_echo "no" >&6; }
9544 if test "x$PRELINK" = xfalse
9545 then
9546 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9550 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9551 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9552 $as_echo_n "(cached) " >&6
9553 else
9554 ac_wine_try_cflags_saved=$CFLAGS
9555 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9558 int main(int argc, char **argv) { return 0; }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9562 else
9563 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 CFLAGS=$ac_wine_try_cflags_saved
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9570 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9571 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9572 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9575 esac
9577 else
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9579 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9580 if ${ac_cv_c_dll_unixware+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 ac_wine_try_cflags_saved=$CFLAGS
9584 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9587 void myfunc() {}
9588 _ACEOF
9589 if ac_fn_c_try_link "$LINENO"; then :
9590 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9591 else
9592 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 CFLAGS=$ac_wine_try_cflags_saved
9597 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9598 ac_cv_c_dll_unixware="yes"
9599 else
9600 ac_cv_c_dll_unixware="no"
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9604 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9605 if test "$ac_cv_c_dll_unixware" = "yes"
9606 then
9607 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9610 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9612 LIBWINE_DEPENDS="wine.map"
9614 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9616 esac
9618 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9619 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9620 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9621 enable_winemac_drv=${enable_winemac_drv:-no}
9622 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9625 if test "x$with_mingw" != xno
9626 then
9627 case "x$with_mingw" in
9628 x|xyes) case "$host_cpu" in
9629 aarch64*)
9630 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9631 arm*)
9632 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9633 i[3456789]86*)
9634 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
9635 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9636 mingw32-gcc" ;;
9637 x86_64)
9638 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
9639 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9641 ac_prefix_list="" ;;
9642 esac
9643 for ac_prog in $ac_prefix_list
9645 # Extract the first word of "$ac_prog", so it can be a program name with args.
9646 set dummy $ac_prog; ac_word=$2
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9648 $as_echo_n "checking for $ac_word... " >&6; }
9649 if ${ac_cv_prog_CROSSCC+:} false; then :
9650 $as_echo_n "(cached) " >&6
9651 else
9652 if test -n "$CROSSCC"; then
9653 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9654 else
9655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9656 for as_dir in $PATH
9658 IFS=$as_save_IFS
9659 test -z "$as_dir" && as_dir=.
9660 for ac_exec_ext in '' $ac_executable_extensions; do
9661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9662 ac_cv_prog_CROSSCC="$ac_prog"
9663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9664 break 2
9666 done
9667 done
9668 IFS=$as_save_IFS
9672 CROSSCC=$ac_cv_prog_CROSSCC
9673 if test -n "$CROSSCC"; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9675 $as_echo "$CROSSCC" >&6; }
9676 else
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 $as_echo "no" >&6; }
9682 test -n "$CROSSCC" && break
9683 done
9684 test -n "$CROSSCC" || CROSSCC="false"
9686 *) CROSSCC=$with_mingw ;;
9687 esac
9688 if test "$CROSSCC" != "false"
9689 then
9690 ac_save_CC="$CC"
9691 saved_CFLAGS=$CFLAGS
9692 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9694 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9698 CC="$CROSSCC"
9699 CFLAGS=$CROSSCFLAGS
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9701 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9702 if ${wine_cv_crosscc+:} false; then :
9703 $as_echo_n "(cached) " >&6
9704 else
9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9709 main ()
9713 return 0;
9715 _ACEOF
9716 if ac_fn_c_try_compile "$LINENO"; then :
9717 wine_cv_crosscc=yes
9718 else
9719 wine_cv_crosscc=no
9721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9724 $as_echo "$wine_cv_crosscc" >&6; }
9725 if test $wine_cv_crosscc = yes
9726 then
9727 set x $CROSSCC
9728 shift
9729 while test $# -ge 1
9731 case "$1" in
9732 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9733 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9734 esac
9735 shift
9736 done
9738 llvm_target=$CROSSTARGET
9739 llvm_cflags="-fuse-ld=lld"
9740 if test -z "$llvm_target"
9741 then
9742 case $host_cpu in
9743 *i[3456789]86*) llvm_target=i686-windows ;;
9744 *) llvm_target=$host_cpu-windows ;;
9745 esac
9747 case $llvm_target in
9748 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9749 esac
9750 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9752 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9753 if eval \${$as_ac_var+:} false; then :
9754 $as_echo_n "(cached) " >&6
9755 else
9756 ac_wine_try_cflags_saved=$CFLAGS
9757 ac_wine_try_cflags_saved_cc=$CC
9758 ac_wine_try_cflags_saved_exeext=$ac_exeext
9759 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9760 CC="$CROSSCC"
9761 ac_exeext=".exe"
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9764 int __cdecl mainCRTStartup(void) { return 0; }
9765 _ACEOF
9766 if ac_fn_c_try_link "$LINENO"; then :
9767 eval "$as_ac_var=yes"
9768 else
9769 eval "$as_ac_var=no"
9771 rm -f core conftest.err conftest.$ac_objext \
9772 conftest$ac_exeext conftest.$ac_ext
9773 CFLAGS=$ac_wine_try_cflags_saved
9774 CC=$ac_wine_try_cflags_saved_cc
9775 ac_exeext=$ac_wine_try_cflags_saved_exeext
9777 eval ac_res=\$$as_ac_var
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9779 $as_echo "$ac_res" >&6; }
9780 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9781 CROSSTARGET=$llvm_target
9782 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9783 DELAYLOADFLAG="-Wl,-delayload,"
9785 CFLAGS="$CFLAGS $llvm_cflags"
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9789 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9790 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9791 $as_echo_n "(cached) " >&6
9792 else
9793 ac_wine_try_cflags_saved=$CFLAGS
9794 ac_wine_try_cflags_saved_cc=$CC
9795 ac_wine_try_cflags_saved_exeext=$ac_exeext
9796 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9797 CC="$CROSSCC"
9798 ac_exeext=".exe"
9799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9800 /* end confdefs.h. */
9801 int __cdecl mainCRTStartup(void) { return 0; }
9802 _ACEOF
9803 if ac_fn_c_try_link "$LINENO"; then :
9804 ac_cv_crosscflags__fno_strict_aliasing=yes
9805 else
9806 ac_cv_crosscflags__fno_strict_aliasing=no
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 CFLAGS=$ac_wine_try_cflags_saved
9811 CC=$ac_wine_try_cflags_saved_cc
9812 ac_exeext=$ac_wine_try_cflags_saved_exeext
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9815 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9816 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9817 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9820 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9821 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9822 $as_echo_n "(cached) " >&6
9823 else
9824 ac_wine_try_cflags_saved=$CFLAGS
9825 ac_wine_try_cflags_saved_cc=$CC
9826 ac_wine_try_cflags_saved_exeext=$ac_exeext
9827 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9828 CC="$CROSSCC"
9829 ac_exeext=".exe"
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9832 int __cdecl mainCRTStartup(void) { return 0; }
9833 _ACEOF
9834 if ac_fn_c_try_link "$LINENO"; then :
9835 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9836 else
9837 ac_cv_crosscflags__Werror_unknown_warning_option=no
9839 rm -f core conftest.err conftest.$ac_objext \
9840 conftest$ac_exeext conftest.$ac_ext
9841 CFLAGS=$ac_wine_try_cflags_saved
9842 CC=$ac_wine_try_cflags_saved_cc
9843 ac_exeext=$ac_wine_try_cflags_saved_exeext
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9846 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9847 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9848 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9851 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9852 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9853 $as_echo_n "(cached) " >&6
9854 else
9855 ac_wine_try_cflags_saved=$CFLAGS
9856 ac_wine_try_cflags_saved_cc=$CC
9857 ac_wine_try_cflags_saved_exeext=$ac_exeext
9858 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9859 CC="$CROSSCC"
9860 ac_exeext=".exe"
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9863 int __cdecl mainCRTStartup(void) { return 0; }
9864 _ACEOF
9865 if ac_fn_c_try_link "$LINENO"; then :
9866 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9867 else
9868 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 CFLAGS=$ac_wine_try_cflags_saved
9873 CC=$ac_wine_try_cflags_saved_cc
9874 ac_exeext=$ac_wine_try_cflags_saved_exeext
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9877 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9878 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9879 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9882 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9883 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9884 $as_echo_n "(cached) " >&6
9885 else
9886 ac_wine_try_cflags_saved=$CFLAGS
9887 ac_wine_try_cflags_saved_cc=$CC
9888 ac_wine_try_cflags_saved_exeext=$ac_exeext
9889 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9890 CC="$CROSSCC"
9891 ac_exeext=".exe"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9894 int __cdecl mainCRTStartup(void) { return 0; }
9895 _ACEOF
9896 if ac_fn_c_try_link "$LINENO"; then :
9897 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9898 else
9899 ac_cv_crosscflags__Wdeclaration_after_statement=no
9901 rm -f core conftest.err conftest.$ac_objext \
9902 conftest$ac_exeext conftest.$ac_ext
9903 CFLAGS=$ac_wine_try_cflags_saved
9904 CC=$ac_wine_try_cflags_saved_cc
9905 ac_exeext=$ac_wine_try_cflags_saved_exeext
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9908 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9909 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9910 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9913 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9914 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9915 $as_echo_n "(cached) " >&6
9916 else
9917 ac_wine_try_cflags_saved=$CFLAGS
9918 ac_wine_try_cflags_saved_cc=$CC
9919 ac_wine_try_cflags_saved_exeext=$ac_exeext
9920 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9921 CC="$CROSSCC"
9922 ac_exeext=".exe"
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9925 int __cdecl mainCRTStartup(void) { return 0; }
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 ac_cv_crosscflags__Wempty_body=yes
9929 else
9930 ac_cv_crosscflags__Wempty_body=no
9932 rm -f core conftest.err conftest.$ac_objext \
9933 conftest$ac_exeext conftest.$ac_ext
9934 CFLAGS=$ac_wine_try_cflags_saved
9935 CC=$ac_wine_try_cflags_saved_cc
9936 ac_exeext=$ac_wine_try_cflags_saved_exeext
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9939 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9940 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9941 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9944 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9945 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9946 $as_echo_n "(cached) " >&6
9947 else
9948 ac_wine_try_cflags_saved=$CFLAGS
9949 ac_wine_try_cflags_saved_cc=$CC
9950 ac_wine_try_cflags_saved_exeext=$ac_exeext
9951 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9952 CC="$CROSSCC"
9953 ac_exeext=".exe"
9954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9956 int __cdecl mainCRTStartup(void) { return 0; }
9957 _ACEOF
9958 if ac_fn_c_try_link "$LINENO"; then :
9959 ac_cv_crosscflags__Wignored_qualifiers=yes
9960 else
9961 ac_cv_crosscflags__Wignored_qualifiers=no
9963 rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965 CFLAGS=$ac_wine_try_cflags_saved
9966 CC=$ac_wine_try_cflags_saved_cc
9967 ac_exeext=$ac_wine_try_cflags_saved_exeext
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9970 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9971 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9972 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9975 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9976 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9977 $as_echo_n "(cached) " >&6
9978 else
9979 ac_wine_try_cflags_saved=$CFLAGS
9980 ac_wine_try_cflags_saved_cc=$CC
9981 ac_wine_try_cflags_saved_exeext=$ac_exeext
9982 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9983 CC="$CROSSCC"
9984 ac_exeext=".exe"
9985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9986 /* end confdefs.h. */
9987 int __cdecl mainCRTStartup(void) { return 0; }
9988 _ACEOF
9989 if ac_fn_c_try_link "$LINENO"; then :
9990 ac_cv_crosscflags__Wpacked_not_aligned=yes
9991 else
9992 ac_cv_crosscflags__Wpacked_not_aligned=no
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 CFLAGS=$ac_wine_try_cflags_saved
9997 CC=$ac_wine_try_cflags_saved_cc
9998 ac_exeext=$ac_wine_try_cflags_saved_exeext
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10001 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10002 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10003 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10006 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10007 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10008 $as_echo_n "(cached) " >&6
10009 else
10010 ac_wine_try_cflags_saved=$CFLAGS
10011 ac_wine_try_cflags_saved_cc=$CC
10012 ac_wine_try_cflags_saved_exeext=$ac_exeext
10013 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10014 CC="$CROSSCC"
10015 ac_exeext=".exe"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10018 int __cdecl mainCRTStartup(void) { return 0; }
10019 _ACEOF
10020 if ac_fn_c_try_link "$LINENO"; then :
10021 ac_cv_crosscflags__Wpragma_pack=yes
10022 else
10023 ac_cv_crosscflags__Wpragma_pack=no
10025 rm -f core conftest.err conftest.$ac_objext \
10026 conftest$ac_exeext conftest.$ac_ext
10027 CFLAGS=$ac_wine_try_cflags_saved
10028 CC=$ac_wine_try_cflags_saved_cc
10029 ac_exeext=$ac_wine_try_cflags_saved_exeext
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10032 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10033 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10034 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10037 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10038 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10039 $as_echo_n "(cached) " >&6
10040 else
10041 ac_wine_try_cflags_saved=$CFLAGS
10042 ac_wine_try_cflags_saved_cc=$CC
10043 ac_wine_try_cflags_saved_exeext=$ac_exeext
10044 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10045 CC="$CROSSCC"
10046 ac_exeext=".exe"
10047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10048 /* end confdefs.h. */
10049 int __cdecl mainCRTStartup(void) { return 0; }
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"; then :
10052 ac_cv_crosscflags__Wshift_overflow_2=yes
10053 else
10054 ac_cv_crosscflags__Wshift_overflow_2=no
10056 rm -f core conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10058 CFLAGS=$ac_wine_try_cflags_saved
10059 CC=$ac_wine_try_cflags_saved_cc
10060 ac_exeext=$ac_wine_try_cflags_saved_exeext
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10063 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10064 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10065 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10068 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10069 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10070 $as_echo_n "(cached) " >&6
10071 else
10072 ac_wine_try_cflags_saved=$CFLAGS
10073 ac_wine_try_cflags_saved_cc=$CC
10074 ac_wine_try_cflags_saved_exeext=$ac_exeext
10075 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10076 CC="$CROSSCC"
10077 ac_exeext=".exe"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10080 int __cdecl mainCRTStartup(void) { return 0; }
10081 _ACEOF
10082 if ac_fn_c_try_link "$LINENO"; then :
10083 ac_cv_crosscflags__Wstrict_prototypes=yes
10084 else
10085 ac_cv_crosscflags__Wstrict_prototypes=no
10087 rm -f core conftest.err conftest.$ac_objext \
10088 conftest$ac_exeext conftest.$ac_ext
10089 CFLAGS=$ac_wine_try_cflags_saved
10090 CC=$ac_wine_try_cflags_saved_cc
10091 ac_exeext=$ac_wine_try_cflags_saved_exeext
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10094 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10095 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10096 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10099 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10100 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10101 $as_echo_n "(cached) " >&6
10102 else
10103 ac_wine_try_cflags_saved=$CFLAGS
10104 ac_wine_try_cflags_saved_cc=$CC
10105 ac_wine_try_cflags_saved_exeext=$ac_exeext
10106 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10107 CC="$CROSSCC"
10108 ac_exeext=".exe"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10111 int __cdecl mainCRTStartup(void) { return 0; }
10112 _ACEOF
10113 if ac_fn_c_try_link "$LINENO"; then :
10114 ac_cv_crosscflags__Wtype_limits=yes
10115 else
10116 ac_cv_crosscflags__Wtype_limits=no
10118 rm -f core conftest.err conftest.$ac_objext \
10119 conftest$ac_exeext conftest.$ac_ext
10120 CFLAGS=$ac_wine_try_cflags_saved
10121 CC=$ac_wine_try_cflags_saved_cc
10122 ac_exeext=$ac_wine_try_cflags_saved_exeext
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10125 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10126 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10127 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10130 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10131 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 ac_wine_try_cflags_saved=$CFLAGS
10135 ac_wine_try_cflags_saved_cc=$CC
10136 ac_wine_try_cflags_saved_exeext=$ac_exeext
10137 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10138 CC="$CROSSCC"
10139 ac_exeext=".exe"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 int __cdecl mainCRTStartup(void) { return 0; }
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"; then :
10145 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10146 else
10147 ac_cv_crosscflags__Wunused_but_set_parameter=no
10149 rm -f core conftest.err conftest.$ac_objext \
10150 conftest$ac_exeext conftest.$ac_ext
10151 CFLAGS=$ac_wine_try_cflags_saved
10152 CC=$ac_wine_try_cflags_saved_cc
10153 ac_exeext=$ac_wine_try_cflags_saved_exeext
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10156 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10157 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10158 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10161 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10162 if ${ac_cv_crosscflags__Wvla+:} false; then :
10163 $as_echo_n "(cached) " >&6
10164 else
10165 ac_wine_try_cflags_saved=$CFLAGS
10166 ac_wine_try_cflags_saved_cc=$CC
10167 ac_wine_try_cflags_saved_exeext=$ac_exeext
10168 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10169 CC="$CROSSCC"
10170 ac_exeext=".exe"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10173 int __cdecl mainCRTStartup(void) { return 0; }
10174 _ACEOF
10175 if ac_fn_c_try_link "$LINENO"; then :
10176 ac_cv_crosscflags__Wvla=yes
10177 else
10178 ac_cv_crosscflags__Wvla=no
10180 rm -f core conftest.err conftest.$ac_objext \
10181 conftest$ac_exeext conftest.$ac_ext
10182 CFLAGS=$ac_wine_try_cflags_saved
10183 CC=$ac_wine_try_cflags_saved_cc
10184 ac_exeext=$ac_wine_try_cflags_saved_exeext
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10187 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10188 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10189 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10192 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10193 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10194 $as_echo_n "(cached) " >&6
10195 else
10196 ac_wine_try_cflags_saved=$CFLAGS
10197 ac_wine_try_cflags_saved_cc=$CC
10198 ac_wine_try_cflags_saved_exeext=$ac_exeext
10199 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10200 CC="$CROSSCC"
10201 ac_exeext=".exe"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10204 int __cdecl mainCRTStartup(void) { return 0; }
10205 _ACEOF
10206 if ac_fn_c_try_link "$LINENO"; then :
10207 ac_cv_crosscflags__Wwrite_strings=yes
10208 else
10209 ac_cv_crosscflags__Wwrite_strings=no
10211 rm -f core conftest.err conftest.$ac_objext \
10212 conftest$ac_exeext conftest.$ac_ext
10213 CFLAGS=$ac_wine_try_cflags_saved
10214 CC=$ac_wine_try_cflags_saved_cc
10215 ac_exeext=$ac_wine_try_cflags_saved_exeext
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10218 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10219 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10220 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10223 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10224 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10225 $as_echo_n "(cached) " >&6
10226 else
10227 ac_wine_try_cflags_saved=$CFLAGS
10228 ac_wine_try_cflags_saved_cc=$CC
10229 ac_wine_try_cflags_saved_exeext=$ac_exeext
10230 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10231 CC="$CROSSCC"
10232 ac_exeext=".exe"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10235 int __cdecl mainCRTStartup(void) { return 0; }
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 ac_cv_crosscflags__Wpointer_arith=yes
10239 else
10240 ac_cv_crosscflags__Wpointer_arith=no
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 CFLAGS=$ac_wine_try_cflags_saved
10245 CC=$ac_wine_try_cflags_saved_cc
10246 ac_exeext=$ac_wine_try_cflags_saved_exeext
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10249 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10250 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10251 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10254 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10255 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10256 $as_echo_n "(cached) " >&6
10257 else
10258 ac_wine_try_cflags_saved=$CFLAGS
10259 ac_wine_try_cflags_saved_cc=$CC
10260 ac_wine_try_cflags_saved_exeext=$ac_exeext
10261 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10262 CC="$CROSSCC"
10263 ac_exeext=".exe"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10266 int __cdecl mainCRTStartup(void) { return 0; }
10267 _ACEOF
10268 if ac_fn_c_try_link "$LINENO"; then :
10269 ac_cv_crosscflags__Wlogical_op=yes
10270 else
10271 ac_cv_crosscflags__Wlogical_op=no
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 CFLAGS=$ac_wine_try_cflags_saved
10276 CC=$ac_wine_try_cflags_saved_cc
10277 ac_exeext=$ac_wine_try_cflags_saved_exeext
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10280 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10281 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10282 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10285 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10286 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10287 $as_echo_n "(cached) " >&6
10288 else
10289 ac_wine_try_cflags_saved=$CFLAGS
10290 ac_wine_try_cflags_saved_cc=$CC
10291 ac_wine_try_cflags_saved_exeext=$ac_exeext
10292 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10293 CC="$CROSSCC"
10294 ac_exeext=".exe"
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10297 int __cdecl mainCRTStartup(void) { return 0; }
10298 _ACEOF
10299 if ac_fn_c_try_link "$LINENO"; then :
10300 ac_cv_crosscflags__Wabsolute_value=yes
10301 else
10302 ac_cv_crosscflags__Wabsolute_value=no
10304 rm -f core conftest.err conftest.$ac_objext \
10305 conftest$ac_exeext conftest.$ac_ext
10306 CFLAGS=$ac_wine_try_cflags_saved
10307 CC=$ac_wine_try_cflags_saved_cc
10308 ac_exeext=$ac_wine_try_cflags_saved_exeext
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10311 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10312 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10313 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10316 case $host_cpu in
10317 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10318 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10319 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_wine_try_cflags_saved=$CFLAGS
10323 ac_wine_try_cflags_saved_cc=$CC
10324 ac_wine_try_cflags_saved_exeext=$ac_exeext
10325 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10326 CC="$CROSSCC"
10327 ac_exeext=".exe"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10330 int __cdecl mainCRTStartup(void) { return 0; }
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"; then :
10333 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10334 else
10335 ac_cv_crosscflags__fno_omit_frame_pointer=no
10337 rm -f core conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 CFLAGS=$ac_wine_try_cflags_saved
10340 CC=$ac_wine_try_cflags_saved_cc
10341 ac_exeext=$ac_wine_try_cflags_saved_exeext
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10344 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10345 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10346 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10347 fi ;;
10348 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10349 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10350 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10351 $as_echo_n "(cached) " >&6
10352 else
10353 ac_wine_try_cflags_saved=$CFLAGS
10354 ac_wine_try_cflags_saved_cc=$CC
10355 ac_wine_try_cflags_saved_exeext=$ac_exeext
10356 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10357 CC="$CROSSCC"
10358 ac_exeext=".exe"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 int __cdecl mainCRTStartup(void) { return 0; }
10362 _ACEOF
10363 if ac_fn_c_try_link "$LINENO"; then :
10364 ac_cv_crosscflags__Wno_format=yes
10365 else
10366 ac_cv_crosscflags__Wno_format=no
10368 rm -f core conftest.err conftest.$ac_objext \
10369 conftest$ac_exeext conftest.$ac_ext
10370 CFLAGS=$ac_wine_try_cflags_saved
10371 CC=$ac_wine_try_cflags_saved_cc
10372 ac_exeext=$ac_wine_try_cflags_saved_exeext
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10375 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10376 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10377 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10380 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10381 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10382 $as_echo_n "(cached) " >&6
10383 else
10384 ac_wine_try_cflags_saved=$CFLAGS
10385 ac_wine_try_cflags_saved_cc=$CC
10386 ac_wine_try_cflags_saved_exeext=$ac_exeext
10387 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10388 CC="$CROSSCC"
10389 ac_exeext=".exe"
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10392 int __cdecl mainCRTStartup(void) { return 0; }
10393 _ACEOF
10394 if ac_fn_c_try_link "$LINENO"; then :
10395 ac_cv_crosscflags__Wformat_overflow=yes
10396 else
10397 ac_cv_crosscflags__Wformat_overflow=no
10399 rm -f core conftest.err conftest.$ac_objext \
10400 conftest$ac_exeext conftest.$ac_ext
10401 CFLAGS=$ac_wine_try_cflags_saved
10402 CC=$ac_wine_try_cflags_saved_cc
10403 ac_exeext=$ac_wine_try_cflags_saved_exeext
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10406 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10407 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10408 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10411 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10412 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10413 $as_echo_n "(cached) " >&6
10414 else
10415 ac_wine_try_cflags_saved=$CFLAGS
10416 ac_wine_try_cflags_saved_cc=$CC
10417 ac_wine_try_cflags_saved_exeext=$ac_exeext
10418 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10419 CC="$CROSSCC"
10420 ac_exeext=".exe"
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10423 int __cdecl mainCRTStartup(void) { return 0; }
10424 _ACEOF
10425 if ac_fn_c_try_link "$LINENO"; then :
10426 ac_cv_crosscflags__Wnonnull=yes
10427 else
10428 ac_cv_crosscflags__Wnonnull=no
10430 rm -f core conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 CFLAGS=$ac_wine_try_cflags_saved
10433 CC=$ac_wine_try_cflags_saved_cc
10434 ac_exeext=$ac_wine_try_cflags_saved_exeext
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10437 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10438 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10439 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10442 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10443 if ${ac_cv_crosscflags__mcx16+:} false; then :
10444 $as_echo_n "(cached) " >&6
10445 else
10446 ac_wine_try_cflags_saved=$CFLAGS
10447 ac_wine_try_cflags_saved_cc=$CC
10448 ac_wine_try_cflags_saved_exeext=$ac_exeext
10449 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10450 CC="$CROSSCC"
10451 ac_exeext=".exe"
10452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10454 int __cdecl mainCRTStartup(void) { return 0; }
10455 _ACEOF
10456 if ac_fn_c_try_link "$LINENO"; then :
10457 ac_cv_crosscflags__mcx16=yes
10458 else
10459 ac_cv_crosscflags__mcx16=no
10461 rm -f core conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10463 CFLAGS=$ac_wine_try_cflags_saved
10464 CC=$ac_wine_try_cflags_saved_cc
10465 ac_exeext=$ac_wine_try_cflags_saved_exeext
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10468 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10469 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10470 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10471 fi ;;
10472 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10473 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10474 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10475 $as_echo_n "(cached) " >&6
10476 else
10477 ac_wine_try_cflags_saved=$CFLAGS
10478 ac_wine_try_cflags_saved_cc=$CC
10479 ac_wine_try_cflags_saved_exeext=$ac_exeext
10480 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10481 CC="$CROSSCC"
10482 ac_exeext=".exe"
10483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10484 /* end confdefs.h. */
10485 int __cdecl mainCRTStartup(void) { return 0; }
10486 _ACEOF
10487 if ac_fn_c_try_link "$LINENO"; then :
10488 ac_cv_crosscflags__Wno_format=yes
10489 else
10490 ac_cv_crosscflags__Wno_format=no
10492 rm -f core conftest.err conftest.$ac_objext \
10493 conftest$ac_exeext conftest.$ac_ext
10494 CFLAGS=$ac_wine_try_cflags_saved
10495 CC=$ac_wine_try_cflags_saved_cc
10496 ac_exeext=$ac_wine_try_cflags_saved_exeext
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10499 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10500 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10501 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10502 fi ;;
10503 esac
10506 if test -z "$CROSSDEBUG"
10507 then
10508 for ac_flag in $CROSSCFLAGS; do
10509 case $ac_flag in
10510 -gdwarf*) CROSSDEBUG=dwarf ;;
10511 -gcodeview) CROSSDEBUG=pdb ;;
10512 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10513 esac
10514 done
10516 case $CROSSDEBUG in
10517 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10518 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10519 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10520 $as_echo_n "(cached) " >&6
10521 else
10522 ac_wine_try_cflags_saved=$CFLAGS
10523 ac_wine_try_cflags_saved_cc=$CC
10524 ac_wine_try_cflags_saved_exeext=$ac_exeext
10525 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10526 CC="$CROSSCC"
10527 ac_exeext=".exe"
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10530 int __cdecl mainCRTStartup(void) { return 0; }
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533 ac_cv_crosscflags__gdwarf_2=yes
10534 else
10535 ac_cv_crosscflags__gdwarf_2=no
10537 rm -f core conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 CFLAGS=$ac_wine_try_cflags_saved
10540 CC=$ac_wine_try_cflags_saved_cc
10541 ac_exeext=$ac_wine_try_cflags_saved_exeext
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10544 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10545 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10546 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10549 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10550 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10551 $as_echo_n "(cached) " >&6
10552 else
10553 ac_wine_try_cflags_saved=$CFLAGS
10554 ac_wine_try_cflags_saved_cc=$CC
10555 ac_wine_try_cflags_saved_exeext=$ac_exeext
10556 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10557 CC="$CROSSCC"
10558 ac_exeext=".exe"
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10561 int __cdecl mainCRTStartup(void) { return 0; }
10562 _ACEOF
10563 if ac_fn_c_try_link "$LINENO"; then :
10564 ac_cv_crosscflags__gstrict_dwarf=yes
10565 else
10566 ac_cv_crosscflags__gstrict_dwarf=no
10568 rm -f core conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10570 CFLAGS=$ac_wine_try_cflags_saved
10571 CC=$ac_wine_try_cflags_saved_cc
10572 ac_exeext=$ac_wine_try_cflags_saved_exeext
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10575 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10576 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10577 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10578 fi ;;
10579 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10580 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10581 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10582 $as_echo_n "(cached) " >&6
10583 else
10584 ac_wine_try_cflags_saved=$CFLAGS
10585 ac_wine_try_cflags_saved_cc=$CC
10586 ac_wine_try_cflags_saved_exeext=$ac_exeext
10587 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10588 CC="$CROSSCC"
10589 ac_exeext=".exe"
10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10592 int __cdecl mainCRTStartup(void) { return 0; }
10593 _ACEOF
10594 if ac_fn_c_try_link "$LINENO"; then :
10595 ac_cv_crosscflags__gcodeview=yes
10596 else
10597 ac_cv_crosscflags__gcodeview=no
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 CFLAGS=$ac_wine_try_cflags_saved
10602 CC=$ac_wine_try_cflags_saved_cc
10603 ac_exeext=$ac_wine_try_cflags_saved_exeext
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10606 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10607 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10608 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10609 fi ;;
10610 esac
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10613 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10614 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10615 $as_echo_n "(cached) " >&6
10616 else
10617 ac_wine_try_cflags_saved=$CFLAGS
10618 ac_wine_try_cflags_saved_cc=$CC
10619 ac_wine_try_cflags_saved_exeext=$ac_exeext
10620 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10621 CC="$CROSSCC"
10622 ac_exeext=".exe"
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10625 int __cdecl mainCRTStartup(void) { return 0; }
10626 _ACEOF
10627 if ac_fn_c_try_link "$LINENO"; then :
10628 ac_cv_crosscflags__fexcess_precision_standard=yes
10629 else
10630 ac_cv_crosscflags__fexcess_precision_standard=no
10632 rm -f core conftest.err conftest.$ac_objext \
10633 conftest$ac_exeext conftest.$ac_ext
10634 CFLAGS=$ac_wine_try_cflags_saved
10635 CC=$ac_wine_try_cflags_saved_cc
10636 ac_exeext=$ac_wine_try_cflags_saved_exeext
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10639 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10640 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10641 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10645 if test "x$enable_werror" = "xyes"
10646 then
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10648 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10649 if ${ac_cv_crosscflags__Werror+:} false; then :
10650 $as_echo_n "(cached) " >&6
10651 else
10652 ac_wine_try_cflags_saved=$CFLAGS
10653 ac_wine_try_cflags_saved_cc=$CC
10654 ac_wine_try_cflags_saved_exeext=$ac_exeext
10655 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10656 CC="$CROSSCC"
10657 ac_exeext=".exe"
10658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10660 int __cdecl mainCRTStartup(void) { return 0; }
10661 _ACEOF
10662 if ac_fn_c_try_link "$LINENO"; then :
10663 ac_cv_crosscflags__Werror=yes
10664 else
10665 ac_cv_crosscflags__Werror=no
10667 rm -f core conftest.err conftest.$ac_objext \
10668 conftest$ac_exeext conftest.$ac_ext
10669 CFLAGS=$ac_wine_try_cflags_saved
10670 CC=$ac_wine_try_cflags_saved_cc
10671 ac_exeext=$ac_wine_try_cflags_saved_exeext
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10674 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10675 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10676 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10680 CFLAGS=$saved_CFLAGS
10681 CC="$ac_save_CC"
10684 if test "x$CROSSTARGET" = "x"; then :
10685 case "x$with_mingw" in
10686 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10687 xno) ;;
10688 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10689 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10690 esac
10695 if test "$ac_cv_header_pthread_h" = "yes"
10696 then
10697 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10698 if test "x$ac_cv_func_pthread_create" = xyes; then :
10700 else
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10702 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10703 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10704 $as_echo_n "(cached) " >&6
10705 else
10706 ac_check_lib_save_LIBS=$LIBS
10707 LIBS="-lpthread $LIBS"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10714 #ifdef __cplusplus
10715 extern "C"
10716 #endif
10717 char pthread_create ();
10719 main ()
10721 return pthread_create ();
10723 return 0;
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 ac_cv_lib_pthread_pthread_create=yes
10728 else
10729 ac_cv_lib_pthread_pthread_create=no
10731 rm -f core conftest.err conftest.$ac_objext \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LIBS=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10736 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10737 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10738 PTHREAD_LIBS="-lpthread"
10745 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10746 case "x$with_pthread" in
10747 xno) ;;
10748 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10749 Wine cannot support threads without libpthread.
10750 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10751 esac
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10757 $as_echo_n "checking for X... " >&6; }
10760 # Check whether --with-x was given.
10761 if test "${with_x+set}" = set; then :
10762 withval=$with_x;
10765 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10766 if test "x$with_x" = xno; then
10767 # The user explicitly disabled X.
10768 have_x=disabled
10769 else
10770 case $x_includes,$x_libraries in #(
10771 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10772 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10773 $as_echo_n "(cached) " >&6
10774 else
10775 # One or both of the vars are not set, and there is no cached value.
10776 ac_x_includes=no ac_x_libraries=no
10777 rm -f -r conftest.dir
10778 if mkdir conftest.dir; then
10779 cd conftest.dir
10780 cat >Imakefile <<'_ACEOF'
10781 incroot:
10782 @echo incroot='${INCROOT}'
10783 usrlibdir:
10784 @echo usrlibdir='${USRLIBDIR}'
10785 libdir:
10786 @echo libdir='${LIBDIR}'
10787 _ACEOF
10788 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10789 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10790 for ac_var in incroot usrlibdir libdir; do
10791 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10792 done
10793 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10794 for ac_extension in a so sl dylib la dll; do
10795 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10796 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10797 ac_im_usrlibdir=$ac_im_libdir; break
10799 done
10800 # Screen out bogus values from the imake configuration. They are
10801 # bogus both because they are the default anyway, and because
10802 # using them would break gcc on systems where it needs fixed includes.
10803 case $ac_im_incroot in
10804 /usr/include) ac_x_includes= ;;
10805 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10806 esac
10807 case $ac_im_usrlibdir in
10808 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10809 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10810 esac
10812 cd ..
10813 rm -f -r conftest.dir
10816 # Standard set of common directories for X headers.
10817 # Check X11 before X11Rn because it is often a symlink to the current release.
10818 ac_x_header_dirs='
10819 /usr/X11/include
10820 /usr/X11R7/include
10821 /usr/X11R6/include
10822 /usr/X11R5/include
10823 /usr/X11R4/include
10825 /usr/include/X11
10826 /usr/include/X11R7
10827 /usr/include/X11R6
10828 /usr/include/X11R5
10829 /usr/include/X11R4
10831 /usr/local/X11/include
10832 /usr/local/X11R7/include
10833 /usr/local/X11R6/include
10834 /usr/local/X11R5/include
10835 /usr/local/X11R4/include
10837 /usr/local/include/X11
10838 /usr/local/include/X11R7
10839 /usr/local/include/X11R6
10840 /usr/local/include/X11R5
10841 /usr/local/include/X11R4
10843 /usr/X386/include
10844 /usr/x386/include
10845 /usr/XFree86/include/X11
10847 /usr/include
10848 /usr/local/include
10849 /usr/unsupported/include
10850 /usr/athena/include
10851 /usr/local/x11r5/include
10852 /usr/lpp/Xamples/include
10854 /usr/openwin/include
10855 /usr/openwin/share/include'
10857 if test "$ac_x_includes" = no; then
10858 # Guess where to find include files, by looking for Xlib.h.
10859 # First, try using that file with no special directory specified.
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10862 #include <X11/Xlib.h>
10863 _ACEOF
10864 if ac_fn_c_try_cpp "$LINENO"; then :
10865 # We can compile using X headers with no special include directory.
10866 ac_x_includes=
10867 else
10868 for ac_dir in $ac_x_header_dirs; do
10869 if test -r "$ac_dir/X11/Xlib.h"; then
10870 ac_x_includes=$ac_dir
10871 break
10873 done
10875 rm -f conftest.err conftest.i conftest.$ac_ext
10876 fi # $ac_x_includes = no
10878 if test "$ac_x_libraries" = no; then
10879 # Check for the libraries.
10880 # See if we find them without any special options.
10881 # Don't add to $LIBS permanently.
10882 ac_save_LIBS=$LIBS
10883 LIBS="-lX11 $LIBS"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10886 #include <X11/Xlib.h>
10888 main ()
10890 XrmInitialize ()
10892 return 0;
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"; then :
10896 LIBS=$ac_save_LIBS
10897 # We can link X programs with no special library path.
10898 ac_x_libraries=
10899 else
10900 LIBS=$ac_save_LIBS
10901 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10903 # Don't even attempt the hair of trying to link an X program!
10904 for ac_extension in a so sl dylib la dll; do
10905 if test -r "$ac_dir/libX11.$ac_extension"; then
10906 ac_x_libraries=$ac_dir
10907 break 2
10909 done
10910 done
10912 rm -f core conftest.err conftest.$ac_objext \
10913 conftest$ac_exeext conftest.$ac_ext
10914 fi # $ac_x_libraries = no
10916 case $ac_x_includes,$ac_x_libraries in #(
10917 no,* | *,no | *\'*)
10918 # Didn't find X, or a directory has "'" in its name.
10919 ac_cv_have_x="have_x=no";; #(
10921 # Record where we found X for the cache.
10922 ac_cv_have_x="have_x=yes\
10923 ac_x_includes='$ac_x_includes'\
10924 ac_x_libraries='$ac_x_libraries'"
10925 esac
10927 ;; #(
10928 *) have_x=yes;;
10929 esac
10930 eval "$ac_cv_have_x"
10931 fi # $with_x != no
10933 if test "$have_x" != yes; then
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10935 $as_echo "$have_x" >&6; }
10936 no_x=yes
10937 else
10938 # If each of the values was on the command line, it overrides each guess.
10939 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10940 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10941 # Update the cache value to reflect the command line values.
10942 ac_cv_have_x="have_x=yes\
10943 ac_x_includes='$x_includes'\
10944 ac_x_libraries='$x_libraries'"
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10946 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10949 if test "$no_x" = yes; then
10950 # Not all programs may use this symbol, but it does not hurt to define it.
10952 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10954 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10955 else
10956 if test -n "$x_includes"; then
10957 X_CFLAGS="$X_CFLAGS -I$x_includes"
10960 # It would also be nice to do this for all -L options, not just this one.
10961 if test -n "$x_libraries"; then
10962 X_LIBS="$X_LIBS -L$x_libraries"
10963 # For Solaris; some versions of Sun CC require a space after -R and
10964 # others require no space. Words are not sufficient . . . .
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10966 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10967 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10968 ac_xsave_c_werror_flag=$ac_c_werror_flag
10969 ac_c_werror_flag=yes
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10974 main ()
10978 return 0;
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10983 $as_echo "no" >&6; }
10984 X_LIBS="$X_LIBS -R$x_libraries"
10985 else
10986 LIBS="$ac_xsave_LIBS -R $x_libraries"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10991 main ()
10995 return 0;
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"; then :
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11000 $as_echo "yes" >&6; }
11001 X_LIBS="$X_LIBS -R $x_libraries"
11002 else
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11004 $as_echo "neither works" >&6; }
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11009 rm -f core conftest.err conftest.$ac_objext \
11010 conftest$ac_exeext conftest.$ac_ext
11011 ac_c_werror_flag=$ac_xsave_c_werror_flag
11012 LIBS=$ac_xsave_LIBS
11015 # Check for system-dependent libraries X programs must link with.
11016 # Do this before checking for the system-independent R6 libraries
11017 # (-lICE), since we may need -lsocket or whatever for X linking.
11019 if test "$ISC" = yes; then
11020 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11021 else
11022 # Martyn Johnson says this is needed for Ultrix, if the X
11023 # libraries were built with DECnet support. And Karl Berry says
11024 # the Alpha needs dnet_stub (dnet does not exist).
11025 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char XOpenDisplay ();
11037 main ()
11039 return XOpenDisplay ();
11041 return 0;
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"; then :
11046 else
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11048 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11049 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11050 $as_echo_n "(cached) " >&6
11051 else
11052 ac_check_lib_save_LIBS=$LIBS
11053 LIBS="-ldnet $LIBS"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11060 #ifdef __cplusplus
11061 extern "C"
11062 #endif
11063 char dnet_ntoa ();
11065 main ()
11067 return dnet_ntoa ();
11069 return 0;
11071 _ACEOF
11072 if ac_fn_c_try_link "$LINENO"; then :
11073 ac_cv_lib_dnet_dnet_ntoa=yes
11074 else
11075 ac_cv_lib_dnet_dnet_ntoa=no
11077 rm -f core conftest.err conftest.$ac_objext \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_lib_save_LIBS
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11082 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11083 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11084 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11087 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11089 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11090 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11091 $as_echo_n "(cached) " >&6
11092 else
11093 ac_check_lib_save_LIBS=$LIBS
11094 LIBS="-ldnet_stub $LIBS"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11098 /* Override any GCC internal prototype to avoid an error.
11099 Use char because int might match the return type of a GCC
11100 builtin and then its argument prototype would still apply. */
11101 #ifdef __cplusplus
11102 extern "C"
11103 #endif
11104 char dnet_ntoa ();
11106 main ()
11108 return dnet_ntoa ();
11110 return 0;
11112 _ACEOF
11113 if ac_fn_c_try_link "$LINENO"; then :
11114 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11115 else
11116 ac_cv_lib_dnet_stub_dnet_ntoa=no
11118 rm -f core conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_lib_save_LIBS
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11123 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11124 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11125 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11130 rm -f core conftest.err conftest.$ac_objext \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS="$ac_xsave_LIBS"
11134 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11135 # to get the SysV transport functions.
11136 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11137 # needs -lnsl.
11138 # The nsl library prevents programs from opening the X display
11139 # on Irix 5.2, according to T.E. Dickey.
11140 # The functions gethostbyname, getservbyname, and inet_addr are
11141 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11142 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11143 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11147 if test $ac_cv_func_gethostbyname = no; then
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11149 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11150 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11151 $as_echo_n "(cached) " >&6
11152 else
11153 ac_check_lib_save_LIBS=$LIBS
11154 LIBS="-lnsl $LIBS"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char gethostbyname ();
11166 main ()
11168 return gethostbyname ();
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11174 ac_cv_lib_nsl_gethostbyname=yes
11175 else
11176 ac_cv_lib_nsl_gethostbyname=no
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_lib_save_LIBS
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11183 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11184 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11185 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11188 if test $ac_cv_lib_nsl_gethostbyname = no; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11190 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11191 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11192 $as_echo_n "(cached) " >&6
11193 else
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-lbsd $LIBS"
11196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11199 /* Override any GCC internal prototype to avoid an error.
11200 Use char because int might match the return type of a GCC
11201 builtin and then its argument prototype would still apply. */
11202 #ifdef __cplusplus
11203 extern "C"
11204 #endif
11205 char gethostbyname ();
11207 main ()
11209 return gethostbyname ();
11211 return 0;
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"; then :
11215 ac_cv_lib_bsd_gethostbyname=yes
11216 else
11217 ac_cv_lib_bsd_gethostbyname=no
11219 rm -f core conftest.err conftest.$ac_objext \
11220 conftest$ac_exeext conftest.$ac_ext
11221 LIBS=$ac_check_lib_save_LIBS
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11224 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11225 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11226 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11232 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11233 # socket/setsockopt and other routines are undefined under SCO ODT
11234 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11235 # on later versions), says Simon Leinen: it contains gethostby*
11236 # variants that don't use the name server (or something). -lsocket
11237 # must be given before -lnsl if both are needed. We assume that
11238 # if connect needs -lnsl, so does gethostbyname.
11239 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11240 if test "x$ac_cv_func_connect" = xyes; then :
11244 if test $ac_cv_func_connect = no; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11246 $as_echo_n "checking for connect in -lsocket... " >&6; }
11247 if ${ac_cv_lib_socket_connect+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char connect ();
11263 main ()
11265 return connect ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_socket_connect=yes
11272 else
11273 ac_cv_lib_socket_connect=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11280 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11281 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11282 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11287 # Guillermo Gomez says -lposix is necessary on A/UX.
11288 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11289 if test "x$ac_cv_func_remove" = xyes; then :
11293 if test $ac_cv_func_remove = no; then
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11295 $as_echo_n "checking for remove in -lposix... " >&6; }
11296 if ${ac_cv_lib_posix_remove+:} false; then :
11297 $as_echo_n "(cached) " >&6
11298 else
11299 ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-lposix $LIBS"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11307 #ifdef __cplusplus
11308 extern "C"
11309 #endif
11310 char remove ();
11312 main ()
11314 return remove ();
11316 return 0;
11318 _ACEOF
11319 if ac_fn_c_try_link "$LINENO"; then :
11320 ac_cv_lib_posix_remove=yes
11321 else
11322 ac_cv_lib_posix_remove=no
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_lib_save_LIBS
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11329 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11330 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11331 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11336 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11337 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11338 if test "x$ac_cv_func_shmat" = xyes; then :
11342 if test $ac_cv_func_shmat = no; then
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11344 $as_echo_n "checking for shmat in -lipc... " >&6; }
11345 if ${ac_cv_lib_ipc_shmat+:} false; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-lipc $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char shmat ();
11361 main ()
11363 return shmat ();
11365 return 0;
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 ac_cv_lib_ipc_shmat=yes
11370 else
11371 ac_cv_lib_ipc_shmat=no
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11378 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11379 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11380 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11386 # Check for libraries that X11R6 Xt/Xaw programs need.
11387 ac_save_LDFLAGS=$LDFLAGS
11388 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11389 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11390 # check for ICE first), but we must link in the order -lSM -lICE or
11391 # we get undefined symbols. So assume we have SM if we have ICE.
11392 # These have to be linked with before -lX11, unlike the other
11393 # libraries we check for below, so use a different variable.
11394 # John Interrante, Karl Berry
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11396 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11397 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_lib_save_LIBS=$LIBS
11401 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char IceConnectionNumber ();
11413 main ()
11415 return IceConnectionNumber ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 ac_cv_lib_ICE_IceConnectionNumber=yes
11422 else
11423 ac_cv_lib_ICE_IceConnectionNumber=no
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_lib_save_LIBS
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11430 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11431 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11432 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11435 LDFLAGS=$ac_save_LDFLAGS
11440 if test "$have_x" = "yes"
11441 then
11442 ac_save_CPPFLAGS="$CPPFLAGS"
11443 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11446 $as_echo_n "checking for -lX11... " >&6; }
11447 if ${ac_cv_lib_soname_X11+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_soname_save_LIBS=$LIBS
11451 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char XCreateWindow ();
11463 main ()
11465 return XCreateWindow ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 case "$LIBEXT" in
11472 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11473 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'` ;;
11474 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11475 if ${ac_cv_lib_soname_X11:+false} :; then :
11476 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11477 fi ;;
11478 esac
11479 else
11480 ac_cv_lib_soname_X11=
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LIBS=$ac_check_soname_save_LIBS
11486 if ${ac_cv_lib_soname_X11:+false} :; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11488 $as_echo "not found" >&6; }
11490 else
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11492 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11494 cat >>confdefs.h <<_ACEOF
11495 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11496 _ACEOF
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11501 $as_echo_n "checking for -lXext... " >&6; }
11502 if ${ac_cv_lib_soname_Xext+:} false; then :
11503 $as_echo_n "(cached) " >&6
11504 else
11505 ac_check_soname_save_LIBS=$LIBS
11506 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11513 #ifdef __cplusplus
11514 extern "C"
11515 #endif
11516 char XextCreateExtension ();
11518 main ()
11520 return XextCreateExtension ();
11522 return 0;
11524 _ACEOF
11525 if ac_fn_c_try_link "$LINENO"; then :
11526 case "$LIBEXT" in
11527 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11528 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'` ;;
11529 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11530 if ${ac_cv_lib_soname_Xext:+false} :; then :
11531 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11532 fi ;;
11533 esac
11534 else
11535 ac_cv_lib_soname_Xext=
11537 rm -f core conftest.err conftest.$ac_objext \
11538 conftest$ac_exeext conftest.$ac_ext
11539 LIBS=$ac_check_soname_save_LIBS
11541 if ${ac_cv_lib_soname_Xext:+false} :; then :
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11543 $as_echo "not found" >&6; }
11545 else
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11547 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11549 cat >>confdefs.h <<_ACEOF
11550 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11551 _ACEOF
11553 X_LIBS="$X_LIBS -lXext"
11555 X_LIBS="$X_LIBS -lX11"
11557 for ac_header in X11/Xlib.h \
11558 X11/XKBlib.h \
11559 X11/Xutil.h \
11560 X11/Xcursor/Xcursor.h \
11561 X11/extensions/shape.h \
11562 X11/extensions/XInput.h \
11563 X11/extensions/XInput2.h \
11564 X11/extensions/XShm.h \
11565 X11/extensions/Xcomposite.h \
11566 X11/extensions/Xfixes.h \
11567 X11/extensions/Xinerama.h \
11568 X11/extensions/Xrandr.h \
11569 X11/extensions/Xrender.h \
11570 X11/extensions/xf86vmode.h \
11571 X11/extensions/xf86vmproto.h
11572 do :
11573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11574 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11575 # include <X11/Xlib.h>
11576 #endif
11577 #ifdef HAVE_X11_XUTIL_H
11578 # include <X11/Xutil.h>
11579 #endif
11581 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11582 cat >>confdefs.h <<_ACEOF
11583 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11584 _ACEOF
11588 done
11591 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11592 then
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11594 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11595 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11596 $as_echo_n "(cached) " >&6
11597 else
11598 ac_check_lib_save_LIBS=$LIBS
11599 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11606 #ifdef __cplusplus
11607 extern "C"
11608 #endif
11609 char XkbQueryExtension ();
11611 main ()
11613 return XkbQueryExtension ();
11615 return 0;
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"; then :
11619 ac_cv_lib_X11_XkbQueryExtension=yes
11620 else
11621 ac_cv_lib_X11_XkbQueryExtension=no
11623 rm -f core conftest.err conftest.$ac_objext \
11624 conftest$ac_exeext conftest.$ac_ext
11625 LIBS=$ac_check_lib_save_LIBS
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11628 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11629 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11631 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11637 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11638 then
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11640 $as_echo_n "checking for -lXcursor... " >&6; }
11641 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11642 $as_echo_n "(cached) " >&6
11643 else
11644 ac_check_soname_save_LIBS=$LIBS
11645 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11649 /* Override any GCC internal prototype to avoid an error.
11650 Use char because int might match the return type of a GCC
11651 builtin and then its argument prototype would still apply. */
11652 #ifdef __cplusplus
11653 extern "C"
11654 #endif
11655 char XcursorImageLoadCursor ();
11657 main ()
11659 return XcursorImageLoadCursor ();
11661 return 0;
11663 _ACEOF
11664 if ac_fn_c_try_link "$LINENO"; then :
11665 case "$LIBEXT" in
11666 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11667 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'` ;;
11668 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11669 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11670 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11671 fi ;;
11672 esac
11673 else
11674 ac_cv_lib_soname_Xcursor=
11676 rm -f core conftest.err conftest.$ac_objext \
11677 conftest$ac_exeext conftest.$ac_ext
11678 LIBS=$ac_check_soname_save_LIBS
11680 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11682 $as_echo "not found" >&6; }
11684 else
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11686 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11688 cat >>confdefs.h <<_ACEOF
11689 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11690 _ACEOF
11695 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11696 case "x$with_xcursor" in
11697 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11698 xno) ;;
11699 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11700 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11701 esac
11705 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11706 then
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11708 $as_echo_n "checking for -lXi... " >&6; }
11709 if ${ac_cv_lib_soname_Xi+:} false; then :
11710 $as_echo_n "(cached) " >&6
11711 else
11712 ac_check_soname_save_LIBS=$LIBS
11713 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11720 #ifdef __cplusplus
11721 extern "C"
11722 #endif
11723 char XOpenDevice ();
11725 main ()
11727 return XOpenDevice ();
11729 return 0;
11731 _ACEOF
11732 if ac_fn_c_try_link "$LINENO"; then :
11733 case "$LIBEXT" in
11734 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11735 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'` ;;
11736 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11737 if ${ac_cv_lib_soname_Xi:+false} :; then :
11738 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11739 fi ;;
11740 esac
11741 else
11742 ac_cv_lib_soname_Xi=
11744 rm -f core conftest.err conftest.$ac_objext \
11745 conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_soname_save_LIBS
11748 if ${ac_cv_lib_soname_Xi:+false} :; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11750 $as_echo "not found" >&6; }
11752 else
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11754 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11756 cat >>confdefs.h <<_ACEOF
11757 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11758 _ACEOF
11763 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11764 case "x$with_xinput" in
11765 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11766 xno) ;;
11767 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11768 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11769 esac
11773 if test "x$ac_cv_lib_soname_Xi" != x
11774 then
11775 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11776 case "x$with_xinput2" in
11777 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11780 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11781 esac
11786 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11787 then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11789 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11790 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_lib_save_LIBS=$LIBS
11794 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char XShmQueryExtension ();
11806 main ()
11808 return XShmQueryExtension ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 ac_cv_lib_Xext_XShmQueryExtension=yes
11815 else
11816 ac_cv_lib_Xext_XShmQueryExtension=no
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_lib_save_LIBS
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11823 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11824 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11826 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11831 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11832 case "x$with_xshm" in
11833 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11834 xno) ;;
11835 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11836 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11837 esac
11841 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11842 then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11844 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11845 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11846 $as_echo_n "(cached) " >&6
11847 else
11848 ac_check_lib_save_LIBS=$LIBS
11849 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char XShapeQueryExtension ();
11861 main ()
11863 return XShapeQueryExtension ();
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 ac_cv_lib_Xext_XShapeQueryExtension=yes
11870 else
11871 ac_cv_lib_Xext_XShapeQueryExtension=no
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_lib_save_LIBS
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11878 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11879 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11881 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11886 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11887 case "x$with_xshape" in
11888 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11889 xno) ;;
11890 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11891 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11892 esac
11896 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11897 then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11899 $as_echo_n "checking for -lXxf86vm... " >&6; }
11900 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11901 $as_echo_n "(cached) " >&6
11902 else
11903 ac_check_soname_save_LIBS=$LIBS
11904 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11908 /* Override any GCC internal prototype to avoid an error.
11909 Use char because int might match the return type of a GCC
11910 builtin and then its argument prototype would still apply. */
11911 #ifdef __cplusplus
11912 extern "C"
11913 #endif
11914 char XF86VidModeQueryExtension ();
11916 main ()
11918 return XF86VidModeQueryExtension ();
11920 return 0;
11922 _ACEOF
11923 if ac_fn_c_try_link "$LINENO"; then :
11924 case "$LIBEXT" in
11925 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11926 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'` ;;
11927 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11928 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11929 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11930 fi ;;
11931 esac
11932 else
11933 ac_cv_lib_soname_Xxf86vm=
11935 rm -f core conftest.err conftest.$ac_objext \
11936 conftest$ac_exeext conftest.$ac_ext
11937 LIBS=$ac_check_soname_save_LIBS
11939 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11941 $as_echo "not found" >&6; }
11943 else
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11945 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11947 cat >>confdefs.h <<_ACEOF
11948 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11949 _ACEOF
11954 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11955 case "x$with_xxf86vm" in
11956 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11957 xno) ;;
11958 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11959 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11960 esac
11964 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11965 then
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11967 $as_echo_n "checking for -lXrender... " >&6; }
11968 if ${ac_cv_lib_soname_Xrender+:} false; then :
11969 $as_echo_n "(cached) " >&6
11970 else
11971 ac_check_soname_save_LIBS=$LIBS
11972 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 #ifdef __cplusplus
11980 extern "C"
11981 #endif
11982 char XRenderQueryExtension ();
11984 main ()
11986 return XRenderQueryExtension ();
11988 return 0;
11990 _ACEOF
11991 if ac_fn_c_try_link "$LINENO"; then :
11992 case "$LIBEXT" in
11993 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11994 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'` ;;
11995 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11996 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11997 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11998 fi ;;
11999 esac
12000 else
12001 ac_cv_lib_soname_Xrender=
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_soname_save_LIBS
12007 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12009 $as_echo "not found" >&6; }
12011 else
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12013 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12015 cat >>confdefs.h <<_ACEOF
12016 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12017 _ACEOF
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12020 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12021 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12022 $as_echo_n "(cached) " >&6
12023 else
12024 ac_check_lib_save_LIBS=$LIBS
12025 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12029 /* Override any GCC internal prototype to avoid an error.
12030 Use char because int might match the return type of a GCC
12031 builtin and then its argument prototype would still apply. */
12032 #ifdef __cplusplus
12033 extern "C"
12034 #endif
12035 char XRenderSetPictureTransform ();
12037 main ()
12039 return XRenderSetPictureTransform ();
12041 return 0;
12043 _ACEOF
12044 if ac_fn_c_try_link "$LINENO"; then :
12045 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12046 else
12047 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12049 rm -f core conftest.err conftest.$ac_objext \
12050 conftest$ac_exeext conftest.$ac_ext
12051 LIBS=$ac_check_lib_save_LIBS
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12054 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12055 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12057 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12062 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12063 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 ac_check_lib_save_LIBS=$LIBS
12067 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12074 #ifdef __cplusplus
12075 extern "C"
12076 #endif
12077 char XRenderCreateLinearGradient ();
12079 main ()
12081 return XRenderCreateLinearGradient ();
12083 return 0;
12085 _ACEOF
12086 if ac_fn_c_try_link "$LINENO"; then :
12087 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12088 else
12089 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12091 rm -f core conftest.err conftest.$ac_objext \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_lib_save_LIBS
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12096 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12097 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12099 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12106 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12107 case "x$with_xrender" in
12108 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12109 xno) ;;
12110 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12111 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12112 esac
12116 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12117 then
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12120 #include <X11/Xlib.h>
12121 #include <X11/extensions/Xrandr.h>
12123 main ()
12125 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_compile "$LINENO"; then :
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12132 $as_echo_n "checking for -lXrandr... " >&6; }
12133 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12134 $as_echo_n "(cached) " >&6
12135 else
12136 ac_check_soname_save_LIBS=$LIBS
12137 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12141 /* Override any GCC internal prototype to avoid an error.
12142 Use char because int might match the return type of a GCC
12143 builtin and then its argument prototype would still apply. */
12144 #ifdef __cplusplus
12145 extern "C"
12146 #endif
12147 char XRRQueryExtension ();
12149 main ()
12151 return XRRQueryExtension ();
12153 return 0;
12155 _ACEOF
12156 if ac_fn_c_try_link "$LINENO"; then :
12157 case "$LIBEXT" in
12158 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12159 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'` ;;
12160 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12161 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12162 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12163 fi ;;
12164 esac
12165 else
12166 ac_cv_lib_soname_Xrandr=
12168 rm -f core conftest.err conftest.$ac_objext \
12169 conftest$ac_exeext conftest.$ac_ext
12170 LIBS=$ac_check_soname_save_LIBS
12172 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12174 $as_echo "not found" >&6; }
12176 else
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12178 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12180 cat >>confdefs.h <<_ACEOF
12181 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12182 _ACEOF
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12186 #include <X11/Xlib.h>
12187 #include <X11/extensions/Xrandr.h>
12189 main ()
12191 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12193 return 0;
12195 _ACEOF
12196 if ac_fn_c_try_compile "$LINENO"; then :
12198 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12200 else
12201 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12208 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12209 case "x$with_xrandr" in
12210 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12211 xno) ;;
12212 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12213 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12214 esac
12218 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12219 then
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12222 #include <X11/Xlib.h>
12223 #include <X11/extensions/Xfixes.h>
12225 main ()
12227 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12229 return 0;
12231 _ACEOF
12232 if ac_fn_c_try_compile "$LINENO"; then :
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12234 $as_echo_n "checking for -lXfixes... " >&6; }
12235 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_check_soname_save_LIBS=$LIBS
12239 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12246 #ifdef __cplusplus
12247 extern "C"
12248 #endif
12249 char XFixesQueryVersion ();
12251 main ()
12253 return XFixesQueryVersion ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 case "$LIBEXT" in
12260 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12261 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'` ;;
12262 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12263 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12264 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12265 fi ;;
12266 esac
12267 else
12268 ac_cv_lib_soname_Xfixes=
12270 rm -f core conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12272 LIBS=$ac_check_soname_save_LIBS
12274 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12276 $as_echo "not found" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12280 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12282 cat >>confdefs.h <<_ACEOF
12283 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12284 _ACEOF
12289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12291 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12292 case "x$with_xfixes" in
12293 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12294 xno) ;;
12295 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12296 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12297 esac
12301 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12302 then
12303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12304 /* end confdefs.h. */
12305 #include <X11/Xlib.h>
12306 #include <X11/extensions/Xinerama.h>
12308 main ()
12310 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_compile "$LINENO"; then :
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12317 $as_echo_n "checking for -lXinerama... " >&6; }
12318 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12319 $as_echo_n "(cached) " >&6
12320 else
12321 ac_check_soname_save_LIBS=$LIBS
12322 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 #ifdef __cplusplus
12330 extern "C"
12331 #endif
12332 char XineramaQueryScreens ();
12334 main ()
12336 return XineramaQueryScreens ();
12338 return 0;
12340 _ACEOF
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 case "$LIBEXT" in
12343 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12344 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'` ;;
12345 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12346 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12347 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12348 fi ;;
12349 esac
12350 else
12351 ac_cv_lib_soname_Xinerama=
12353 rm -f core conftest.err conftest.$ac_objext \
12354 conftest$ac_exeext conftest.$ac_ext
12355 LIBS=$ac_check_soname_save_LIBS
12357 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12359 $as_echo "not found" >&6; }
12361 else
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12363 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12365 cat >>confdefs.h <<_ACEOF
12366 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12367 _ACEOF
12372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12375 case "x$with_xinerama" in
12376 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12377 xno) ;;
12378 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12379 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12380 esac
12384 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12385 then
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12387 $as_echo_n "checking for -lXcomposite... " >&6; }
12388 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12389 $as_echo_n "(cached) " >&6
12390 else
12391 ac_check_soname_save_LIBS=$LIBS
12392 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 /* Override any GCC internal prototype to avoid an error.
12397 Use char because int might match the return type of a GCC
12398 builtin and then its argument prototype would still apply. */
12399 #ifdef __cplusplus
12400 extern "C"
12401 #endif
12402 char XCompositeRedirectWindow ();
12404 main ()
12406 return XCompositeRedirectWindow ();
12408 return 0;
12410 _ACEOF
12411 if ac_fn_c_try_link "$LINENO"; then :
12412 case "$LIBEXT" in
12413 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12414 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'` ;;
12415 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12416 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12417 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12418 fi ;;
12419 esac
12420 else
12421 ac_cv_lib_soname_Xcomposite=
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 LIBS=$ac_check_soname_save_LIBS
12427 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12429 $as_echo "not found" >&6; }
12431 else
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12433 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12435 cat >>confdefs.h <<_ACEOF
12436 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12437 _ACEOF
12442 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12443 case "x$with_xcomposite" in
12444 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12445 xno) ;;
12446 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12447 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12448 esac
12452 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12453 #include <X11/Xlib.h>
12454 #endif
12456 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12458 cat >>confdefs.h <<_ACEOF
12459 #define HAVE_XICCALLBACK_CALLBACK 1
12460 _ACEOF
12464 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12465 #include <X11/Xlib.h>
12466 #endif
12468 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12470 cat >>confdefs.h <<_ACEOF
12471 #define HAVE_XEVENT_XCOOKIE 1
12472 _ACEOF
12479 opengl_msg=""
12480 if test "x$with_opengl" != "xno"
12481 then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12483 $as_echo_n "checking for -lGL... " >&6; }
12484 if ${ac_cv_lib_soname_GL+:} false; then :
12485 $as_echo_n "(cached) " >&6
12486 else
12487 ac_check_soname_save_LIBS=$LIBS
12488 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12492 /* Override any GCC internal prototype to avoid an error.
12493 Use char because int might match the return type of a GCC
12494 builtin and then its argument prototype would still apply. */
12495 #ifdef __cplusplus
12496 extern "C"
12497 #endif
12498 char glXCreateContext ();
12500 main ()
12502 return glXCreateContext ();
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_link "$LINENO"; then :
12508 case "$LIBEXT" in
12509 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12510 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'` ;;
12511 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12512 if ${ac_cv_lib_soname_GL:+false} :; then :
12513 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12514 fi ;;
12515 esac
12516 else
12517 ac_cv_lib_soname_GL=
12519 rm -f core conftest.err conftest.$ac_objext \
12520 conftest$ac_exeext conftest.$ac_ext
12521 LIBS=$ac_check_soname_save_LIBS
12523 if ${ac_cv_lib_soname_GL:+false} :; then :
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12525 $as_echo "not found" >&6; }
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12527 $as_echo_n "checking for -lGL... " >&6; }
12528 if ${ac_cv_lib_soname_GL+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 ac_check_soname_save_LIBS=$LIBS
12532 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"
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12539 #ifdef __cplusplus
12540 extern "C"
12541 #endif
12542 char glXCreateContext ();
12544 main ()
12546 return glXCreateContext ();
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"; then :
12552 case "$LIBEXT" in
12553 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12554 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'` ;;
12555 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12556 if ${ac_cv_lib_soname_GL:+false} :; then :
12557 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12558 fi ;;
12559 esac
12560 else
12561 ac_cv_lib_soname_GL=
12563 rm -f core conftest.err conftest.$ac_objext \
12564 conftest$ac_exeext conftest.$ac_ext
12565 LIBS=$ac_check_soname_save_LIBS
12567 if ${ac_cv_lib_soname_GL:+false} :; then :
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12569 $as_echo "not found" >&6; }
12570 if test -f /usr/X11R6/lib/libGL.a
12571 then
12572 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12573 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12574 else
12575 opengl_msg="No OpenGL library found on this system."
12577 else
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12579 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12581 cat >>confdefs.h <<_ACEOF
12582 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12583 _ACEOF
12585 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"
12587 else
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12589 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12591 cat >>confdefs.h <<_ACEOF
12592 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12593 _ACEOF
12595 OPENGL_LIBS="-lGL"
12597 if test "x$with_osmesa" != "xno"
12598 then
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12600 $as_echo_n "checking for -lOSMesa... " >&6; }
12601 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12602 $as_echo_n "(cached) " >&6
12603 else
12604 ac_check_soname_save_LIBS=$LIBS
12605 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12609 /* Override any GCC internal prototype to avoid an error.
12610 Use char because int might match the return type of a GCC
12611 builtin and then its argument prototype would still apply. */
12612 #ifdef __cplusplus
12613 extern "C"
12614 #endif
12615 char OSMesaGetProcAddress ();
12617 main ()
12619 return OSMesaGetProcAddress ();
12621 return 0;
12623 _ACEOF
12624 if ac_fn_c_try_link "$LINENO"; then :
12625 case "$LIBEXT" in
12626 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12627 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'` ;;
12628 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12629 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12630 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12631 fi ;;
12632 esac
12633 else
12634 ac_cv_lib_soname_OSMesa=
12636 rm -f core conftest.err conftest.$ac_objext \
12637 conftest$ac_exeext conftest.$ac_ext
12638 LIBS=$ac_check_soname_save_LIBS
12640 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12642 $as_echo "not found" >&6; }
12644 else
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12646 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12648 cat >>confdefs.h <<_ACEOF
12649 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12650 _ACEOF
12654 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12655 case "x$with_osmesa" in
12656 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12657 xno) ;;
12658 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12659 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12660 esac
12665 if test -n "$opengl_msg"; then :
12666 case "x$with_opengl" in
12667 x) as_fn_append wine_warnings "|$opengl_msg
12668 OpenGL and Direct3D won't be supported." ;;
12669 xno) ;;
12670 *) as_fn_error $? "$opengl_msg
12671 OpenGL and Direct3D won't be supported.
12672 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12673 esac
12677 CPPFLAGS="$ac_save_CPPFLAGS"
12678 else
12679 X_CFLAGS=""
12680 X_LIBS=""
12683 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12684 then
12685 if test "x$X_LIBS" = "x"; then :
12686 case "x$with_x" in
12687 xno) ;;
12688 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12689 without X support, which probably isn't what you want. You will need
12690 to install ${notice_platform}development packages of Xlib at the very least.
12691 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12692 esac
12693 enable_winex11_drv=${enable_winex11_drv:-no}
12695 else
12696 if test "x$X_LIBS" = "x"; then :
12697 case "x$with_x" in
12698 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12699 xno) ;;
12700 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12701 This is an error since --with-x was requested." "$LINENO" 5 ;;
12702 esac
12703 enable_winex11_drv=${enable_winex11_drv:-no}
12707 if test "$ac_cv_header_CL_cl_h" = "yes"
12708 then
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12710 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12711 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12712 $as_echo_n "(cached) " >&6
12713 else
12714 ac_check_lib_save_LIBS=$LIBS
12715 LIBS="-lOpenCL $LIBS"
12716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12722 #ifdef __cplusplus
12723 extern "C"
12724 #endif
12725 char clGetPlatformInfo ();
12727 main ()
12729 return clGetPlatformInfo ();
12731 return 0;
12733 _ACEOF
12734 if ac_fn_c_try_link "$LINENO"; then :
12735 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12736 else
12737 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12739 rm -f core conftest.err conftest.$ac_objext \
12740 conftest$ac_exeext conftest.$ac_ext
12741 LIBS=$ac_check_lib_save_LIBS
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12744 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12745 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12746 OPENCL_LIBS="-lOpenCL"
12751 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12752 case "x$with_opencl" in
12753 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12754 xno) ;;
12755 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12756 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12757 esac
12758 enable_opencl=${enable_opencl:-no}
12761 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12762 then
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12764 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12765 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12766 $as_echo_n "(cached) " >&6
12767 else
12768 ac_check_lib_save_LIBS=$LIBS
12769 LIBS="-lpcap $LIBS"
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12773 /* Override any GCC internal prototype to avoid an error.
12774 Use char because int might match the return type of a GCC
12775 builtin and then its argument prototype would still apply. */
12776 #ifdef __cplusplus
12777 extern "C"
12778 #endif
12779 char pcap_create ();
12781 main ()
12783 return pcap_create ();
12785 return 0;
12787 _ACEOF
12788 if ac_fn_c_try_link "$LINENO"; then :
12789 ac_cv_lib_pcap_pcap_create=yes
12790 else
12791 ac_cv_lib_pcap_pcap_create=no
12793 rm -f core conftest.err conftest.$ac_objext \
12794 conftest$ac_exeext conftest.$ac_ext
12795 LIBS=$ac_check_lib_save_LIBS
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12798 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12799 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12800 PCAP_LIBS="-lpcap"
12805 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12806 case "x$with_pcap" in
12807 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12808 xno) ;;
12809 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12810 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12811 esac
12812 enable_wpcap=${enable_wpcap:-no}
12816 if test "x$with_xml" != "xno"
12817 then
12818 if ${XML2_CFLAGS:+false} :; then :
12819 if ${PKG_CONFIG+:} false; then :
12820 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12823 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12824 if ${XML2_LIBS:+false} :; then :
12825 if ${PKG_CONFIG+:} false; then :
12826 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12829 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12830 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12831 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12832 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12833 ac_save_CPPFLAGS=$CPPFLAGS
12834 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12835 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12836 do :
12837 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12838 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12840 cat >>confdefs.h <<_ACEOF
12841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12842 _ACEOF
12846 done
12848 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
12849 then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12851 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12852 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12853 $as_echo_n "(cached) " >&6
12854 else
12855 ac_check_lib_save_LIBS=$LIBS
12856 LIBS="-lxml2 $XML2_LIBS $LIBS"
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12858 /* end confdefs.h. */
12860 /* Override any GCC internal prototype to avoid an error.
12861 Use char because int might match the return type of a GCC
12862 builtin and then its argument prototype would still apply. */
12863 #ifdef __cplusplus
12864 extern "C"
12865 #endif
12866 char xmlParseMemory ();
12868 main ()
12870 return xmlParseMemory ();
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_link "$LINENO"; then :
12876 ac_cv_lib_xml2_xmlParseMemory=yes
12877 else
12878 ac_cv_lib_xml2_xmlParseMemory=no
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_lib_save_LIBS
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12885 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12886 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12888 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12890 else
12891 XML2_LIBS=""
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12895 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12896 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12897 $as_echo_n "(cached) " >&6
12898 else
12899 ac_check_lib_save_LIBS=$LIBS
12900 LIBS="-lxml2 $XML2_LIBS $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 xmlReadMemory ();
12912 main ()
12914 return xmlReadMemory ();
12916 return 0;
12918 _ACEOF
12919 if ac_fn_c_try_link "$LINENO"; then :
12920 ac_cv_lib_xml2_xmlReadMemory=yes
12921 else
12922 ac_cv_lib_xml2_xmlReadMemory=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_xml2_xmlReadMemory" >&5
12929 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12930 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12932 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12937 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12938 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12939 $as_echo_n "(cached) " >&6
12940 else
12941 ac_check_lib_save_LIBS=$LIBS
12942 LIBS="-lxml2 $XML2_LIBS $LIBS"
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12949 #ifdef __cplusplus
12950 extern "C"
12951 #endif
12952 char xmlNewDocPI ();
12954 main ()
12956 return xmlNewDocPI ();
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_link "$LINENO"; then :
12962 ac_cv_lib_xml2_xmlNewDocPI=yes
12963 else
12964 ac_cv_lib_xml2_xmlNewDocPI=no
12966 rm -f core conftest.err conftest.$ac_objext \
12967 conftest$ac_exeext conftest.$ac_ext
12968 LIBS=$ac_check_lib_save_LIBS
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12971 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12972 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12974 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12979 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12980 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12981 $as_echo_n "(cached) " >&6
12982 else
12983 ac_check_lib_save_LIBS=$LIBS
12984 LIBS="-lxml2 $XML2_LIBS $LIBS"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12991 #ifdef __cplusplus
12992 extern "C"
12993 #endif
12994 char xmlSchemaSetParserStructuredErrors ();
12996 main ()
12998 return xmlSchemaSetParserStructuredErrors ();
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_link "$LINENO"; then :
13004 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13005 else
13006 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13008 rm -f core conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 LIBS=$ac_check_lib_save_LIBS
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13013 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13014 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13016 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13021 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13022 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13023 $as_echo_n "(cached) " >&6
13024 else
13025 ac_check_lib_save_LIBS=$LIBS
13026 LIBS="-lxml2 $XML2_LIBS $LIBS"
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13030 /* Override any GCC internal prototype to avoid an error.
13031 Use char because int might match the return type of a GCC
13032 builtin and then its argument prototype would still apply. */
13033 #ifdef __cplusplus
13034 extern "C"
13035 #endif
13036 char xmlSchemaSetValidStructuredErrors ();
13038 main ()
13040 return xmlSchemaSetValidStructuredErrors ();
13042 return 0;
13044 _ACEOF
13045 if ac_fn_c_try_link "$LINENO"; then :
13046 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13047 else
13048 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 LIBS=$ac_check_lib_save_LIBS
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13055 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13056 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13058 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13063 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13064 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13065 $as_echo_n "(cached) " >&6
13066 else
13067 ac_check_lib_save_LIBS=$LIBS
13068 LIBS="-lxml2 $XML2_LIBS $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13075 #ifdef __cplusplus
13076 extern "C"
13077 #endif
13078 char xmlFirstElementChild ();
13080 main ()
13082 return xmlFirstElementChild ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 ac_cv_lib_xml2_xmlFirstElementChild=yes
13089 else
13090 ac_cv_lib_xml2_xmlFirstElementChild=no
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 LIBS=$ac_check_lib_save_LIBS
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13097 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13098 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13100 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13104 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13106 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13108 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13112 else
13113 XML2_CFLAGS=""
13114 XML2_LIBS=""
13116 CPPFLAGS=$ac_save_CPPFLAGS
13119 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13120 case "x$with_xml" in
13121 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13122 xno) ;;
13123 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13124 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13125 esac
13129 if test "x$with_xslt" != "xno"
13130 then
13131 if ${XSLT_CFLAGS:+false} :; then :
13132 if ${PKG_CONFIG+:} false; then :
13133 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13136 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13137 if ${XSLT_LIBS:+false} :; then :
13138 if ${PKG_CONFIG+:} false; then :
13139 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13142 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13143 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13144 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13145 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13146 ac_save_CPPFLAGS=$CPPFLAGS
13147 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13148 for ac_header in libxslt/pattern.h libxslt/transform.h
13149 do :
13150 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13151 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13152 # include <libxslt/pattern.h>
13153 #endif
13155 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13156 cat >>confdefs.h <<_ACEOF
13157 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13158 _ACEOF
13162 done
13164 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13165 then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13167 $as_echo_n "checking for -lxslt... " >&6; }
13168 if ${ac_cv_lib_soname_xslt+:} false; then :
13169 $as_echo_n "(cached) " >&6
13170 else
13171 ac_check_soname_save_LIBS=$LIBS
13172 LIBS="-lxslt $XSLT_LIBS $LIBS"
13173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13174 /* end confdefs.h. */
13176 /* Override any GCC internal prototype to avoid an error.
13177 Use char because int might match the return type of a GCC
13178 builtin and then its argument prototype would still apply. */
13179 #ifdef __cplusplus
13180 extern "C"
13181 #endif
13182 char xsltCompilePattern ();
13184 main ()
13186 return xsltCompilePattern ();
13188 return 0;
13190 _ACEOF
13191 if ac_fn_c_try_link "$LINENO"; then :
13192 case "$LIBEXT" in
13193 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13194 dylib) ac_cv_lib_soname_xslt=`$OTOOL -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13195 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13196 if ${ac_cv_lib_soname_xslt:+false} :; then :
13197 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13198 fi ;;
13199 esac
13200 else
13201 ac_cv_lib_soname_xslt=
13203 rm -f core conftest.err conftest.$ac_objext \
13204 conftest$ac_exeext conftest.$ac_ext
13205 LIBS=$ac_check_soname_save_LIBS
13207 if ${ac_cv_lib_soname_xslt:+false} :; then :
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13209 $as_echo "not found" >&6; }
13211 else
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13213 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13215 cat >>confdefs.h <<_ACEOF
13216 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13217 _ACEOF
13221 else
13222 XSLT_CFLAGS=""
13224 CPPFLAGS=$ac_save_CPPFLAGS
13227 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13228 case "x$with_xslt" in
13229 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13230 xno) ;;
13231 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13232 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13233 esac
13237 if test "x$with_inotify" != "xno"
13238 then
13239 if ${INOTIFY_CFLAGS:+false} :; then :
13240 if ${PKG_CONFIG+:} false; then :
13241 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13245 if ${INOTIFY_LIBS:+false} :; then :
13246 if ${PKG_CONFIG+:} false; then :
13247 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13252 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13253 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13254 ac_save_CPPFLAGS=$CPPFLAGS
13255 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13256 for ac_header in sys/inotify.h
13257 do :
13258 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13259 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13260 cat >>confdefs.h <<_ACEOF
13261 #define HAVE_SYS_INOTIFY_H 1
13262 _ACEOF
13266 done
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13269 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13270 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13271 $as_echo_n "(cached) " >&6
13272 else
13273 ac_check_lib_save_LIBS=$LIBS
13274 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13278 /* Override any GCC internal prototype to avoid an error.
13279 Use char because int might match the return type of a GCC
13280 builtin and then its argument prototype would still apply. */
13281 #ifdef __cplusplus
13282 extern "C"
13283 #endif
13284 char inotify_add_watch ();
13286 main ()
13288 return inotify_add_watch ();
13290 return 0;
13292 _ACEOF
13293 if ac_fn_c_try_link "$LINENO"; then :
13294 ac_cv_lib_inotify_inotify_add_watch=yes
13295 else
13296 ac_cv_lib_inotify_inotify_add_watch=no
13298 rm -f core conftest.err conftest.$ac_objext \
13299 conftest$ac_exeext conftest.$ac_ext
13300 LIBS=$ac_check_lib_save_LIBS
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13303 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13304 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13306 else
13307 INOTIFY_LIBS=""
13310 CPPFLAGS=$ac_save_CPPFLAGS
13313 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13314 case "x$with_inotify" in
13315 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13316 xno) ;;
13317 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13318 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13319 esac
13323 if test "x$with_dbus" != "xno"
13324 then
13325 if ${DBUS_CFLAGS:+false} :; then :
13326 if ${PKG_CONFIG+:} false; then :
13327 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13331 if ${DBUS_LIBS:+false} :; then :
13332 if ${PKG_CONFIG+:} false; then :
13333 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13338 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13339 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13340 ac_save_CPPFLAGS=$CPPFLAGS
13341 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13342 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13343 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13345 $as_echo_n "checking for -ldbus-1... " >&6; }
13346 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13347 $as_echo_n "(cached) " >&6
13348 else
13349 ac_check_soname_save_LIBS=$LIBS
13350 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13357 #ifdef __cplusplus
13358 extern "C"
13359 #endif
13360 char dbus_connection_close ();
13362 main ()
13364 return dbus_connection_close ();
13366 return 0;
13368 _ACEOF
13369 if ac_fn_c_try_link "$LINENO"; then :
13370 case "$LIBEXT" in
13371 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13372 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'` ;;
13373 *) 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'`
13374 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13375 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13376 fi ;;
13377 esac
13378 else
13379 ac_cv_lib_soname_dbus_1=
13381 rm -f core conftest.err conftest.$ac_objext \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_soname_save_LIBS
13385 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13387 $as_echo "not found" >&6; }
13388 DBUS_CFLAGS=""
13389 else
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13391 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13393 cat >>confdefs.h <<_ACEOF
13394 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13395 _ACEOF
13399 else
13400 DBUS_CFLAGS=""
13404 CPPFLAGS=$ac_save_CPPFLAGS
13407 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13408 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13409 case "x$with_dbus" in
13410 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13411 xno) ;;
13412 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13413 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13414 esac
13418 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13419 then
13420 if ${HAL_CFLAGS:+false} :; then :
13421 if ${PKG_CONFIG+:} false; then :
13422 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13426 if ${HAL_LIBS:+false} :; then :
13427 if ${PKG_CONFIG+:} false; then :
13428 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13432 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13433 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13434 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13435 ac_save_CPPFLAGS=$CPPFLAGS
13436 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13437 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13438 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13440 $as_echo_n "checking for -lhal... " >&6; }
13441 if ${ac_cv_lib_soname_hal+:} false; then :
13442 $as_echo_n "(cached) " >&6
13443 else
13444 ac_check_soname_save_LIBS=$LIBS
13445 LIBS="-lhal $HAL_LIBS $LIBS"
13446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13449 /* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13452 #ifdef __cplusplus
13453 extern "C"
13454 #endif
13455 char libhal_ctx_new ();
13457 main ()
13459 return libhal_ctx_new ();
13461 return 0;
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"; then :
13465 case "$LIBEXT" in
13466 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13467 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'` ;;
13468 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13469 if ${ac_cv_lib_soname_hal:+false} :; then :
13470 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13471 fi ;;
13472 esac
13473 else
13474 ac_cv_lib_soname_hal=
13476 rm -f core conftest.err conftest.$ac_objext \
13477 conftest$ac_exeext conftest.$ac_ext
13478 LIBS=$ac_check_soname_save_LIBS
13480 if ${ac_cv_lib_soname_hal:+false} :; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13482 $as_echo "not found" >&6; }
13483 HAL_CFLAGS=""
13484 else
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13486 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13488 cat >>confdefs.h <<_ACEOF
13489 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13490 _ACEOF
13494 else
13495 HAL_CFLAGS=""
13499 CPPFLAGS=$ac_save_CPPFLAGS
13501 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13502 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13503 case "x$with_hal" in
13504 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13505 xno) ;;
13506 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13507 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13508 esac
13513 if test "x$with_gnutls" != "xno"
13514 then
13515 if ${GNUTLS_CFLAGS:+false} :; then :
13516 if ${PKG_CONFIG+:} false; then :
13517 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13521 if ${GNUTLS_LIBS:+false} :; then :
13522 if ${PKG_CONFIG+:} false; then :
13523 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13527 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13528 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13529 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13530 ac_save_CPPFLAGS=$CPPFLAGS
13531 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13532 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13533 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 #include <gnutls/gnutls.h>
13537 #include <gnutls/crypto.h>
13539 main ()
13541 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13543 return 0;
13545 _ACEOF
13546 if ac_fn_c_try_compile "$LINENO"; then :
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13548 $as_echo_n "checking for -lgnutls... " >&6; }
13549 if ${ac_cv_lib_soname_gnutls+:} false; then :
13550 $as_echo_n "(cached) " >&6
13551 else
13552 ac_check_soname_save_LIBS=$LIBS
13553 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13557 /* Override any GCC internal prototype to avoid an error.
13558 Use char because int might match the return type of a GCC
13559 builtin and then its argument prototype would still apply. */
13560 #ifdef __cplusplus
13561 extern "C"
13562 #endif
13563 char gnutls_global_init ();
13565 main ()
13567 return gnutls_global_init ();
13569 return 0;
13571 _ACEOF
13572 if ac_fn_c_try_link "$LINENO"; then :
13573 case "$LIBEXT" in
13574 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13575 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'` ;;
13576 *) 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'`
13577 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13578 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'`
13579 fi ;;
13580 esac
13581 else
13582 ac_cv_lib_soname_gnutls=
13584 rm -f core conftest.err conftest.$ac_objext \
13585 conftest$ac_exeext conftest.$ac_ext
13586 LIBS=$ac_check_soname_save_LIBS
13588 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13590 $as_echo "not found" >&6; }
13591 GNUTLS_CFLAGS=""
13592 else
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13594 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13596 cat >>confdefs.h <<_ACEOF
13597 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13598 _ACEOF
13602 ac_wine_check_funcs_save_LIBS="$LIBS"
13603 LIBS="$LIBS $GNUTLS_LIBS"
13604 for ac_func in gnutls_cipher_init
13605 do :
13606 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13607 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13608 cat >>confdefs.h <<_ACEOF
13609 #define HAVE_GNUTLS_CIPHER_INIT 1
13610 _ACEOF
13612 else
13613 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13615 done
13617 LIBS="$ac_wine_check_funcs_save_LIBS"
13619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13620 else
13621 GNUTLS_CFLAGS=""
13625 CPPFLAGS=$ac_save_CPPFLAGS
13628 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13629 case "x$with_gnutls" in
13630 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13631 xno) ;;
13632 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13633 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13634 esac
13638 if test "x$with_sane" != "xno"
13639 then
13640 if ${SANE_CFLAGS:+false} :; then :
13641 if ${PKG_CONFIG+:} false; then :
13642 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13645 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13646 if ${SANE_LIBS:+false} :; then :
13647 if ${PKG_CONFIG+:} false; then :
13648 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13651 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13653 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13654 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13655 ac_save_CPPFLAGS=$CPPFLAGS
13656 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13657 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13658 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13660 $as_echo_n "checking for -lsane... " >&6; }
13661 if ${ac_cv_lib_soname_sane+:} false; then :
13662 $as_echo_n "(cached) " >&6
13663 else
13664 ac_check_soname_save_LIBS=$LIBS
13665 LIBS="-lsane $SANE_LIBS $LIBS"
13666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h. */
13669 /* Override any GCC internal prototype to avoid an error.
13670 Use char because int might match the return type of a GCC
13671 builtin and then its argument prototype would still apply. */
13672 #ifdef __cplusplus
13673 extern "C"
13674 #endif
13675 char sane_init ();
13677 main ()
13679 return sane_init ();
13681 return 0;
13683 _ACEOF
13684 if ac_fn_c_try_link "$LINENO"; then :
13685 case "$LIBEXT" in
13686 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13687 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'` ;;
13688 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13689 if ${ac_cv_lib_soname_sane:+false} :; then :
13690 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13691 fi ;;
13692 esac
13693 else
13694 ac_cv_lib_soname_sane=
13696 rm -f core conftest.err conftest.$ac_objext \
13697 conftest$ac_exeext conftest.$ac_ext
13698 LIBS=$ac_check_soname_save_LIBS
13700 if ${ac_cv_lib_soname_sane:+false} :; then :
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13702 $as_echo "not found" >&6; }
13703 SANE_CFLAGS=""
13704 else
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13706 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13708 cat >>confdefs.h <<_ACEOF
13709 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13710 _ACEOF
13714 else
13715 SANE_CFLAGS=""
13719 CPPFLAGS=$ac_save_CPPFLAGS
13722 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13723 case "x$with_sane" in
13724 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13725 xno) ;;
13726 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13727 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13728 esac
13732 if test "x$with_usb" != "xno"
13733 then
13734 if ${USB_CFLAGS:+false} :; then :
13735 if ${PKG_CONFIG+:} false; then :
13736 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13740 if ${USB_LIBS:+false} :; then :
13741 if ${PKG_CONFIG+:} false; then :
13742 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13746 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13747 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13748 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13749 ac_save_CPPFLAGS=$CPPFLAGS
13750 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13751 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13752 if test "x$ac_cv_header_libusb_h" = xyes; then :
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13754 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13755 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13756 $as_echo_n "(cached) " >&6
13757 else
13758 ac_check_lib_save_LIBS=$LIBS
13759 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13763 /* Override any GCC internal prototype to avoid an error.
13764 Use char because int might match the return type of a GCC
13765 builtin and then its argument prototype would still apply. */
13766 #ifdef __cplusplus
13767 extern "C"
13768 #endif
13769 char libusb_interrupt_event_handler ();
13771 main ()
13773 return libusb_interrupt_event_handler ();
13775 return 0;
13777 _ACEOF
13778 if ac_fn_c_try_link "$LINENO"; then :
13779 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13780 else
13781 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13783 rm -f core conftest.err conftest.$ac_objext \
13784 conftest$ac_exeext conftest.$ac_ext
13785 LIBS=$ac_check_lib_save_LIBS
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13788 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13789 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13791 else
13792 USB_LIBS=""
13795 else
13796 USB_LIBS=""
13800 CPPFLAGS=$ac_save_CPPFLAGS
13803 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13804 case "x$with_usb" in
13805 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13806 xno) ;;
13807 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13808 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13809 esac
13810 enable_wineusb_sys=${enable_wineusb_sys:-no}
13813 if test "x$with_v4l2" != "xno"
13814 then
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13816 $as_echo_n "checking for -lv4l2... " >&6; }
13817 if ${ac_cv_lib_soname_v4l2+:} false; then :
13818 $as_echo_n "(cached) " >&6
13819 else
13820 ac_check_soname_save_LIBS=$LIBS
13821 LIBS="-lv4l2 $LIBS"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13825 /* Override any GCC internal prototype to avoid an error.
13826 Use char because int might match the return type of a GCC
13827 builtin and then its argument prototype would still apply. */
13828 #ifdef __cplusplus
13829 extern "C"
13830 #endif
13831 char v4l2_open ();
13833 main ()
13835 return v4l2_open ();
13837 return 0;
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"; then :
13841 case "$LIBEXT" in
13842 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13843 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'` ;;
13844 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13845 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13846 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13847 fi ;;
13848 esac
13849 else
13850 ac_cv_lib_soname_v4l2=
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 LIBS=$ac_check_soname_save_LIBS
13856 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13858 $as_echo "not found" >&6; }
13860 else
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13862 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13864 cat >>confdefs.h <<_ACEOF
13865 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13866 _ACEOF
13871 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13872 case "x$with_v4l2" in
13873 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13874 xno) ;;
13875 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13876 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13877 esac
13881 if test "x$with_gphoto" != "xno"
13882 then
13883 if ${GPHOTO2_CFLAGS:+false} :; then :
13884 if ${PKG_CONFIG+:} false; then :
13885 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13888 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13889 if ${GPHOTO2_LIBS:+false} :; then :
13890 if ${PKG_CONFIG+:} false; then :
13891 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13894 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13895 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13896 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13897 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13898 ac_save_CPPFLAGS=$CPPFLAGS
13899 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13900 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13901 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13903 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13904 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13905 $as_echo_n "(cached) " >&6
13906 else
13907 ac_check_lib_save_LIBS=$LIBS
13908 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13912 /* Override any GCC internal prototype to avoid an error.
13913 Use char because int might match the return type of a GCC
13914 builtin and then its argument prototype would still apply. */
13915 #ifdef __cplusplus
13916 extern "C"
13917 #endif
13918 char gp_camera_new ();
13920 main ()
13922 return gp_camera_new ();
13924 return 0;
13926 _ACEOF
13927 if ac_fn_c_try_link "$LINENO"; then :
13928 ac_cv_lib_gphoto2_gp_camera_new=yes
13929 else
13930 ac_cv_lib_gphoto2_gp_camera_new=no
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 LIBS=$ac_check_lib_save_LIBS
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13937 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13938 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13940 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13942 else
13943 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13946 else
13947 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13951 CPPFLAGS=$ac_save_CPPFLAGS
13953 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13954 if ${PKG_CONFIG+:} false; then :
13955 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13958 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13959 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13960 if ${PKG_CONFIG+:} false; then :
13961 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13964 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13965 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13966 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13967 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13968 ac_save_CPPFLAGS=$CPPFLAGS
13969 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13970 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13971 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13973 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13974 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13975 $as_echo_n "(cached) " >&6
13976 else
13977 ac_check_lib_save_LIBS=$LIBS
13978 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13980 /* end confdefs.h. */
13982 /* Override any GCC internal prototype to avoid an error.
13983 Use char because int might match the return type of a GCC
13984 builtin and then its argument prototype would still apply. */
13985 #ifdef __cplusplus
13986 extern "C"
13987 #endif
13988 char gp_port_info_list_new ();
13990 main ()
13992 return gp_port_info_list_new ();
13994 return 0;
13996 _ACEOF
13997 if ac_fn_c_try_link "$LINENO"; then :
13998 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13999 else
14000 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14002 rm -f core conftest.err conftest.$ac_objext \
14003 conftest$ac_exeext conftest.$ac_ext
14004 LIBS=$ac_check_lib_save_LIBS
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14007 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14008 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14010 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14012 else
14013 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14016 else
14017 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14021 CPPFLAGS=$ac_save_CPPFLAGS
14024 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14025 case "x$with_gphoto" in
14026 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14027 xno) ;;
14028 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14029 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14030 esac
14033 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14034 case "x$with_gphoto" in
14035 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14036 xno) ;;
14037 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14038 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14039 esac
14044 if test "$ac_cv_header_resolv_h" = "yes"
14045 then
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14047 $as_echo_n "checking for resolver library... " >&6; }
14048 if ${ac_cv_have_resolv+:} false; then :
14049 $as_echo_n "(cached) " >&6
14050 else
14051 ac_save_LIBS="$LIBS"
14052 for lib in '' -lresolv
14054 LIBS="$lib $ac_save_LIBS"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 #ifdef HAVE_NETINET_IN_H
14058 #include <netinet/in.h>
14059 #endif
14060 #include <resolv.h>
14062 main ()
14064 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14066 return 0;
14068 _ACEOF
14069 if ac_fn_c_try_link "$LINENO"; then :
14070 ac_cv_have_resolv=${lib:-"none required"}
14071 else
14072 ac_cv_have_resolv="not found"
14074 rm -f core conftest.err conftest.$ac_objext \
14075 conftest$ac_exeext conftest.$ac_ext
14076 test "x$ac_cv_have_resolv" = "xnot found" || break
14077 done
14078 LIBS="$ac_save_LIBS"
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14081 $as_echo "$ac_cv_have_resolv" >&6; }
14083 case "$ac_cv_have_resolv" in
14084 "not found") ;;
14085 "none required")
14087 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14090 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14092 RESOLV_LIBS=$ac_cv_have_resolv
14094 esac
14096 if test "x$ac_cv_have_resolv" != "xnot found"
14097 then
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14099 $as_echo_n "checking for res_getservers... " >&6; }
14100 if ${ac_cv_have_res_getservers+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 ac_save_LIBS="$LIBS"
14104 LIBS="$RESOLV_LIBS $LIBS"
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14107 #include <resolv.h>
14109 main ()
14111 res_getservers(NULL, NULL, 0);
14113 return 0;
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"; then :
14117 ac_cv_have_res_getservers=yes
14118 else
14119 ac_cv_have_res_getservers=no
14121 rm -f core conftest.err conftest.$ac_objext \
14122 conftest$ac_exeext conftest.$ac_ext
14123 LIBS="$ac_save_LIBS"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14126 $as_echo "$ac_cv_have_res_getservers" >&6; }
14127 if test "$ac_cv_have_res_getservers" = "yes"
14128 then
14130 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14136 if test "x$with_cms" != "xno"
14137 then
14138 if ${LCMS2_CFLAGS:+false} :; then :
14139 if ${PKG_CONFIG+:} false; then :
14140 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14144 if ${LCMS2_LIBS:+false} :; then :
14145 if ${PKG_CONFIG+:} false; then :
14146 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14150 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14151 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14152 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14153 ac_save_CPPFLAGS=$CPPFLAGS
14154 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14155 for ac_header in lcms2.h
14156 do :
14157 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14158 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14159 cat >>confdefs.h <<_ACEOF
14160 #define HAVE_LCMS2_H 1
14161 _ACEOF
14165 done
14167 if test "$ac_cv_header_lcms2_h" = "yes"
14168 then
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14170 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14171 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14172 $as_echo_n "(cached) " >&6
14173 else
14174 ac_check_lib_save_LIBS=$LIBS
14175 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14182 #ifdef __cplusplus
14183 extern "C"
14184 #endif
14185 char cmsOpenProfileFromFile ();
14187 main ()
14189 return cmsOpenProfileFromFile ();
14191 return 0;
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14196 else
14197 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext conftest.$ac_ext
14201 LIBS=$ac_check_lib_save_LIBS
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14204 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14205 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14207 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14209 else
14210 LCMS2_LIBS=""
14213 else
14214 LCMS2_CFLAGS=""
14215 LCMS2_LIBS=""
14217 CPPFLAGS=$ac_save_CPPFLAGS
14220 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14221 case "x$with_cms" in
14222 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14223 xno) ;;
14224 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14225 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14226 esac
14230 if test "x$with_freetype" != "xno"
14231 then
14232 if ${FREETYPE_CFLAGS:+false} :; then :
14233 if ${PKG_CONFIG+:} false; then :
14234 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14237 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14238 if ${FREETYPE_LIBS:+false} :; then :
14239 if ${PKG_CONFIG+:} false; then :
14240 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14243 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14244 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14245 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14246 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14247 ac_save_CPPFLAGS=$CPPFLAGS
14248 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14249 for ac_header in ft2build.h
14250 do :
14251 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14252 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14253 cat >>confdefs.h <<_ACEOF
14254 #define HAVE_FT2BUILD_H 1
14255 _ACEOF
14259 done
14261 if test "$ac_cv_header_ft2build_h" = "yes"
14262 then
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14264 $as_echo_n "checking for -lfreetype... " >&6; }
14265 if ${ac_cv_lib_soname_freetype+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 ac_check_soname_save_LIBS=$LIBS
14269 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14273 /* Override any GCC internal prototype to avoid an error.
14274 Use char because int might match the return type of a GCC
14275 builtin and then its argument prototype would still apply. */
14276 #ifdef __cplusplus
14277 extern "C"
14278 #endif
14279 char FT_Init_FreeType ();
14281 main ()
14283 return FT_Init_FreeType ();
14285 return 0;
14287 _ACEOF
14288 if ac_fn_c_try_link "$LINENO"; then :
14289 case "$LIBEXT" in
14290 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14291 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'` ;;
14292 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14293 if ${ac_cv_lib_soname_freetype:+false} :; then :
14294 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14295 fi ;;
14296 esac
14297 else
14298 ac_cv_lib_soname_freetype=
14300 rm -f core conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302 LIBS=$ac_check_soname_save_LIBS
14304 if ${ac_cv_lib_soname_freetype:+false} :; then :
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14306 $as_echo "not found" >&6; }
14307 FREETYPE_LIBS=""
14308 else
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14310 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14312 cat >>confdefs.h <<_ACEOF
14313 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14314 _ACEOF
14317 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14319 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14320 #include FT_MODULE_H
14322 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14324 cat >>confdefs.h <<_ACEOF
14325 #define HAVE_FT_TRUETYPEENGINETYPE 1
14326 _ACEOF
14332 else
14333 FREETYPE_CFLAGS=""
14334 FREETYPE_LIBS=""
14336 CPPFLAGS=$ac_save_CPPFLAGS
14339 if test "x$ac_cv_lib_soname_freetype" = x; then :
14340 case "x$with_freetype" in
14341 xno) ;;
14342 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14343 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14344 esac
14345 enable_fonts=${enable_fonts:-no}
14348 ac_wine_check_funcs_save_LIBS="$LIBS"
14349 LIBS="$LIBS $PTHREAD_LIBS"
14350 for ac_func in \
14351 pthread_getthreadid_np
14352 do :
14353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14356 cat >>confdefs.h <<_ACEOF
14357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14358 _ACEOF
14361 done
14363 LIBS="$ac_wine_check_funcs_save_LIBS"
14365 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14366 then
14367 if test "$ac_cv_header_gettext_po_h" = "yes"
14368 then
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14370 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14371 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14372 $as_echo_n "(cached) " >&6
14373 else
14374 ac_check_lib_save_LIBS=$LIBS
14375 LIBS="-lgettextpo $LIBS"
14376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14379 /* Override any GCC internal prototype to avoid an error.
14380 Use char because int might match the return type of a GCC
14381 builtin and then its argument prototype would still apply. */
14382 #ifdef __cplusplus
14383 extern "C"
14384 #endif
14385 char po_message_msgctxt ();
14387 main ()
14389 return po_message_msgctxt ();
14391 return 0;
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14396 else
14397 ac_cv_lib_gettextpo_po_message_msgctxt=no
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 LIBS=$ac_check_lib_save_LIBS
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14404 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14405 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14407 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14409 GETTEXTPO_LIBS="-lgettextpo"
14414 if test "x$GETTEXTPO_LIBS" = "x"; then :
14415 case "x$with_gettextpo" in
14416 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14417 xno) ;;
14418 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14419 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14420 esac
14423 if test "$srcdir" != .; then :
14424 case "x$with_gettextpo" in
14425 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14426 xno) ;;
14427 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14428 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14429 esac
14434 if test "x$with_pulse" != "xno";
14435 then
14436 if ${PULSE_CFLAGS:+false} :; then :
14437 if ${PKG_CONFIG+:} false; then :
14438 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14442 if ${PULSE_LIBS:+false} :; then :
14443 if ${PKG_CONFIG+:} false; then :
14444 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14449 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14450 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14451 ac_save_CPPFLAGS=$CPPFLAGS
14452 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14453 for ac_header in pulse/pulseaudio.h
14454 do :
14455 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14456 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14457 cat >>confdefs.h <<_ACEOF
14458 #define HAVE_PULSE_PULSEAUDIO_H 1
14459 _ACEOF
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14461 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14462 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14463 $as_echo_n "(cached) " >&6
14464 else
14465 ac_check_lib_save_LIBS=$LIBS
14466 LIBS="-lpulse $PULSE_LIBS $LIBS"
14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14470 /* Override any GCC internal prototype to avoid an error.
14471 Use char because int might match the return type of a GCC
14472 builtin and then its argument prototype would still apply. */
14473 #ifdef __cplusplus
14474 extern "C"
14475 #endif
14476 char pa_stream_is_corked ();
14478 main ()
14480 return pa_stream_is_corked ();
14482 return 0;
14484 _ACEOF
14485 if ac_fn_c_try_link "$LINENO"; then :
14486 ac_cv_lib_pulse_pa_stream_is_corked=yes
14487 else
14488 ac_cv_lib_pulse_pa_stream_is_corked=no
14490 rm -f core conftest.err conftest.$ac_objext \
14491 conftest$ac_exeext conftest.$ac_ext
14492 LIBS=$ac_check_lib_save_LIBS
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14495 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14496 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14498 else
14499 PULSE_LIBS=""
14502 else
14503 PULSE_LIBS=""
14506 done
14508 CPPFLAGS=$ac_save_CPPFLAGS
14511 if test -z "$PULSE_LIBS"; then :
14512 case "x$with_pulse" in
14513 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14514 xno) ;;
14515 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14516 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14517 esac
14518 enable_winepulse_drv=${enable_winepulse_drv:-no}
14521 if test "x$with_gstreamer" != "xno"
14522 then
14523 if ${GSTREAMER_CFLAGS:+false} :; then :
14524 if ${PKG_CONFIG+:} false; then :
14525 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14529 if ${GSTREAMER_LIBS:+false} :; then :
14530 if ${PKG_CONFIG+:} false; then :
14531 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14536 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14537 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14538 ac_save_CPPFLAGS=$CPPFLAGS
14539 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14540 ac_gst_incl=""
14541 for i in $GSTREAMER_CFLAGS
14543 case "$i" in
14544 -I*) ac_gst_incl="$ac_gst_incl $i";;
14545 esac
14546 done
14547 GSTREAMER_CFLAGS=$ac_gst_incl
14548 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14549 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14550 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14552 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14555 #include <gst/gst.h>
14557 main ()
14559 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14561 return 0;
14563 _ACEOF
14564 if ac_fn_c_try_compile "$LINENO"; then :
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14566 $as_echo "yes" >&6; }
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14568 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14569 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 ac_check_lib_save_LIBS=$LIBS
14573 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14577 /* Override any GCC internal prototype to avoid an error.
14578 Use char because int might match the return type of a GCC
14579 builtin and then its argument prototype would still apply. */
14580 #ifdef __cplusplus
14581 extern "C"
14582 #endif
14583 char gst_pad_new ();
14585 main ()
14587 return gst_pad_new ();
14589 return 0;
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14594 else
14595 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 LIBS=$ac_check_lib_save_LIBS
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14602 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14603 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14607 else
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14609 $as_echo "no" >&6; }
14610 ac_glib2_broken=yes
14611 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617 CPPFLAGS=$ac_save_CPPFLAGS
14620 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14621 case "x$with_gstreamer" in
14622 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14623 xno) ;;
14624 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14625 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14626 esac
14629 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14631 ALSA_LIBS=""
14633 if test "x$with_alsa" != "xno"
14634 then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14636 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14637 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 ac_check_lib_save_LIBS=$LIBS
14641 LIBS="-lasound $LIBS"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14645 /* Override any GCC internal prototype to avoid an error.
14646 Use char because int might match the return type of a GCC
14647 builtin and then its argument prototype would still apply. */
14648 #ifdef __cplusplus
14649 extern "C"
14650 #endif
14651 char snd_pcm_hw_params_get_access_mask ();
14653 main ()
14655 return snd_pcm_hw_params_get_access_mask ();
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14662 else
14663 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext conftest.$ac_ext
14667 LIBS=$ac_check_lib_save_LIBS
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14670 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14671 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14674 #include <alsa/asoundlib.h>
14676 main ()
14678 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14680 return 0;
14682 _ACEOF
14683 if ac_fn_c_try_compile "$LINENO"; then :
14684 ALSA_LIBS="-lasound"
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14690 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14692 if test "x$with_oss" != xno
14693 then
14694 ac_save_CPPFLAGS="$CPPFLAGS"
14695 if test -f /etc/oss.conf
14696 then
14697 . /etc/oss.conf
14699 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14700 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14701 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14702 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14703 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14705 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14707 cat >>confdefs.h <<_ACEOF
14708 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14709 _ACEOF
14711 OSS4_CFLAGS="$ac_oss_incl"
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14714 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14715 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14716 $as_echo_n "(cached) " >&6
14717 else
14718 ac_check_lib_save_LIBS=$LIBS
14719 LIBS="-lossaudio $LIBS"
14720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721 /* end confdefs.h. */
14723 /* Override any GCC internal prototype to avoid an error.
14724 Use char because int might match the return type of a GCC
14725 builtin and then its argument prototype would still apply. */
14726 #ifdef __cplusplus
14727 extern "C"
14728 #endif
14729 char _oss_ioctl ();
14731 main ()
14733 return _oss_ioctl ();
14735 return 0;
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"; then :
14739 ac_cv_lib_ossaudio__oss_ioctl=yes
14740 else
14741 ac_cv_lib_ossaudio__oss_ioctl=no
14743 rm -f core conftest.err conftest.$ac_objext \
14744 conftest$ac_exeext conftest.$ac_ext
14745 LIBS=$ac_check_lib_save_LIBS
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14748 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14749 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14750 OSS4_LIBS="-lossaudio"
14759 CPPFLAGS="$ac_save_CPPFLAGS"
14761 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14762 case "x$with_oss" in
14763 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14764 xno) ;;
14765 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14766 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14767 esac
14768 enable_wineoss_drv=${enable_wineoss_drv:-no}
14771 if test "x$with_udev" != "xno"
14772 then
14773 if ${UDEV_CFLAGS:+false} :; then :
14774 if ${PKG_CONFIG+:} false; then :
14775 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14779 if ${UDEV_LIBS:+false} :; then :
14780 if ${PKG_CONFIG+:} false; then :
14781 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14785 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14786 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14787 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14788 ac_save_CPPFLAGS=$CPPFLAGS
14789 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14790 for ac_header in libudev.h
14791 do :
14792 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14793 if test "x$ac_cv_header_libudev_h" = xyes; then :
14794 cat >>confdefs.h <<_ACEOF
14795 #define HAVE_LIBUDEV_H 1
14796 _ACEOF
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14798 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14799 if ${ac_cv_lib_udev_udev_new+:} false; then :
14800 $as_echo_n "(cached) " >&6
14801 else
14802 ac_check_lib_save_LIBS=$LIBS
14803 LIBS="-ludev $UDEV_LIBS $LIBS"
14804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14807 /* Override any GCC internal prototype to avoid an error.
14808 Use char because int might match the return type of a GCC
14809 builtin and then its argument prototype would still apply. */
14810 #ifdef __cplusplus
14811 extern "C"
14812 #endif
14813 char udev_new ();
14815 main ()
14817 return udev_new ();
14819 return 0;
14821 _ACEOF
14822 if ac_fn_c_try_link "$LINENO"; then :
14823 ac_cv_lib_udev_udev_new=yes
14824 else
14825 ac_cv_lib_udev_udev_new=no
14827 rm -f core conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14829 LIBS=$ac_check_lib_save_LIBS
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14832 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14833 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14835 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14837 else
14838 UDEV_LIBS=""
14841 else
14842 UDEV_LIBS=""
14845 done
14847 CPPFLAGS=$ac_save_CPPFLAGS
14850 if test "x$UDEV_LIBS" = "x"; then :
14851 case "x$with_udev" in
14852 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14853 xno) ;;
14854 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14855 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14856 esac
14860 if test "x$with_unwind" != xno
14861 then
14862 if ${UNWIND_CFLAGS:+false} :; then :
14863 if ${PKG_CONFIG+:} false; then :
14864 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14868 if ${UNWIND_LIBS:+false} :; then :
14869 if ${PKG_CONFIG+:} false; then :
14870 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14874 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14875 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14876 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14877 ac_save_CPPFLAGS=$CPPFLAGS
14878 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14880 $as_echo_n "checking for unw_step... " >&6; }
14881 if ${wine_cv_have_unw_step+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14886 #define UNW_LOCAL_ONLY
14887 #include <libunwind.h>
14889 main ()
14891 unw_cursor_t cursor; unw_step( &cursor );
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_link "$LINENO"; then :
14897 wine_cv_have_unw_step="yes"
14898 else
14899 wine_cv_have_unw_step="no"
14901 rm -f core conftest.err conftest.$ac_objext \
14902 conftest$ac_exeext conftest.$ac_ext
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14905 $as_echo "$wine_cv_have_unw_step" >&6; }
14906 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14907 then
14908 save_libs=$LIBS
14909 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14910 LIBS="$UNWIND_LIBS $LIBS"
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14912 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14913 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14914 $as_echo_n "(cached) " >&6
14915 else
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14918 #define UNW_LOCAL_ONLY
14919 #include <libunwind.h>
14921 main ()
14923 unw_cursor_t cursor; unw_step( &cursor );
14925 return 0;
14927 _ACEOF
14928 if ac_fn_c_try_link "$LINENO"; then :
14929 wine_cv_have_libunwind_unw_step="yes"
14930 else
14931 wine_cv_have_libunwind_unw_step="no"
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext conftest.$ac_ext
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14937 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14938 LIBS=$save_libs
14940 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14941 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14942 then
14944 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14947 CPPFLAGS=$ac_save_CPPFLAGS
14950 case $host in
14951 aarch64*|*-darwin*)
14952 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14953 case "x$with_unwind" in
14954 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14955 xno) ;;
14956 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14957 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14958 esac
14960 fi ;;
14961 esac
14963 if test "x$with_sdl" != "xno"
14964 then
14965 if ${SDL2_CFLAGS:+false} :; then :
14966 if ${PKG_CONFIG+:} false; then :
14967 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14971 if ${SDL2_LIBS:+false} :; then :
14972 if ${PKG_CONFIG+:} false; then :
14973 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14977 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14978 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14979 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14980 ac_save_CPPFLAGS=$CPPFLAGS
14981 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14982 for ac_header in SDL.h
14983 do :
14984 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14985 if test "x$ac_cv_header_SDL_h" = xyes; then :
14986 cat >>confdefs.h <<_ACEOF
14987 #define HAVE_SDL_H 1
14988 _ACEOF
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14990 $as_echo_n "checking for -lSDL2... " >&6; }
14991 if ${ac_cv_lib_soname_SDL2+:} false; then :
14992 $as_echo_n "(cached) " >&6
14993 else
14994 ac_check_soname_save_LIBS=$LIBS
14995 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14999 /* Override any GCC internal prototype to avoid an error.
15000 Use char because int might match the return type of a GCC
15001 builtin and then its argument prototype would still apply. */
15002 #ifdef __cplusplus
15003 extern "C"
15004 #endif
15005 char SDL_Init ();
15007 main ()
15009 return SDL_Init ();
15011 return 0;
15013 _ACEOF
15014 if ac_fn_c_try_link "$LINENO"; then :
15015 case "$LIBEXT" in
15016 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15017 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'` ;;
15018 *) 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'`
15019 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15020 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15021 fi ;;
15022 esac
15023 else
15024 ac_cv_lib_soname_SDL2=
15026 rm -f core conftest.err conftest.$ac_objext \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_check_soname_save_LIBS
15030 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15032 $as_echo "not found" >&6; }
15034 else
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15036 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15038 cat >>confdefs.h <<_ACEOF
15039 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15040 _ACEOF
15046 done
15048 CPPFLAGS=$ac_save_CPPFLAGS
15051 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15052 case "x$with_sdl" in
15053 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15054 xno) ;;
15055 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15056 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15057 esac
15061 if test "x$with_faudio" != "xno"
15062 then
15063 if ${FAUDIO_CFLAGS:+false} :; then :
15064 if ${PKG_CONFIG+:} false; then :
15065 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15069 if ${FAUDIO_LIBS:+false} :; then :
15070 if ${PKG_CONFIG+:} false; then :
15071 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15075 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15076 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15077 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15078 ac_save_CPPFLAGS=$CPPFLAGS
15079 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15080 for ac_header in FAudio.h
15081 do :
15082 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15083 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15084 cat >>confdefs.h <<_ACEOF
15085 #define HAVE_FAUDIO_H 1
15086 _ACEOF
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15088 $as_echo_n "checking for -lFAudio... " >&6; }
15089 if ${ac_cv_lib_soname_FAudio+:} false; then :
15090 $as_echo_n "(cached) " >&6
15091 else
15092 ac_check_soname_save_LIBS=$LIBS
15093 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15100 #ifdef __cplusplus
15101 extern "C"
15102 #endif
15103 char FAudioCreate ();
15105 main ()
15107 return FAudioCreate ();
15109 return 0;
15111 _ACEOF
15112 if ac_fn_c_try_link "$LINENO"; then :
15113 case "$LIBEXT" in
15114 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15115 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15116 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15117 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15118 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15119 fi ;;
15120 esac
15121 else
15122 ac_cv_lib_soname_FAudio=
15124 rm -f core conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext conftest.$ac_ext
15126 LIBS=$ac_check_soname_save_LIBS
15128 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15130 $as_echo "not found" >&6; }
15132 else
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15134 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15136 cat >>confdefs.h <<_ACEOF
15137 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15138 _ACEOF
15144 done
15146 ac_wine_check_funcs_save_LIBS="$LIBS"
15147 LIBS="$LIBS $FAUDIO_LIBS"
15148 for ac_func in FAudio_CommitOperationSet \
15149 F3DAudioInitialize8 \
15150 FAudioLinkedVersion \
15151 FAudioCreateReverb9WithCustomAllocatorEXT
15152 do :
15153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15155 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15156 cat >>confdefs.h <<_ACEOF
15157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15158 _ACEOF
15161 done
15163 LIBS="$ac_wine_check_funcs_save_LIBS"
15165 CPPFLAGS=$ac_save_CPPFLAGS
15168 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15169 case "x$with_faudio" in
15170 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15171 xno) ;;
15172 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15173 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15174 esac
15178 if test "x$with_capi" != "xno"
15179 then
15180 if ${CAPI20_CFLAGS:+false} :; then :
15181 if ${PKG_CONFIG+:} false; then :
15182 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15186 if ${CAPI20_LIBS:+false} :; then :
15187 if ${PKG_CONFIG+:} false; then :
15188 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15193 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15194 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15195 ac_save_CPPFLAGS=$CPPFLAGS
15196 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15197 for ac_header in capi20.h linux/capi.h
15198 do :
15199 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15200 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15202 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15203 cat >>confdefs.h <<_ACEOF
15204 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15205 _ACEOF
15209 done
15211 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15212 then
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15214 $as_echo_n "checking for -lcapi20... " >&6; }
15215 if ${ac_cv_lib_soname_capi20+:} false; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15218 ac_check_soname_save_LIBS=$LIBS
15219 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15223 /* Override any GCC internal prototype to avoid an error.
15224 Use char because int might match the return type of a GCC
15225 builtin and then its argument prototype would still apply. */
15226 #ifdef __cplusplus
15227 extern "C"
15228 #endif
15229 char capi20_register ();
15231 main ()
15233 return capi20_register ();
15235 return 0;
15237 _ACEOF
15238 if ac_fn_c_try_link "$LINENO"; then :
15239 case "$LIBEXT" in
15240 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15241 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'` ;;
15242 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15243 if ${ac_cv_lib_soname_capi20:+false} :; then :
15244 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15245 fi ;;
15246 esac
15247 else
15248 ac_cv_lib_soname_capi20=
15250 rm -f core conftest.err conftest.$ac_objext \
15251 conftest$ac_exeext conftest.$ac_ext
15252 LIBS=$ac_check_soname_save_LIBS
15254 if ${ac_cv_lib_soname_capi20:+false} :; then :
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15256 $as_echo "not found" >&6; }
15258 else
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15260 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15262 cat >>confdefs.h <<_ACEOF
15263 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15264 _ACEOF
15269 CPPFLAGS=$ac_save_CPPFLAGS
15272 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15273 case "x$with_capi" in
15274 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15275 xno) ;;
15276 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15277 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15278 esac
15282 if test "x$with_cups" != "xno"
15283 then
15284 if ${CUPS_CFLAGS:+false} :; then :
15285 if ${PKG_CONFIG+:} false; then :
15286 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15289 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15290 if ${CUPS_LIBS:+false} :; then :
15291 if ${PKG_CONFIG+:} false; then :
15292 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15295 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15296 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15297 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15298 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15299 ac_save_CPPFLAGS=$CPPFLAGS
15300 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15301 for ac_header in cups/cups.h cups/ppd.h
15302 do :
15303 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15304 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15305 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15306 cat >>confdefs.h <<_ACEOF
15307 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15308 _ACEOF
15312 done
15314 if test "$ac_cv_header_cups_cups_h" = "yes"
15315 then
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15317 $as_echo_n "checking for -lcups... " >&6; }
15318 if ${ac_cv_lib_soname_cups+:} false; then :
15319 $as_echo_n "(cached) " >&6
15320 else
15321 ac_check_soname_save_LIBS=$LIBS
15322 LIBS="-lcups $CUPS_LIBS $LIBS"
15323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h. */
15326 /* Override any GCC internal prototype to avoid an error.
15327 Use char because int might match the return type of a GCC
15328 builtin and then its argument prototype would still apply. */
15329 #ifdef __cplusplus
15330 extern "C"
15331 #endif
15332 char cupsGetDefault ();
15334 main ()
15336 return cupsGetDefault ();
15338 return 0;
15340 _ACEOF
15341 if ac_fn_c_try_link "$LINENO"; then :
15342 case "$LIBEXT" in
15343 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15344 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'` ;;
15345 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15346 if ${ac_cv_lib_soname_cups:+false} :; then :
15347 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15348 fi ;;
15349 esac
15350 else
15351 ac_cv_lib_soname_cups=
15353 rm -f core conftest.err conftest.$ac_objext \
15354 conftest$ac_exeext conftest.$ac_ext
15355 LIBS=$ac_check_soname_save_LIBS
15357 if ${ac_cv_lib_soname_cups:+false} :; then :
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15359 $as_echo "not found" >&6; }
15360 CUPS_LIBS=""
15361 else
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15363 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15365 cat >>confdefs.h <<_ACEOF
15366 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15367 _ACEOF
15371 else
15372 CUPS_CFLAGS=""
15373 CUPS_LIBS=""
15375 CPPFLAGS=$ac_save_CPPFLAGS
15378 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15379 case "x$with_cups" in
15380 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15381 xno) ;;
15382 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15383 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15384 esac
15388 if test "x$with_fontconfig" != "xno"
15389 then
15390 if ${FONTCONFIG_CFLAGS:+false} :; then :
15391 if ${PKG_CONFIG+:} false; then :
15392 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15395 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15396 if ${FONTCONFIG_LIBS:+false} :; then :
15397 if ${PKG_CONFIG+:} false; then :
15398 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15401 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15403 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15404 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15405 ac_save_CPPFLAGS=$CPPFLAGS
15406 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15407 for ac_header in fontconfig/fontconfig.h
15408 do :
15409 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15410 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15411 cat >>confdefs.h <<_ACEOF
15412 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15413 _ACEOF
15417 done
15419 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15420 then
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15422 $as_echo_n "checking for -lfontconfig... " >&6; }
15423 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15424 $as_echo_n "(cached) " >&6
15425 else
15426 ac_check_soname_save_LIBS=$LIBS
15427 LIBS="-lfontconfig $FONTCONFIG_LIBS $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 FcInit ();
15439 main ()
15441 return FcInit ();
15443 return 0;
15445 _ACEOF
15446 if ac_fn_c_try_link "$LINENO"; then :
15447 case "$LIBEXT" in
15448 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15449 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'` ;;
15450 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15451 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15452 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15453 fi ;;
15454 esac
15455 else
15456 ac_cv_lib_soname_fontconfig=
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_fontconfig:+false} :; then :
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15464 $as_echo "not found" >&6; }
15465 FONTCONFIG_CFLAGS=""
15466 else
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15468 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15470 cat >>confdefs.h <<_ACEOF
15471 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15472 _ACEOF
15476 else
15477 FONTCONFIG_CFLAGS=""
15479 CPPFLAGS=$ac_save_CPPFLAGS
15482 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15483 case "x$with_fontconfig" in
15484 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15485 xno) ;;
15486 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15487 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15488 esac
15492 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15493 then
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15495 $as_echo_n "checking for -lgsm... " >&6; }
15496 if ${ac_cv_lib_soname_gsm+:} false; then :
15497 $as_echo_n "(cached) " >&6
15498 else
15499 ac_check_soname_save_LIBS=$LIBS
15500 LIBS="-lgsm $LIBS"
15501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h. */
15504 /* Override any GCC internal prototype to avoid an error.
15505 Use char because int might match the return type of a GCC
15506 builtin and then its argument prototype would still apply. */
15507 #ifdef __cplusplus
15508 extern "C"
15509 #endif
15510 char gsm_create ();
15512 main ()
15514 return gsm_create ();
15516 return 0;
15518 _ACEOF
15519 if ac_fn_c_try_link "$LINENO"; then :
15520 case "$LIBEXT" in
15521 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15522 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15523 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15524 if ${ac_cv_lib_soname_gsm:+false} :; then :
15525 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15526 fi ;;
15527 esac
15528 else
15529 ac_cv_lib_soname_gsm=
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15533 LIBS=$ac_check_soname_save_LIBS
15535 if ${ac_cv_lib_soname_gsm:+false} :; then :
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15537 $as_echo "not found" >&6; }
15539 else
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15541 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15543 cat >>confdefs.h <<_ACEOF
15544 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15545 _ACEOF
15550 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15551 case "x$with_gsm" in
15552 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15553 xno) ;;
15554 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15555 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15556 esac
15560 if test "x$with_krb5" != "xno"
15561 then
15562 if ${KRB5_CFLAGS:+false} :; then :
15563 if ${PKG_CONFIG+:} false; then :
15564 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15567 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15568 if ${KRB5_LIBS:+false} :; then :
15569 if ${PKG_CONFIG+:} false; then :
15570 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15573 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15575 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15576 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15577 ac_save_CPPFLAGS=$CPPFLAGS
15578 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15579 for ac_header in krb5/krb5.h
15580 do :
15581 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15582 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15583 cat >>confdefs.h <<_ACEOF
15584 #define HAVE_KRB5_KRB5_H 1
15585 _ACEOF
15589 done
15591 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15592 then
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15594 $as_echo_n "checking for -lkrb5... " >&6; }
15595 if ${ac_cv_lib_soname_krb5+:} false; then :
15596 $as_echo_n "(cached) " >&6
15597 else
15598 ac_check_soname_save_LIBS=$LIBS
15599 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15601 /* end confdefs.h. */
15603 /* Override any GCC internal prototype to avoid an error.
15604 Use char because int might match the return type of a GCC
15605 builtin and then its argument prototype would still apply. */
15606 #ifdef __cplusplus
15607 extern "C"
15608 #endif
15609 char krb5_is_config_principal ();
15611 main ()
15613 return krb5_is_config_principal ();
15615 return 0;
15617 _ACEOF
15618 if ac_fn_c_try_link "$LINENO"; then :
15619 case "$LIBEXT" in
15620 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15621 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'` ;;
15622 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15623 if ${ac_cv_lib_soname_krb5:+false} :; then :
15624 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15625 fi ;;
15626 esac
15627 else
15628 ac_cv_lib_soname_krb5=
15630 rm -f core conftest.err conftest.$ac_objext \
15631 conftest$ac_exeext conftest.$ac_ext
15632 LIBS=$ac_check_soname_save_LIBS
15634 if ${ac_cv_lib_soname_krb5:+false} :; then :
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15636 $as_echo "not found" >&6; }
15637 KRB5_CFLAGS=""
15638 else
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15640 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15642 cat >>confdefs.h <<_ACEOF
15643 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15644 _ACEOF
15648 else
15649 KRB5_CFLAGS=""
15651 CPPFLAGS=$ac_save_CPPFLAGS
15654 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15655 case "x$with_krb5" in
15656 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15657 xno) ;;
15658 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15659 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15660 esac
15663 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15665 if test "x$with_gssapi" != "xno"
15666 then
15667 if ${GSSAPI_CFLAGS:+false} :; then :
15668 if ${PKG_CONFIG+:} false; then :
15669 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15672 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15673 if ${GSSAPI_LIBS:+false} :; then :
15674 if ${PKG_CONFIG+:} false; then :
15675 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15678 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15680 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15681 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15682 ac_save_CPPFLAGS=$CPPFLAGS
15683 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15684 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15685 do :
15686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15687 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15688 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15691 _ACEOF
15695 done
15697 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15698 then
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15700 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15701 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15702 $as_echo_n "(cached) " >&6
15703 else
15704 ac_check_soname_save_LIBS=$LIBS
15705 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 /* end confdefs.h. */
15709 /* Override any GCC internal prototype to avoid an error.
15710 Use char because int might match the return type of a GCC
15711 builtin and then its argument prototype would still apply. */
15712 #ifdef __cplusplus
15713 extern "C"
15714 #endif
15715 char gss_init_sec_context ();
15717 main ()
15719 return gss_init_sec_context ();
15721 return 0;
15723 _ACEOF
15724 if ac_fn_c_try_link "$LINENO"; then :
15725 case "$LIBEXT" in
15726 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15727 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'` ;;
15728 *) 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'`
15729 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15730 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15731 fi ;;
15732 esac
15733 else
15734 ac_cv_lib_soname_gssapi_krb5=
15736 rm -f core conftest.err conftest.$ac_objext \
15737 conftest$ac_exeext conftest.$ac_ext
15738 LIBS=$ac_check_soname_save_LIBS
15740 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15742 $as_echo "not found" >&6; }
15743 GSSAPI_CFLAGS=""
15744 else
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15746 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15748 cat >>confdefs.h <<_ACEOF
15749 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15750 _ACEOF
15754 else
15755 GSSAPI_CFLAGS=""
15757 CPPFLAGS=$ac_save_CPPFLAGS
15760 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15761 case "x$with_gssapi" in
15762 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15763 xno) ;;
15764 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15765 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15766 esac
15770 if test "x$with_jpeg" != "xno"
15771 then
15772 if ${JPEG_CFLAGS:+false} :; then :
15773 if ${PKG_CONFIG+:} false; then :
15774 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15778 if ${JPEG_LIBS:+false} :; then :
15779 if ${PKG_CONFIG+:} false; then :
15780 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15785 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15786 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15787 ac_save_CPPFLAGS=$CPPFLAGS
15788 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15789 for ac_header in jpeglib.h
15790 do :
15791 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15792 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_JPEGLIB_H 1
15795 _ACEOF
15799 done
15801 if test "$ac_cv_header_jpeglib_h" = "yes"
15802 then
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15804 $as_echo_n "checking for -ljpeg... " >&6; }
15805 if ${ac_cv_lib_soname_jpeg+:} false; then :
15806 $as_echo_n "(cached) " >&6
15807 else
15808 ac_check_soname_save_LIBS=$LIBS
15809 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15811 /* end confdefs.h. */
15813 /* Override any GCC internal prototype to avoid an error.
15814 Use char because int might match the return type of a GCC
15815 builtin and then its argument prototype would still apply. */
15816 #ifdef __cplusplus
15817 extern "C"
15818 #endif
15819 char jpeg_start_decompress ();
15821 main ()
15823 return jpeg_start_decompress ();
15825 return 0;
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"; then :
15829 case "$LIBEXT" in
15830 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15831 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'` ;;
15832 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15833 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15834 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15835 fi ;;
15836 esac
15837 else
15838 ac_cv_lib_soname_jpeg=
15840 rm -f core conftest.err conftest.$ac_objext \
15841 conftest$ac_exeext conftest.$ac_ext
15842 LIBS=$ac_check_soname_save_LIBS
15844 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15846 $as_echo "not found" >&6; }
15847 JPEG_CFLAGS=""
15848 else
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15850 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15852 cat >>confdefs.h <<_ACEOF
15853 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15854 _ACEOF
15858 else
15859 JPEG_CFLAGS=""
15861 CPPFLAGS=$ac_save_CPPFLAGS
15864 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15865 case "x$with_jpeg" in
15866 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15867 xno) ;;
15868 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15869 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15870 esac
15874 if test "x$with_jxrlib" != "xno"
15875 then
15876 if ${JXRLIB_CFLAGS:+false} :; then :
15877 if ${PKG_CONFIG+:} false; then :
15878 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15881 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15882 if ${JXRLIB_LIBS:+false} :; then :
15883 if ${PKG_CONFIG+:} false; then :
15884 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15889 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15890 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15891 ac_save_CPPFLAGS=$CPPFLAGS
15892 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15893 for ac_header in JXRGlue.h
15894 do :
15895 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15897 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15898 cat >>confdefs.h <<_ACEOF
15899 #define HAVE_JXRGLUE_H 1
15900 _ACEOF
15904 done
15906 if test "$ac_cv_header_JXRGlue_h" = "yes"
15907 then
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15909 $as_echo_n "checking for -ljxrglue... " >&6; }
15910 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15911 $as_echo_n "(cached) " >&6
15912 else
15913 ac_check_soname_save_LIBS=$LIBS
15914 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15916 /* end confdefs.h. */
15918 /* Override any GCC internal prototype to avoid an error.
15919 Use char because int might match the return type of a GCC
15920 builtin and then its argument prototype would still apply. */
15921 #ifdef __cplusplus
15922 extern "C"
15923 #endif
15924 char PKImageDecode_Create_WMP ();
15926 main ()
15928 return PKImageDecode_Create_WMP ();
15930 return 0;
15932 _ACEOF
15933 if ac_fn_c_try_link "$LINENO"; then :
15934 case "$LIBEXT" in
15935 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15936 dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15937 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15938 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15939 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15940 fi ;;
15941 esac
15942 else
15943 ac_cv_lib_soname_jxrglue=
15945 rm -f core conftest.err conftest.$ac_objext \
15946 conftest$ac_exeext conftest.$ac_ext
15947 LIBS=$ac_check_soname_save_LIBS
15949 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15951 $as_echo "not found" >&6; }
15952 JXRLIB_CFLAGS=""
15953 else
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
15955 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
15957 cat >>confdefs.h <<_ACEOF
15958 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
15959 _ACEOF
15963 else
15964 JXRLIB_CFLAGS=""
15966 CPPFLAGS=$ac_save_CPPFLAGS
15969 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
15970 case "x$with_jxrlib" in
15971 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
15972 xno) ;;
15973 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
15974 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
15975 esac
15979 if test "x$with_png" != "xno"
15980 then
15981 if ${PNG_CFLAGS:+false} :; then :
15982 if ${PKG_CONFIG+:} false; then :
15983 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15986 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15987 if ${PNG_LIBS:+false} :; then :
15988 if ${PKG_CONFIG+:} false; then :
15989 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15992 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15994 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15995 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15996 ac_save_CPPFLAGS=$CPPFLAGS
15997 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15998 for ac_header in png.h
15999 do :
16000 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16001 if test "x$ac_cv_header_png_h" = xyes; then :
16002 cat >>confdefs.h <<_ACEOF
16003 #define HAVE_PNG_H 1
16004 _ACEOF
16008 done
16010 if test "$ac_cv_header_png_h" = "yes"
16011 then
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16013 $as_echo_n "checking for -lpng... " >&6; }
16014 if ${ac_cv_lib_soname_png+:} false; then :
16015 $as_echo_n "(cached) " >&6
16016 else
16017 ac_check_soname_save_LIBS=$LIBS
16018 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16020 /* end confdefs.h. */
16022 /* Override any GCC internal prototype to avoid an error.
16023 Use char because int might match the return type of a GCC
16024 builtin and then its argument prototype would still apply. */
16025 #ifdef __cplusplus
16026 extern "C"
16027 #endif
16028 char png_create_read_struct ();
16030 main ()
16032 return png_create_read_struct ();
16034 return 0;
16036 _ACEOF
16037 if ac_fn_c_try_link "$LINENO"; then :
16038 case "$LIBEXT" in
16039 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16040 dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16041 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16042 if ${ac_cv_lib_soname_png:+false} :; then :
16043 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16044 fi ;;
16045 esac
16046 else
16047 ac_cv_lib_soname_png=
16049 rm -f core conftest.err conftest.$ac_objext \
16050 conftest$ac_exeext conftest.$ac_ext
16051 LIBS=$ac_check_soname_save_LIBS
16053 if ${ac_cv_lib_soname_png:+false} :; then :
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16055 $as_echo "not found" >&6; }
16056 PNG_CFLAGS=""
16057 else
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16059 $as_echo "$ac_cv_lib_soname_png" >&6; }
16061 cat >>confdefs.h <<_ACEOF
16062 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16063 _ACEOF
16067 else
16068 PNG_CFLAGS=""
16070 CPPFLAGS=$ac_save_CPPFLAGS
16073 if test "x$ac_cv_lib_soname_png" = "x"; then :
16074 case "x$with_png" in
16075 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16076 xno) ;;
16077 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16078 This is an error since --with-png was requested." "$LINENO" 5 ;;
16079 esac
16083 if test "x$with_tiff" != "xno"
16084 then
16085 if ${TIFF_CFLAGS:+false} :; then :
16086 if ${PKG_CONFIG+:} false; then :
16087 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16091 if ${TIFF_LIBS:+false} :; then :
16092 if ${PKG_CONFIG+:} false; then :
16093 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16098 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16099 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16100 ac_save_CPPFLAGS=$CPPFLAGS
16101 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16102 for ac_header in tiffio.h
16103 do :
16104 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16105 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_TIFFIO_H 1
16108 _ACEOF
16112 done
16114 if test "$ac_cv_header_tiffio_h" = "yes"
16115 then
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16117 $as_echo_n "checking for -ltiff... " >&6; }
16118 if ${ac_cv_lib_soname_tiff+:} false; then :
16119 $as_echo_n "(cached) " >&6
16120 else
16121 ac_check_soname_save_LIBS=$LIBS
16122 LIBS="-ltiff $TIFF_LIBS $LIBS"
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16126 /* Override any GCC internal prototype to avoid an error.
16127 Use char because int might match the return type of a GCC
16128 builtin and then its argument prototype would still apply. */
16129 #ifdef __cplusplus
16130 extern "C"
16131 #endif
16132 char TIFFClientOpen ();
16134 main ()
16136 return TIFFClientOpen ();
16138 return 0;
16140 _ACEOF
16141 if ac_fn_c_try_link "$LINENO"; then :
16142 case "$LIBEXT" in
16143 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16144 dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16145 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16146 if ${ac_cv_lib_soname_tiff:+false} :; then :
16147 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16148 fi ;;
16149 esac
16150 else
16151 ac_cv_lib_soname_tiff=
16153 rm -f core conftest.err conftest.$ac_objext \
16154 conftest$ac_exeext conftest.$ac_ext
16155 LIBS=$ac_check_soname_save_LIBS
16157 if ${ac_cv_lib_soname_tiff:+false} :; then :
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16159 $as_echo "not found" >&6; }
16161 else
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16163 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16165 cat >>confdefs.h <<_ACEOF
16166 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16167 _ACEOF
16172 CPPFLAGS=$ac_save_CPPFLAGS
16175 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16176 case "x$with_tiff" in
16177 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16178 xno) ;;
16179 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16180 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16181 esac
16185 if test "x$with_mpg123" != "xno"
16186 then
16187 if ${MPG123_CFLAGS:+false} :; then :
16188 if ${PKG_CONFIG+:} false; then :
16189 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16193 if ${MPG123_LIBS:+false} :; then :
16194 if ${PKG_CONFIG+:} false; then :
16195 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16199 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16200 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16201 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16202 ac_save_CPPFLAGS=$CPPFLAGS
16203 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16204 for ac_header in mpg123.h
16205 do :
16206 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16207 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_MPG123_H 1
16210 _ACEOF
16214 done
16216 if test "$ac_cv_header_mpg123_h" = "yes"
16217 then
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16219 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16220 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16221 $as_echo_n "(cached) " >&6
16222 else
16223 ac_check_lib_save_LIBS=$LIBS
16224 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16226 /* end confdefs.h. */
16228 /* Override any GCC internal prototype to avoid an error.
16229 Use char because int might match the return type of a GCC
16230 builtin and then its argument prototype would still apply. */
16231 #ifdef __cplusplus
16232 extern "C"
16233 #endif
16234 char mpg123_feed ();
16236 main ()
16238 return mpg123_feed ();
16240 return 0;
16242 _ACEOF
16243 if ac_fn_c_try_link "$LINENO"; then :
16244 ac_cv_lib_mpg123_mpg123_feed=yes
16245 else
16246 ac_cv_lib_mpg123_mpg123_feed=no
16248 rm -f core conftest.err conftest.$ac_objext \
16249 conftest$ac_exeext conftest.$ac_ext
16250 LIBS=$ac_check_lib_save_LIBS
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16253 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16254 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16256 else
16257 MPG123_LIBS=""
16260 else
16261 MPG123_CFLAGS=""
16262 MPG123_LIBS=""
16264 CPPFLAGS=$ac_save_CPPFLAGS
16267 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16268 case "x$with_mpg123" in
16269 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16270 xno) ;;
16271 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16272 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16273 esac
16274 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16276 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16278 if test "$ac_cv_header_AL_al_h" = "yes"
16279 then
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16281 $as_echo_n "checking for -lopenal... " >&6; }
16282 if ${ac_cv_lib_soname_openal+:} false; then :
16283 $as_echo_n "(cached) " >&6
16284 else
16285 ac_check_soname_save_LIBS=$LIBS
16286 LIBS="-lopenal $LIBS"
16287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16290 /* Override any GCC internal prototype to avoid an error.
16291 Use char because int might match the return type of a GCC
16292 builtin and then its argument prototype would still apply. */
16293 #ifdef __cplusplus
16294 extern "C"
16295 #endif
16296 char alGetSource3i ();
16298 main ()
16300 return alGetSource3i ();
16302 return 0;
16304 _ACEOF
16305 if ac_fn_c_try_link "$LINENO"; then :
16306 case "$LIBEXT" in
16307 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16308 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'` ;;
16309 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16310 if ${ac_cv_lib_soname_openal:+false} :; then :
16311 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16312 fi ;;
16313 esac
16314 else
16315 ac_cv_lib_soname_openal=
16317 rm -f core conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16319 LIBS=$ac_check_soname_save_LIBS
16321 if ${ac_cv_lib_soname_openal:+false} :; then :
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16323 $as_echo "not found" >&6; }
16325 else
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16327 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16329 cat >>confdefs.h <<_ACEOF
16330 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16331 _ACEOF
16333 OPENAL_LIBS="-lopenal"
16335 ac_cv_lib_openal=yes
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_OPENAL 1
16339 _ACEOF
16343 if test "x$ac_cv_lib_openal" != xyes; then :
16344 case "x$with_openal" in
16345 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16346 xno) ;;
16347 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16348 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16349 esac
16350 enable_openal32=${enable_openal32:-no}
16353 if test "x$ac_cv_lib_soname_FAudio" = "x"
16354 then
16355 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16356 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16357 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16358 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16359 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16360 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16361 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16362 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16363 enable_xactengine3_0=${enable_xactengine3_0:-no}
16364 enable_xactengine3_1=${enable_xactengine3_1:-no}
16365 enable_xactengine3_2=${enable_xactengine3_2:-no}
16366 enable_xactengine3_3=${enable_xactengine3_3:-no}
16367 enable_xactengine3_4=${enable_xactengine3_4:-no}
16368 enable_xactengine3_5=${enable_xactengine3_5:-no}
16369 enable_xactengine3_6=${enable_xactengine3_6:-no}
16370 enable_xactengine3_7=${enable_xactengine3_7:-no}
16371 enable_xapofx1_1=${enable_xapofx1_1:-no}
16372 enable_xapofx1_2=${enable_xapofx1_2:-no}
16373 enable_xapofx1_3=${enable_xapofx1_3:-no}
16374 enable_xapofx1_4=${enable_xapofx1_4:-no}
16375 enable_xapofx1_5=${enable_xapofx1_5:-no}
16376 enable_xaudio2_0=${enable_xaudio2_0:-no}
16377 enable_xaudio2_1=${enable_xaudio2_1:-no}
16378 enable_xaudio2_2=${enable_xaudio2_2:-no}
16379 enable_xaudio2_3=${enable_xaudio2_3:-no}
16380 enable_xaudio2_4=${enable_xaudio2_4:-no}
16381 enable_xaudio2_5=${enable_xaudio2_5:-no}
16382 enable_xaudio2_6=${enable_xaudio2_6:-no}
16383 enable_xaudio2_7=${enable_xaudio2_7:-no}
16384 enable_xaudio2_8=${enable_xaudio2_8:-no}
16385 enable_xaudio2_9=${enable_xaudio2_9:-no}
16388 if test "$ac_cv_header_kstat_h" = "yes"
16389 then
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16391 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16392 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16393 $as_echo_n "(cached) " >&6
16394 else
16395 ac_check_lib_save_LIBS=$LIBS
16396 LIBS="-lkstat $LIBS"
16397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16398 /* end confdefs.h. */
16400 /* Override any GCC internal prototype to avoid an error.
16401 Use char because int might match the return type of a GCC
16402 builtin and then its argument prototype would still apply. */
16403 #ifdef __cplusplus
16404 extern "C"
16405 #endif
16406 char kstat_open ();
16408 main ()
16410 return kstat_open ();
16412 return 0;
16414 _ACEOF
16415 if ac_fn_c_try_link "$LINENO"; then :
16416 ac_cv_lib_kstat_kstat_open=yes
16417 else
16418 ac_cv_lib_kstat_kstat_open=no
16420 rm -f core conftest.err conftest.$ac_objext \
16421 conftest$ac_exeext conftest.$ac_ext
16422 LIBS=$ac_check_lib_save_LIBS
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16425 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16426 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16428 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16430 KSTAT_LIBS="-lkstat"
16436 if test "$ac_cv_header_libprocstat_h" = "yes"
16437 then
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16439 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16440 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16441 $as_echo_n "(cached) " >&6
16442 else
16443 ac_check_lib_save_LIBS=$LIBS
16444 LIBS="-lprocstat $LIBS"
16445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16448 /* Override any GCC internal prototype to avoid an error.
16449 Use char because int might match the return type of a GCC
16450 builtin and then its argument prototype would still apply. */
16451 #ifdef __cplusplus
16452 extern "C"
16453 #endif
16454 char procstat_open_sysctl ();
16456 main ()
16458 return procstat_open_sysctl ();
16460 return 0;
16462 _ACEOF
16463 if ac_fn_c_try_link "$LINENO"; then :
16464 ac_cv_lib_procstat_procstat_open_sysctl=yes
16465 else
16466 ac_cv_lib_procstat_procstat_open_sysctl=no
16468 rm -f core conftest.err conftest.$ac_objext \
16469 conftest$ac_exeext conftest.$ac_ext
16470 LIBS=$ac_check_lib_save_LIBS
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16473 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16474 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16476 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16478 PROCSTAT_LIBS="-lprocstat"
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16485 $as_echo_n "checking for -lodbc... " >&6; }
16486 if ${ac_cv_lib_soname_odbc+:} false; then :
16487 $as_echo_n "(cached) " >&6
16488 else
16489 ac_check_soname_save_LIBS=$LIBS
16490 LIBS="-lodbc $LIBS"
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16494 /* Override any GCC internal prototype to avoid an error.
16495 Use char because int might match the return type of a GCC
16496 builtin and then its argument prototype would still apply. */
16497 #ifdef __cplusplus
16498 extern "C"
16499 #endif
16500 char SQLConnect ();
16502 main ()
16504 return SQLConnect ();
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"; then :
16510 case "$LIBEXT" in
16511 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16512 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'` ;;
16513 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16514 if ${ac_cv_lib_soname_odbc:+false} :; then :
16515 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16516 fi ;;
16517 esac
16518 else
16519 ac_cv_lib_soname_odbc=
16521 rm -f core conftest.err conftest.$ac_objext \
16522 conftest$ac_exeext conftest.$ac_ext
16523 LIBS=$ac_check_soname_save_LIBS
16525 if ${ac_cv_lib_soname_odbc:+false} :; then :
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16527 $as_echo "not found" >&6; }
16528 cat >>confdefs.h <<_ACEOF
16529 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16530 _ACEOF
16532 else
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16534 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16536 cat >>confdefs.h <<_ACEOF
16537 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16538 _ACEOF
16543 if test "x$with_netapi" != "xno"
16544 then
16545 if ${NETAPI_CFLAGS:+false} :; then :
16546 if ${PKG_CONFIG+:} false; then :
16547 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16551 if ${NETAPI_LIBS:+false} :; then :
16552 if ${PKG_CONFIG+:} false; then :
16553 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16558 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16559 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16560 ac_save_CPPFLAGS=$CPPFLAGS
16561 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16563 $as_echo_n "checking for -lnetapi... " >&6; }
16564 if ${ac_cv_lib_soname_netapi+:} false; then :
16565 $as_echo_n "(cached) " >&6
16566 else
16567 ac_check_soname_save_LIBS=$LIBS
16568 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16572 /* Override any GCC internal prototype to avoid an error.
16573 Use char because int might match the return type of a GCC
16574 builtin and then its argument prototype would still apply. */
16575 #ifdef __cplusplus
16576 extern "C"
16577 #endif
16578 char libnetapi_init ();
16580 main ()
16582 return libnetapi_init ();
16584 return 0;
16586 _ACEOF
16587 if ac_fn_c_try_link "$LINENO"; then :
16588 case "$LIBEXT" in
16589 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16590 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'` ;;
16591 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16592 if ${ac_cv_lib_soname_netapi:+false} :; then :
16593 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16594 fi ;;
16595 esac
16596 else
16597 ac_cv_lib_soname_netapi=
16599 rm -f core conftest.err conftest.$ac_objext \
16600 conftest$ac_exeext conftest.$ac_ext
16601 LIBS=$ac_check_soname_save_LIBS
16603 if ${ac_cv_lib_soname_netapi:+false} :; then :
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16605 $as_echo "not found" >&6; }
16606 cat >>confdefs.h <<_ACEOF
16607 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16608 _ACEOF
16610 else
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16612 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16614 cat >>confdefs.h <<_ACEOF
16615 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16616 _ACEOF
16620 CPPFLAGS=$ac_save_CPPFLAGS
16624 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16625 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16626 then
16627 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16630 if test "x$with_vulkan" != "xno"
16631 then
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16633 $as_echo_n "checking for -lvulkan... " >&6; }
16634 if ${ac_cv_lib_soname_vulkan+:} false; then :
16635 $as_echo_n "(cached) " >&6
16636 else
16637 ac_check_soname_save_LIBS=$LIBS
16638 LIBS="-lvulkan $LIBS"
16639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16642 /* Override any GCC internal prototype to avoid an error.
16643 Use char because int might match the return type of a GCC
16644 builtin and then its argument prototype would still apply. */
16645 #ifdef __cplusplus
16646 extern "C"
16647 #endif
16648 char vkGetInstanceProcAddr ();
16650 main ()
16652 return vkGetInstanceProcAddr ();
16654 return 0;
16656 _ACEOF
16657 if ac_fn_c_try_link "$LINENO"; then :
16658 case "$LIBEXT" in
16659 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16660 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'` ;;
16661 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16662 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16663 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16664 fi ;;
16665 esac
16666 else
16667 ac_cv_lib_soname_vulkan=
16669 rm -f core conftest.err conftest.$ac_objext \
16670 conftest$ac_exeext conftest.$ac_ext
16671 LIBS=$ac_check_soname_save_LIBS
16673 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16675 $as_echo "not found" >&6; }
16677 else
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16679 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16681 cat >>confdefs.h <<_ACEOF
16682 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16683 _ACEOF
16687 if test "x$ac_cv_lib_soname_vulkan" = "x"
16688 then
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16690 $as_echo_n "checking for -lMoltenVK... " >&6; }
16691 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16692 $as_echo_n "(cached) " >&6
16693 else
16694 ac_check_soname_save_LIBS=$LIBS
16695 LIBS="-lMoltenVK $LIBS"
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16699 /* Override any GCC internal prototype to avoid an error.
16700 Use char because int might match the return type of a GCC
16701 builtin and then its argument prototype would still apply. */
16702 #ifdef __cplusplus
16703 extern "C"
16704 #endif
16705 char vkGetInstanceProcAddr ();
16707 main ()
16709 return vkGetInstanceProcAddr ();
16711 return 0;
16713 _ACEOF
16714 if ac_fn_c_try_link "$LINENO"; then :
16715 case "$LIBEXT" in
16716 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16717 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'` ;;
16718 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16719 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16720 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16721 fi ;;
16722 esac
16723 else
16724 ac_cv_lib_soname_MoltenVK=
16726 rm -f core conftest.err conftest.$ac_objext \
16727 conftest$ac_exeext conftest.$ac_ext
16728 LIBS=$ac_check_soname_save_LIBS
16730 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16732 $as_echo "not found" >&6; }
16734 else
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16736 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16738 cat >>confdefs.h <<_ACEOF
16739 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16740 _ACEOF
16746 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16747 case "x$with_vulkan" in
16748 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16749 xno) ;;
16750 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16751 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16752 esac
16756 if test "x$with_vkd3d" != "xno"
16757 then
16758 if ${VKD3D_CFLAGS:+false} :; then :
16759 if ${PKG_CONFIG+:} false; then :
16760 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16764 if ${VKD3D_LIBS:+false} :; then :
16765 if ${PKG_CONFIG+:} false; then :
16766 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16771 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16772 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16773 ac_save_CPPFLAGS=$CPPFLAGS
16774 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16776 $as_echo_n "checking for -lvkd3d... " >&6; }
16777 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780 ac_check_soname_save_LIBS=$LIBS
16781 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h. */
16785 /* Override any GCC internal prototype to avoid an error.
16786 Use char because int might match the return type of a GCC
16787 builtin and then its argument prototype would still apply. */
16788 #ifdef __cplusplus
16789 extern "C"
16790 #endif
16791 char vkd3d_serialize_versioned_root_signature ();
16793 main ()
16795 return vkd3d_serialize_versioned_root_signature ();
16797 return 0;
16799 _ACEOF
16800 if ac_fn_c_try_link "$LINENO"; then :
16801 case "$LIBEXT" in
16802 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16803 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'` ;;
16804 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16805 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16806 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16807 fi ;;
16808 esac
16809 else
16810 ac_cv_lib_soname_vkd3d=
16812 rm -f core conftest.err conftest.$ac_objext \
16813 conftest$ac_exeext conftest.$ac_ext
16814 LIBS=$ac_check_soname_save_LIBS
16816 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16818 $as_echo "not found" >&6; }
16820 else
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16822 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16824 cat >>confdefs.h <<_ACEOF
16825 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16826 _ACEOF
16830 CPPFLAGS=$ac_save_CPPFLAGS
16832 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16833 if ${PKG_CONFIG+:} false; then :
16834 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16838 if ${VKD3D_SHADER_LIBS:+false} :; then :
16839 if ${PKG_CONFIG+:} false; then :
16840 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16845 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16846 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16847 ac_save_CPPFLAGS=$CPPFLAGS
16848 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16850 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16851 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16852 $as_echo_n "(cached) " >&6
16853 else
16854 ac_check_soname_save_LIBS=$LIBS
16855 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16859 /* Override any GCC internal prototype to avoid an error.
16860 Use char because int might match the return type of a GCC
16861 builtin and then its argument prototype would still apply. */
16862 #ifdef __cplusplus
16863 extern "C"
16864 #endif
16865 char vkd3d_shader_compile ();
16867 main ()
16869 return vkd3d_shader_compile ();
16871 return 0;
16873 _ACEOF
16874 if ac_fn_c_try_link "$LINENO"; then :
16875 case "$LIBEXT" in
16876 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16877 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'` ;;
16878 *) 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'`
16879 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16880 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16881 fi ;;
16882 esac
16883 else
16884 ac_cv_lib_soname_vkd3d_shader=
16886 rm -f core conftest.err conftest.$ac_objext \
16887 conftest$ac_exeext conftest.$ac_ext
16888 LIBS=$ac_check_soname_save_LIBS
16890 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16892 $as_echo "not found" >&6; }
16894 else
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16896 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16898 cat >>confdefs.h <<_ACEOF
16899 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16900 _ACEOF
16904 CPPFLAGS=$ac_save_CPPFLAGS
16907 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16908 case "x$with_vkd3d" in
16909 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16910 xno) ;;
16911 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16912 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16913 esac
16916 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16919 EXTRACFLAGS=""
16921 if test "x${GCC}" = "xyes"
16922 then
16923 EXTRACFLAGS="-Wall -pipe"
16925 saved_CFLAGS=$CFLAGS
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16927 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16928 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16929 $as_echo_n "(cached) " >&6
16930 else
16931 ac_wine_try_cflags_saved=$CFLAGS
16932 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 int main(int argc, char **argv) { return 0; }
16936 _ACEOF
16937 if ac_fn_c_try_link "$LINENO"; then :
16938 ac_cv_cflags__Werror_unknown_warning_option=yes
16939 else
16940 ac_cv_cflags__Werror_unknown_warning_option=no
16942 rm -f core conftest.err conftest.$ac_objext \
16943 conftest$ac_exeext conftest.$ac_ext
16944 CFLAGS=$ac_wine_try_cflags_saved
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16947 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16948 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16949 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16952 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16953 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16954 $as_echo_n "(cached) " >&6
16955 else
16956 ac_wine_try_cflags_saved=$CFLAGS
16957 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 int main(int argc, char **argv) { return 0; }
16961 _ACEOF
16962 if ac_fn_c_try_link "$LINENO"; then :
16963 ac_cv_cflags__Werror_unused_command_line_argument=yes
16964 else
16965 ac_cv_cflags__Werror_unused_command_line_argument=no
16967 rm -f core conftest.err conftest.$ac_objext \
16968 conftest$ac_exeext conftest.$ac_ext
16969 CFLAGS=$ac_wine_try_cflags_saved
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16972 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16973 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16974 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16977 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16978 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16981 ac_wine_try_cflags_saved=$CFLAGS
16982 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 int main(int argc, char **argv) { return 0; }
16986 _ACEOF
16987 if ac_fn_c_try_link "$LINENO"; then :
16988 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16989 else
16990 ac_cv_cflags__Werror_ignored_optimization_argument=no
16992 rm -f core conftest.err conftest.$ac_objext \
16993 conftest$ac_exeext conftest.$ac_ext
16994 CFLAGS=$ac_wine_try_cflags_saved
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16997 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16998 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16999 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17002 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17003 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17004 $as_echo_n "(cached) " >&6
17005 else
17006 ac_wine_try_cflags_saved=$CFLAGS
17007 CFLAGS="$CFLAGS -fcf-protection=none"
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 int main(int argc, char **argv) { return 0; }
17011 _ACEOF
17012 if ac_fn_c_try_link "$LINENO"; then :
17013 ac_cv_cflags__fcf_protection_none=yes
17014 else
17015 ac_cv_cflags__fcf_protection_none=no
17017 rm -f core conftest.err conftest.$ac_objext \
17018 conftest$ac_exeext conftest.$ac_ext
17019 CFLAGS=$ac_wine_try_cflags_saved
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17022 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17023 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17024 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17027 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17028 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17029 $as_echo_n "(cached) " >&6
17030 else
17031 ac_wine_try_cflags_saved=$CFLAGS
17032 CFLAGS="$CFLAGS -fno-stack-protector"
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 int main(int argc, char **argv) { return 0; }
17036 _ACEOF
17037 if ac_fn_c_try_link "$LINENO"; then :
17038 ac_cv_cflags__fno_stack_protector=yes
17039 else
17040 ac_cv_cflags__fno_stack_protector=no
17042 rm -f core conftest.err conftest.$ac_objext \
17043 conftest$ac_exeext conftest.$ac_ext
17044 CFLAGS=$ac_wine_try_cflags_saved
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17047 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17048 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17049 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17052 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17053 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 ac_wine_try_cflags_saved=$CFLAGS
17057 CFLAGS="$CFLAGS -fno-strict-aliasing"
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17060 int main(int argc, char **argv) { return 0; }
17061 _ACEOF
17062 if ac_fn_c_try_link "$LINENO"; then :
17063 ac_cv_cflags__fno_strict_aliasing=yes
17064 else
17065 ac_cv_cflags__fno_strict_aliasing=no
17067 rm -f core conftest.err conftest.$ac_objext \
17068 conftest$ac_exeext conftest.$ac_ext
17069 CFLAGS=$ac_wine_try_cflags_saved
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17072 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17073 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17074 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17077 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17078 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17079 $as_echo_n "(cached) " >&6
17080 else
17081 ac_wine_try_cflags_saved=$CFLAGS
17082 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 int main(int argc, char **argv) { return 0; }
17086 _ACEOF
17087 if ac_fn_c_try_link "$LINENO"; then :
17088 ac_cv_cflags__Wdeclaration_after_statement=yes
17089 else
17090 ac_cv_cflags__Wdeclaration_after_statement=no
17092 rm -f core conftest.err conftest.$ac_objext \
17093 conftest$ac_exeext conftest.$ac_ext
17094 CFLAGS=$ac_wine_try_cflags_saved
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17097 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17098 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17099 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17102 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17103 if ${ac_cv_cflags__Wempty_body+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 ac_wine_try_cflags_saved=$CFLAGS
17107 CFLAGS="$CFLAGS -Wempty-body"
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 int main(int argc, char **argv) { return 0; }
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_cflags__Wempty_body=yes
17114 else
17115 ac_cv_cflags__Wempty_body=no
17117 rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17119 CFLAGS=$ac_wine_try_cflags_saved
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17122 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17123 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17124 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17127 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17128 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17129 $as_echo_n "(cached) " >&6
17130 else
17131 ac_wine_try_cflags_saved=$CFLAGS
17132 CFLAGS="$CFLAGS -Wignored-qualifiers"
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 int main(int argc, char **argv) { return 0; }
17136 _ACEOF
17137 if ac_fn_c_try_link "$LINENO"; then :
17138 ac_cv_cflags__Wignored_qualifiers=yes
17139 else
17140 ac_cv_cflags__Wignored_qualifiers=no
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 CFLAGS=$ac_wine_try_cflags_saved
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17147 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17148 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17149 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17152 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17153 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17154 $as_echo_n "(cached) " >&6
17155 else
17156 ac_wine_try_cflags_saved=$CFLAGS
17157 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 int main(int argc, char **argv) { return 0; }
17161 _ACEOF
17162 if ac_fn_c_try_link "$LINENO"; then :
17163 ac_cv_cflags__Wpacked_not_aligned=yes
17164 else
17165 ac_cv_cflags__Wpacked_not_aligned=no
17167 rm -f core conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext conftest.$ac_ext
17169 CFLAGS=$ac_wine_try_cflags_saved
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17172 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17173 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17174 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17177 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17178 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 ac_wine_try_cflags_saved=$CFLAGS
17182 CFLAGS="$CFLAGS -Wpragma-pack"
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17185 int main(int argc, char **argv) { return 0; }
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_cflags__Wpragma_pack=yes
17189 else
17190 ac_cv_cflags__Wpragma_pack=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 CFLAGS=$ac_wine_try_cflags_saved
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17197 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17198 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17199 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17202 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17203 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 ac_wine_try_cflags_saved=$CFLAGS
17207 CFLAGS="$CFLAGS -Wshift-overflow=2"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 int main(int argc, char **argv) { return 0; }
17211 _ACEOF
17212 if ac_fn_c_try_link "$LINENO"; then :
17213 ac_cv_cflags__Wshift_overflow_2=yes
17214 else
17215 ac_cv_cflags__Wshift_overflow_2=no
17217 rm -f core conftest.err conftest.$ac_objext \
17218 conftest$ac_exeext conftest.$ac_ext
17219 CFLAGS=$ac_wine_try_cflags_saved
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17222 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17223 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17224 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17227 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17228 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 ac_wine_try_cflags_saved=$CFLAGS
17232 CFLAGS="$CFLAGS -Wstrict-prototypes"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 int main(int argc, char **argv) { return 0; }
17236 _ACEOF
17237 if ac_fn_c_try_link "$LINENO"; then :
17238 ac_cv_cflags__Wstrict_prototypes=yes
17239 else
17240 ac_cv_cflags__Wstrict_prototypes=no
17242 rm -f core conftest.err conftest.$ac_objext \
17243 conftest$ac_exeext conftest.$ac_ext
17244 CFLAGS=$ac_wine_try_cflags_saved
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17247 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17248 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17249 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17252 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17253 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_wine_try_cflags_saved=$CFLAGS
17257 CFLAGS="$CFLAGS -Wtype-limits"
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 int main(int argc, char **argv) { return 0; }
17261 _ACEOF
17262 if ac_fn_c_try_link "$LINENO"; then :
17263 ac_cv_cflags__Wtype_limits=yes
17264 else
17265 ac_cv_cflags__Wtype_limits=no
17267 rm -f core conftest.err conftest.$ac_objext \
17268 conftest$ac_exeext conftest.$ac_ext
17269 CFLAGS=$ac_wine_try_cflags_saved
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17272 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17273 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17274 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17277 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17278 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17279 $as_echo_n "(cached) " >&6
17280 else
17281 ac_wine_try_cflags_saved=$CFLAGS
17282 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17285 int main(int argc, char **argv) { return 0; }
17286 _ACEOF
17287 if ac_fn_c_try_link "$LINENO"; then :
17288 ac_cv_cflags__Wunused_but_set_parameter=yes
17289 else
17290 ac_cv_cflags__Wunused_but_set_parameter=no
17292 rm -f core conftest.err conftest.$ac_objext \
17293 conftest$ac_exeext conftest.$ac_ext
17294 CFLAGS=$ac_wine_try_cflags_saved
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17297 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17298 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17299 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17302 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17303 if ${ac_cv_cflags__Wvla+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 ac_wine_try_cflags_saved=$CFLAGS
17307 CFLAGS="$CFLAGS -Wvla"
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 int main(int argc, char **argv) { return 0; }
17311 _ACEOF
17312 if ac_fn_c_try_link "$LINENO"; then :
17313 ac_cv_cflags__Wvla=yes
17314 else
17315 ac_cv_cflags__Wvla=no
17317 rm -f core conftest.err conftest.$ac_objext \
17318 conftest$ac_exeext conftest.$ac_ext
17319 CFLAGS=$ac_wine_try_cflags_saved
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17322 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17323 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17324 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17327 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17328 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 ac_wine_try_cflags_saved=$CFLAGS
17332 CFLAGS="$CFLAGS -Wwrite-strings"
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 int main(int argc, char **argv) { return 0; }
17336 _ACEOF
17337 if ac_fn_c_try_link "$LINENO"; then :
17338 ac_cv_cflags__Wwrite_strings=yes
17339 else
17340 ac_cv_cflags__Wwrite_strings=no
17342 rm -f core conftest.err conftest.$ac_objext \
17343 conftest$ac_exeext conftest.$ac_ext
17344 CFLAGS=$ac_wine_try_cflags_saved
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17347 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17348 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17349 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17352 if test -z "$CROSSTARGET"
17353 then
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17355 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17356 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17357 $as_echo_n "(cached) " >&6
17358 else
17359 ac_wine_try_cflags_saved=$CFLAGS
17360 CFLAGS="$CFLAGS -fexcess-precision=standard"
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17363 int main(int argc, char **argv) { return 0; }
17364 _ACEOF
17365 if ac_fn_c_try_link "$LINENO"; then :
17366 ac_cv_cflags__fexcess_precision_standard=yes
17367 else
17368 ac_cv_cflags__fexcess_precision_standard=no
17370 rm -f core conftest.err conftest.$ac_objext \
17371 conftest$ac_exeext conftest.$ac_ext
17372 CFLAGS=$ac_wine_try_cflags_saved
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17375 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17376 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17377 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17383 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17384 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 ac_wine_try_cflags_saved=$CFLAGS
17388 CFLAGS="$CFLAGS -Wpointer-arith"
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 int main(int argc, char **argv) { return 0; }
17392 _ACEOF
17393 if ac_fn_c_try_link "$LINENO"; then :
17394 ac_cv_cflags__Wpointer_arith=yes
17395 else
17396 ac_cv_cflags__Wpointer_arith=no
17398 rm -f core conftest.err conftest.$ac_objext \
17399 conftest$ac_exeext conftest.$ac_ext
17400 CFLAGS=$ac_wine_try_cflags_saved
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17403 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17404 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17405 saved_string_h_CFLAGS=$CFLAGS
17406 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17408 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17409 if ${ac_cv_c_string_h_warnings+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 #include <string.h>
17416 main ()
17420 return 0;
17422 _ACEOF
17423 if ac_fn_c_try_compile "$LINENO"; then :
17424 ac_cv_c_string_h_warnings=no
17425 else
17426 ac_cv_c_string_h_warnings=yes
17428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17431 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17432 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17433 CFLAGS=$saved_string_h_CFLAGS
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17437 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17438 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17439 $as_echo_n "(cached) " >&6
17440 else
17441 ac_wine_try_cflags_saved=$CFLAGS
17442 CFLAGS="$CFLAGS -Wlogical-op"
17443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h. */
17445 int main(int argc, char **argv) { return 0; }
17446 _ACEOF
17447 if ac_fn_c_try_link "$LINENO"; then :
17448 ac_cv_cflags__Wlogical_op=yes
17449 else
17450 ac_cv_cflags__Wlogical_op=no
17452 rm -f core conftest.err conftest.$ac_objext \
17453 conftest$ac_exeext conftest.$ac_ext
17454 CFLAGS=$ac_wine_try_cflags_saved
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17457 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17458 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17459 saved_string_h_CFLAGS=$CFLAGS
17460 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17462 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17463 if ${ac_cv_c_logicalop_noisy+:} false; then :
17464 $as_echo_n "(cached) " >&6
17465 else
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17468 #include <string.h>
17469 char*f(const char *h,char n) {return strchr(h,n);}
17471 main ()
17475 return 0;
17477 _ACEOF
17478 if ac_fn_c_try_compile "$LINENO"; then :
17479 ac_cv_c_logicalop_noisy=no
17480 else
17481 ac_cv_c_logicalop_noisy=yes
17483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17486 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17487 CFLAGS=$saved_string_h_CFLAGS
17488 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17492 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17493 if ${wine_cv_64bit_compare_swap+:} false; then :
17494 $as_echo_n "(cached) " >&6
17495 else
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17499 #error no
17500 #endif
17502 main ()
17506 return 0;
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510 wine_cv_64bit_compare_swap="none needed"
17511 else
17512 case $host_cpu in
17513 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17514 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17515 *) wine_cv_64bit_compare_swap="unknown" ;;
17516 esac
17517 if test "x$wine_cv_64bit_compare_swap" != xunknown
17518 then
17519 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17522 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17523 #error no
17524 #endif
17526 main ()
17530 return 0;
17532 _ACEOF
17533 if ac_fn_c_try_compile "$LINENO"; then :
17535 else
17536 wine_cv_64bit_compare_swap="unknown"
17538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17539 CFLAGS=$saved_CFLAGS
17542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17545 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17546 case "$wine_cv_64bit_compare_swap" in
17547 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17548 "none needed") ;;
17549 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17550 esac
17552 for ac_flag in $CFLAGS; do
17553 case $ac_flag in
17554 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17555 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17556 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 ac_wine_try_cflags_saved=$CFLAGS
17560 CFLAGS="$CFLAGS -gdwarf-2"
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 int main(int argc, char **argv) { return 0; }
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_cflags__gdwarf_2=yes
17567 else
17568 ac_cv_cflags__gdwarf_2=no
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17572 CFLAGS=$ac_wine_try_cflags_saved
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17575 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17576 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17577 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17580 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17581 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584 ac_wine_try_cflags_saved=$CFLAGS
17585 CFLAGS="$CFLAGS -gstrict-dwarf"
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 int main(int argc, char **argv) { return 0; }
17589 _ACEOF
17590 if ac_fn_c_try_link "$LINENO"; then :
17591 ac_cv_cflags__gstrict_dwarf=yes
17592 else
17593 ac_cv_cflags__gstrict_dwarf=no
17595 rm -f core conftest.err conftest.$ac_objext \
17596 conftest$ac_exeext conftest.$ac_ext
17597 CFLAGS=$ac_wine_try_cflags_saved
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17600 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17601 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17602 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17603 fi ;;
17604 esac
17605 done
17607 MSVCRTFLAGS=""
17609 case $host_os in
17610 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17611 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17612 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 ac_wine_try_cflags_saved=$CFLAGS
17616 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 int main(int argc, char **argv) { return 0; }
17620 _ACEOF
17621 if ac_fn_c_try_link "$LINENO"; then :
17622 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17623 else
17624 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17626 rm -f core conftest.err conftest.$ac_objext \
17627 conftest$ac_exeext conftest.$ac_ext
17628 CFLAGS=$ac_wine_try_cflags_saved
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17631 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17632 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17633 DELAYLOADFLAG="-Wl,-delayload,"
17635 fi ;;
17636 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17637 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17638 if ${ac_cv_cflags__fno_builtin+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641 ac_wine_try_cflags_saved=$CFLAGS
17642 CFLAGS="$CFLAGS -fno-builtin"
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 int main(int argc, char **argv) { return 0; }
17646 _ACEOF
17647 if ac_fn_c_try_link "$LINENO"; then :
17648 ac_cv_cflags__fno_builtin=yes
17649 else
17650 ac_cv_cflags__fno_builtin=no
17652 rm -f core conftest.err conftest.$ac_objext \
17653 conftest$ac_exeext conftest.$ac_ext
17654 CFLAGS=$ac_wine_try_cflags_saved
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17657 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17658 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17659 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17662 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17663 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17666 ac_wine_try_cflags_saved=$CFLAGS
17667 CFLAGS="$CFLAGS -fshort-wchar"
17668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17670 int main(int argc, char **argv) { return 0; }
17671 _ACEOF
17672 if ac_fn_c_try_link "$LINENO"; then :
17673 ac_cv_cflags__fshort_wchar=yes
17674 else
17675 ac_cv_cflags__fshort_wchar=no
17677 rm -f core conftest.err conftest.$ac_objext \
17678 conftest$ac_exeext conftest.$ac_ext
17679 CFLAGS=$ac_wine_try_cflags_saved
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17682 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17683 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17684 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17685 fi ;;
17686 esac
17688 case $host_cpu in
17689 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17690 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17691 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17692 $as_echo_n "(cached) " >&6
17693 else
17694 ac_wine_try_cflags_saved=$CFLAGS
17695 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17698 int main(int argc, char **argv) { return 0; }
17699 _ACEOF
17700 if ac_fn_c_try_link "$LINENO"; then :
17701 ac_cv_cflags__fno_omit_frame_pointer=yes
17702 else
17703 ac_cv_cflags__fno_omit_frame_pointer=no
17705 rm -f core conftest.err conftest.$ac_objext \
17706 conftest$ac_exeext conftest.$ac_ext
17707 CFLAGS=$ac_wine_try_cflags_saved
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17710 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17711 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17712 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17713 fi ;;
17714 *x86_64*)
17715 case $host_os in
17716 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17717 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17718 if ${ac_cv_cflags__Wno_format+:} false; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17721 ac_wine_try_cflags_saved=$CFLAGS
17722 CFLAGS="$CFLAGS -Wno-format"
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 int main(int argc, char **argv) { return 0; }
17726 _ACEOF
17727 if ac_fn_c_try_link "$LINENO"; then :
17728 ac_cv_cflags__Wno_format=yes
17729 else
17730 ac_cv_cflags__Wno_format=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17734 CFLAGS=$ac_wine_try_cflags_saved
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17737 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17738 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17739 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17740 fi ;;
17741 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17742 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17743 if ${ac_cv_cflags__mabi_ms+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745 else
17746 ac_wine_try_cflags_saved=$CFLAGS
17747 CFLAGS="$CFLAGS -mabi=ms"
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17750 int main(int argc, char **argv) { return 0; }
17751 _ACEOF
17752 if ac_fn_c_try_link "$LINENO"; then :
17753 ac_cv_cflags__mabi_ms=yes
17754 else
17755 ac_cv_cflags__mabi_ms=no
17757 rm -f core conftest.err conftest.$ac_objext \
17758 conftest$ac_exeext conftest.$ac_ext
17759 CFLAGS=$ac_wine_try_cflags_saved
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17762 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17763 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17764 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17765 fi ;;
17766 esac ;;
17767 esac
17769 CFLAGS=$saved_CFLAGS
17771 if test "x$enable_werror" = "xyes"
17772 then
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17774 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17775 if ${ac_cv_cflags__Werror+:} false; then :
17776 $as_echo_n "(cached) " >&6
17777 else
17778 ac_wine_try_cflags_saved=$CFLAGS
17779 CFLAGS="$CFLAGS -Werror"
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17782 int main(int argc, char **argv) { return 0; }
17783 _ACEOF
17784 if ac_fn_c_try_link "$LINENO"; then :
17785 ac_cv_cflags__Werror=yes
17786 else
17787 ac_cv_cflags__Werror=no
17789 rm -f core conftest.err conftest.$ac_objext \
17790 conftest$ac_exeext conftest.$ac_ext
17791 CFLAGS=$ac_wine_try_cflags_saved
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17794 $as_echo "$ac_cv_cflags__Werror" >&6; }
17795 if test "x$ac_cv_cflags__Werror" = xyes; then :
17796 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17803 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17804 if ${ac_cv_c_fortify_enabled+:} false; then :
17805 $as_echo_n "(cached) " >&6
17806 else
17807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17808 /* end confdefs.h. */
17809 #include <string.h>
17811 main ()
17813 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17814 #error Fortify enabled
17815 #endif
17817 return 0;
17819 _ACEOF
17820 if ac_fn_c_try_compile "$LINENO"; then :
17821 ac_cv_c_fortify_enabled=no
17822 else
17823 ac_cv_c_fortify_enabled=yes
17825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17828 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17829 if test "$ac_cv_c_fortify_enabled" = yes
17830 then
17831 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17836 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17837 if ${ac_cv_c_cfi_support+:} false; then :
17838 $as_echo_n "(cached) " >&6
17839 else
17840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17841 /* end confdefs.h. */
17842 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17844 main ()
17848 return 0;
17850 _ACEOF
17851 if ac_fn_c_try_compile "$LINENO"; then :
17852 ac_cv_c_cfi_support="yes"
17853 else
17854 ac_cv_c_cfi_support="no"
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17859 $as_echo "$ac_cv_c_cfi_support" >&6; }
17860 if test "$ac_cv_c_cfi_support" = "yes"
17861 then
17862 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17863 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17864 else
17865 if test "x$enable_win64" = "xyes"
17866 then
17867 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17872 case $build_os in
17873 cygwin*|mingw32*) TOOLSEXT=".exe"
17875 esac
17877 case $host_os in
17878 linux*)
17879 case $host_cpu in
17880 *i[3456789]86*|x86_64*|*aarch64*)
17881 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17882 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17884 esac
17886 esac
17889 ac_save_CFLAGS="$CFLAGS"
17890 CFLAGS="$CFLAGS $BUILTINFLAG"
17891 for ac_func in \
17892 __res_get_state \
17893 __res_getservers \
17894 _spawnvp \
17895 epoll_create \
17896 fnmatch \
17897 fork \
17898 fstatfs \
17899 futimens \
17900 futimes \
17901 futimesat \
17902 getattrlist \
17903 getauxval \
17904 getifaddrs \
17905 getopt_long_only \
17906 getrandom \
17907 kqueue \
17908 lstat \
17909 mach_continuous_time \
17910 pipe2 \
17911 poll \
17912 port_create \
17913 prctl \
17914 pread \
17915 proc_pidinfo \
17916 pwrite \
17917 readlink \
17918 sched_yield \
17919 setproctitle \
17920 setprogname \
17921 sigprocmask \
17922 symlink \
17923 tcdrain \
17924 thr_kill2
17926 do :
17927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17929 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17930 cat >>confdefs.h <<_ACEOF
17931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17932 _ACEOF
17935 done
17937 CFLAGS="$ac_save_CFLAGS"
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17940 $as_echo_n "checking for library containing dlopen... " >&6; }
17941 if ${ac_cv_search_dlopen+:} false; then :
17942 $as_echo_n "(cached) " >&6
17943 else
17944 ac_func_search_save_LIBS=$LIBS
17945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17946 /* end confdefs.h. */
17948 /* Override any GCC internal prototype to avoid an error.
17949 Use char because int might match the return type of a GCC
17950 builtin and then its argument prototype would still apply. */
17951 #ifdef __cplusplus
17952 extern "C"
17953 #endif
17954 char dlopen ();
17956 main ()
17958 return dlopen ();
17960 return 0;
17962 _ACEOF
17963 for ac_lib in '' dl; do
17964 if test -z "$ac_lib"; then
17965 ac_res="none required"
17966 else
17967 ac_res=-l$ac_lib
17968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17970 if ac_fn_c_try_link "$LINENO"; then :
17971 ac_cv_search_dlopen=$ac_res
17973 rm -f core conftest.err conftest.$ac_objext \
17974 conftest$ac_exeext
17975 if ${ac_cv_search_dlopen+:} false; then :
17976 break
17978 done
17979 if ${ac_cv_search_dlopen+:} false; then :
17981 else
17982 ac_cv_search_dlopen=no
17984 rm conftest.$ac_ext
17985 LIBS=$ac_func_search_save_LIBS
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17988 $as_echo "$ac_cv_search_dlopen" >&6; }
17989 ac_res=$ac_cv_search_dlopen
17990 if test "$ac_res" != no; then :
17991 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17995 ac_wine_check_funcs_save_LIBS="$LIBS"
17996 LIBS="$LIBS $DL_LIBS"
17997 for ac_func in dladdr dlinfo
17998 do :
17999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18001 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18002 cat >>confdefs.h <<_ACEOF
18003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18004 _ACEOF
18007 done
18009 LIBS="$ac_wine_check_funcs_save_LIBS"
18011 if test "$ac_cv_func_poll" = no
18012 then
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18014 $as_echo_n "checking for poll in -lpoll... " >&6; }
18015 if ${ac_cv_lib_poll_poll+:} false; then :
18016 $as_echo_n "(cached) " >&6
18017 else
18018 ac_check_lib_save_LIBS=$LIBS
18019 LIBS="-lpoll $LIBS"
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18023 /* Override any GCC internal prototype to avoid an error.
18024 Use char because int might match the return type of a GCC
18025 builtin and then its argument prototype would still apply. */
18026 #ifdef __cplusplus
18027 extern "C"
18028 #endif
18029 char poll ();
18031 main ()
18033 return poll ();
18035 return 0;
18037 _ACEOF
18038 if ac_fn_c_try_link "$LINENO"; then :
18039 ac_cv_lib_poll_poll=yes
18040 else
18041 ac_cv_lib_poll_poll=no
18043 rm -f core conftest.err conftest.$ac_objext \
18044 conftest$ac_exeext conftest.$ac_ext
18045 LIBS=$ac_check_lib_save_LIBS
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18048 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18049 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18050 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18051 POLL_LIBS="-lpoll"
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18058 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18059 if ${ac_cv_search_gethostbyname+:} false; then :
18060 $as_echo_n "(cached) " >&6
18061 else
18062 ac_func_search_save_LIBS=$LIBS
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18066 /* Override any GCC internal prototype to avoid an error.
18067 Use char because int might match the return type of a GCC
18068 builtin and then its argument prototype would still apply. */
18069 #ifdef __cplusplus
18070 extern "C"
18071 #endif
18072 char gethostbyname ();
18074 main ()
18076 return gethostbyname ();
18078 return 0;
18080 _ACEOF
18081 for ac_lib in '' nsl; do
18082 if test -z "$ac_lib"; then
18083 ac_res="none required"
18084 else
18085 ac_res=-l$ac_lib
18086 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18088 if ac_fn_c_try_link "$LINENO"; then :
18089 ac_cv_search_gethostbyname=$ac_res
18091 rm -f core conftest.err conftest.$ac_objext \
18092 conftest$ac_exeext
18093 if ${ac_cv_search_gethostbyname+:} false; then :
18094 break
18096 done
18097 if ${ac_cv_search_gethostbyname+:} false; then :
18099 else
18100 ac_cv_search_gethostbyname=no
18102 rm conftest.$ac_ext
18103 LIBS=$ac_func_search_save_LIBS
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18106 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18107 ac_res=$ac_cv_search_gethostbyname
18108 if test "$ac_res" != no; then :
18109 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18115 $as_echo_n "checking for library containing connect... " >&6; }
18116 if ${ac_cv_search_connect+:} false; then :
18117 $as_echo_n "(cached) " >&6
18118 else
18119 ac_func_search_save_LIBS=$LIBS
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18123 /* Override any GCC internal prototype to avoid an error.
18124 Use char because int might match the return type of a GCC
18125 builtin and then its argument prototype would still apply. */
18126 #ifdef __cplusplus
18127 extern "C"
18128 #endif
18129 char connect ();
18131 main ()
18133 return connect ();
18135 return 0;
18137 _ACEOF
18138 for ac_lib in '' socket; do
18139 if test -z "$ac_lib"; then
18140 ac_res="none required"
18141 else
18142 ac_res=-l$ac_lib
18143 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18145 if ac_fn_c_try_link "$LINENO"; then :
18146 ac_cv_search_connect=$ac_res
18148 rm -f core conftest.err conftest.$ac_objext \
18149 conftest$ac_exeext
18150 if ${ac_cv_search_connect+:} false; then :
18151 break
18153 done
18154 if ${ac_cv_search_connect+:} false; then :
18156 else
18157 ac_cv_search_connect=no
18159 rm conftest.$ac_ext
18160 LIBS=$ac_func_search_save_LIBS
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18163 $as_echo "$ac_cv_search_connect" >&6; }
18164 ac_res=$ac_cv_search_connect
18165 if test "$ac_res" != no; then :
18166 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18172 $as_echo_n "checking for library containing inet_aton... " >&6; }
18173 if ${ac_cv_search_inet_aton+:} false; then :
18174 $as_echo_n "(cached) " >&6
18175 else
18176 ac_func_search_save_LIBS=$LIBS
18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18178 /* end confdefs.h. */
18180 /* Override any GCC internal prototype to avoid an error.
18181 Use char because int might match the return type of a GCC
18182 builtin and then its argument prototype would still apply. */
18183 #ifdef __cplusplus
18184 extern "C"
18185 #endif
18186 char inet_aton ();
18188 main ()
18190 return inet_aton ();
18192 return 0;
18194 _ACEOF
18195 for ac_lib in '' resolv; do
18196 if test -z "$ac_lib"; then
18197 ac_res="none required"
18198 else
18199 ac_res=-l$ac_lib
18200 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18202 if ac_fn_c_try_link "$LINENO"; then :
18203 ac_cv_search_inet_aton=$ac_res
18205 rm -f core conftest.err conftest.$ac_objext \
18206 conftest$ac_exeext
18207 if ${ac_cv_search_inet_aton+:} false; then :
18208 break
18210 done
18211 if ${ac_cv_search_inet_aton+:} false; then :
18213 else
18214 ac_cv_search_inet_aton=no
18216 rm conftest.$ac_ext
18217 LIBS=$ac_func_search_save_LIBS
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18220 $as_echo "$ac_cv_search_inet_aton" >&6; }
18221 ac_res=$ac_cv_search_inet_aton
18222 if test "$ac_res" != no; then :
18223 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18228 for ac_func in \
18229 getaddrinfo \
18230 getnameinfo \
18231 getservbyport \
18233 do :
18234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18236 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18237 cat >>confdefs.h <<_ACEOF
18238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18239 _ACEOF
18242 done
18245 case $host_os in
18246 darwin*|macosx*) ;;
18247 *) ac_save_LIBS=$LIBS
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18249 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18250 if ${ac_cv_search_clock_gettime+:} false; then :
18251 $as_echo_n "(cached) " >&6
18252 else
18253 ac_func_search_save_LIBS=$LIBS
18254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18255 /* end confdefs.h. */
18257 /* Override any GCC internal prototype to avoid an error.
18258 Use char because int might match the return type of a GCC
18259 builtin and then its argument prototype would still apply. */
18260 #ifdef __cplusplus
18261 extern "C"
18262 #endif
18263 char clock_gettime ();
18265 main ()
18267 return clock_gettime ();
18269 return 0;
18271 _ACEOF
18272 for ac_lib in '' rt; do
18273 if test -z "$ac_lib"; then
18274 ac_res="none required"
18275 else
18276 ac_res=-l$ac_lib
18277 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18279 if ac_fn_c_try_link "$LINENO"; then :
18280 ac_cv_search_clock_gettime=$ac_res
18282 rm -f core conftest.err conftest.$ac_objext \
18283 conftest$ac_exeext
18284 if ${ac_cv_search_clock_gettime+:} false; then :
18285 break
18287 done
18288 if ${ac_cv_search_clock_gettime+:} false; then :
18290 else
18291 ac_cv_search_clock_gettime=no
18293 rm conftest.$ac_ext
18294 LIBS=$ac_func_search_save_LIBS
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18297 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18298 ac_res=$ac_cv_search_clock_gettime
18299 if test "$ac_res" != no; then :
18300 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18302 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18304 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18308 LIBS=$ac_save_LIBS
18310 esac
18312 if test "x$with_ldap" != "xno"
18313 then
18314 if ${LDAP_CFLAGS:+false} :; then :
18315 if ${PKG_CONFIG+:} false; then :
18316 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18320 if ${LDAP_LIBS:+false} :; then :
18321 if ${PKG_CONFIG+:} false; then :
18322 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18326 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18327 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18328 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18329 ac_save_CPPFLAGS=$CPPFLAGS
18330 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18331 for ac_header in ldap.h lber.h
18332 do :
18333 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18334 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18336 cat >>confdefs.h <<_ACEOF
18337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18338 _ACEOF
18342 done
18344 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18345 then
18346 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18348 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18350 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18351 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18352 $as_echo_n "(cached) " >&6
18353 else
18354 ac_check_lib_save_LIBS=$LIBS
18355 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18359 /* Override any GCC internal prototype to avoid an error.
18360 Use char because int might match the return type of a GCC
18361 builtin and then its argument prototype would still apply. */
18362 #ifdef __cplusplus
18363 extern "C"
18364 #endif
18365 char ldap_initialize ();
18367 main ()
18369 return ldap_initialize ();
18371 return 0;
18373 _ACEOF
18374 if ac_fn_c_try_link "$LINENO"; then :
18375 ac_cv_lib_ldap_r_ldap_initialize=yes
18376 else
18377 ac_cv_lib_ldap_r_ldap_initialize=no
18379 rm -f core conftest.err conftest.$ac_objext \
18380 conftest$ac_exeext conftest.$ac_ext
18381 LIBS=$ac_check_lib_save_LIBS
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18384 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18385 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18387 $as_echo_n "checking for ber_init in -llber... " >&6; }
18388 if ${ac_cv_lib_lber_ber_init+:} false; then :
18389 $as_echo_n "(cached) " >&6
18390 else
18391 ac_check_lib_save_LIBS=$LIBS
18392 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18394 /* end confdefs.h. */
18396 /* Override any GCC internal prototype to avoid an error.
18397 Use char because int might match the return type of a GCC
18398 builtin and then its argument prototype would still apply. */
18399 #ifdef __cplusplus
18400 extern "C"
18401 #endif
18402 char ber_init ();
18404 main ()
18406 return ber_init ();
18408 return 0;
18410 _ACEOF
18411 if ac_fn_c_try_link "$LINENO"; then :
18412 ac_cv_lib_lber_ber_init=yes
18413 else
18414 ac_cv_lib_lber_ber_init=no
18416 rm -f core conftest.err conftest.$ac_objext \
18417 conftest$ac_exeext conftest.$ac_ext
18418 LIBS=$ac_check_lib_save_LIBS
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18421 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18422 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18424 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18426 else
18427 LDAP_LIBS=""
18430 else
18431 LDAP_LIBS=""
18434 else
18435 LDAP_LIBS=""
18438 ac_wine_check_funcs_save_LIBS="$LIBS"
18439 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18440 for ac_func in \
18441 ldap_count_references \
18442 ldap_first_reference \
18443 ldap_next_reference \
18444 ldap_parse_reference \
18445 ldap_parse_sort_control \
18446 ldap_parse_sortresponse_control \
18447 ldap_parse_vlv_control \
18448 ldap_parse_vlvresponse_control
18449 do :
18450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18453 cat >>confdefs.h <<_ACEOF
18454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18455 _ACEOF
18458 done
18460 LIBS="$ac_wine_check_funcs_save_LIBS"
18461 else
18462 LDAP_LIBS=""
18464 CPPFLAGS=$ac_save_CPPFLAGS
18467 if test "x$LDAP_LIBS" = "x"; then :
18468 case "x$with_ldap" in
18469 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18470 xno) ;;
18471 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18472 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18473 esac
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18478 $as_echo_n "checking for sched_setaffinity... " >&6; }
18479 if ${wine_cv_have_sched_setaffinity+:} false; then :
18480 $as_echo_n "(cached) " >&6
18481 else
18482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18484 #define _GNU_SOURCE
18485 #include <sched.h>
18487 main ()
18489 sched_setaffinity(0, 0, 0);
18491 return 0;
18493 _ACEOF
18494 if ac_fn_c_try_link "$LINENO"; then :
18495 wine_cv_have_sched_setaffinity=yes
18496 else
18497 wine_cv_have_sched_setaffinity=no
18499 rm -f core conftest.err conftest.$ac_objext \
18500 conftest$ac_exeext conftest.$ac_ext
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18503 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18504 if test "$wine_cv_have_sched_setaffinity" = "yes"
18505 then
18507 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18512 $as_echo_n "checking for fallocate... " >&6; }
18513 if ${wine_cv_have_fallocate+:} false; then :
18514 $as_echo_n "(cached) " >&6
18515 else
18516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18517 /* end confdefs.h. */
18518 #define _GNU_SOURCE
18519 #include <fcntl.h>
18521 main ()
18523 fallocate(-1, 0, 0, 0);
18525 return 0;
18527 _ACEOF
18528 if ac_fn_c_try_link "$LINENO"; then :
18529 wine_cv_have_fallocate=yes
18530 else
18531 wine_cv_have_fallocate=no
18533 rm -f core conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18537 $as_echo "$wine_cv_have_fallocate" >&6; }
18538 if test "$wine_cv_have_fallocate" = "yes"
18539 then
18541 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18547 $as_echo_n "checking for inline... " >&6; }
18548 if ${ac_cv_c_inline+:} false; then :
18549 $as_echo_n "(cached) " >&6
18550 else
18551 ac_cv_c_inline=no
18552 for ac_kw in inline __inline__ __inline; do
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h. */
18555 #ifndef __cplusplus
18556 typedef int foo_t;
18557 static $ac_kw foo_t static_foo () {return 0; }
18558 $ac_kw foo_t foo () {return 0; }
18559 #endif
18561 _ACEOF
18562 if ac_fn_c_try_compile "$LINENO"; then :
18563 ac_cv_c_inline=$ac_kw
18565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18566 test "$ac_cv_c_inline" != no && break
18567 done
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18571 $as_echo "$ac_cv_c_inline" >&6; }
18573 case $ac_cv_c_inline in
18574 inline | yes) ;;
18576 case $ac_cv_c_inline in
18577 no) ac_val=;;
18578 *) ac_val=$ac_cv_c_inline;;
18579 esac
18580 cat >>confdefs.h <<_ACEOF
18581 #ifndef __cplusplus
18582 #define inline $ac_val
18583 #endif
18584 _ACEOF
18586 esac
18588 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18589 #include <signal.h>
18591 if test "x$ac_cv_type_sigset_t" = xyes; then :
18593 cat >>confdefs.h <<_ACEOF
18594 #define HAVE_SIGSET_T 1
18595 _ACEOF
18600 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18602 if test "x$ac_cv_type_request_sense" = xyes; then :
18604 cat >>confdefs.h <<_ACEOF
18605 #define HAVE_REQUEST_SENSE 1
18606 _ACEOF
18612 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18613 #ifdef HAVE_SYS_SOCKET_H
18614 #include <sys/socket.h>
18615 #endif
18616 #ifdef HAVE_SYS_SOCKETVAR_H
18617 #include <sys/socketvar.h>
18618 #endif
18619 #ifdef HAVE_NET_ROUTE_H
18620 #include <net/route.h>
18621 #endif
18622 #ifdef HAVE_NETINET_IN_H
18623 #include <netinet/in.h>
18624 #endif
18625 #ifdef HAVE_NETINET_IN_SYSTM_H
18626 #include <netinet/in_systm.h>
18627 #endif
18628 #ifdef HAVE_NETINET_IP_H
18629 #include <netinet/ip.h>
18630 #endif
18631 #ifdef HAVE_NETINET_IN_PCB_H
18632 #include <netinet/in_pcb.h>
18633 #endif
18635 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18637 cat >>confdefs.h <<_ACEOF
18638 #define HAVE_STRUCT_XINPGEN 1
18639 _ACEOF
18645 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18646 #include <linux/input.h>
18647 #endif
18649 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18651 cat >>confdefs.h <<_ACEOF
18652 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18653 _ACEOF
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18660 $as_echo_n "checking for if_nameindex... " >&6; }
18661 if ${wine_cv_have_if_nameindex+:} false; then :
18662 $as_echo_n "(cached) " >&6
18663 else
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 #ifdef HAVE_SYS_TYPES_H
18667 #include <sys/types.h>
18668 #endif
18669 #ifdef HAVE_SYS_SOCKET_H
18670 #include <sys/socket.h>
18671 #endif
18672 #ifdef HAVE_NET_IF_H
18673 # include <net/if.h>
18674 #endif
18676 main ()
18678 struct if_nameindex *p = if_nameindex(); return p->if_index;
18680 return 0;
18682 _ACEOF
18683 if ac_fn_c_try_link "$LINENO"; then :
18684 wine_cv_have_if_nameindex=yes
18685 else
18686 wine_cv_have_if_nameindex=no
18688 rm -f core conftest.err conftest.$ac_objext \
18689 conftest$ac_exeext conftest.$ac_ext
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18692 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18693 if test "$wine_cv_have_if_nameindex" = "yes"
18694 then
18696 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18701 $as_echo_n "checking for sigaddset... " >&6; }
18702 if ${wine_cv_have_sigaddset+:} false; then :
18703 $as_echo_n "(cached) " >&6
18704 else
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18707 #include <signal.h>
18709 main ()
18711 sigset_t set; sigaddset(&set,SIGTERM);
18713 return 0;
18715 _ACEOF
18716 if ac_fn_c_try_link "$LINENO"; then :
18717 wine_cv_have_sigaddset=yes
18718 else
18719 wine_cv_have_sigaddset=no
18721 rm -f core conftest.err conftest.$ac_objext \
18722 conftest$ac_exeext conftest.$ac_ext
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18725 $as_echo "$wine_cv_have_sigaddset" >&6; }
18726 if test "$wine_cv_have_sigaddset" = "yes"
18727 then
18729 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18735 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18736 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18737 $as_echo_n "(cached) " >&6
18738 else
18739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18740 /* end confdefs.h. */
18741 #include <netdb.h>
18743 main ()
18746 char *name=0;
18747 struct hostent he;
18748 struct hostent *result;
18749 char *buf=0;
18750 int bufsize=0;
18751 int errnr;
18752 char *addr=0;
18753 int addrlen=0;
18754 int addrtype=0;
18755 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18756 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18759 return 0;
18761 _ACEOF
18762 if ac_fn_c_try_link "$LINENO"; then :
18763 wine_cv_linux_gethostbyname_r_6=yes
18764 else
18765 wine_cv_linux_gethostbyname_r_6=no
18768 rm -f core conftest.err conftest.$ac_objext \
18769 conftest$ac_exeext conftest.$ac_ext
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18773 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18774 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18775 then
18777 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18781 if test "$ac_cv_header_linux_joystick_h" = "yes"
18782 then
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18784 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18785 if ${wine_cv_linux_joystick_22_api+:} false; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18789 /* end confdefs.h. */
18791 #include <sys/ioctl.h>
18792 #include <sys/types.h>
18793 #include <linux/joystick.h>
18795 struct js_event blub;
18796 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18797 #error "no 2.2 header"
18798 #endif
18801 main ()
18803 /*empty*/
18805 return 0;
18807 _ACEOF
18808 if ac_fn_c_try_compile "$LINENO"; then :
18809 wine_cv_linux_joystick_22_api=yes
18810 else
18811 wine_cv_linux_joystick_22_api=no
18813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18817 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18818 if test "$wine_cv_linux_joystick_22_api" = "yes"
18819 then
18821 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18826 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18827 #ifdef HAVE_SYS_SOCKET_H
18828 # include <sys/socket.h>
18829 #endif
18830 #ifdef HAVE_SYS_UN_H
18831 # include <sys/un.h>
18832 #endif
18834 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18836 cat >>confdefs.h <<_ACEOF
18837 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18838 _ACEOF
18842 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18843 #ifdef HAVE_SYS_SOCKET_H
18844 # include <sys/socket.h>
18845 #endif
18846 #ifdef HAVE_SYS_UN_H
18847 # include <sys/un.h>
18848 #endif
18850 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18854 _ACEOF
18858 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18859 #ifdef HAVE_SYS_SOCKET_H
18860 # include <sys/socket.h>
18861 #endif
18862 #ifdef HAVE_SYS_UN_H
18863 # include <sys/un.h>
18864 #endif
18866 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18868 cat >>confdefs.h <<_ACEOF
18869 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18870 _ACEOF
18876 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18877 #ifdef HAVE_SCSI_SG_H
18878 #include <scsi/sg.h>
18879 #endif
18881 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18883 cat >>confdefs.h <<_ACEOF
18884 #define HAVE_SCSIREQ_T_CMD 1
18885 _ACEOF
18889 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>
18890 #ifdef HAVE_SCSI_SG_H
18891 #include <scsi/sg.h>
18892 #endif
18894 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18896 cat >>confdefs.h <<_ACEOF
18897 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18898 _ACEOF
18904 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18906 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18908 cat >>confdefs.h <<_ACEOF
18909 #define HAVE_SIGINFO_T_SI_FD 1
18910 _ACEOF
18916 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18917 #ifdef HAVE_SYS_MTIO_H
18918 #include <sys/mtio.h>
18919 #endif
18921 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18925 _ACEOF
18929 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18930 #ifdef HAVE_SYS_MTIO_H
18931 #include <sys/mtio.h>
18932 #endif
18934 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18936 cat >>confdefs.h <<_ACEOF
18937 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18938 _ACEOF
18942 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18943 #ifdef HAVE_SYS_MTIO_H
18944 #include <sys/mtio.h>
18945 #endif
18947 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18949 cat >>confdefs.h <<_ACEOF
18950 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18951 _ACEOF
18957 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18958 #include <getopt.h>
18959 #endif
18961 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18963 cat >>confdefs.h <<_ACEOF
18964 #define HAVE_STRUCT_OPTION_NAME 1
18965 _ACEOF
18971 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18972 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18976 _ACEOF
18980 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18981 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_STAT_ST_MTIM 1
18985 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18990 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18992 cat >>confdefs.h <<_ACEOF
18993 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18994 _ACEOF
18998 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18999 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19001 cat >>confdefs.h <<_ACEOF
19002 #define HAVE_STRUCT_STAT_ST_CTIM 1
19003 _ACEOF
19007 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19008 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19012 _ACEOF
19016 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19017 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19019 cat >>confdefs.h <<_ACEOF
19020 #define HAVE_STRUCT_STAT_ST_ATIM 1
19021 _ACEOF
19025 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19026 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19030 _ACEOF
19034 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19035 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19037 cat >>confdefs.h <<_ACEOF
19038 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19039 _ACEOF
19043 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19044 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19048 _ACEOF
19052 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19053 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19057 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19062 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19066 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19071 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19075 _ACEOF
19081 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
19082 #include <sys/types.h>
19083 #endif
19084 #ifdef HAVE_NETINET_IN_H
19085 #include <netinet/in.h>
19086 #endif
19088 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19090 cat >>confdefs.h <<_ACEOF
19091 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19092 _ACEOF
19098 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19099 #include <sys/types.h>
19100 #endif
19101 #ifdef HAVE_NETINET_IN_H
19102 #include <netinet/in.h>
19103 #endif
19104 #ifdef HAVE_RESOLV_H
19105 #include <resolv.h>
19106 #endif
19108 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19110 cat >>confdefs.h <<_ACEOF
19111 #define HAVE_STRUCT___RES_STATE 1
19112 _ACEOF
19118 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
19119 #include <resolv.h>
19120 #endif
19122 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19126 _ACEOF
19132 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19133 #include <sys/types.h>
19134 #endif
19135 #ifdef HAVE_NETINET_IN_H
19136 # include <netinet/in.h>
19137 #endif
19138 #ifdef HAVE_ARPA_NAMESER_H
19139 # include <arpa/nameser.h>
19140 #endif
19142 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19144 cat >>confdefs.h <<_ACEOF
19145 #define HAVE_NS_MSG__MSG_PTR 1
19146 _ACEOF
19152 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19153 #include <sys/types.h>
19154 #endif
19155 #ifdef HAVE_NETINET_IN_H
19156 #include <netinet/in.h>
19157 #endif
19158 #ifdef HAVE_NETINET_IP_H
19159 #include <netinet/ip.h>
19160 #endif
19161 #ifdef HAVE_NETINET_IP_ICMP_H
19162 #include <netinet/ip_icmp.h>
19163 #endif
19164 #ifdef HAVE_NETINET_ICMP_VAR_H
19165 #include <netinet/icmp_var.h>
19166 #endif
19168 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19172 _ACEOF
19178 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19179 #include <sys/types.h>
19180 #endif
19181 #ifdef HAVE_ALIAS_H
19182 #include <alias.h>
19183 #endif
19184 #ifdef HAVE_SYS_SOCKET_H
19185 #include <sys/socket.h>
19186 #endif
19187 #ifdef HAVE_SYS_SOCKETVAR_H
19188 #include <sys/socketvar.h>
19189 #endif
19190 #ifdef HAVE_SYS_TIMEOUT_H
19191 #include <sys/timeout.h>
19192 #endif
19193 #ifdef HAVE_NETINET_IN_H
19194 #include <netinet/in.h>
19195 #endif
19196 #ifdef HAVE_NETINET_IN_SYSTM_H
19197 #include <netinet/in_systm.h>
19198 #endif
19199 #ifdef HAVE_NETINET_IP_H
19200 #include <netinet/ip.h>
19201 #endif
19202 #ifdef HAVE_NETINET_IP_VAR_H
19203 #include <netinet/ip_var.h>
19204 #endif
19205 #ifdef HAVE_NETINET_IP_ICMP_H
19206 #include <netinet/ip_icmp.h>
19207 #endif
19208 #ifdef HAVE_NETINET_ICMP_VAR_H
19209 #include <netinet/icmp_var.h>
19210 #endif
19212 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19216 _ACEOF
19222 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19223 #include <sys/types.h>
19224 #endif
19225 #ifdef HAVE_SYS_SOCKETVAR_H
19226 #include <sys/socketvar.h>
19227 #endif
19228 #ifdef HAVE_NETINET_IN_H
19229 #include <netinet/in.h>
19230 #endif
19231 #ifdef HAVE_NETINET_IP_VAR_H
19232 #include <netinet/ip_var.h>
19233 #endif
19235 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19239 _ACEOF
19245 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
19246 #include <netinet/ip_var.h>
19247 #endif
19249 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19251 cat >>confdefs.h <<_ACEOF
19252 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19253 _ACEOF
19259 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19260 #include <sys/types.h>
19261 #endif
19262 #ifdef HAVE_SYS_SOCKETVAR_H
19263 #include <sys/socketvar.h>
19264 #endif
19265 #ifdef HAVE_NETINET_IN_H
19266 #include <netinet/in.h>
19267 #endif
19268 #ifdef HAVE_NETINET_TCP_H
19269 #include <netinet/tcp.h>
19270 #endif
19271 #ifdef HAVE_NETINET_TCP_VAR_H
19272 #include <netinet/tcp_var.h>
19273 #endif
19275 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19277 cat >>confdefs.h <<_ACEOF
19278 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19279 _ACEOF
19285 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
19286 #include <netinet/tcp_var.h>
19287 #endif
19289 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19291 cat >>confdefs.h <<_ACEOF
19292 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19293 _ACEOF
19299 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19300 #include <sys/types.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IN_H
19303 #include <netinet/in.h>
19304 #endif
19305 #ifdef HAVE_NETINET_IP_VAR_H
19306 #include <netinet/ip_var.h>
19307 #endif
19308 #ifdef HAVE_NETINET_UDP_H
19309 #include <netinet/udp.h>
19310 #endif
19311 #ifdef HAVE_NETINET_UDP_VAR_H
19312 #include <netinet/udp_var.h>
19313 #endif
19315 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19317 cat >>confdefs.h <<_ACEOF
19318 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19319 _ACEOF
19325 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19326 #include <sys/types.h>
19327 #endif
19328 #ifdef HAVE_NET_IF_H
19329 # include <net/if.h>
19330 #endif
19332 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19334 cat >>confdefs.h <<_ACEOF
19335 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19336 _ACEOF
19342 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19343 # include <sys/sysinfo.h>
19344 #endif
19346 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19350 _ACEOF
19354 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19355 # include <sys/sysinfo.h>
19356 #endif
19358 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19360 cat >>confdefs.h <<_ACEOF
19361 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19362 _ACEOF
19368 ac_save_LIBS="$LIBS"
19369 LIBS="$LIBS -lm"
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19371 $as_echo_n "checking for isfinite... " >&6; }
19372 if ${ac_cv_have_isfinite+:} false; then :
19373 $as_echo_n "(cached) " >&6
19374 else
19375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19377 #define _GNU_SOURCE
19378 #include <math.h>
19380 main ()
19382 float f = 0.0; return isfinite(f)
19384 return 0;
19386 _ACEOF
19387 if ac_fn_c_try_link "$LINENO"; then :
19388 ac_cv_have_isfinite="yes"
19389 else
19390 ac_cv_have_isfinite="no"
19392 rm -f core conftest.err conftest.$ac_objext \
19393 conftest$ac_exeext conftest.$ac_ext
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19396 $as_echo "$ac_cv_have_isfinite" >&6; }
19397 if test "$ac_cv_have_isfinite" = "yes"
19398 then
19400 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19405 $as_echo_n "checking for isinf... " >&6; }
19406 if ${ac_cv_have_isinf+:} false; then :
19407 $as_echo_n "(cached) " >&6
19408 else
19409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19410 /* end confdefs.h. */
19411 #include <math.h>
19413 main ()
19415 float f = 0.0; return isinf(f)
19417 return 0;
19419 _ACEOF
19420 if ac_fn_c_try_link "$LINENO"; then :
19421 ac_cv_have_isinf="yes"
19422 else
19423 ac_cv_have_isinf="no"
19425 rm -f core conftest.err conftest.$ac_objext \
19426 conftest$ac_exeext conftest.$ac_ext
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19429 $as_echo "$ac_cv_have_isinf" >&6; }
19430 if test "$ac_cv_have_isinf" = "yes"
19431 then
19433 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19438 $as_echo_n "checking for isnan... " >&6; }
19439 if ${ac_cv_have_isnan+:} false; then :
19440 $as_echo_n "(cached) " >&6
19441 else
19442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h. */
19444 #include <math.h>
19446 main ()
19448 float f = 0.0; return isnan(f)
19450 return 0;
19452 _ACEOF
19453 if ac_fn_c_try_link "$LINENO"; then :
19454 ac_cv_have_isnan="yes"
19455 else
19456 ac_cv_have_isnan="no"
19458 rm -f core conftest.err conftest.$ac_objext \
19459 conftest$ac_exeext conftest.$ac_ext
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19462 $as_echo "$ac_cv_have_isnan" >&6; }
19463 if test "$ac_cv_have_isnan" = "yes"
19464 then
19466 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19470 for ac_func in \
19471 acosh \
19472 acoshf \
19473 asinh \
19474 asinhf \
19475 atanh \
19476 atanhf \
19477 cbrt \
19478 cbrtf \
19479 erf \
19480 erfc \
19481 erfcf \
19482 erff \
19483 exp2 \
19484 exp2f \
19485 expm1 \
19486 expm1f \
19487 fma \
19488 fmaf \
19489 j0 \
19490 j1 \
19491 jn \
19492 lgamma \
19493 lgammaf \
19494 llrint \
19495 llrintf \
19496 llround \
19497 llroundf \
19498 log1p \
19499 log1pf \
19500 log2 \
19501 log2f \
19502 lrint \
19503 lrintf \
19504 lround \
19505 lroundf \
19506 nearbyint \
19507 nearbyintf \
19508 nexttoward \
19509 nexttowardf \
19510 remainder \
19511 remainderf \
19512 remquo \
19513 remquof \
19514 rint \
19515 rintf \
19516 round \
19517 roundf \
19518 tgamma \
19519 tgammaf \
19520 trunc \
19521 truncf \
19522 y0 \
19523 y1 \
19526 do :
19527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19529 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19530 cat >>confdefs.h <<_ACEOF
19531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19532 _ACEOF
19535 done
19537 LIBS="$ac_save_LIBS"
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19540 $as_echo_n "checking for __builtin_popcount... " >&6; }
19541 if ${ac_cv_have___builtin_popcount+:} false; then :
19542 $as_echo_n "(cached) " >&6
19543 else
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19548 main ()
19550 return __builtin_popcount(1)
19552 return 0;
19554 _ACEOF
19555 if ac_fn_c_try_link "$LINENO"; then :
19556 ac_cv_have___builtin_popcount="yes"
19557 else
19558 ac_cv_have___builtin_popcount="no"
19560 rm -f core conftest.err conftest.$ac_objext \
19561 conftest$ac_exeext conftest.$ac_ext
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19564 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19565 if test "$ac_cv_have___builtin_popcount" = "yes"
19566 then
19568 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19573 $as_echo_n "checking for __clear_cache... " >&6; }
19574 if ${ac_cv_have___clear_cache+:} false; then :
19575 $as_echo_n "(cached) " >&6
19576 else
19577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h. */
19581 main ()
19583 __clear_cache((void*)0, (void*)0); return 0;
19585 return 0;
19587 _ACEOF
19588 if ac_fn_c_try_link "$LINENO"; then :
19589 ac_cv_have___clear_cache="yes"
19590 else
19591 ac_cv_have___clear_cache="no"
19593 rm -f core conftest.err conftest.$ac_objext \
19594 conftest$ac_exeext conftest.$ac_ext
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19597 $as_echo "$ac_cv_have___clear_cache" >&6; }
19598 if test "$ac_cv_have___clear_cache" = "yes"
19599 then
19601 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19606 case $host_cpu in
19607 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19608 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19609 if ${ac_cv_cpp_def___i386__+:} false; then :
19610 $as_echo_n "(cached) " >&6
19611 else
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h. */
19614 #ifndef __i386__
19616 #endif
19617 _ACEOF
19618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19619 $EGREP "yes" >/dev/null 2>&1; then :
19620 ac_cv_cpp_def___i386__=yes
19621 else
19622 ac_cv_cpp_def___i386__=no
19624 rm -f conftest*
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19628 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19629 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19630 CFLAGS="$CFLAGS -D__i386__"
19631 LINTFLAGS="$LINTFLAGS -D__i386__"
19632 fi ;;
19633 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19634 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19635 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19636 $as_echo_n "(cached) " >&6
19637 else
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19640 #ifndef __x86_64__
19642 #endif
19643 _ACEOF
19644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19645 $EGREP "yes" >/dev/null 2>&1; then :
19646 ac_cv_cpp_def___x86_64__=yes
19647 else
19648 ac_cv_cpp_def___x86_64__=no
19650 rm -f conftest*
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19654 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19655 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19656 CFLAGS="$CFLAGS -D__x86_64__"
19657 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19658 fi ;;
19659 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19660 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19661 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19662 $as_echo_n "(cached) " >&6
19663 else
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19666 #ifndef __sparc64__
19668 #endif
19669 _ACEOF
19670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19671 $EGREP "yes" >/dev/null 2>&1; then :
19672 ac_cv_cpp_def___sparc64__=yes
19673 else
19674 ac_cv_cpp_def___sparc64__=no
19676 rm -f conftest*
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19680 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19681 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19682 CFLAGS="$CFLAGS -D__sparc64__"
19683 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19684 fi ;;
19685 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19686 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19687 if ${ac_cv_cpp_def___sparc__+:} false; then :
19688 $as_echo_n "(cached) " >&6
19689 else
19690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19691 /* end confdefs.h. */
19692 #ifndef __sparc__
19694 #endif
19695 _ACEOF
19696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19697 $EGREP "yes" >/dev/null 2>&1; then :
19698 ac_cv_cpp_def___sparc__=yes
19699 else
19700 ac_cv_cpp_def___sparc__=no
19702 rm -f conftest*
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19706 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19707 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19708 CFLAGS="$CFLAGS -D__sparc__"
19709 LINTFLAGS="$LINTFLAGS -D__sparc__"
19710 fi ;;
19711 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19712 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19713 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19714 $as_echo_n "(cached) " >&6
19715 else
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19718 #ifndef __powerpc64__
19720 #endif
19721 _ACEOF
19722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19723 $EGREP "yes" >/dev/null 2>&1; then :
19724 ac_cv_cpp_def___powerpc64__=yes
19725 else
19726 ac_cv_cpp_def___powerpc64__=no
19728 rm -f conftest*
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19732 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19733 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19734 CFLAGS="$CFLAGS -D__powerpc64__"
19735 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19736 fi ;;
19737 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19738 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19739 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19740 $as_echo_n "(cached) " >&6
19741 else
19742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19743 /* end confdefs.h. */
19744 #ifndef __powerpc__
19746 #endif
19747 _ACEOF
19748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19749 $EGREP "yes" >/dev/null 2>&1; then :
19750 ac_cv_cpp_def___powerpc__=yes
19751 else
19752 ac_cv_cpp_def___powerpc__=no
19754 rm -f conftest*
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19758 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19759 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19760 CFLAGS="$CFLAGS -D__powerpc__"
19761 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19762 fi ;;
19763 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19764 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19765 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19766 $as_echo_n "(cached) " >&6
19767 else
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770 #ifndef __aarch64__
19772 #endif
19773 _ACEOF
19774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19775 $EGREP "yes" >/dev/null 2>&1; then :
19776 ac_cv_cpp_def___aarch64__=yes
19777 else
19778 ac_cv_cpp_def___aarch64__=no
19780 rm -f conftest*
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19784 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19785 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19786 CFLAGS="$CFLAGS -D__aarch64__"
19787 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19788 fi ;;
19789 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19790 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19791 if ${ac_cv_cpp_def___arm__+:} false; then :
19792 $as_echo_n "(cached) " >&6
19793 else
19794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19795 /* end confdefs.h. */
19796 #ifndef __arm__
19798 #endif
19799 _ACEOF
19800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19801 $EGREP "yes" >/dev/null 2>&1; then :
19802 ac_cv_cpp_def___arm__=yes
19803 else
19804 ac_cv_cpp_def___arm__=no
19806 rm -f conftest*
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19810 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19811 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19812 CFLAGS="$CFLAGS -D__arm__"
19813 LINTFLAGS="$LINTFLAGS -D__arm__"
19814 fi ;;
19815 esac
19817 case $host_vendor in
19818 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19819 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19820 if ${ac_cv_cpp_def___sun__+:} false; then :
19821 $as_echo_n "(cached) " >&6
19822 else
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825 #ifndef __sun__
19827 #endif
19828 _ACEOF
19829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19830 $EGREP "yes" >/dev/null 2>&1; then :
19831 ac_cv_cpp_def___sun__=yes
19832 else
19833 ac_cv_cpp_def___sun__=no
19835 rm -f conftest*
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19839 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19840 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19841 CFLAGS="$CFLAGS -D__sun__"
19842 LINTFLAGS="$LINTFLAGS -D__sun__"
19843 fi ;;
19844 esac
19850 ac_config_commands="$ac_config_commands include/stamp-h"
19852 $as_echo_n "creating Makefile rules..." >&6
19854 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19855 OPENGL_LIBS = $OPENGL_LIBS
19856 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19857 IOKIT_LIBS = $IOKIT_LIBS
19858 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19859 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19860 CORESERVICES_LIBS = $CORESERVICES_LIBS
19861 APPKIT_LIBS = $APPKIT_LIBS
19862 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19863 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19864 SECURITY_LIBS = $SECURITY_LIBS
19865 COREAUDIO_LIBS = $COREAUDIO_LIBS
19866 OPENAL_LIBS = $OPENAL_LIBS
19867 OPENCL_LIBS = $OPENCL_LIBS
19868 QUICKTIME_LIBS = $QUICKTIME_LIBS
19869 CARBON_LIBS = $CARBON_LIBS
19870 METAL_LIBS = $METAL_LIBS
19871 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19872 PTHREAD_LIBS = $PTHREAD_LIBS
19873 X_CFLAGS = $X_CFLAGS
19874 X_PRE_LIBS = $X_PRE_LIBS
19875 X_LIBS = $X_LIBS
19876 X_EXTRA_LIBS = $X_EXTRA_LIBS
19877 PCAP_LIBS = $PCAP_LIBS
19878 XML2_CFLAGS = $XML2_CFLAGS
19879 XML2_LIBS = $XML2_LIBS
19880 XSLT_CFLAGS = $XSLT_CFLAGS
19881 XSLT_LIBS = $XSLT_LIBS
19882 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19883 INOTIFY_LIBS = $INOTIFY_LIBS
19884 DBUS_CFLAGS = $DBUS_CFLAGS
19885 DBUS_LIBS = $DBUS_LIBS
19886 HAL_CFLAGS = $HAL_CFLAGS
19887 HAL_LIBS = $HAL_LIBS
19888 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19889 GNUTLS_LIBS = $GNUTLS_LIBS
19890 SANE_CFLAGS = $SANE_CFLAGS
19891 SANE_LIBS = $SANE_LIBS
19892 USB_CFLAGS = $USB_CFLAGS
19893 USB_LIBS = $USB_LIBS
19894 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19895 GPHOTO2_LIBS = $GPHOTO2_LIBS
19896 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19897 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19898 RESOLV_LIBS = $RESOLV_LIBS
19899 LCMS2_CFLAGS = $LCMS2_CFLAGS
19900 LCMS2_LIBS = $LCMS2_LIBS
19901 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19902 FREETYPE_LIBS = $FREETYPE_LIBS
19903 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19904 PULSE_CFLAGS = $PULSE_CFLAGS
19905 PULSE_LIBS = $PULSE_LIBS
19906 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19907 GSTREAMER_LIBS = $GSTREAMER_LIBS
19908 ALSA_LIBS = $ALSA_LIBS
19909 OSS4_CFLAGS = $OSS4_CFLAGS
19910 OSS4_LIBS = $OSS4_LIBS
19911 UDEV_CFLAGS = $UDEV_CFLAGS
19912 UDEV_LIBS = $UDEV_LIBS
19913 UNWIND_CFLAGS = $UNWIND_CFLAGS
19914 UNWIND_LIBS = $UNWIND_LIBS
19915 SDL2_CFLAGS = $SDL2_CFLAGS
19916 SDL2_LIBS = $SDL2_LIBS
19917 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19918 FAUDIO_LIBS = $FAUDIO_LIBS
19919 CAPI20_CFLAGS = $CAPI20_CFLAGS
19920 CAPI20_LIBS = $CAPI20_LIBS
19921 CUPS_CFLAGS = $CUPS_CFLAGS
19922 CUPS_LIBS = $CUPS_LIBS
19923 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19924 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19925 KRB5_CFLAGS = $KRB5_CFLAGS
19926 KRB5_LIBS = $KRB5_LIBS
19927 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19928 GSSAPI_LIBS = $GSSAPI_LIBS
19929 JPEG_CFLAGS = $JPEG_CFLAGS
19930 JPEG_LIBS = $JPEG_LIBS
19931 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19932 JXRLIB_LIBS = $JXRLIB_LIBS
19933 PNG_CFLAGS = $PNG_CFLAGS
19934 PNG_LIBS = $PNG_LIBS
19935 TIFF_CFLAGS = $TIFF_CFLAGS
19936 TIFF_LIBS = $TIFF_LIBS
19937 MPG123_CFLAGS = $MPG123_CFLAGS
19938 MPG123_LIBS = $MPG123_LIBS
19939 KSTAT_LIBS = $KSTAT_LIBS
19940 PROCSTAT_LIBS = $PROCSTAT_LIBS
19941 NETAPI_CFLAGS = $NETAPI_CFLAGS
19942 NETAPI_LIBS = $NETAPI_LIBS
19943 VKD3D_CFLAGS = $VKD3D_CFLAGS
19944 VKD3D_LIBS = $VKD3D_LIBS
19945 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19946 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19947 POLL_LIBS = $POLL_LIBS
19948 RT_LIBS = $RT_LIBS
19949 LDAP_CFLAGS = $LDAP_CFLAGS
19950 LDAP_LIBS = $LDAP_LIBS
19954 makedep_flags=""
19955 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19958 wine_fn_append_rule "
19959 # Rules automatically generated by configure
19961 .INIT: Makefile
19962 .MAKEFILEDEPS:
19963 all: Makefile
19964 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19965 @./config.status Make.tmp Makefile
19966 depend: \$(MAKEDEP)
19967 \$(MAKEDEP)$makedep_flags
19968 dummy:
19969 .PHONY: depend dummy"
19971 ac_config_links="$ac_config_links wine:tools/winewrapper"
19972 wine_fn_config_symlink wine
19973 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19974 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19975 wine_fn_config_symlink wine64
19978 wine_fn_config_makefile dlls/acledit enable_acledit
19979 wine_fn_config_makefile dlls/aclui enable_aclui
19980 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19981 wine_fn_config_makefile dlls/activeds enable_activeds
19982 wine_fn_config_makefile dlls/activeds/tests enable_tests
19983 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19984 wine_fn_config_makefile dlls/adsiid enable_adsiid
19985 wine_fn_config_makefile dlls/adsldp enable_adsldp
19986 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19987 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19988 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19989 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19990 wine_fn_config_makefile dlls/advpack enable_advpack
19991 wine_fn_config_makefile dlls/advpack/tests enable_tests
19992 wine_fn_config_makefile dlls/amsi enable_amsi
19993 wine_fn_config_makefile dlls/amstream enable_amstream
19994 wine_fn_config_makefile dlls/amstream/tests enable_tests
19995 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19997 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19998 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20000 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20005 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20013 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20015 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20017 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20019 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20020 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20021 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20023 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20028 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20029 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20031 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20032 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20041 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20045 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20046 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20049 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20051 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20052 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20056 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20057 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20065 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20066 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20067 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20068 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20076 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20081 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20082 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20109 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20112 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20136 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20155 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20187 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20191 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20195 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20196 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20201 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20203 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20209 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20214 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20216 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20220 wine_fn_config_makefile dlls/apphelp enable_apphelp
20221 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20222 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20223 wine_fn_config_makefile dlls/atl enable_atl
20224 wine_fn_config_makefile dlls/atl/tests enable_tests
20225 wine_fn_config_makefile dlls/atl100 enable_atl100
20226 wine_fn_config_makefile dlls/atl100/tests enable_tests
20227 wine_fn_config_makefile dlls/atl110 enable_atl110
20228 wine_fn_config_makefile dlls/atl80 enable_atl80
20229 wine_fn_config_makefile dlls/atl80/tests enable_tests
20230 wine_fn_config_makefile dlls/atl90 enable_atl90
20231 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20232 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20233 wine_fn_config_makefile dlls/atmlib enable_atmlib
20234 wine_fn_config_makefile dlls/authz enable_authz
20235 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20236 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20237 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20238 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20239 wine_fn_config_makefile dlls/avrt enable_avrt
20240 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20241 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20242 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20243 wine_fn_config_makefile dlls/browseui enable_browseui
20244 wine_fn_config_makefile dlls/browseui/tests enable_tests
20245 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20246 wine_fn_config_makefile dlls/cabinet enable_cabinet
20247 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20248 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20249 wine_fn_config_makefile dlls/cards enable_cards
20250 wine_fn_config_makefile dlls/cdosys enable_cdosys
20251 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20252 wine_fn_config_makefile dlls/clusapi enable_clusapi
20253 wine_fn_config_makefile dlls/combase enable_combase
20254 wine_fn_config_makefile dlls/combase/tests enable_tests
20255 wine_fn_config_makefile dlls/comcat enable_comcat
20256 wine_fn_config_makefile dlls/comcat/tests enable_tests
20257 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20258 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20259 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20260 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20261 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20262 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20263 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20264 wine_fn_config_makefile dlls/compstui enable_compstui
20265 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20266 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20267 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20268 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20269 wine_fn_config_makefile dlls/connect enable_connect
20270 wine_fn_config_makefile dlls/credui enable_credui
20271 wine_fn_config_makefile dlls/credui/tests enable_tests
20272 wine_fn_config_makefile dlls/crtdll enable_crtdll
20273 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20274 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20275 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20276 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20277 wine_fn_config_makefile dlls/cryptext enable_cryptext
20278 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20279 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20280 wine_fn_config_makefile dlls/cryptui enable_cryptui
20281 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20282 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20283 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20284 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20285 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20286 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20287 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20288 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20289 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20290 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20291 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20292 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20293 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20294 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20295 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20296 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20297 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20298 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20299 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20300 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20301 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20302 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20303 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20304 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20305 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20306 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20307 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20308 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20309 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20310 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20311 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20312 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20313 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20314 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20315 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20316 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20317 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20318 wine_fn_config_makefile dlls/d3dim enable_d3dim
20319 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20320 wine_fn_config_makefile dlls/d3drm enable_d3drm
20321 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20322 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20323 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20324 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20325 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20326 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20327 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20328 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20329 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20330 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20331 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20332 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20333 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20334 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20335 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20336 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20337 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20338 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20339 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20340 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20341 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20342 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20343 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20344 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20345 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20346 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20347 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20348 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20349 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20350 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20351 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20352 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20353 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20354 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20355 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20356 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20357 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20358 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20359 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20360 wine_fn_config_makefile dlls/davclnt enable_davclnt
20361 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20362 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20363 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20364 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20365 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20366 wine_fn_config_makefile dlls/dcomp enable_dcomp
20367 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20368 wine_fn_config_makefile dlls/ddraw enable_ddraw
20369 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20370 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20371 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20372 wine_fn_config_makefile dlls/devenum enable_devenum
20373 wine_fn_config_makefile dlls/devenum/tests enable_tests
20374 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20375 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20376 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20377 wine_fn_config_makefile dlls/difxapi enable_difxapi
20378 wine_fn_config_makefile dlls/dinput enable_dinput
20379 wine_fn_config_makefile dlls/dinput/tests enable_tests
20380 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20381 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20382 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20383 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20384 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20385 wine_fn_config_makefile dlls/dispex enable_dispex
20386 wine_fn_config_makefile dlls/dispex/tests enable_tests
20387 wine_fn_config_makefile dlls/display.drv16 enable_win16
20388 wine_fn_config_makefile dlls/dmband enable_dmband
20389 wine_fn_config_makefile dlls/dmband/tests enable_tests
20390 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20391 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20392 wine_fn_config_makefile dlls/dmime enable_dmime
20393 wine_fn_config_makefile dlls/dmime/tests enable_tests
20394 wine_fn_config_makefile dlls/dmloader enable_dmloader
20395 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20396 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20397 wine_fn_config_makefile dlls/dmscript enable_dmscript
20398 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20399 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20400 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20401 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20402 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20403 wine_fn_config_makefile dlls/dmusic enable_dmusic
20404 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20405 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20406 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20407 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20408 wine_fn_config_makefile dlls/dplay enable_dplay
20409 wine_fn_config_makefile dlls/dplayx enable_dplayx
20410 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20411 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20412 wine_fn_config_makefile dlls/dpnet enable_dpnet
20413 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20414 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20415 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20416 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20417 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20418 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20419 wine_fn_config_makefile dlls/drmclien enable_drmclien
20420 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20421 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20422 wine_fn_config_makefile dlls/dsound enable_dsound
20423 wine_fn_config_makefile dlls/dsound/tests enable_tests
20424 wine_fn_config_makefile dlls/dsquery enable_dsquery
20425 wine_fn_config_makefile dlls/dssenh enable_dssenh
20426 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20427 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20428 wine_fn_config_makefile dlls/dswave enable_dswave
20429 wine_fn_config_makefile dlls/dswave/tests enable_tests
20430 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20431 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20432 wine_fn_config_makefile dlls/dwrite enable_dwrite
20433 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20434 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20435 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20436 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20437 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20438 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20439 wine_fn_config_makefile dlls/dxgi enable_dxgi
20440 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20441 wine_fn_config_makefile dlls/dxguid enable_dxguid
20442 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20443 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20444 wine_fn_config_makefile dlls/esent enable_esent
20445 wine_fn_config_makefile dlls/evr enable_evr
20446 wine_fn_config_makefile dlls/evr/tests enable_tests
20447 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20448 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20449 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20451 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20454 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20455 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20457 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20458 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20460 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20462 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20463 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20464 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20467 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20468 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20470 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20472 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20473 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20475 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20476 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20477 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20478 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20479 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20480 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20481 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20482 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20483 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20484 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20485 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20486 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20487 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20488 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20489 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
20490 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20491 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20492 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20493 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20494 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20495 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20496 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20497 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20498 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20499 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20500 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20501 wine_fn_config_makefile dlls/faultrep enable_faultrep
20502 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20503 wine_fn_config_makefile dlls/feclient enable_feclient
20504 wine_fn_config_makefile dlls/fltlib enable_fltlib
20505 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20506 wine_fn_config_makefile dlls/fntcache enable_fntcache
20507 wine_fn_config_makefile dlls/fontsub enable_fontsub
20508 wine_fn_config_makefile dlls/fusion enable_fusion
20509 wine_fn_config_makefile dlls/fusion/tests enable_tests
20510 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20511 wine_fn_config_makefile dlls/gameux enable_gameux
20512 wine_fn_config_makefile dlls/gameux/tests enable_tests
20513 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20514 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20515 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20516 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20517 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20518 wine_fn_config_makefile dlls/glu32 enable_glu32
20519 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20520 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20521 wine_fn_config_makefile dlls/hal enable_hal
20522 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20523 wine_fn_config_makefile dlls/hid enable_hid
20524 wine_fn_config_makefile dlls/hid/tests enable_tests
20525 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20526 wine_fn_config_makefile dlls/hlink enable_hlink
20527 wine_fn_config_makefile dlls/hlink/tests enable_tests
20528 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20529 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20530 wine_fn_config_makefile dlls/http.sys enable_http_sys
20531 wine_fn_config_makefile dlls/httpapi enable_httpapi
20532 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20533 wine_fn_config_makefile dlls/iccvid enable_iccvid
20534 wine_fn_config_makefile dlls/icmp enable_icmp
20535 wine_fn_config_makefile dlls/ieframe enable_ieframe
20536 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20537 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20538 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20539 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20540 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20541 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20542 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20543 wine_fn_config_makefile dlls/imm32 enable_imm32
20544 wine_fn_config_makefile dlls/imm32/tests enable_tests
20545 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20546 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20547 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20548 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20549 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20550 wine_fn_config_makefile dlls/infosoft enable_infosoft
20551 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20552 wine_fn_config_makefile dlls/initpki enable_initpki
20553 wine_fn_config_makefile dlls/inkobj enable_inkobj
20554 wine_fn_config_makefile dlls/inseng enable_inseng
20555 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20556 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20557 wine_fn_config_makefile dlls/iprop enable_iprop
20558 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20559 wine_fn_config_makefile dlls/itircl enable_itircl
20560 wine_fn_config_makefile dlls/itss enable_itss
20561 wine_fn_config_makefile dlls/itss/tests enable_tests
20562 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20563 wine_fn_config_makefile dlls/jscript enable_jscript
20564 wine_fn_config_makefile dlls/jscript/tests enable_tests
20565 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20566 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20567 wine_fn_config_makefile dlls/kerberos enable_kerberos
20568 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20569 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20570 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20571 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20572 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20573 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20574 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20575 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20576 wine_fn_config_makefile dlls/ksuser enable_ksuser
20577 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20578 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20579 wine_fn_config_makefile dlls/loadperf enable_loadperf
20580 wine_fn_config_makefile dlls/localspl enable_localspl
20581 wine_fn_config_makefile dlls/localspl/tests enable_tests
20582 wine_fn_config_makefile dlls/localui enable_localui
20583 wine_fn_config_makefile dlls/localui/tests enable_tests
20584 wine_fn_config_makefile dlls/lz32 enable_lz32
20585 wine_fn_config_makefile dlls/lz32/tests enable_tests
20586 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20587 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20588 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20589 wine_fn_config_makefile dlls/mapistub enable_mapistub
20590 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20591 wine_fn_config_makefile dlls/mcicda enable_mcicda
20592 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20593 wine_fn_config_makefile dlls/mciseq enable_mciseq
20594 wine_fn_config_makefile dlls/mciwave enable_mciwave
20595 wine_fn_config_makefile dlls/mf enable_mf
20596 wine_fn_config_makefile dlls/mf/tests enable_tests
20597 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20598 wine_fn_config_makefile dlls/mferror enable_mferror
20599 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20600 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20601 wine_fn_config_makefile dlls/mfplat enable_mfplat
20602 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20603 wine_fn_config_makefile dlls/mfplay enable_mfplay
20604 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20605 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20606 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20607 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20608 wine_fn_config_makefile dlls/midimap enable_midimap
20609 wine_fn_config_makefile dlls/mlang enable_mlang
20610 wine_fn_config_makefile dlls/mlang/tests enable_tests
20611 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20612 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20613 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20614 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20615 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20616 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20617 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20618 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20619 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20620 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20621 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20622 wine_fn_config_makefile dlls/mpr enable_mpr
20623 wine_fn_config_makefile dlls/mpr/tests enable_tests
20624 wine_fn_config_makefile dlls/mprapi enable_mprapi
20625 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20626 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20627 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20628 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20629 wine_fn_config_makefile dlls/msado15 enable_msado15
20630 wine_fn_config_makefile dlls/msado15/tests enable_tests
20631 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20632 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20633 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20634 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20635 wine_fn_config_makefile dlls/mscms enable_mscms
20636 wine_fn_config_makefile dlls/mscms/tests enable_tests
20637 wine_fn_config_makefile dlls/mscoree enable_mscoree
20638 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20639 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20640 wine_fn_config_makefile dlls/msctf enable_msctf
20641 wine_fn_config_makefile dlls/msctf/tests enable_tests
20642 wine_fn_config_makefile dlls/msctfp enable_msctfp
20643 wine_fn_config_makefile dlls/msdaps enable_msdaps
20644 wine_fn_config_makefile dlls/msdelta enable_msdelta
20645 wine_fn_config_makefile dlls/msdmo enable_msdmo
20646 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20647 wine_fn_config_makefile dlls/msdrm enable_msdrm
20648 wine_fn_config_makefile dlls/msftedit enable_msftedit
20649 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20650 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20651 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20652 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20653 wine_fn_config_makefile dlls/mshtml enable_mshtml
20654 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20655 wine_fn_config_makefile dlls/msi enable_msi
20656 wine_fn_config_makefile dlls/msi/tests enable_tests
20657 wine_fn_config_makefile dlls/msident enable_msident
20658 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20659 wine_fn_config_makefile dlls/msimsg enable_msimsg
20660 wine_fn_config_makefile dlls/msimtf enable_msimtf
20661 wine_fn_config_makefile dlls/msisip enable_msisip
20662 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20663 wine_fn_config_makefile dlls/msls31 enable_msls31
20664 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20665 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20666 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20667 wine_fn_config_makefile dlls/msports enable_msports
20668 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20669 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20670 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20671 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20672 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20673 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20674 wine_fn_config_makefile dlls/mstask enable_mstask
20675 wine_fn_config_makefile dlls/mstask/tests enable_tests
20676 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20677 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20678 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20679 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20680 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20681 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20682 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20683 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20684 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20685 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20686 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20687 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20688 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20689 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20690 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20691 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20692 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20693 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20694 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20695 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20696 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20697 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20698 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20699 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20700 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20701 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20702 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20703 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20704 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20705 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20706 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20707 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20708 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20709 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20710 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20711 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20712 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20713 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20714 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20715 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20716 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20717 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20718 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20719 wine_fn_config_makefile dlls/mswsock enable_mswsock
20720 wine_fn_config_makefile dlls/msxml enable_msxml
20721 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20722 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20723 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20724 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20725 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20726 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20727 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20728 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20729 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20730 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20731 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20732 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20733 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20734 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20735 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20736 wine_fn_config_makefile dlls/netprofm enable_netprofm
20737 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20738 wine_fn_config_makefile dlls/netutils enable_netutils
20739 wine_fn_config_makefile dlls/newdev enable_newdev
20740 wine_fn_config_makefile dlls/ninput enable_ninput
20741 wine_fn_config_makefile dlls/ninput/tests enable_tests
20742 wine_fn_config_makefile dlls/normaliz enable_normaliz
20743 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20744 wine_fn_config_makefile dlls/npptools enable_npptools
20745 wine_fn_config_makefile dlls/ntdll enable_ntdll
20746 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20747 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20748 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20749 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20750 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20751 wine_fn_config_makefile dlls/ntprint enable_ntprint
20752 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20753 wine_fn_config_makefile dlls/objsel enable_objsel
20754 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20755 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20756 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20757 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20758 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20759 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20760 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20761 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20762 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20763 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20764 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20765 wine_fn_config_makefile dlls/ole32 enable_ole32
20766 wine_fn_config_makefile dlls/ole32/tests enable_tests
20767 wine_fn_config_makefile dlls/oleacc enable_oleacc
20768 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20769 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20770 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20771 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20772 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20773 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20774 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20775 wine_fn_config_makefile dlls/oledlg enable_oledlg
20776 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20777 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20778 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20779 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20780 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20781 wine_fn_config_makefile dlls/opcservices enable_opcservices
20782 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20783 wine_fn_config_makefile dlls/openal32 enable_openal32
20784 wine_fn_config_makefile dlls/opencl enable_opencl
20785 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20786 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20787 wine_fn_config_makefile dlls/packager enable_packager
20788 wine_fn_config_makefile dlls/packager/tests enable_tests
20789 wine_fn_config_makefile dlls/pdh enable_pdh
20790 wine_fn_config_makefile dlls/pdh/tests enable_tests
20791 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20792 wine_fn_config_makefile dlls/pidgen enable_pidgen
20793 wine_fn_config_makefile dlls/powrprof enable_powrprof
20794 wine_fn_config_makefile dlls/printui enable_printui
20795 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20796 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20797 wine_fn_config_makefile dlls/propsys enable_propsys
20798 wine_fn_config_makefile dlls/propsys/tests enable_tests
20799 wine_fn_config_makefile dlls/psapi enable_psapi
20800 wine_fn_config_makefile dlls/psapi/tests enable_tests
20801 wine_fn_config_makefile dlls/pstorec enable_pstorec
20802 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20803 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20804 wine_fn_config_makefile dlls/qasf enable_qasf
20805 wine_fn_config_makefile dlls/qasf/tests enable_tests
20806 wine_fn_config_makefile dlls/qcap enable_qcap
20807 wine_fn_config_makefile dlls/qcap/tests enable_tests
20808 wine_fn_config_makefile dlls/qdvd enable_qdvd
20809 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20810 wine_fn_config_makefile dlls/qedit enable_qedit
20811 wine_fn_config_makefile dlls/qedit/tests enable_tests
20812 wine_fn_config_makefile dlls/qmgr enable_qmgr
20813 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20814 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20815 wine_fn_config_makefile dlls/quartz enable_quartz
20816 wine_fn_config_makefile dlls/quartz/tests enable_tests
20817 wine_fn_config_makefile dlls/query enable_query
20818 wine_fn_config_makefile dlls/qwave enable_qwave
20819 wine_fn_config_makefile dlls/qwave/tests enable_tests
20820 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20821 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20822 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20823 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20824 wine_fn_config_makefile dlls/regapi enable_regapi
20825 wine_fn_config_makefile dlls/resutils enable_resutils
20826 wine_fn_config_makefile dlls/riched20 enable_riched20
20827 wine_fn_config_makefile dlls/riched20/tests enable_tests
20828 wine_fn_config_makefile dlls/riched32 enable_riched32
20829 wine_fn_config_makefile dlls/riched32/tests enable_tests
20830 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20831 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20832 wine_fn_config_makefile dlls/rsabase enable_rsabase
20833 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20834 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20835 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20836 wine_fn_config_makefile dlls/rtutils enable_rtutils
20837 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20838 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20839 wine_fn_config_makefile dlls/samlib enable_samlib
20840 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20841 wine_fn_config_makefile dlls/sapi enable_sapi
20842 wine_fn_config_makefile dlls/sapi/tests enable_tests
20843 wine_fn_config_makefile dlls/sas enable_sas
20844 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20845 wine_fn_config_makefile dlls/sccbase enable_sccbase
20846 wine_fn_config_makefile dlls/schannel enable_schannel
20847 wine_fn_config_makefile dlls/schannel/tests enable_tests
20848 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20849 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20850 wine_fn_config_makefile dlls/scrobj enable_scrobj
20851 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20852 wine_fn_config_makefile dlls/scrrun enable_scrrun
20853 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20854 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20855 wine_fn_config_makefile dlls/sechost enable_sechost
20856 wine_fn_config_makefile dlls/secur32 enable_secur32
20857 wine_fn_config_makefile dlls/secur32/tests enable_tests
20858 wine_fn_config_makefile dlls/security enable_security
20859 wine_fn_config_makefile dlls/sensapi enable_sensapi
20860 wine_fn_config_makefile dlls/serialui enable_serialui
20861 wine_fn_config_makefile dlls/serialui/tests enable_tests
20862 wine_fn_config_makefile dlls/setupapi enable_setupapi
20863 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20864 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20865 wine_fn_config_makefile dlls/sfc enable_sfc
20866 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20867 wine_fn_config_makefile dlls/shcore enable_shcore
20868 wine_fn_config_makefile dlls/shcore/tests enable_tests
20869 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20870 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20871 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20872 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20873 wine_fn_config_makefile dlls/shell32 enable_shell32
20874 wine_fn_config_makefile dlls/shell32/tests enable_tests
20875 wine_fn_config_makefile dlls/shfolder enable_shfolder
20876 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20877 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20878 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20879 wine_fn_config_makefile dlls/slc enable_slc
20880 wine_fn_config_makefile dlls/slc/tests enable_tests
20881 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20882 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20883 wine_fn_config_makefile dlls/softpub enable_softpub
20884 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20885 wine_fn_config_makefile dlls/spoolss enable_spoolss
20886 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20887 wine_fn_config_makefile dlls/srclient enable_srclient
20888 wine_fn_config_makefile dlls/srvcli enable_srvcli
20889 wine_fn_config_makefile dlls/sspicli enable_sspicli
20890 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20891 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20892 wine_fn_config_makefile dlls/sti enable_sti
20893 wine_fn_config_makefile dlls/sti/tests enable_tests
20894 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20895 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20896 wine_fn_config_makefile dlls/strmbase enable_strmbase
20897 wine_fn_config_makefile dlls/strmdll enable_strmdll
20898 wine_fn_config_makefile dlls/strmiids enable_strmiids
20899 wine_fn_config_makefile dlls/svrapi enable_svrapi
20900 wine_fn_config_makefile dlls/sxs enable_sxs
20901 wine_fn_config_makefile dlls/sxs/tests enable_tests
20902 wine_fn_config_makefile dlls/system.drv16 enable_win16
20903 wine_fn_config_makefile dlls/t2embed enable_t2embed
20904 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20905 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20906 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20907 wine_fn_config_makefile dlls/taskschd enable_taskschd
20908 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20909 wine_fn_config_makefile dlls/tdh enable_tdh
20910 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20911 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20912 wine_fn_config_makefile dlls/traffic enable_traffic
20913 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20914 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20915 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20916 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20917 wine_fn_config_makefile dlls/tzres enable_tzres
20918 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20919 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20920 wine_fn_config_makefile dlls/uianimation enable_uianimation
20921 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20922 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20923 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20924 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20925 wine_fn_config_makefile dlls/unicows enable_unicows
20926 wine_fn_config_makefile dlls/updspapi enable_updspapi
20927 wine_fn_config_makefile dlls/url enable_url
20928 wine_fn_config_makefile dlls/urlmon enable_urlmon
20929 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20930 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20931 wine_fn_config_makefile dlls/user.exe16 enable_win16
20932 wine_fn_config_makefile dlls/user32 enable_user32
20933 wine_fn_config_makefile dlls/user32/tests enable_tests
20934 wine_fn_config_makefile dlls/userenv enable_userenv
20935 wine_fn_config_makefile dlls/userenv/tests enable_tests
20936 wine_fn_config_makefile dlls/usp10 enable_usp10
20937 wine_fn_config_makefile dlls/usp10/tests enable_tests
20938 wine_fn_config_makefile dlls/utildll enable_utildll
20939 wine_fn_config_makefile dlls/uuid enable_uuid
20940 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20941 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20942 wine_fn_config_makefile dlls/vbscript enable_vbscript
20943 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20944 wine_fn_config_makefile dlls/vcomp enable_vcomp
20945 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20946 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20947 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20948 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20949 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20950 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20951 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20952 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20953 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20954 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20955 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20956 wine_fn_config_makefile dlls/version enable_version
20957 wine_fn_config_makefile dlls/version/tests enable_tests
20958 wine_fn_config_makefile dlls/vga enable_vga
20959 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20960 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20961 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20962 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20963 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20964 wine_fn_config_makefile dlls/vssapi enable_vssapi
20965 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20966 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20967 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20968 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20969 wine_fn_config_makefile dlls/w32skrnl enable_win16
20970 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20971 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20972 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20973 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20974 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20975 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20976 wine_fn_config_makefile dlls/wdscore enable_wdscore
20977 wine_fn_config_makefile dlls/webservices enable_webservices
20978 wine_fn_config_makefile dlls/webservices/tests enable_tests
20979 wine_fn_config_makefile dlls/wer enable_wer
20980 wine_fn_config_makefile dlls/wer/tests enable_tests
20981 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20982 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
20983 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20984 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20985 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20986 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20987 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20988 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20989 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20990 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20991 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20992 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20993 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20994 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20995 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20996 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20997 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20998 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20999 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21000 wine_fn_config_makefile dlls/wined3d enable_wined3d
21001 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21002 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21003 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21004 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21005 wine_fn_config_makefile dlls/winemapi enable_winemapi
21006 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21007 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21008 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21009 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21010 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21011 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21012 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21013 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21014 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21015 wine_fn_config_makefile dlls/wing32 enable_wing32
21016 wine_fn_config_makefile dlls/winhttp enable_winhttp
21017 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21018 wine_fn_config_makefile dlls/wininet enable_wininet
21019 wine_fn_config_makefile dlls/wininet/tests enable_tests
21020 wine_fn_config_makefile dlls/winmm enable_winmm
21021 wine_fn_config_makefile dlls/winmm/tests enable_tests
21022 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21023 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21024 wine_fn_config_makefile dlls/winscard enable_winscard
21025 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21026 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21027 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21028 wine_fn_config_makefile dlls/winsta enable_winsta
21029 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21030 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21031 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21032 wine_fn_config_makefile dlls/wintrust enable_wintrust
21033 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21034 wine_fn_config_makefile dlls/winusb enable_winusb
21035 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21036 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21037 wine_fn_config_makefile dlls/wlanui enable_wlanui
21038 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21039 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21040 wine_fn_config_makefile dlls/wmasf enable_wmasf
21041 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21042 wine_fn_config_makefile dlls/wmi enable_wmi
21043 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21044 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21045 wine_fn_config_makefile dlls/wmp enable_wmp
21046 wine_fn_config_makefile dlls/wmp/tests enable_tests
21047 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21048 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21049 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21050 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21051 wine_fn_config_makefile dlls/wow32 enable_win16
21052 wine_fn_config_makefile dlls/wpc enable_wpc
21053 wine_fn_config_makefile dlls/wpc/tests enable_tests
21054 wine_fn_config_makefile dlls/wpcap enable_wpcap
21055 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21056 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21057 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21058 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21059 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21060 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21061 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21062 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21063 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21064 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21065 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21066 wine_fn_config_makefile dlls/wuapi enable_wuapi
21067 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21068 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21069 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21070 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21071 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21072 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21073 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21074 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21075 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21076 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21077 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21078 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21079 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21080 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21081 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21082 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21083 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21084 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21085 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21086 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21087 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21088 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21089 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21090 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21091 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21092 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21093 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21094 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21095 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21096 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21097 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21098 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21099 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21100 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21101 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21102 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21103 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21104 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21105 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21106 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21107 wine_fn_config_makefile dlls/xmllite enable_xmllite
21108 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21109 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21110 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21111 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21112 wine_fn_config_makefile fonts enable_fonts
21113 wine_fn_config_makefile include enable_include
21114 wine_fn_config_makefile libs/port enable_port
21115 wine_fn_config_makefile libs/wine enable_wine
21116 wine_fn_config_makefile libs/wpp enable_wpp
21117 wine_fn_config_makefile loader enable_loader
21118 wine_fn_config_makefile nls enable_nls
21119 wine_fn_config_makefile po enable_po
21120 wine_fn_config_makefile programs/arp enable_arp
21121 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21122 wine_fn_config_makefile programs/attrib enable_attrib
21123 wine_fn_config_makefile programs/cabarc enable_cabarc
21124 wine_fn_config_makefile programs/cacls enable_cacls
21125 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21126 wine_fn_config_makefile programs/clock enable_clock
21127 wine_fn_config_makefile programs/cmd enable_cmd
21128 wine_fn_config_makefile programs/cmd/tests enable_tests
21129 wine_fn_config_makefile programs/conhost enable_conhost
21130 wine_fn_config_makefile programs/conhost/tests enable_tests
21131 wine_fn_config_makefile programs/control enable_control
21132 wine_fn_config_makefile programs/cscript enable_cscript
21133 wine_fn_config_makefile programs/dism enable_dism
21134 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21135 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21136 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21137 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21138 wine_fn_config_makefile programs/eject enable_eject
21139 wine_fn_config_makefile programs/expand enable_expand
21140 wine_fn_config_makefile programs/explorer enable_explorer
21141 wine_fn_config_makefile programs/extrac32 enable_extrac32
21142 wine_fn_config_makefile programs/fc enable_fc
21143 wine_fn_config_makefile programs/find enable_find
21144 wine_fn_config_makefile programs/find/tests enable_tests
21145 wine_fn_config_makefile programs/findstr enable_findstr
21146 wine_fn_config_makefile programs/fsutil enable_fsutil
21147 wine_fn_config_makefile programs/fsutil/tests enable_tests
21148 wine_fn_config_makefile programs/hh enable_hh
21149 wine_fn_config_makefile programs/hostname enable_hostname
21150 wine_fn_config_makefile programs/icacls enable_icacls
21151 wine_fn_config_makefile programs/icinfo enable_icinfo
21152 wine_fn_config_makefile programs/iexplore enable_iexplore
21153 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21154 wine_fn_config_makefile programs/lodctr enable_lodctr
21155 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21156 wine_fn_config_makefile programs/mshta enable_mshta
21157 wine_fn_config_makefile programs/msidb enable_msidb
21158 wine_fn_config_makefile programs/msiexec enable_msiexec
21159 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21160 wine_fn_config_makefile programs/net enable_net
21161 wine_fn_config_makefile programs/netsh enable_netsh
21162 wine_fn_config_makefile programs/netstat enable_netstat
21163 wine_fn_config_makefile programs/ngen enable_ngen
21164 wine_fn_config_makefile programs/notepad enable_notepad
21165 wine_fn_config_makefile programs/oleview enable_oleview
21166 wine_fn_config_makefile programs/ping enable_ping
21167 wine_fn_config_makefile programs/plugplay enable_plugplay
21168 wine_fn_config_makefile programs/powershell enable_powershell
21169 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21170 wine_fn_config_makefile programs/progman enable_progman
21171 wine_fn_config_makefile programs/reg enable_reg
21172 wine_fn_config_makefile programs/reg/tests enable_tests
21173 wine_fn_config_makefile programs/regasm enable_regasm
21174 wine_fn_config_makefile programs/regedit enable_regedit
21175 wine_fn_config_makefile programs/regedit/tests enable_tests
21176 wine_fn_config_makefile programs/regini enable_regini
21177 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21178 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21179 wine_fn_config_makefile programs/rpcss enable_rpcss
21180 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21181 wine_fn_config_makefile programs/rundll32 enable_rundll32
21182 wine_fn_config_makefile programs/sc enable_sc
21183 wine_fn_config_makefile programs/schtasks enable_schtasks
21184 wine_fn_config_makefile programs/schtasks/tests enable_tests
21185 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21186 wine_fn_config_makefile programs/secedit enable_secedit
21187 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21188 wine_fn_config_makefile programs/services enable_services
21189 wine_fn_config_makefile programs/services/tests enable_tests
21190 wine_fn_config_makefile programs/shutdown enable_shutdown
21191 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21192 wine_fn_config_makefile programs/start enable_start
21193 wine_fn_config_makefile programs/subst enable_subst
21194 wine_fn_config_makefile programs/svchost enable_svchost
21195 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21196 wine_fn_config_makefile programs/taskkill enable_taskkill
21197 wine_fn_config_makefile programs/tasklist enable_tasklist
21198 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21199 wine_fn_config_makefile programs/termsv enable_termsv
21200 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21201 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21202 wine_fn_config_makefile programs/view enable_view
21203 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21204 wine_fn_config_makefile programs/where enable_where
21205 wine_fn_config_makefile programs/whoami enable_whoami
21206 wine_fn_config_makefile programs/wineboot enable_wineboot
21207 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21208 wine_fn_config_makefile programs/winecfg enable_winecfg
21209 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21210 wine_fn_config_makefile programs/winedbg enable_winedbg
21211 wine_fn_config_makefile programs/winedevice enable_winedevice
21212 wine_fn_config_makefile programs/winefile enable_winefile
21213 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21214 wine_fn_config_makefile programs/winemine enable_winemine
21215 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21216 wine_fn_config_makefile programs/winepath enable_winepath
21217 wine_fn_config_makefile programs/winetest enable_winetest
21218 wine_fn_config_makefile programs/winevdm enable_win16
21219 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21220 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21221 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21222 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21223 wine_fn_config_makefile programs/winver enable_winver
21224 wine_fn_config_makefile programs/wmic enable_wmic
21225 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21226 wine_fn_config_makefile programs/wordpad enable_wordpad
21227 wine_fn_config_makefile programs/write enable_write
21228 wine_fn_config_makefile programs/wscript enable_wscript
21229 wine_fn_config_makefile programs/wscript/tests enable_tests
21230 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21231 wine_fn_config_makefile programs/wusa enable_wusa
21232 wine_fn_config_makefile programs/xcopy enable_xcopy
21233 wine_fn_config_makefile programs/xcopy/tests enable_tests
21234 wine_fn_config_makefile server enable_server
21235 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21236 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21237 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21238 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21239 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21240 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21241 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21242 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21243 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21246 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21247 wine_fn_append_file CONFIGURE_TARGETS "tags"
21248 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21249 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21250 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21251 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21252 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21253 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21255 if test "x$enable_tools" != xno
21256 then
21257 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21258 ac_config_commands="$ac_config_commands tools/makedep"
21262 ac_config_commands="$ac_config_commands Makefile"
21265 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21269 if test "x$enable_maintainer_mode" = xyes
21270 then
21271 wine_fn_append_rule "configure: configure.ac aclocal.m4
21272 autoconf --warnings=all
21273 include/config.h.in: include/stamp-h.in
21274 include/stamp-h.in: configure.ac aclocal.m4
21275 autoheader --warnings=all
21276 @echo timestamp > \$@"
21279 if test "x$enable_tools" != xno
21280 then
21281 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21282 @./config.status tools/makedep
21283 Makefile: tools/makedep$ac_exeext"
21284 else
21285 wine_fn_append_rule "\$(MAKEDEP):
21286 @echo \"You need to run make in $TOOLSDIR first\" && false"
21289 if test -n "$with_wine64"
21290 then
21291 case "$with_wine64" in
21292 /*) reldir="" ;;
21293 *) reldir="../" ;;
21294 esac
21295 rm -f fonts server 2>/dev/null
21296 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21297 loader/wine64 loader/wine64-preloader:
21298 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21299 $with_wine64/loader/wine:
21300 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21301 $with_wine64/loader/wine-preloader:
21302 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21303 clean::
21304 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21305 else
21306 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21307 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21308 fonts \
21309 loader/wine.inf \
21310 nls \
21311 programs/msidb/msidb \
21312 programs/msiexec/msiexec \
21313 programs/notepad/notepad \
21314 programs/regedit/regedit \
21315 programs/regsvr32/regsvr32 \
21316 programs/wineboot/wineboot \
21317 programs/winecfg/winecfg \
21318 programs/wineconsole/wineconsole \
21319 programs/winedbg/winedbg \
21320 programs/winefile/winefile \
21321 programs/winemine/winemine \
21322 programs/winepath/winepath \
21323 server/wineserver"
21325 case $host_os in
21326 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21327 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21328 esac
21331 $as_echo " done" >&6
21332 cat >confcache <<\_ACEOF
21333 # This file is a shell script that caches the results of configure
21334 # tests run on this system so they can be shared between configure
21335 # scripts and configure runs, see configure's option --config-cache.
21336 # It is not useful on other systems. If it contains results you don't
21337 # want to keep, you may remove or edit it.
21339 # config.status only pays attention to the cache file if you give it
21340 # the --recheck option to rerun configure.
21342 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21343 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21344 # following values.
21346 _ACEOF
21348 # The following way of writing the cache mishandles newlines in values,
21349 # but we know of no workaround that is simple, portable, and efficient.
21350 # So, we kill variables containing newlines.
21351 # Ultrix sh set writes to stderr and can't be redirected directly,
21352 # and sets the high bit in the cache file unless we assign to the vars.
21354 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21355 eval ac_val=\$$ac_var
21356 case $ac_val in #(
21357 *${as_nl}*)
21358 case $ac_var in #(
21359 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21360 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21361 esac
21362 case $ac_var in #(
21363 _ | IFS | as_nl) ;; #(
21364 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21365 *) { eval $ac_var=; unset $ac_var;} ;;
21366 esac ;;
21367 esac
21368 done
21370 (set) 2>&1 |
21371 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21372 *${as_nl}ac_space=\ *)
21373 # `set' does not quote correctly, so add quotes: double-quote
21374 # substitution turns \\\\ into \\, and sed turns \\ into \.
21375 sed -n \
21376 "s/'/'\\\\''/g;
21377 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21378 ;; #(
21380 # `set' quotes correctly as required by POSIX, so do not add quotes.
21381 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21383 esac |
21384 sort
21386 sed '
21387 /^ac_cv_env_/b end
21388 t clear
21389 :clear
21390 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21391 t end
21392 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21393 :end' >>confcache
21394 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21395 if test -w "$cache_file"; then
21396 if test "x$cache_file" != "x/dev/null"; then
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21398 $as_echo "$as_me: updating cache $cache_file" >&6;}
21399 if test ! -f "$cache_file" || test -h "$cache_file"; then
21400 cat confcache >"$cache_file"
21401 else
21402 case $cache_file in #(
21403 */* | ?:*)
21404 mv -f confcache "$cache_file"$$ &&
21405 mv -f "$cache_file"$$ "$cache_file" ;; #(
21407 mv -f confcache "$cache_file" ;;
21408 esac
21411 else
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21413 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21416 rm -f confcache
21418 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21419 # Let make expand exec_prefix.
21420 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21422 DEFS=-DHAVE_CONFIG_H
21424 ac_libobjs=
21425 ac_ltlibobjs=
21427 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21428 # 1. Remove the extension, and $U if already installed.
21429 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21430 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21431 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21432 # will be set to the directory where LIBOBJS objects are built.
21433 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21434 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21435 done
21436 LIBOBJS=$ac_libobjs
21438 LTLIBOBJS=$ac_ltlibobjs
21442 : "${CONFIG_STATUS=./config.status}"
21443 ac_write_fail=0
21444 ac_clean_files_save=$ac_clean_files
21445 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21447 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21448 as_write_fail=0
21449 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21450 #! $SHELL
21451 # Generated by $as_me.
21452 # Run this file to recreate the current configuration.
21453 # Compiler output produced by configure, useful for debugging
21454 # configure, is in config.log if it exists.
21456 debug=false
21457 ac_cs_recheck=false
21458 ac_cs_silent=false
21460 SHELL=\${CONFIG_SHELL-$SHELL}
21461 export SHELL
21462 _ASEOF
21463 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21464 ## -------------------- ##
21465 ## M4sh Initialization. ##
21466 ## -------------------- ##
21468 # Be more Bourne compatible
21469 DUALCASE=1; export DUALCASE # for MKS sh
21470 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21471 emulate sh
21472 NULLCMD=:
21473 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21474 # is contrary to our usage. Disable this feature.
21475 alias -g '${1+"$@"}'='"$@"'
21476 setopt NO_GLOB_SUBST
21477 else
21478 case `(set -o) 2>/dev/null` in #(
21479 *posix*) :
21480 set -o posix ;; #(
21481 *) :
21483 esac
21487 as_nl='
21489 export as_nl
21490 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21491 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21492 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21493 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21494 # Prefer a ksh shell builtin over an external printf program on Solaris,
21495 # but without wasting forks for bash or zsh.
21496 if test -z "$BASH_VERSION$ZSH_VERSION" \
21497 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21498 as_echo='print -r --'
21499 as_echo_n='print -rn --'
21500 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21501 as_echo='printf %s\n'
21502 as_echo_n='printf %s'
21503 else
21504 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21505 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21506 as_echo_n='/usr/ucb/echo -n'
21507 else
21508 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21509 as_echo_n_body='eval
21510 arg=$1;
21511 case $arg in #(
21512 *"$as_nl"*)
21513 expr "X$arg" : "X\\(.*\\)$as_nl";
21514 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21515 esac;
21516 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21518 export as_echo_n_body
21519 as_echo_n='sh -c $as_echo_n_body as_echo'
21521 export as_echo_body
21522 as_echo='sh -c $as_echo_body as_echo'
21525 # The user is always right.
21526 if test "${PATH_SEPARATOR+set}" != set; then
21527 PATH_SEPARATOR=:
21528 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21529 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21530 PATH_SEPARATOR=';'
21535 # IFS
21536 # We need space, tab and new line, in precisely that order. Quoting is
21537 # there to prevent editors from complaining about space-tab.
21538 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21539 # splitting by setting IFS to empty value.)
21540 IFS=" "" $as_nl"
21542 # Find who we are. Look in the path if we contain no directory separator.
21543 as_myself=
21544 case $0 in #((
21545 *[\\/]* ) as_myself=$0 ;;
21546 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21547 for as_dir in $PATH
21549 IFS=$as_save_IFS
21550 test -z "$as_dir" && as_dir=.
21551 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21552 done
21553 IFS=$as_save_IFS
21556 esac
21557 # We did not find ourselves, most probably we were run as `sh COMMAND'
21558 # in which case we are not to be found in the path.
21559 if test "x$as_myself" = x; then
21560 as_myself=$0
21562 if test ! -f "$as_myself"; then
21563 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21564 exit 1
21567 # Unset variables that we do not need and which cause bugs (e.g. in
21568 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21569 # suppresses any "Segmentation fault" message there. '((' could
21570 # trigger a bug in pdksh 5.2.14.
21571 for as_var in BASH_ENV ENV MAIL MAILPATH
21572 do eval test x\${$as_var+set} = xset \
21573 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21574 done
21575 PS1='$ '
21576 PS2='> '
21577 PS4='+ '
21579 # NLS nuisances.
21580 LC_ALL=C
21581 export LC_ALL
21582 LANGUAGE=C
21583 export LANGUAGE
21585 # CDPATH.
21586 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21589 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21590 # ----------------------------------------
21591 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21592 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21593 # script with STATUS, using 1 if that was 0.
21594 as_fn_error ()
21596 as_status=$1; test $as_status -eq 0 && as_status=1
21597 if test "$4"; then
21598 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21599 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21601 $as_echo "$as_me: error: $2" >&2
21602 as_fn_exit $as_status
21603 } # as_fn_error
21606 # as_fn_set_status STATUS
21607 # -----------------------
21608 # Set $? to STATUS, without forking.
21609 as_fn_set_status ()
21611 return $1
21612 } # as_fn_set_status
21614 # as_fn_exit STATUS
21615 # -----------------
21616 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21617 as_fn_exit ()
21619 set +e
21620 as_fn_set_status $1
21621 exit $1
21622 } # as_fn_exit
21624 # as_fn_unset VAR
21625 # ---------------
21626 # Portably unset VAR.
21627 as_fn_unset ()
21629 { eval $1=; unset $1;}
21631 as_unset=as_fn_unset
21632 # as_fn_append VAR VALUE
21633 # ----------------------
21634 # Append the text in VALUE to the end of the definition contained in VAR. Take
21635 # advantage of any shell optimizations that allow amortized linear growth over
21636 # repeated appends, instead of the typical quadratic growth present in naive
21637 # implementations.
21638 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21639 eval 'as_fn_append ()
21641 eval $1+=\$2
21643 else
21644 as_fn_append ()
21646 eval $1=\$$1\$2
21648 fi # as_fn_append
21650 # as_fn_arith ARG...
21651 # ------------------
21652 # Perform arithmetic evaluation on the ARGs, and store the result in the
21653 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21654 # must be portable across $(()) and expr.
21655 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21656 eval 'as_fn_arith ()
21658 as_val=$(( $* ))
21660 else
21661 as_fn_arith ()
21663 as_val=`expr "$@" || test $? -eq 1`
21665 fi # as_fn_arith
21668 if expr a : '\(a\)' >/dev/null 2>&1 &&
21669 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21670 as_expr=expr
21671 else
21672 as_expr=false
21675 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21676 as_basename=basename
21677 else
21678 as_basename=false
21681 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21682 as_dirname=dirname
21683 else
21684 as_dirname=false
21687 as_me=`$as_basename -- "$0" ||
21688 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21689 X"$0" : 'X\(//\)$' \| \
21690 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21691 $as_echo X/"$0" |
21692 sed '/^.*\/\([^/][^/]*\)\/*$/{
21693 s//\1/
21696 /^X\/\(\/\/\)$/{
21697 s//\1/
21700 /^X\/\(\/\).*/{
21701 s//\1/
21704 s/.*/./; q'`
21706 # Avoid depending upon Character Ranges.
21707 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21708 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21709 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21710 as_cr_digits='0123456789'
21711 as_cr_alnum=$as_cr_Letters$as_cr_digits
21713 ECHO_C= ECHO_N= ECHO_T=
21714 case `echo -n x` in #(((((
21715 -n*)
21716 case `echo 'xy\c'` in
21717 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21718 xy) ECHO_C='\c';;
21719 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21720 ECHO_T=' ';;
21721 esac;;
21723 ECHO_N='-n';;
21724 esac
21726 rm -f conf$$ conf$$.exe conf$$.file
21727 if test -d conf$$.dir; then
21728 rm -f conf$$.dir/conf$$.file
21729 else
21730 rm -f conf$$.dir
21731 mkdir conf$$.dir 2>/dev/null
21733 if (echo >conf$$.file) 2>/dev/null; then
21734 if ln -s conf$$.file conf$$ 2>/dev/null; then
21735 as_ln_s='ln -s'
21736 # ... but there are two gotchas:
21737 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21738 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21739 # In both cases, we have to default to `cp -pR'.
21740 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21741 as_ln_s='cp -pR'
21742 elif ln conf$$.file conf$$ 2>/dev/null; then
21743 as_ln_s=ln
21744 else
21745 as_ln_s='cp -pR'
21747 else
21748 as_ln_s='cp -pR'
21750 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21751 rmdir conf$$.dir 2>/dev/null
21754 # as_fn_mkdir_p
21755 # -------------
21756 # Create "$as_dir" as a directory, including parents if necessary.
21757 as_fn_mkdir_p ()
21760 case $as_dir in #(
21761 -*) as_dir=./$as_dir;;
21762 esac
21763 test -d "$as_dir" || eval $as_mkdir_p || {
21764 as_dirs=
21765 while :; do
21766 case $as_dir in #(
21767 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21768 *) as_qdir=$as_dir;;
21769 esac
21770 as_dirs="'$as_qdir' $as_dirs"
21771 as_dir=`$as_dirname -- "$as_dir" ||
21772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21773 X"$as_dir" : 'X\(//\)[^/]' \| \
21774 X"$as_dir" : 'X\(//\)$' \| \
21775 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21776 $as_echo X"$as_dir" |
21777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21778 s//\1/
21781 /^X\(\/\/\)[^/].*/{
21782 s//\1/
21785 /^X\(\/\/\)$/{
21786 s//\1/
21789 /^X\(\/\).*/{
21790 s//\1/
21793 s/.*/./; q'`
21794 test -d "$as_dir" && break
21795 done
21796 test -z "$as_dirs" || eval "mkdir $as_dirs"
21797 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21800 } # as_fn_mkdir_p
21801 if mkdir -p . 2>/dev/null; then
21802 as_mkdir_p='mkdir -p "$as_dir"'
21803 else
21804 test -d ./-p && rmdir ./-p
21805 as_mkdir_p=false
21809 # as_fn_executable_p FILE
21810 # -----------------------
21811 # Test if FILE is an executable regular file.
21812 as_fn_executable_p ()
21814 test -f "$1" && test -x "$1"
21815 } # as_fn_executable_p
21816 as_test_x='test -x'
21817 as_executable_p=as_fn_executable_p
21819 # Sed expression to map a string onto a valid CPP name.
21820 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21822 # Sed expression to map a string onto a valid variable name.
21823 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21826 exec 6>&1
21827 ## ----------------------------------- ##
21828 ## Main body of $CONFIG_STATUS script. ##
21829 ## ----------------------------------- ##
21830 _ASEOF
21831 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21834 # Save the log message, to keep $0 and so on meaningful, and to
21835 # report actual input values of CONFIG_FILES etc. instead of their
21836 # values after options handling.
21837 ac_log="
21838 This file was extended by Wine $as_me 6.1, which was
21839 generated by GNU Autoconf 2.69. Invocation command line was
21841 CONFIG_FILES = $CONFIG_FILES
21842 CONFIG_HEADERS = $CONFIG_HEADERS
21843 CONFIG_LINKS = $CONFIG_LINKS
21844 CONFIG_COMMANDS = $CONFIG_COMMANDS
21845 $ $0 $@
21847 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21850 _ACEOF
21852 case $ac_config_files in *"
21853 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21854 esac
21856 case $ac_config_headers in *"
21857 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21858 esac
21861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21862 # Files that config.status was made for.
21863 config_files="$ac_config_files"
21864 config_headers="$ac_config_headers"
21865 config_links="$ac_config_links"
21866 config_commands="$ac_config_commands"
21868 _ACEOF
21870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21871 ac_cs_usage="\
21872 \`$as_me' instantiates files and other configuration actions
21873 from templates according to the current configuration. Unless the files
21874 and actions are specified as TAGs, all are instantiated by default.
21876 Usage: $0 [OPTION]... [TAG]...
21878 -h, --help print this help, then exit
21879 -V, --version print version number and configuration settings, then exit
21880 --config print configuration, then exit
21881 -q, --quiet, --silent
21882 do not print progress messages
21883 -d, --debug don't remove temporary files
21884 --recheck update $as_me by reconfiguring in the same conditions
21885 --file=FILE[:TEMPLATE]
21886 instantiate the configuration file FILE
21887 --header=FILE[:TEMPLATE]
21888 instantiate the configuration header FILE
21890 Configuration files:
21891 $config_files
21893 Configuration headers:
21894 $config_headers
21896 Configuration links:
21897 $config_links
21899 Configuration commands:
21900 $config_commands
21902 Report bugs to <wine-devel@winehq.org>.
21903 Wine home page: <https://www.winehq.org>."
21905 _ACEOF
21906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21907 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21908 ac_cs_version="\\
21909 Wine config.status 6.1
21910 configured by $0, generated by GNU Autoconf 2.69,
21911 with options \\"\$ac_cs_config\\"
21913 Copyright (C) 2012 Free Software Foundation, Inc.
21914 This config.status script is free software; the Free Software Foundation
21915 gives unlimited permission to copy, distribute and modify it."
21917 ac_pwd='$ac_pwd'
21918 srcdir='$srcdir'
21919 test -n "\$AWK" || AWK=awk
21920 _ACEOF
21922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21923 # The default lists apply if the user does not specify any file.
21924 ac_need_defaults=:
21925 while test $# != 0
21927 case $1 in
21928 --*=?*)
21929 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21930 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21931 ac_shift=:
21933 --*=)
21934 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21935 ac_optarg=
21936 ac_shift=:
21939 ac_option=$1
21940 ac_optarg=$2
21941 ac_shift=shift
21943 esac
21945 case $ac_option in
21946 # Handling of the options.
21947 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21948 ac_cs_recheck=: ;;
21949 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21950 $as_echo "$ac_cs_version"; exit ;;
21951 --config | --confi | --conf | --con | --co | --c )
21952 $as_echo "$ac_cs_config"; exit ;;
21953 --debug | --debu | --deb | --de | --d | -d )
21954 debug=: ;;
21955 --file | --fil | --fi | --f )
21956 $ac_shift
21957 case $ac_optarg in
21958 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21959 '') as_fn_error $? "missing file argument" ;;
21960 esac
21961 as_fn_append CONFIG_FILES " '$ac_optarg'"
21962 ac_need_defaults=false;;
21963 --header | --heade | --head | --hea )
21964 $ac_shift
21965 case $ac_optarg in
21966 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21967 esac
21968 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21969 ac_need_defaults=false;;
21970 --he | --h)
21971 # Conflict between --help and --header
21972 as_fn_error $? "ambiguous option: \`$1'
21973 Try \`$0 --help' for more information.";;
21974 --help | --hel | -h )
21975 $as_echo "$ac_cs_usage"; exit ;;
21976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21977 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21978 ac_cs_silent=: ;;
21980 # This is an error.
21981 -*) as_fn_error $? "unrecognized option: \`$1'
21982 Try \`$0 --help' for more information." ;;
21984 *) as_fn_append ac_config_targets " $1"
21985 ac_need_defaults=false ;;
21987 esac
21988 shift
21989 done
21991 ac_configure_extra_args=
21993 if $ac_cs_silent; then
21994 exec 6>/dev/null
21995 ac_configure_extra_args="$ac_configure_extra_args --silent"
21998 _ACEOF
21999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22000 if \$ac_cs_recheck; then
22001 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22002 shift
22003 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22004 CONFIG_SHELL='$SHELL'
22005 export CONFIG_SHELL
22006 exec "\$@"
22009 _ACEOF
22010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22011 exec 5>>config.log
22013 echo
22014 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22015 ## Running $as_me. ##
22016 _ASBOX
22017 $as_echo "$ac_log"
22018 } >&5
22020 _ACEOF
22021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22023 # INIT-COMMANDS
22025 wine_fn_output_makedep ()
22027 as_dir=tools; as_fn_mkdir_p
22028 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22030 wine_fn_output_makefile ()
22032 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22033 `cat $wine_rules_file`
22034 _WINE_EOF
22035 as_fn_error $? "could not create Makefile" "$LINENO" 5
22038 _ACEOF
22040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22042 # Handling of arguments.
22043 for ac_config_target in $ac_config_targets
22045 case $ac_config_target in
22046 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22047 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22048 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22049 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22050 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22051 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22052 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22054 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22055 esac
22056 done
22059 # If the user did not use the arguments to specify the items to instantiate,
22060 # then the envvar interface is used. Set only those that are not.
22061 # We use the long form for the default assignment because of an extremely
22062 # bizarre bug on SunOS 4.1.3.
22063 if $ac_need_defaults; then
22064 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22065 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22066 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22067 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22070 # Have a temporary directory for convenience. Make it in the build tree
22071 # simply because there is no reason against having it here, and in addition,
22072 # creating and moving files from /tmp can sometimes cause problems.
22073 # Hook for its removal unless debugging.
22074 # Note that there is a small window in which the directory will not be cleaned:
22075 # after its creation but before its name has been assigned to `$tmp'.
22076 $debug ||
22078 tmp= ac_tmp=
22079 trap 'exit_status=$?
22080 : "${ac_tmp:=$tmp}"
22081 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22083 trap 'as_fn_exit 1' 1 2 13 15
22085 # Create a (secure) tmp directory for tmp files.
22088 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22089 test -d "$tmp"
22090 } ||
22092 tmp=./conf$$-$RANDOM
22093 (umask 077 && mkdir "$tmp")
22094 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22095 ac_tmp=$tmp
22097 # Set up the scripts for CONFIG_FILES section.
22098 # No need to generate them if there are no CONFIG_FILES.
22099 # This happens for instance with `./config.status config.h'.
22100 if test -n "$CONFIG_FILES"; then
22103 ac_cr=`echo X | tr X '\015'`
22104 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22105 # But we know of no other shell where ac_cr would be empty at this
22106 # point, so we can use a bashism as a fallback.
22107 if test "x$ac_cr" = x; then
22108 eval ac_cr=\$\'\\r\'
22110 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22111 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22112 ac_cs_awk_cr='\\r'
22113 else
22114 ac_cs_awk_cr=$ac_cr
22117 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22118 _ACEOF
22122 echo "cat >conf$$subs.awk <<_ACEOF" &&
22123 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22124 echo "_ACEOF"
22125 } >conf$$subs.sh ||
22126 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22127 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22128 ac_delim='%!_!# '
22129 for ac_last_try in false false false false false :; do
22130 . ./conf$$subs.sh ||
22131 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22133 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22134 if test $ac_delim_n = $ac_delim_num; then
22135 break
22136 elif $ac_last_try; then
22137 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22138 else
22139 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22141 done
22142 rm -f conf$$subs.sh
22144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22145 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22146 _ACEOF
22147 sed -n '
22149 s/^/S["/; s/!.*/"]=/
22152 s/^[^!]*!//
22153 :repl
22154 t repl
22155 s/'"$ac_delim"'$//
22156 t delim
22159 s/\(.\{148\}\)..*/\1/
22160 t more1
22161 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22164 b repl
22165 :more1
22166 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22169 s/.\{148\}//
22170 t nl
22171 :delim
22173 s/\(.\{148\}\)..*/\1/
22174 t more2
22175 s/["\\]/\\&/g; s/^/"/; s/$/"/
22178 :more2
22179 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22182 s/.\{148\}//
22183 t delim
22184 ' <conf$$subs.awk | sed '
22185 /^[^""]/{
22187 s/\n//
22189 ' >>$CONFIG_STATUS || ac_write_fail=1
22190 rm -f conf$$subs.awk
22191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22192 _ACAWK
22193 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22194 for (key in S) S_is_set[key] = 1
22195 FS = "\a"
22199 line = $ 0
22200 nfields = split(line, field, "@")
22201 substed = 0
22202 len = length(field[1])
22203 for (i = 2; i < nfields; i++) {
22204 key = field[i]
22205 keylen = length(key)
22206 if (S_is_set[key]) {
22207 value = S[key]
22208 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22209 len += length(value) + length(field[++i])
22210 substed = 1
22211 } else
22212 len += 1 + keylen
22215 print line
22218 _ACAWK
22219 _ACEOF
22220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22221 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22222 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22223 else
22225 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22226 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22227 _ACEOF
22229 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22230 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22231 # trailing colons and then remove the whole line if VPATH becomes empty
22232 # (actually we leave an empty line to preserve line numbers).
22233 if test "x$srcdir" = x.; then
22234 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22236 s///
22237 s/^/:/
22238 s/[ ]*$/:/
22239 s/:\$(srcdir):/:/g
22240 s/:\${srcdir}:/:/g
22241 s/:@srcdir@:/:/g
22242 s/^:*//
22243 s/:*$//
22245 s/\(=[ ]*\).*/\1/
22247 s/\n//
22248 s/^[^=]*=[ ]*$//
22252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22253 fi # test -n "$CONFIG_FILES"
22255 # Set up the scripts for CONFIG_HEADERS section.
22256 # No need to generate them if there are no CONFIG_HEADERS.
22257 # This happens for instance with `./config.status Makefile'.
22258 if test -n "$CONFIG_HEADERS"; then
22259 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22260 BEGIN {
22261 _ACEOF
22263 # Transform confdefs.h into an awk script `defines.awk', embedded as
22264 # here-document in config.status, that substitutes the proper values into
22265 # config.h.in to produce config.h.
22267 # Create a delimiter string that does not exist in confdefs.h, to ease
22268 # handling of long lines.
22269 ac_delim='%!_!# '
22270 for ac_last_try in false false :; do
22271 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22272 if test -z "$ac_tt"; then
22273 break
22274 elif $ac_last_try; then
22275 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22276 else
22277 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22279 done
22281 # For the awk script, D is an array of macro values keyed by name,
22282 # likewise P contains macro parameters if any. Preserve backslash
22283 # newline sequences.
22285 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22286 sed -n '
22287 s/.\{148\}/&'"$ac_delim"'/g
22288 t rset
22289 :rset
22290 s/^[ ]*#[ ]*define[ ][ ]*/ /
22291 t def
22293 :def
22294 s/\\$//
22295 t bsnl
22296 s/["\\]/\\&/g
22297 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22298 D["\1"]=" \3"/p
22299 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22301 :bsnl
22302 s/["\\]/\\&/g
22303 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22304 D["\1"]=" \3\\\\\\n"\\/p
22305 t cont
22306 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22307 t cont
22309 :cont
22311 s/.\{148\}/&'"$ac_delim"'/g
22312 t clear
22313 :clear
22314 s/\\$//
22315 t bsnlc
22316 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22318 :bsnlc
22319 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22320 b cont
22321 ' <confdefs.h | sed '
22322 s/'"$ac_delim"'/"\\\
22323 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22326 for (key in D) D_is_set[key] = 1
22327 FS = "\a"
22329 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22330 line = \$ 0
22331 split(line, arg, " ")
22332 if (arg[1] == "#") {
22333 defundef = arg[2]
22334 mac1 = arg[3]
22335 } else {
22336 defundef = substr(arg[1], 2)
22337 mac1 = arg[2]
22339 split(mac1, mac2, "(") #)
22340 macro = mac2[1]
22341 prefix = substr(line, 1, index(line, defundef) - 1)
22342 if (D_is_set[macro]) {
22343 # Preserve the white space surrounding the "#".
22344 print prefix "define", macro P[macro] D[macro]
22345 next
22346 } else {
22347 # Replace #undef with comments. This is necessary, for example,
22348 # in the case of _POSIX_SOURCE, which is predefined and required
22349 # on some systems where configure will not decide to define it.
22350 if (defundef == "undef") {
22351 print "/*", prefix defundef, macro, "*/"
22352 next
22356 { print }
22357 _ACAWK
22358 _ACEOF
22359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22360 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22361 fi # test -n "$CONFIG_HEADERS"
22364 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22365 shift
22366 for ac_tag
22368 case $ac_tag in
22369 :[FHLC]) ac_mode=$ac_tag; continue;;
22370 esac
22371 case $ac_mode$ac_tag in
22372 :[FHL]*:*);;
22373 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22374 :[FH]-) ac_tag=-:-;;
22375 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22376 esac
22377 ac_save_IFS=$IFS
22378 IFS=:
22379 set x $ac_tag
22380 IFS=$ac_save_IFS
22381 shift
22382 ac_file=$1
22383 shift
22385 case $ac_mode in
22386 :L) ac_source=$1;;
22387 :[FH])
22388 ac_file_inputs=
22389 for ac_f
22391 case $ac_f in
22392 -) ac_f="$ac_tmp/stdin";;
22393 *) # Look for the file first in the build tree, then in the source tree
22394 # (if the path is not absolute). The absolute path cannot be DOS-style,
22395 # because $ac_f cannot contain `:'.
22396 test -f "$ac_f" ||
22397 case $ac_f in
22398 [\\/$]*) false;;
22399 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22400 esac ||
22401 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22402 esac
22403 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22404 as_fn_append ac_file_inputs " '$ac_f'"
22405 done
22407 # Let's still pretend it is `configure' which instantiates (i.e., don't
22408 # use $as_me), people would be surprised to read:
22409 # /* config.h. Generated by config.status. */
22410 configure_input='Generated from '`
22411 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22412 `' by configure.'
22413 if test x"$ac_file" != x-; then
22414 configure_input="$ac_file. $configure_input"
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22416 $as_echo "$as_me: creating $ac_file" >&6;}
22418 # Neutralize special characters interpreted by sed in replacement strings.
22419 case $configure_input in #(
22420 *\&* | *\|* | *\\* )
22421 ac_sed_conf_input=`$as_echo "$configure_input" |
22422 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22423 *) ac_sed_conf_input=$configure_input;;
22424 esac
22426 case $ac_tag in
22427 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22429 esac
22431 esac
22433 ac_dir=`$as_dirname -- "$ac_file" ||
22434 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22435 X"$ac_file" : 'X\(//\)[^/]' \| \
22436 X"$ac_file" : 'X\(//\)$' \| \
22437 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22438 $as_echo X"$ac_file" |
22439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22440 s//\1/
22443 /^X\(\/\/\)[^/].*/{
22444 s//\1/
22447 /^X\(\/\/\)$/{
22448 s//\1/
22451 /^X\(\/\).*/{
22452 s//\1/
22455 s/.*/./; q'`
22456 as_dir="$ac_dir"; as_fn_mkdir_p
22457 ac_builddir=.
22459 case "$ac_dir" in
22460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22462 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22463 # A ".." for each directory in $ac_dir_suffix.
22464 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22465 case $ac_top_builddir_sub in
22466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22468 esac ;;
22469 esac
22470 ac_abs_top_builddir=$ac_pwd
22471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22472 # for backward compatibility:
22473 ac_top_builddir=$ac_top_build_prefix
22475 case $srcdir in
22476 .) # We are building in place.
22477 ac_srcdir=.
22478 ac_top_srcdir=$ac_top_builddir_sub
22479 ac_abs_top_srcdir=$ac_pwd ;;
22480 [\\/]* | ?:[\\/]* ) # Absolute name.
22481 ac_srcdir=$srcdir$ac_dir_suffix;
22482 ac_top_srcdir=$srcdir
22483 ac_abs_top_srcdir=$srcdir ;;
22484 *) # Relative name.
22485 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22486 ac_top_srcdir=$ac_top_build_prefix$srcdir
22487 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22488 esac
22489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22492 case $ac_mode in
22495 # CONFIG_FILE
22498 _ACEOF
22500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22501 # If the template does not know about datarootdir, expand it.
22502 # FIXME: This hack should be removed a few years after 2.60.
22503 ac_datarootdir_hack=; ac_datarootdir_seen=
22504 ac_sed_dataroot='
22505 /datarootdir/ {
22509 /@datadir@/p
22510 /@docdir@/p
22511 /@infodir@/p
22512 /@localedir@/p
22513 /@mandir@/p'
22514 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22515 *datarootdir*) ac_datarootdir_seen=yes;;
22516 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22518 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22519 _ACEOF
22520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22521 ac_datarootdir_hack='
22522 s&@datadir@&$datadir&g
22523 s&@docdir@&$docdir&g
22524 s&@infodir@&$infodir&g
22525 s&@localedir@&$localedir&g
22526 s&@mandir@&$mandir&g
22527 s&\\\${datarootdir}&$datarootdir&g' ;;
22528 esac
22529 _ACEOF
22531 # Neutralize VPATH when `$srcdir' = `.'.
22532 # Shell code in configure.ac might set extrasub.
22533 # FIXME: do we really want to maintain this feature?
22534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22535 ac_sed_extra="$ac_vpsub
22536 $extrasub
22537 _ACEOF
22538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22540 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22541 s|@configure_input@|$ac_sed_conf_input|;t t
22542 s&@top_builddir@&$ac_top_builddir_sub&;t t
22543 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22544 s&@srcdir@&$ac_srcdir&;t t
22545 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22546 s&@top_srcdir@&$ac_top_srcdir&;t t
22547 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22548 s&@builddir@&$ac_builddir&;t t
22549 s&@abs_builddir@&$ac_abs_builddir&;t t
22550 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22551 $ac_datarootdir_hack
22553 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22554 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22556 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22557 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22558 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22559 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22561 which seems to be undefined. Please make sure it is defined" >&5
22562 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22563 which seems to be undefined. Please make sure it is defined" >&2;}
22565 rm -f "$ac_tmp/stdin"
22566 case $ac_file in
22567 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22568 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22569 esac \
22570 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22574 # CONFIG_HEADER
22576 if test x"$ac_file" != x-; then
22578 $as_echo "/* $configure_input */" \
22579 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22580 } >"$ac_tmp/config.h" \
22581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22582 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22584 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22585 else
22586 rm -f "$ac_file"
22587 mv "$ac_tmp/config.h" "$ac_file" \
22588 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22590 else
22591 $as_echo "/* $configure_input */" \
22592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22593 || as_fn_error $? "could not create -" "$LINENO" 5
22598 # CONFIG_LINK
22601 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22603 else
22604 # Prefer the file from the source tree if names are identical.
22605 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22606 ac_source=$srcdir/$ac_source
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22610 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22612 if test ! -r "$ac_source"; then
22613 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22615 rm -f "$ac_file"
22617 # Try a relative symlink, then a hard link, then a copy.
22618 case $ac_source in
22619 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22620 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22621 esac
22622 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22623 ln "$ac_source" "$ac_file" 2>/dev/null ||
22624 cp -p "$ac_source" "$ac_file" ||
22625 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22628 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22629 $as_echo "$as_me: executing $ac_file commands" >&6;}
22631 esac
22634 case $ac_file$ac_mode in
22635 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22636 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22637 "Makefile":C) wine_fn_output_makefile Makefile ;;
22639 esac
22640 done # for ac_tag
22643 as_fn_exit 0
22644 _ACEOF
22645 ac_clean_files=$ac_clean_files_save
22647 test $ac_write_fail = 0 ||
22648 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22651 # configure is writing to config.log, and then calls config.status.
22652 # config.status does its own redirection, appending to config.log.
22653 # Unfortunately, on DOS this fails, as config.log is still kept open
22654 # by configure, so config.status won't be able to write to it; its
22655 # output is simply discarded. So we exec the FD to /dev/null,
22656 # effectively closing config.log, so it can be properly (re)opened and
22657 # appended to by config.status. When coming back to configure, we
22658 # need to make the FD available again.
22659 if test "$no_create" != yes; then
22660 ac_cs_success=:
22661 ac_config_status_args=
22662 test "$silent" = yes &&
22663 ac_config_status_args="$ac_config_status_args --quiet"
22664 exec 5>/dev/null
22665 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22666 exec 5>>config.log
22667 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22668 # would make configure fail if this is the last instruction.
22669 $ac_cs_success || as_fn_exit 1
22671 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22673 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22677 if test "$no_create" = "yes"
22678 then
22679 exit 0
22682 ac_save_IFS="$IFS"
22683 if test "x$wine_notices" != x; then
22684 echo >&6
22685 IFS="|"
22686 for msg in $wine_notices; do
22687 IFS="$ac_save_IFS"
22688 if ${msg:+false} :; then :
22690 else
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22692 $as_echo "$as_me: $msg" >&6;}
22694 done
22696 IFS="|"
22697 for msg in $wine_warnings; do
22698 IFS="$ac_save_IFS"
22699 if ${msg:+false} :; then :
22701 else
22702 echo >&2
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22704 $as_echo "$as_me: WARNING: $msg" >&2;}
22706 done
22707 IFS="$ac_save_IFS"
22709 $as_echo "
22710 $as_me: Finished. Do '${ac_make}' to compile Wine.
22711 " >&6