comdlg32: Set DEFAULT_CHARSET if CF_NOSCRIPTSEL is set.
[wine.git] / configure
blob4cb23101f4c1b604445d22b702158977f6ccb77d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.0.
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.0'
584 PACKAGE_STRING='Wine 6.0'
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 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 FREETYPE_LIBS
678 FREETYPE_CFLAGS
679 LCMS2_LIBS
680 LCMS2_CFLAGS
681 RESOLV_LIBS
682 GPHOTO2_PORT_LIBS
683 GPHOTO2_PORT_CFLAGS
684 GPHOTO2_LIBS
685 GPHOTO2_CFLAGS
686 USB_LIBS
687 USB_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 EXCESS_PRECISION_CFLAGS
710 CROSSDEBUG
711 DELAYLOADFLAG
712 CROSSLDFLAGS
713 EXTRACROSSCFLAGS
714 CROSSCFLAGS
715 CROSSCC
716 CROSSTARGET
717 LIBWINE_DEPENDS
718 PRELINK
719 WINELOADER_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_SHAREDLIB
722 METAL_LIBS
723 CARBON_LIBS
724 QUICKTIME_LIBS
725 OPENCL_LIBS
726 OPENAL_LIBS
727 COREAUDIO_LIBS
728 SECURITY_LIBS
729 DISKARBITRATION_LIBS
730 SYSTEMCONFIGURATION_LIBS
731 APPKIT_LIBS
732 CORESERVICES_LIBS
733 APPLICATIONSERVICES_LIBS
734 FORCEFEEDBACK_LIBS
735 IOKIT_LIBS
736 COREFOUNDATION_LIBS
737 OBJCPP
738 ac_ct_OBJC
739 OBJCFLAGS
740 OBJC
741 DLLTOOL
742 WINELOADER_PROGRAMS
743 CONFIGURE_TARGETS
744 DISABLED_SUBDIRS
745 SUBDIRS
746 READELF
747 OTOOL
749 WINEPRELOADER_LDFLAGS
750 WINELOADER_LDFLAGS
751 TOP_INSTALL_DEV
752 TOP_INSTALL_LIB
753 LDEXECFLAGS
754 LDDLLFLAGS
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_silent_rules
845 enable_werror
846 with_alsa
847 with_capi
848 with_cms
849 with_coreaudio
850 with_cups
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_quicktime
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_ansi_l2_1_0
948 enable_api_ms_win_core_file_fromapp_l1_1_0
949 enable_api_ms_win_core_file_l1_1_0
950 enable_api_ms_win_core_file_l1_2_0
951 enable_api_ms_win_core_file_l1_2_1
952 enable_api_ms_win_core_file_l1_2_2
953 enable_api_ms_win_core_file_l2_1_0
954 enable_api_ms_win_core_file_l2_1_1
955 enable_api_ms_win_core_file_l2_1_2
956 enable_api_ms_win_core_handle_l1_1_0
957 enable_api_ms_win_core_heap_l1_1_0
958 enable_api_ms_win_core_heap_l1_2_0
959 enable_api_ms_win_core_heap_l2_1_0
960 enable_api_ms_win_core_heap_obsolete_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_1_0
962 enable_api_ms_win_core_interlocked_l1_2_0
963 enable_api_ms_win_core_io_l1_1_0
964 enable_api_ms_win_core_io_l1_1_1
965 enable_api_ms_win_core_job_l1_1_0
966 enable_api_ms_win_core_job_l2_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_0
968 enable_api_ms_win_core_kernel32_legacy_l1_1_1
969 enable_api_ms_win_core_kernel32_private_l1_1_1
970 enable_api_ms_win_core_largeinteger_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_0
972 enable_api_ms_win_core_libraryloader_l1_1_1
973 enable_api_ms_win_core_libraryloader_l1_2_0
974 enable_api_ms_win_core_libraryloader_l1_2_1
975 enable_api_ms_win_core_libraryloader_l1_2_2
976 enable_api_ms_win_core_libraryloader_l2_1_0
977 enable_api_ms_win_core_localization_l1_1_0
978 enable_api_ms_win_core_localization_l1_2_0
979 enable_api_ms_win_core_localization_l1_2_1
980 enable_api_ms_win_core_localization_l1_2_2
981 enable_api_ms_win_core_localization_l2_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_1_0
983 enable_api_ms_win_core_localization_obsolete_l1_2_0
984 enable_api_ms_win_core_localization_obsolete_l1_3_0
985 enable_api_ms_win_core_localization_private_l1_1_0
986 enable_api_ms_win_core_localregistry_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_0
988 enable_api_ms_win_core_memory_l1_1_1
989 enable_api_ms_win_core_memory_l1_1_2
990 enable_api_ms_win_core_memory_l1_1_3
991 enable_api_ms_win_core_memory_l1_1_4
992 enable_api_ms_win_core_misc_l1_1_0
993 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_1_0
995 enable_api_ms_win_core_namedpipe_l1_2_0
996 enable_api_ms_win_core_namespace_l1_1_0
997 enable_api_ms_win_core_normalization_l1_1_0
998 enable_api_ms_win_core_path_l1_1_0
999 enable_api_ms_win_core_privateprofile_l1_1_1
1000 enable_api_ms_win_core_processenvironment_l1_1_0
1001 enable_api_ms_win_core_processenvironment_l1_2_0
1002 enable_api_ms_win_core_processthreads_l1_1_0
1003 enable_api_ms_win_core_processthreads_l1_1_1
1004 enable_api_ms_win_core_processthreads_l1_1_2
1005 enable_api_ms_win_core_processthreads_l1_1_3
1006 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1007 enable_api_ms_win_core_profile_l1_1_0
1008 enable_api_ms_win_core_psapi_ansi_l1_1_0
1009 enable_api_ms_win_core_psapi_l1_1_0
1010 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_quirks_l1_1_0
1012 enable_api_ms_win_core_realtime_l1_1_0
1013 enable_api_ms_win_core_registry_l1_1_0
1014 enable_api_ms_win_core_registry_l2_1_0
1015 enable_api_ms_win_core_registry_l2_2_0
1016 enable_api_ms_win_core_registryuserspecific_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_1_0
1018 enable_api_ms_win_core_rtlsupport_l1_2_0
1019 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1022 enable_api_ms_win_core_shutdown_l1_1_0
1023 enable_api_ms_win_core_sidebyside_l1_1_0
1024 enable_api_ms_win_core_string_l1_1_0
1025 enable_api_ms_win_core_string_l2_1_0
1026 enable_api_ms_win_core_string_obsolete_l1_1_0
1027 enable_api_ms_win_core_stringansi_l1_1_0
1028 enable_api_ms_win_core_stringloader_l1_1_1
1029 enable_api_ms_win_core_synch_ansi_l1_1_0
1030 enable_api_ms_win_core_synch_l1_1_0
1031 enable_api_ms_win_core_synch_l1_2_0
1032 enable_api_ms_win_core_synch_l1_2_1
1033 enable_api_ms_win_core_sysinfo_l1_1_0
1034 enable_api_ms_win_core_sysinfo_l1_2_0
1035 enable_api_ms_win_core_sysinfo_l1_2_1
1036 enable_api_ms_win_core_systemtopology_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_1_0
1038 enable_api_ms_win_core_threadpool_l1_2_0
1039 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1040 enable_api_ms_win_core_threadpool_private_l1_1_0
1041 enable_api_ms_win_core_timezone_l1_1_0
1042 enable_api_ms_win_core_toolhelp_l1_1_0
1043 enable_api_ms_win_core_url_l1_1_0
1044 enable_api_ms_win_core_util_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_0
1046 enable_api_ms_win_core_version_l1_1_1
1047 enable_api_ms_win_core_version_private_l1_1_0
1048 enable_api_ms_win_core_versionansi_l1_1_0
1049 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_0
1051 enable_api_ms_win_core_winrt_error_l1_1_1
1052 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1053 enable_api_ms_win_core_winrt_l1_1_0
1054 enable_api_ms_win_core_winrt_registration_l1_1_0
1055 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_0
1057 enable_api_ms_win_core_winrt_string_l1_1_1
1058 enable_api_ms_win_core_wow64_l1_1_0
1059 enable_api_ms_win_core_wow64_l1_1_1
1060 enable_api_ms_win_core_xstate_l1_1_0
1061 enable_api_ms_win_core_xstate_l2_1_0
1062 enable_api_ms_win_crt_conio_l1_1_0
1063 enable_api_ms_win_crt_convert_l1_1_0
1064 enable_api_ms_win_crt_environment_l1_1_0
1065 enable_api_ms_win_crt_filesystem_l1_1_0
1066 enable_api_ms_win_crt_heap_l1_1_0
1067 enable_api_ms_win_crt_locale_l1_1_0
1068 enable_api_ms_win_crt_math_l1_1_0
1069 enable_api_ms_win_crt_multibyte_l1_1_0
1070 enable_api_ms_win_crt_private_l1_1_0
1071 enable_api_ms_win_crt_process_l1_1_0
1072 enable_api_ms_win_crt_runtime_l1_1_0
1073 enable_api_ms_win_crt_stdio_l1_1_0
1074 enable_api_ms_win_crt_string_l1_1_0
1075 enable_api_ms_win_crt_time_l1_1_0
1076 enable_api_ms_win_crt_utility_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_0
1078 enable_api_ms_win_devices_config_l1_1_1
1079 enable_api_ms_win_devices_query_l1_1_1
1080 enable_api_ms_win_downlevel_advapi32_l1_1_0
1081 enable_api_ms_win_downlevel_advapi32_l2_1_0
1082 enable_api_ms_win_downlevel_kernel32_l2_1_0
1083 enable_api_ms_win_downlevel_normaliz_l1_1_0
1084 enable_api_ms_win_downlevel_ole32_l1_1_0
1085 enable_api_ms_win_downlevel_shell32_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1087 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1088 enable_api_ms_win_downlevel_user32_l1_1_0
1089 enable_api_ms_win_downlevel_version_l1_1_0
1090 enable_api_ms_win_dx_d3dkmt_l1_1_0
1091 enable_api_ms_win_eventing_classicprovider_l1_1_0
1092 enable_api_ms_win_eventing_consumer_l1_1_0
1093 enable_api_ms_win_eventing_controller_l1_1_0
1094 enable_api_ms_win_eventing_legacy_l1_1_0
1095 enable_api_ms_win_eventing_provider_l1_1_0
1096 enable_api_ms_win_eventlog_legacy_l1_1_0
1097 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1098 enable_api_ms_win_mm_joystick_l1_1_0
1099 enable_api_ms_win_mm_misc_l1_1_1
1100 enable_api_ms_win_mm_mme_l1_1_0
1101 enable_api_ms_win_mm_time_l1_1_0
1102 enable_api_ms_win_ntuser_dc_access_l1_1_0
1103 enable_api_ms_win_ntuser_rectangle_l1_1_0
1104 enable_api_ms_win_ntuser_sysparams_l1_1_0
1105 enable_api_ms_win_perf_legacy_l1_1_0
1106 enable_api_ms_win_power_base_l1_1_0
1107 enable_api_ms_win_power_setting_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1111 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1115 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1116 enable_api_ms_win_security_audit_l1_1_1
1117 enable_api_ms_win_security_base_l1_1_0
1118 enable_api_ms_win_security_base_l1_2_0
1119 enable_api_ms_win_security_base_private_l1_1_1
1120 enable_api_ms_win_security_credentials_l1_1_0
1121 enable_api_ms_win_security_cryptoapi_l1_1_0
1122 enable_api_ms_win_security_grouppolicy_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_0
1124 enable_api_ms_win_security_lsalookup_l1_1_1
1125 enable_api_ms_win_security_lsalookup_l2_1_0
1126 enable_api_ms_win_security_lsalookup_l2_1_1
1127 enable_api_ms_win_security_lsapolicy_l1_1_0
1128 enable_api_ms_win_security_provider_l1_1_0
1129 enable_api_ms_win_security_sddl_l1_1_0
1130 enable_api_ms_win_security_systemfunctions_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_0
1132 enable_api_ms_win_service_core_l1_1_1
1133 enable_api_ms_win_service_management_l1_1_0
1134 enable_api_ms_win_service_management_l2_1_0
1135 enable_api_ms_win_service_private_l1_1_1
1136 enable_api_ms_win_service_winsvc_l1_1_0
1137 enable_api_ms_win_service_winsvc_l1_2_0
1138 enable_api_ms_win_shcore_obsolete_l1_1_0
1139 enable_api_ms_win_shcore_scaling_l1_1_1
1140 enable_api_ms_win_shcore_stream_l1_1_0
1141 enable_api_ms_win_shcore_thread_l1_1_0
1142 enable_api_ms_win_shell_shellcom_l1_1_0
1143 enable_api_ms_win_shell_shellfolders_l1_1_0
1144 enable_apphelp
1145 enable_appwiz_cpl
1146 enable_atl
1147 enable_atl100
1148 enable_atl110
1149 enable_atl80
1150 enable_atl90
1151 enable_atlthunk
1152 enable_atmlib
1153 enable_authz
1154 enable_avicap32
1155 enable_avifil32
1156 enable_avrt
1157 enable_bcrypt
1158 enable_bluetoothapis
1159 enable_browseui
1160 enable_bthprops_cpl
1161 enable_cabinet
1162 enable_capi2032
1163 enable_cards
1164 enable_cdosys
1165 enable_cfgmgr32
1166 enable_clusapi
1167 enable_combase
1168 enable_comcat
1169 enable_comctl32
1170 enable_comdlg32
1171 enable_compstui
1172 enable_comsvcs
1173 enable_concrt140
1174 enable_connect
1175 enable_credui
1176 enable_crtdll
1177 enable_crypt32
1178 enable_cryptdlg
1179 enable_cryptdll
1180 enable_cryptext
1181 enable_cryptnet
1182 enable_cryptui
1183 enable_ctapi32
1184 enable_ctl3d32
1185 enable_d2d1
1186 enable_d3d10
1187 enable_d3d10_1
1188 enable_d3d10core
1189 enable_d3d11
1190 enable_d3d12
1191 enable_d3d8
1192 enable_d3d8thk
1193 enable_d3d9
1194 enable_d3dcompiler_33
1195 enable_d3dcompiler_34
1196 enable_d3dcompiler_35
1197 enable_d3dcompiler_36
1198 enable_d3dcompiler_37
1199 enable_d3dcompiler_38
1200 enable_d3dcompiler_39
1201 enable_d3dcompiler_40
1202 enable_d3dcompiler_41
1203 enable_d3dcompiler_42
1204 enable_d3dcompiler_43
1205 enable_d3dcompiler_46
1206 enable_d3dcompiler_47
1207 enable_d3dim
1208 enable_d3dim700
1209 enable_d3drm
1210 enable_d3dx10_33
1211 enable_d3dx10_34
1212 enable_d3dx10_35
1213 enable_d3dx10_36
1214 enable_d3dx10_37
1215 enable_d3dx10_38
1216 enable_d3dx10_39
1217 enable_d3dx10_40
1218 enable_d3dx10_41
1219 enable_d3dx10_42
1220 enable_d3dx10_43
1221 enable_d3dx11_42
1222 enable_d3dx11_43
1223 enable_d3dx9_24
1224 enable_d3dx9_25
1225 enable_d3dx9_26
1226 enable_d3dx9_27
1227 enable_d3dx9_28
1228 enable_d3dx9_29
1229 enable_d3dx9_30
1230 enable_d3dx9_31
1231 enable_d3dx9_32
1232 enable_d3dx9_33
1233 enable_d3dx9_34
1234 enable_d3dx9_35
1235 enable_d3dx9_36
1236 enable_d3dx9_37
1237 enable_d3dx9_38
1238 enable_d3dx9_39
1239 enable_d3dx9_40
1240 enable_d3dx9_41
1241 enable_d3dx9_42
1242 enable_d3dx9_43
1243 enable_d3dxof
1244 enable_davclnt
1245 enable_dbgeng
1246 enable_dbghelp
1247 enable_dciman32
1248 enable_dcomp
1249 enable_ddraw
1250 enable_ddrawex
1251 enable_devenum
1252 enable_dhcpcsvc
1253 enable_dhtmled_ocx
1254 enable_difxapi
1255 enable_dinput
1256 enable_dinput8
1257 enable_directmanipulation
1258 enable_dispex
1259 enable_dmband
1260 enable_dmcompos
1261 enable_dmime
1262 enable_dmloader
1263 enable_dmoguids
1264 enable_dmscript
1265 enable_dmstyle
1266 enable_dmsynth
1267 enable_dmusic
1268 enable_dmusic32
1269 enable_dnsapi
1270 enable_dplay
1271 enable_dplayx
1272 enable_dpnaddr
1273 enable_dpnet
1274 enable_dpnhpast
1275 enable_dpnlobby
1276 enable_dpvoice
1277 enable_dpwsockx
1278 enable_drmclien
1279 enable_dsdmo
1280 enable_dsound
1281 enable_dsquery
1282 enable_dssenh
1283 enable_dsuiext
1284 enable_dswave
1285 enable_dwmapi
1286 enable_dwrite
1287 enable_dx8vb
1288 enable_dxdiagn
1289 enable_dxerr8
1290 enable_dxerr9
1291 enable_dxgi
1292 enable_dxguid
1293 enable_dxva2
1294 enable_esent
1295 enable_evr
1296 enable_explorerframe
1297 enable_ext_ms_win_authz_context_l1_1_0
1298 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1299 enable_ext_ms_win_dwmapi_ext_l1_1_0
1300 enable_ext_ms_win_gdi_dc_create_l1_1_0
1301 enable_ext_ms_win_gdi_dc_create_l1_1_1
1302 enable_ext_ms_win_gdi_dc_l1_2_0
1303 enable_ext_ms_win_gdi_devcaps_l1_1_0
1304 enable_ext_ms_win_gdi_draw_l1_1_0
1305 enable_ext_ms_win_gdi_draw_l1_1_1
1306 enable_ext_ms_win_gdi_font_l1_1_0
1307 enable_ext_ms_win_gdi_font_l1_1_1
1308 enable_ext_ms_win_gdi_render_l1_1_0
1309 enable_ext_ms_win_kernel32_package_current_l1_1_0
1310 enable_ext_ms_win_kernel32_package_l1_1_1
1311 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1312 enable_ext_ms_win_ntuser_draw_l1_1_0
1313 enable_ext_ms_win_ntuser_gui_l1_1_0
1314 enable_ext_ms_win_ntuser_gui_l1_3_0
1315 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1316 enable_ext_ms_win_ntuser_message_l1_1_0
1317 enable_ext_ms_win_ntuser_message_l1_1_1
1318 enable_ext_ms_win_ntuser_misc_l1_1_0
1319 enable_ext_ms_win_ntuser_misc_l1_2_0
1320 enable_ext_ms_win_ntuser_misc_l1_5_1
1321 enable_ext_ms_win_ntuser_mouse_l1_1_0
1322 enable_ext_ms_win_ntuser_private_l1_1_1
1323 enable_ext_ms_win_ntuser_private_l1_3_1
1324 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1325 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1326 enable_ext_ms_win_ntuser_window_l1_1_0
1327 enable_ext_ms_win_ntuser_window_l1_1_1
1328 enable_ext_ms_win_ntuser_window_l1_1_4
1329 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1330 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1331 enable_ext_ms_win_oleacc_l1_1_0
1332 enable_ext_ms_win_ras_rasapi32_l1_1_0
1333 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1334 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1335 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1340 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1343 enable_ext_ms_win_security_credui_l1_1_0
1344 enable_ext_ms_win_security_cryptui_l1_1_0
1345 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1346 enable_ext_ms_win_shell_comdlg32_l1_1_0
1347 enable_ext_ms_win_shell_shell32_l1_2_0
1348 enable_ext_ms_win_uxtheme_themes_l1_1_0
1349 enable_faultrep
1350 enable_feclient
1351 enable_fltlib
1352 enable_fltmgr_sys
1353 enable_fntcache
1354 enable_fontsub
1355 enable_fusion
1356 enable_fwpuclnt
1357 enable_gameux
1358 enable_gdi32
1359 enable_gdiplus
1360 enable_glu32
1361 enable_gphoto2_ds
1362 enable_gpkcsp
1363 enable_hal
1364 enable_hhctrl_ocx
1365 enable_hid
1366 enable_hidclass_sys
1367 enable_hlink
1368 enable_hnetcfg
1369 enable_http_sys
1370 enable_httpapi
1371 enable_iccvid
1372 enable_icmp
1373 enable_ieframe
1374 enable_ieproxy
1375 enable_imaadp32_acm
1376 enable_imagehlp
1377 enable_imm32
1378 enable_inetcomm
1379 enable_inetcpl_cpl
1380 enable_inetmib1
1381 enable_infosoft
1382 enable_initpki
1383 enable_inkobj
1384 enable_inseng
1385 enable_iphlpapi
1386 enable_iprop
1387 enable_irprops_cpl
1388 enable_itircl
1389 enable_itss
1390 enable_joy_cpl
1391 enable_jscript
1392 enable_jsproxy
1393 enable_kerberos
1394 enable_kernel32
1395 enable_kernelbase
1396 enable_ksecdd_sys
1397 enable_ksproxy_ax
1398 enable_ksuser
1399 enable_ktmw32
1400 enable_l3codeca_acm
1401 enable_loadperf
1402 enable_localspl
1403 enable_localui
1404 enable_lz32
1405 enable_mapi32
1406 enable_mapistub
1407 enable_mciavi32
1408 enable_mcicda
1409 enable_mciqtz32
1410 enable_mciseq
1411 enable_mciwave
1412 enable_mf
1413 enable_mf3216
1414 enable_mferror
1415 enable_mfmediaengine
1416 enable_mfplat
1417 enable_mfplay
1418 enable_mfreadwrite
1419 enable_mfuuid
1420 enable_mgmtapi
1421 enable_midimap
1422 enable_mlang
1423 enable_mmcndmgr
1424 enable_mmdevapi
1425 enable_mountmgr_sys
1426 enable_mp3dmod
1427 enable_mpr
1428 enable_mprapi
1429 enable_msacm32_drv
1430 enable_msacm32
1431 enable_msado15
1432 enable_msadp32_acm
1433 enable_msasn1
1434 enable_mscat32
1435 enable_mscms
1436 enable_mscoree
1437 enable_mscorwks
1438 enable_msctf
1439 enable_msctfp
1440 enable_msdaps
1441 enable_msdelta
1442 enable_msdmo
1443 enable_msdrm
1444 enable_msftedit
1445 enable_msg711_acm
1446 enable_msgsm32_acm
1447 enable_mshtml_tlb
1448 enable_mshtml
1449 enable_msi
1450 enable_msident
1451 enable_msimg32
1452 enable_msimsg
1453 enable_msimtf
1454 enable_msisip
1455 enable_msisys_ocx
1456 enable_msls31
1457 enable_msnet32
1458 enable_mspatcha
1459 enable_msports
1460 enable_msrle32
1461 enable_msscript_ocx
1462 enable_mssign32
1463 enable_mssip32
1464 enable_mstask
1465 enable_msvcirt
1466 enable_msvcm80
1467 enable_msvcm90
1468 enable_msvcp100
1469 enable_msvcp110
1470 enable_msvcp120
1471 enable_msvcp120_app
1472 enable_msvcp140
1473 enable_msvcp140_1
1474 enable_msvcp60
1475 enable_msvcp70
1476 enable_msvcp71
1477 enable_msvcp80
1478 enable_msvcp90
1479 enable_msvcr100
1480 enable_msvcr110
1481 enable_msvcr120
1482 enable_msvcr120_app
1483 enable_msvcr70
1484 enable_msvcr71
1485 enable_msvcr80
1486 enable_msvcr90
1487 enable_msvcrt
1488 enable_msvcrt20
1489 enable_msvcrt40
1490 enable_msvcrtd
1491 enable_msvfw32
1492 enable_msvidc32
1493 enable_mswsock
1494 enable_msxml
1495 enable_msxml2
1496 enable_msxml3
1497 enable_msxml4
1498 enable_msxml6
1499 enable_mtxdm
1500 enable_ncrypt
1501 enable_nddeapi
1502 enable_ndis_sys
1503 enable_netapi32
1504 enable_netcfgx
1505 enable_netio_sys
1506 enable_netprofm
1507 enable_netutils
1508 enable_newdev
1509 enable_ninput
1510 enable_normaliz
1511 enable_npmshtml
1512 enable_npptools
1513 enable_ntdll
1514 enable_ntdsapi
1515 enable_ntoskrnl_exe
1516 enable_ntprint
1517 enable_objsel
1518 enable_odbc32
1519 enable_odbcbcp
1520 enable_odbccp32
1521 enable_odbccu32
1522 enable_ole32
1523 enable_oleacc
1524 enable_oleaut32
1525 enable_olecli32
1526 enable_oledb32
1527 enable_oledlg
1528 enable_olepro32
1529 enable_olesvr32
1530 enable_olethk32
1531 enable_opcservices
1532 enable_openal32
1533 enable_opencl
1534 enable_opengl32
1535 enable_packager
1536 enable_pdh
1537 enable_photometadatahandler
1538 enable_pidgen
1539 enable_powrprof
1540 enable_printui
1541 enable_prntvpt
1542 enable_propsys
1543 enable_psapi
1544 enable_pstorec
1545 enable_pwrshplugin
1546 enable_qasf
1547 enable_qcap
1548 enable_qdvd
1549 enable_qedit
1550 enable_qmgr
1551 enable_qmgrprxy
1552 enable_quartz
1553 enable_query
1554 enable_qwave
1555 enable_rasapi32
1556 enable_rasdlg
1557 enable_regapi
1558 enable_resutils
1559 enable_riched20
1560 enable_riched32
1561 enable_rpcrt4
1562 enable_rsabase
1563 enable_rsaenh
1564 enable_rstrtmgr
1565 enable_rtutils
1566 enable_rtworkq
1567 enable_samlib
1568 enable_sane_ds
1569 enable_sapi
1570 enable_sas
1571 enable_scarddlg
1572 enable_sccbase
1573 enable_schannel
1574 enable_schedsvc
1575 enable_scrobj
1576 enable_scrrun
1577 enable_scsiport_sys
1578 enable_sechost
1579 enable_secur32
1580 enable_security
1581 enable_sensapi
1582 enable_serialui
1583 enable_setupapi
1584 enable_sfc
1585 enable_sfc_os
1586 enable_shcore
1587 enable_shdoclc
1588 enable_shdocvw
1589 enable_shell32
1590 enable_shfolder
1591 enable_shlwapi
1592 enable_slbcsp
1593 enable_slc
1594 enable_snmpapi
1595 enable_softpub
1596 enable_spoolss
1597 enable_srclient
1598 enable_srvcli
1599 enable_sspicli
1600 enable_stdole2_tlb
1601 enable_stdole32_tlb
1602 enable_sti
1603 enable_strmbase
1604 enable_strmdll
1605 enable_strmiids
1606 enable_svrapi
1607 enable_sxs
1608 enable_t2embed
1609 enable_tapi32
1610 enable_taskschd
1611 enable_tdh
1612 enable_tdi_sys
1613 enable_traffic
1614 enable_twain_32
1615 enable_tzres
1616 enable_ucrtbase
1617 enable_uianimation
1618 enable_uiautomationcore
1619 enable_uiribbon
1620 enable_unicows
1621 enable_updspapi
1622 enable_url
1623 enable_urlmon
1624 enable_usbd_sys
1625 enable_user32
1626 enable_userenv
1627 enable_usp10
1628 enable_utildll
1629 enable_uuid
1630 enable_uxtheme
1631 enable_vbscript
1632 enable_vcomp
1633 enable_vcomp100
1634 enable_vcomp110
1635 enable_vcomp120
1636 enable_vcomp140
1637 enable_vcomp90
1638 enable_vcruntime140
1639 enable_vcruntime140_1
1640 enable_vdmdbg
1641 enable_version
1642 enable_vga
1643 enable_virtdisk
1644 enable_vssapi
1645 enable_vulkan_1
1646 enable_wbemdisp
1647 enable_wbemprox
1648 enable_wbemuuid
1649 enable_wdscore
1650 enable_webservices
1651 enable_wer
1652 enable_wevtapi
1653 enable_wevtsvc
1654 enable_wiaservc
1655 enable_wimgapi
1656 enable_windowscodecs
1657 enable_windowscodecsext
1658 enable_winealsa_drv
1659 enable_wineandroid_drv
1660 enable_winebus_sys
1661 enable_winecoreaudio_drv
1662 enable_winecrt0
1663 enable_wined3d
1664 enable_winegstreamer
1665 enable_winehid_sys
1666 enable_winejoystick_drv
1667 enable_winemac_drv
1668 enable_winemapi
1669 enable_wineoss_drv
1670 enable_wineps_drv
1671 enable_winepulse_drv
1672 enable_wineqtdecoder
1673 enable_wineusb_sys
1674 enable_winevulkan
1675 enable_winex11_drv
1676 enable_wing32
1677 enable_winhttp
1678 enable_wininet
1679 enable_winmm
1680 enable_winnls32
1681 enable_winscard
1682 enable_winspool_drv
1683 enable_winsta
1684 enable_wintab32
1685 enable_wintrust
1686 enable_winusb
1687 enable_wlanapi
1688 enable_wlanui
1689 enable_wldap32
1690 enable_wmasf
1691 enable_wmcodecdspuuid
1692 enable_wmi
1693 enable_wmiutils
1694 enable_wmp
1695 enable_wmphoto
1696 enable_wmvcore
1697 enable_wnaspi32
1698 enable_wpc
1699 enable_wpcap
1700 enable_ws2_32
1701 enable_wsdapi
1702 enable_wshom_ocx
1703 enable_wsnmp32
1704 enable_wsock32
1705 enable_wtsapi32
1706 enable_wuapi
1707 enable_wuaueng
1708 enable_x3daudio1_0
1709 enable_x3daudio1_1
1710 enable_x3daudio1_2
1711 enable_x3daudio1_3
1712 enable_x3daudio1_4
1713 enable_x3daudio1_5
1714 enable_x3daudio1_6
1715 enable_x3daudio1_7
1716 enable_xactengine3_0
1717 enable_xactengine3_1
1718 enable_xactengine3_2
1719 enable_xactengine3_3
1720 enable_xactengine3_4
1721 enable_xactengine3_5
1722 enable_xactengine3_6
1723 enable_xactengine3_7
1724 enable_xapofx1_1
1725 enable_xapofx1_2
1726 enable_xapofx1_3
1727 enable_xapofx1_4
1728 enable_xapofx1_5
1729 enable_xaudio2_0
1730 enable_xaudio2_1
1731 enable_xaudio2_2
1732 enable_xaudio2_3
1733 enable_xaudio2_4
1734 enable_xaudio2_5
1735 enable_xaudio2_6
1736 enable_xaudio2_7
1737 enable_xaudio2_8
1738 enable_xaudio2_9
1739 enable_xinput1_1
1740 enable_xinput1_2
1741 enable_xinput1_3
1742 enable_xinput1_4
1743 enable_xinput9_1_0
1744 enable_xmllite
1745 enable_xolehlp
1746 enable_xpsprint
1747 enable_xpssvcs
1748 enable_fonts
1749 enable_include
1750 enable_port
1751 enable_wine
1752 enable_wpp
1753 enable_loader
1754 enable_nls
1755 enable_po
1756 enable_arp
1757 enable_aspnet_regiis
1758 enable_attrib
1759 enable_cabarc
1760 enable_cacls
1761 enable_chcp_com
1762 enable_clock
1763 enable_cmd
1764 enable_conhost
1765 enable_control
1766 enable_cscript
1767 enable_dism
1768 enable_dplaysvr
1769 enable_dpnsvr
1770 enable_dpvsetup
1771 enable_dxdiag
1772 enable_eject
1773 enable_expand
1774 enable_explorer
1775 enable_extrac32
1776 enable_fc
1777 enable_find
1778 enable_findstr
1779 enable_fsutil
1780 enable_hh
1781 enable_hostname
1782 enable_icacls
1783 enable_icinfo
1784 enable_iexplore
1785 enable_ipconfig
1786 enable_lodctr
1787 enable_mofcomp
1788 enable_mshta
1789 enable_msidb
1790 enable_msiexec
1791 enable_msinfo32
1792 enable_net
1793 enable_netsh
1794 enable_netstat
1795 enable_ngen
1796 enable_notepad
1797 enable_oleview
1798 enable_ping
1799 enable_plugplay
1800 enable_powershell
1801 enable_presentationfontcache
1802 enable_progman
1803 enable_reg
1804 enable_regasm
1805 enable_regedit
1806 enable_regini
1807 enable_regsvcs
1808 enable_regsvr32
1809 enable_rpcss
1810 enable_rundll32
1811 enable_sc
1812 enable_schtasks
1813 enable_sdbinst
1814 enable_secedit
1815 enable_servicemodelreg
1816 enable_services
1817 enable_shutdown
1818 enable_spoolsv
1819 enable_start
1820 enable_subst
1821 enable_svchost
1822 enable_systeminfo
1823 enable_taskkill
1824 enable_tasklist
1825 enable_taskmgr
1826 enable_termsv
1827 enable_uninstaller
1828 enable_unlodctr
1829 enable_view
1830 enable_wevtutil
1831 enable_where
1832 enable_whoami
1833 enable_wineboot
1834 enable_winebrowser
1835 enable_winecfg
1836 enable_wineconsole
1837 enable_winedbg
1838 enable_winedevice
1839 enable_winefile
1840 enable_winemenubuilder
1841 enable_winemine
1842 enable_winemsibuilder
1843 enable_winepath
1844 enable_winetest
1845 enable_winhlp32
1846 enable_winmgmt
1847 enable_winver
1848 enable_wmic
1849 enable_wmplayer
1850 enable_wordpad
1851 enable_write
1852 enable_wscript
1853 enable_wuauserv
1854 enable_wusa
1855 enable_xcopy
1856 enable_server
1857 enable_tools
1858 enable_sfnt2fon
1859 enable_widl
1860 enable_winebuild
1861 enable_winedump
1862 enable_winegcc
1863 enable_winemaker
1864 enable_wmc
1865 enable_wrc
1867 ac_precious_vars='build_alias
1868 host_alias
1869 target_alias
1871 CFLAGS
1872 LDFLAGS
1873 LIBS
1874 CPPFLAGS
1876 CXXFLAGS
1879 OBJC
1880 OBJCFLAGS
1881 OBJCPP
1882 XMKMF
1883 XML2_CFLAGS
1884 XML2_LIBS
1885 XSLT_CFLAGS
1886 XSLT_LIBS
1887 INOTIFY_CFLAGS
1888 INOTIFY_LIBS
1889 DBUS_CFLAGS
1890 DBUS_LIBS
1891 HAL_CFLAGS
1892 HAL_LIBS
1893 GNUTLS_CFLAGS
1894 GNUTLS_LIBS
1895 SANE_CFLAGS
1896 SANE_LIBS
1897 USB_CFLAGS
1898 USB_LIBS
1899 GPHOTO2_CFLAGS
1900 GPHOTO2_LIBS
1901 GPHOTO2_PORT_CFLAGS
1902 GPHOTO2_PORT_LIBS
1903 LCMS2_CFLAGS
1904 LCMS2_LIBS
1905 FREETYPE_CFLAGS
1906 FREETYPE_LIBS
1907 PULSE_CFLAGS
1908 PULSE_LIBS
1909 GSTREAMER_CFLAGS
1910 GSTREAMER_LIBS
1911 UDEV_CFLAGS
1912 UDEV_LIBS
1913 UNWIND_CFLAGS
1914 UNWIND_LIBS
1915 SDL2_CFLAGS
1916 SDL2_LIBS
1917 FAUDIO_CFLAGS
1918 FAUDIO_LIBS
1919 CAPI20_CFLAGS
1920 CAPI20_LIBS
1921 CUPS_CFLAGS
1922 CUPS_LIBS
1923 FONTCONFIG_CFLAGS
1924 FONTCONFIG_LIBS
1925 KRB5_CFLAGS
1926 KRB5_LIBS
1927 GSSAPI_CFLAGS
1928 GSSAPI_LIBS
1929 JPEG_CFLAGS
1930 JPEG_LIBS
1931 PNG_CFLAGS
1932 PNG_LIBS
1933 TIFF_CFLAGS
1934 TIFF_LIBS
1935 MPG123_CFLAGS
1936 MPG123_LIBS
1937 NETAPI_CFLAGS
1938 NETAPI_LIBS
1939 VKD3D_CFLAGS
1940 VKD3D_LIBS
1941 VKD3D_SHADER_CFLAGS
1942 VKD3D_SHADER_LIBS
1943 LDAP_CFLAGS
1944 LDAP_LIBS'
1947 # Initialize some variables set by options.
1948 ac_init_help=
1949 ac_init_version=false
1950 ac_unrecognized_opts=
1951 ac_unrecognized_sep=
1952 # The variables have the same names as the options, with
1953 # dashes changed to underlines.
1954 cache_file=/dev/null
1955 exec_prefix=NONE
1956 no_create=
1957 no_recursion=
1958 prefix=NONE
1959 program_prefix=NONE
1960 program_suffix=NONE
1961 program_transform_name=s,x,x,
1962 silent=
1963 site=
1964 srcdir=
1965 verbose=
1966 x_includes=NONE
1967 x_libraries=NONE
1969 # Installation directory options.
1970 # These are left unexpanded so users can "make install exec_prefix=/foo"
1971 # and all the variables that are supposed to be based on exec_prefix
1972 # by default will actually change.
1973 # Use braces instead of parens because sh, perl, etc. also accept them.
1974 # (The list follows the same order as the GNU Coding Standards.)
1975 bindir='${exec_prefix}/bin'
1976 sbindir='${exec_prefix}/sbin'
1977 libexecdir='${exec_prefix}/libexec'
1978 datarootdir='${prefix}/share'
1979 datadir='${datarootdir}'
1980 sysconfdir='${prefix}/etc'
1981 sharedstatedir='${prefix}/com'
1982 localstatedir='${prefix}/var'
1983 runstatedir='${localstatedir}/run'
1984 includedir='${prefix}/include'
1985 oldincludedir='/usr/include'
1986 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1987 infodir='${datarootdir}/info'
1988 htmldir='${docdir}'
1989 dvidir='${docdir}'
1990 pdfdir='${docdir}'
1991 psdir='${docdir}'
1992 libdir='${exec_prefix}/lib'
1993 localedir='${datarootdir}/locale'
1994 mandir='${datarootdir}/man'
1996 ac_prev=
1997 ac_dashdash=
1998 for ac_option
2000 # If the previous option needs an argument, assign it.
2001 if test -n "$ac_prev"; then
2002 eval $ac_prev=\$ac_option
2003 ac_prev=
2004 continue
2007 case $ac_option in
2008 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2009 *=) ac_optarg= ;;
2010 *) ac_optarg=yes ;;
2011 esac
2013 # Accept the important Cygnus configure options, so we can diagnose typos.
2015 case $ac_dashdash$ac_option in
2017 ac_dashdash=yes ;;
2019 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2020 ac_prev=bindir ;;
2021 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2022 bindir=$ac_optarg ;;
2024 -build | --build | --buil | --bui | --bu)
2025 ac_prev=build_alias ;;
2026 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2027 build_alias=$ac_optarg ;;
2029 -cache-file | --cache-file | --cache-fil | --cache-fi \
2030 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2031 ac_prev=cache_file ;;
2032 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2033 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2034 cache_file=$ac_optarg ;;
2036 --config-cache | -C)
2037 cache_file=config.cache ;;
2039 -datadir | --datadir | --datadi | --datad)
2040 ac_prev=datadir ;;
2041 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2042 datadir=$ac_optarg ;;
2044 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2045 | --dataroo | --dataro | --datar)
2046 ac_prev=datarootdir ;;
2047 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2048 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2049 datarootdir=$ac_optarg ;;
2051 -disable-* | --disable-*)
2052 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2053 # Reject names that are not valid shell variable names.
2054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2055 as_fn_error $? "invalid feature name: $ac_useropt"
2056 ac_useropt_orig=$ac_useropt
2057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2058 case $ac_user_opts in
2060 "enable_$ac_useropt"
2061 "*) ;;
2062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2063 ac_unrecognized_sep=', ';;
2064 esac
2065 eval enable_$ac_useropt=no ;;
2067 -docdir | --docdir | --docdi | --doc | --do)
2068 ac_prev=docdir ;;
2069 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2070 docdir=$ac_optarg ;;
2072 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2073 ac_prev=dvidir ;;
2074 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2075 dvidir=$ac_optarg ;;
2077 -enable-* | --enable-*)
2078 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2079 # Reject names that are not valid shell variable names.
2080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2081 as_fn_error $? "invalid feature name: $ac_useropt"
2082 ac_useropt_orig=$ac_useropt
2083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2084 case $ac_user_opts in
2086 "enable_$ac_useropt"
2087 "*) ;;
2088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2089 ac_unrecognized_sep=', ';;
2090 esac
2091 eval enable_$ac_useropt=\$ac_optarg ;;
2093 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2094 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2095 | --exec | --exe | --ex)
2096 ac_prev=exec_prefix ;;
2097 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2098 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2099 | --exec=* | --exe=* | --ex=*)
2100 exec_prefix=$ac_optarg ;;
2102 -gas | --gas | --ga | --g)
2103 # Obsolete; use --with-gas.
2104 with_gas=yes ;;
2106 -help | --help | --hel | --he | -h)
2107 ac_init_help=long ;;
2108 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2109 ac_init_help=recursive ;;
2110 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2111 ac_init_help=short ;;
2113 -host | --host | --hos | --ho)
2114 ac_prev=host_alias ;;
2115 -host=* | --host=* | --hos=* | --ho=*)
2116 host_alias=$ac_optarg ;;
2118 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2119 ac_prev=htmldir ;;
2120 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2121 | --ht=*)
2122 htmldir=$ac_optarg ;;
2124 -includedir | --includedir | --includedi | --included | --include \
2125 | --includ | --inclu | --incl | --inc)
2126 ac_prev=includedir ;;
2127 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2128 | --includ=* | --inclu=* | --incl=* | --inc=*)
2129 includedir=$ac_optarg ;;
2131 -infodir | --infodir | --infodi | --infod | --info | --inf)
2132 ac_prev=infodir ;;
2133 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2134 infodir=$ac_optarg ;;
2136 -libdir | --libdir | --libdi | --libd)
2137 ac_prev=libdir ;;
2138 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2139 libdir=$ac_optarg ;;
2141 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2142 | --libexe | --libex | --libe)
2143 ac_prev=libexecdir ;;
2144 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2145 | --libexe=* | --libex=* | --libe=*)
2146 libexecdir=$ac_optarg ;;
2148 -localedir | --localedir | --localedi | --localed | --locale)
2149 ac_prev=localedir ;;
2150 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2151 localedir=$ac_optarg ;;
2153 -localstatedir | --localstatedir | --localstatedi | --localstated \
2154 | --localstate | --localstat | --localsta | --localst | --locals)
2155 ac_prev=localstatedir ;;
2156 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2157 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2158 localstatedir=$ac_optarg ;;
2160 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2161 ac_prev=mandir ;;
2162 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2163 mandir=$ac_optarg ;;
2165 -nfp | --nfp | --nf)
2166 # Obsolete; use --without-fp.
2167 with_fp=no ;;
2169 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2170 | --no-cr | --no-c | -n)
2171 no_create=yes ;;
2173 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2174 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2175 no_recursion=yes ;;
2177 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2178 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2179 | --oldin | --oldi | --old | --ol | --o)
2180 ac_prev=oldincludedir ;;
2181 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2182 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2183 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2184 oldincludedir=$ac_optarg ;;
2186 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2187 ac_prev=prefix ;;
2188 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2189 prefix=$ac_optarg ;;
2191 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2192 | --program-pre | --program-pr | --program-p)
2193 ac_prev=program_prefix ;;
2194 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2195 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2196 program_prefix=$ac_optarg ;;
2198 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2199 | --program-suf | --program-su | --program-s)
2200 ac_prev=program_suffix ;;
2201 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2202 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2203 program_suffix=$ac_optarg ;;
2205 -program-transform-name | --program-transform-name \
2206 | --program-transform-nam | --program-transform-na \
2207 | --program-transform-n | --program-transform- \
2208 | --program-transform | --program-transfor \
2209 | --program-transfo | --program-transf \
2210 | --program-trans | --program-tran \
2211 | --progr-tra | --program-tr | --program-t)
2212 ac_prev=program_transform_name ;;
2213 -program-transform-name=* | --program-transform-name=* \
2214 | --program-transform-nam=* | --program-transform-na=* \
2215 | --program-transform-n=* | --program-transform-=* \
2216 | --program-transform=* | --program-transfor=* \
2217 | --program-transfo=* | --program-transf=* \
2218 | --program-trans=* | --program-tran=* \
2219 | --progr-tra=* | --program-tr=* | --program-t=*)
2220 program_transform_name=$ac_optarg ;;
2222 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2223 ac_prev=pdfdir ;;
2224 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2225 pdfdir=$ac_optarg ;;
2227 -psdir | --psdir | --psdi | --psd | --ps)
2228 ac_prev=psdir ;;
2229 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2230 psdir=$ac_optarg ;;
2232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2233 | -silent | --silent | --silen | --sile | --sil)
2234 silent=yes ;;
2236 -runstatedir | --runstatedir | --runstatedi | --runstated \
2237 | --runstate | --runstat | --runsta | --runst | --runs \
2238 | --run | --ru | --r)
2239 ac_prev=runstatedir ;;
2240 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2241 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2242 | --run=* | --ru=* | --r=*)
2243 runstatedir=$ac_optarg ;;
2245 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2246 ac_prev=sbindir ;;
2247 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2248 | --sbi=* | --sb=*)
2249 sbindir=$ac_optarg ;;
2251 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2252 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2253 | --sharedst | --shareds | --shared | --share | --shar \
2254 | --sha | --sh)
2255 ac_prev=sharedstatedir ;;
2256 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2257 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2258 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2259 | --sha=* | --sh=*)
2260 sharedstatedir=$ac_optarg ;;
2262 -site | --site | --sit)
2263 ac_prev=site ;;
2264 -site=* | --site=* | --sit=*)
2265 site=$ac_optarg ;;
2267 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2268 ac_prev=srcdir ;;
2269 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2270 srcdir=$ac_optarg ;;
2272 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2273 | --syscon | --sysco | --sysc | --sys | --sy)
2274 ac_prev=sysconfdir ;;
2275 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2276 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2277 sysconfdir=$ac_optarg ;;
2279 -target | --target | --targe | --targ | --tar | --ta | --t)
2280 ac_prev=target_alias ;;
2281 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2282 target_alias=$ac_optarg ;;
2284 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2285 verbose=yes ;;
2287 -version | --version | --versio | --versi | --vers | -V)
2288 ac_init_version=: ;;
2290 -with-* | --with-*)
2291 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2292 # Reject names that are not valid shell variable names.
2293 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2294 as_fn_error $? "invalid package name: $ac_useropt"
2295 ac_useropt_orig=$ac_useropt
2296 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2297 case $ac_user_opts in
2299 "with_$ac_useropt"
2300 "*) ;;
2301 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2302 ac_unrecognized_sep=', ';;
2303 esac
2304 eval with_$ac_useropt=\$ac_optarg ;;
2306 -without-* | --without-*)
2307 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2308 # Reject names that are not valid shell variable names.
2309 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2310 as_fn_error $? "invalid package name: $ac_useropt"
2311 ac_useropt_orig=$ac_useropt
2312 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2313 case $ac_user_opts in
2315 "with_$ac_useropt"
2316 "*) ;;
2317 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2318 ac_unrecognized_sep=', ';;
2319 esac
2320 eval with_$ac_useropt=no ;;
2322 --x)
2323 # Obsolete; use --with-x.
2324 with_x=yes ;;
2326 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2327 | --x-incl | --x-inc | --x-in | --x-i)
2328 ac_prev=x_includes ;;
2329 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2330 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2331 x_includes=$ac_optarg ;;
2333 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2334 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2335 ac_prev=x_libraries ;;
2336 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2337 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2338 x_libraries=$ac_optarg ;;
2340 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2341 Try \`$0 --help' for more information"
2344 *=*)
2345 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2346 # Reject names that are not valid shell variable names.
2347 case $ac_envvar in #(
2348 '' | [0-9]* | *[!_$as_cr_alnum]* )
2349 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2350 esac
2351 eval $ac_envvar=\$ac_optarg
2352 export $ac_envvar ;;
2355 # FIXME: should be removed in autoconf 3.0.
2356 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2357 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2358 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2359 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2362 esac
2363 done
2365 if test -n "$ac_prev"; then
2366 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2367 as_fn_error $? "missing argument to $ac_option"
2370 if test -n "$ac_unrecognized_opts"; then
2371 case $enable_option_checking in
2372 no) ;;
2373 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2374 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2375 esac
2378 # Check all directory arguments for consistency.
2379 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2380 datadir sysconfdir sharedstatedir localstatedir includedir \
2381 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2382 libdir localedir mandir runstatedir
2384 eval ac_val=\$$ac_var
2385 # Remove trailing slashes.
2386 case $ac_val in
2387 */ )
2388 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2389 eval $ac_var=\$ac_val;;
2390 esac
2391 # Be sure to have absolute directory names.
2392 case $ac_val in
2393 [\\/$]* | ?:[\\/]* ) continue;;
2394 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2395 esac
2396 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2397 done
2399 # There might be people who depend on the old broken behavior: `$host'
2400 # used to hold the argument of --host etc.
2401 # FIXME: To remove some day.
2402 build=$build_alias
2403 host=$host_alias
2404 target=$target_alias
2406 # FIXME: To remove some day.
2407 if test "x$host_alias" != x; then
2408 if test "x$build_alias" = x; then
2409 cross_compiling=maybe
2410 elif test "x$build_alias" != "x$host_alias"; then
2411 cross_compiling=yes
2415 ac_tool_prefix=
2416 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2418 test "$silent" = yes && exec 6>/dev/null
2421 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2422 ac_ls_di=`ls -di .` &&
2423 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2424 as_fn_error $? "working directory cannot be determined"
2425 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2426 as_fn_error $? "pwd does not report name of working directory"
2429 # Find the source files, if location was not specified.
2430 if test -z "$srcdir"; then
2431 ac_srcdir_defaulted=yes
2432 # Try the directory containing this script, then the parent directory.
2433 ac_confdir=`$as_dirname -- "$as_myself" ||
2434 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2435 X"$as_myself" : 'X\(//\)[^/]' \| \
2436 X"$as_myself" : 'X\(//\)$' \| \
2437 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2438 $as_echo X"$as_myself" |
2439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2440 s//\1/
2443 /^X\(\/\/\)[^/].*/{
2444 s//\1/
2447 /^X\(\/\/\)$/{
2448 s//\1/
2451 /^X\(\/\).*/{
2452 s//\1/
2455 s/.*/./; q'`
2456 srcdir=$ac_confdir
2457 if test ! -r "$srcdir/$ac_unique_file"; then
2458 srcdir=..
2460 else
2461 ac_srcdir_defaulted=no
2463 if test ! -r "$srcdir/$ac_unique_file"; then
2464 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2465 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2467 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2468 ac_abs_confdir=`(
2469 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2470 pwd)`
2471 # When building in place, set srcdir=.
2472 if test "$ac_abs_confdir" = "$ac_pwd"; then
2473 srcdir=.
2475 # Remove unnecessary trailing slashes from srcdir.
2476 # Double slashes in file names in object file debugging info
2477 # mess up M-x gdb in Emacs.
2478 case $srcdir in
2479 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2480 esac
2481 for ac_var in $ac_precious_vars; do
2482 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2483 eval ac_env_${ac_var}_value=\$${ac_var}
2484 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2485 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2486 done
2489 # Report the --help message.
2491 if test "$ac_init_help" = "long"; then
2492 # Omit some internal or obsolete options to make the list less imposing.
2493 # This message is too long to be a string in the A/UX 3.1 sh.
2494 cat <<_ACEOF
2495 \`configure' configures Wine 6.0 to adapt to many kinds of systems.
2497 Usage: $0 [OPTION]... [VAR=VALUE]...
2499 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2500 VAR=VALUE. See below for descriptions of some of the useful variables.
2502 Defaults for the options are specified in brackets.
2504 Configuration:
2505 -h, --help display this help and exit
2506 --help=short display options specific to this package
2507 --help=recursive display the short help of all the included packages
2508 -V, --version display version information and exit
2509 -q, --quiet, --silent do not print \`checking ...' messages
2510 --cache-file=FILE cache test results in FILE [disabled]
2511 -C, --config-cache alias for \`--cache-file=config.cache'
2512 -n, --no-create do not create output files
2513 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2515 Installation directories:
2516 --prefix=PREFIX install architecture-independent files in PREFIX
2517 [$ac_default_prefix]
2518 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2519 [PREFIX]
2521 By default, \`make install' will install all the files in
2522 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2523 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2524 for instance \`--prefix=\$HOME'.
2526 For better control, use the options below.
2528 Fine tuning of the installation directories:
2529 --bindir=DIR user executables [EPREFIX/bin]
2530 --sbindir=DIR system admin executables [EPREFIX/sbin]
2531 --libexecdir=DIR program executables [EPREFIX/libexec]
2532 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2533 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2534 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2535 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2536 --libdir=DIR object code libraries [EPREFIX/lib]
2537 --includedir=DIR C header files [PREFIX/include]
2538 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2539 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2540 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2541 --infodir=DIR info documentation [DATAROOTDIR/info]
2542 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2543 --mandir=DIR man documentation [DATAROOTDIR/man]
2544 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2545 --htmldir=DIR html documentation [DOCDIR]
2546 --dvidir=DIR dvi documentation [DOCDIR]
2547 --pdfdir=DIR pdf documentation [DOCDIR]
2548 --psdir=DIR ps documentation [DOCDIR]
2549 _ACEOF
2551 cat <<\_ACEOF
2553 X features:
2554 --x-includes=DIR X include files are in DIR
2555 --x-libraries=DIR X library files are in DIR
2557 System types:
2558 --build=BUILD configure for building on BUILD [guessed]
2559 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2560 _ACEOF
2563 if test -n "$ac_init_help"; then
2564 case $ac_init_help in
2565 short | recursive ) echo "Configuration of Wine 6.0:";;
2566 esac
2567 cat <<\_ACEOF
2569 Optional Features:
2570 --disable-option-checking ignore unrecognized --enable/--with options
2571 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2572 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2573 --disable-win16 do not include Win16 support
2574 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2575 binaries)
2576 --disable-tests do not build the regression tests
2577 --enable-maintainer-mode
2578 enable maintainer-specific build rules
2579 --enable-silent-rules use silent build rules (override: "make V=1")
2580 --enable-werror treat compilation warnings as errors
2581 --disable-largefile omit support for large files
2583 Optional Packages:
2584 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2585 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2586 --without-alsa do not use the Alsa sound support
2587 --without-capi do not use CAPI (ISDN support)
2588 --without-cms do not use CMS (color management support)
2589 --without-coreaudio do not use the CoreAudio sound support
2590 --without-cups do not use CUPS
2591 --without-dbus do not use DBus (dynamic device support)
2592 --without-faudio do not use FAudio (XAudio2 support)
2593 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2594 --without-fontconfig do not use fontconfig
2595 --without-freetype do not use the FreeType library
2596 --without-gettext do not use gettext
2597 --with-gettextpo use the GetTextPO library to rebuild po files
2598 --without-gphoto do not use gphoto (Digital Camera support)
2599 --without-gnutls do not use GnuTLS (schannel support)
2600 --without-gsm do not use libgsm (GSM 06.10 codec support)
2601 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2602 --without-gstreamer do not use GStreamer (codecs support)
2603 --without-hal do not use HAL (dynamic device support)
2604 --without-inotify do not use inotify (filesystem change notifications)
2605 --without-jpeg do not use JPEG
2606 --without-krb5 do not use krb5 (Kerberos)
2607 --without-ldap do not use LDAP
2608 --without-mingw do not use the MinGW cross-compiler
2609 --without-mpg123 do not use the mpg123 library
2610 --without-netapi do not use the Samba NetAPI library
2611 --without-openal do not use OpenAL
2612 --without-opencl do not use OpenCL
2613 --without-opengl do not use OpenGL
2614 --without-osmesa do not use the OSMesa library
2615 --without-oss do not use the OSS sound support
2616 --without-pcap do not use the Packet Capture library
2617 --without-png do not use PNG
2618 --without-pthread do not use the pthread library
2619 --without-pulse do not use PulseAudio sound support
2620 --without-quicktime do not use QuickTime support
2621 --without-sane do not use SANE (scanner support)
2622 --without-sdl do not use SDL
2623 --without-tiff do not use TIFF
2624 --without-udev do not use udev (plug and play support)
2625 --without-unwind do not use the libunwind library (exception
2626 handling)
2627 --without-usb do not use the libusb library
2628 --without-v4l2 do not use v4l2 (video capture)
2629 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2630 --without-vulkan do not use Vulkan
2631 --without-xcomposite do not use the Xcomposite extension
2632 --without-xcursor do not use the Xcursor extension
2633 --without-xfixes do not use Xfixes for clipboard change notifications
2634 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2635 --without-xinput do not use the Xinput extension
2636 --without-xinput2 do not use the Xinput 2 extension
2637 --without-xml do not use XML
2638 --without-xrandr do not use Xrandr (multi-monitor support)
2639 --without-xrender do not use the Xrender extension
2640 --without-xshape do not use the Xshape extension
2641 --without-xshm do not use XShm (shared memory extension)
2642 --without-xslt do not use XSLT
2643 --without-xxf86vm do not use XFree video mode extension
2644 --with-wine-tools=DIR use Wine tools from directory DIR
2645 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2646 --with-x use the X Window System
2648 Some influential environment variables:
2649 CC C compiler command
2650 CFLAGS C compiler flags
2651 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2652 nonstandard directory <lib dir>
2653 LIBS libraries to pass to the linker, e.g. -l<library>
2654 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2655 you have headers in a nonstandard directory <include dir>
2656 CXX C++ compiler command
2657 CXXFLAGS C++ compiler flags
2658 CPP C preprocessor
2659 OBJC Objective C compiler command
2660 OBJCFLAGS Objective C compiler flags
2661 OBJCPP Objective C preprocessor
2662 XMKMF Path to xmkmf, Makefile generator for X Window System
2663 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2664 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2665 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2666 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2667 INOTIFY_CFLAGS
2668 C compiler flags for libinotify, overriding pkg-config
2669 INOTIFY_LIBS
2670 Linker flags for libinotify, overriding pkg-config
2671 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2672 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2673 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2674 HAL_LIBS Linker flags for hal, overriding pkg-config
2675 GNUTLS_CFLAGS
2676 C compiler flags for gnutls, overriding pkg-config
2677 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2678 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2679 SANE_LIBS Linker flags for libsane, overriding pkg-config
2680 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2681 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2682 GPHOTO2_CFLAGS
2683 C compiler flags for libgphoto2, overriding pkg-config
2684 GPHOTO2_LIBS
2685 Linker flags for libgphoto2, overriding pkg-config
2686 GPHOTO2_PORT_CFLAGS
2687 C compiler flags for libgphoto2_port, overriding pkg-config
2688 GPHOTO2_PORT_LIBS
2689 Linker flags for libgphoto2_port, overriding pkg-config
2690 LCMS2_CFLAGS
2691 C compiler flags for lcms2, overriding pkg-config
2692 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2693 FREETYPE_CFLAGS
2694 C compiler flags for freetype2, overriding pkg-config
2695 FREETYPE_LIBS
2696 Linker flags for freetype2, overriding pkg-config
2697 PULSE_CFLAGS
2698 C compiler flags for libpulse, overriding pkg-config
2699 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2700 GSTREAMER_CFLAGS
2701 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2702 gstreamer-audio-1.0, overriding pkg-config
2703 GSTREAMER_LIBS
2704 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2705 gstreamer-audio-1.0, overriding pkg-config
2706 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2707 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2708 UNWIND_CFLAGS
2709 C compiler flags for libunwind, overriding pkg-config
2710 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2711 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2712 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2713 FAUDIO_CFLAGS
2714 C compiler flags for faudio, overriding pkg-config
2715 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2716 CAPI20_CFLAGS
2717 C compiler flags for capi20, overriding pkg-config
2718 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2719 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2720 CUPS_LIBS Linker flags for cups, overriding pkg-config
2721 FONTCONFIG_CFLAGS
2722 C compiler flags for fontconfig, overriding pkg-config
2723 FONTCONFIG_LIBS
2724 Linker flags for fontconfig, overriding pkg-config
2725 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2726 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2727 GSSAPI_CFLAGS
2728 C compiler flags for krb5-gssapi, overriding pkg-config
2729 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2730 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2731 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2732 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2733 PNG_LIBS Linker flags for libpng, overriding pkg-config
2734 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2735 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2736 MPG123_CFLAGS
2737 C compiler flags for libmpg123, overriding pkg-config
2738 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2739 NETAPI_CFLAGS
2740 C compiler flags for netapi, overriding pkg-config
2741 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2742 VKD3D_CFLAGS
2743 C compiler flags for libvkd3d, overriding pkg-config
2744 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2745 VKD3D_SHADER_CFLAGS
2746 C compiler flags for libvkd3d-shader, overriding pkg-config
2747 VKD3D_SHADER_LIBS
2748 Linker flags for libvkd3d-shader, overriding pkg-config
2749 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2750 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2752 Use these variables to override the choices made by `configure' or to help
2753 it to find libraries and programs with nonstandard names/locations.
2755 Report bugs to <wine-devel@winehq.org>.
2756 Wine home page: <https://www.winehq.org>.
2757 _ACEOF
2758 ac_status=$?
2761 if test "$ac_init_help" = "recursive"; then
2762 # If there are subdirs, report their specific --help.
2763 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2764 test -d "$ac_dir" ||
2765 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2766 continue
2767 ac_builddir=.
2769 case "$ac_dir" in
2770 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2772 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2773 # A ".." for each directory in $ac_dir_suffix.
2774 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2775 case $ac_top_builddir_sub in
2776 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2777 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2778 esac ;;
2779 esac
2780 ac_abs_top_builddir=$ac_pwd
2781 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2782 # for backward compatibility:
2783 ac_top_builddir=$ac_top_build_prefix
2785 case $srcdir in
2786 .) # We are building in place.
2787 ac_srcdir=.
2788 ac_top_srcdir=$ac_top_builddir_sub
2789 ac_abs_top_srcdir=$ac_pwd ;;
2790 [\\/]* | ?:[\\/]* ) # Absolute name.
2791 ac_srcdir=$srcdir$ac_dir_suffix;
2792 ac_top_srcdir=$srcdir
2793 ac_abs_top_srcdir=$srcdir ;;
2794 *) # Relative name.
2795 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2796 ac_top_srcdir=$ac_top_build_prefix$srcdir
2797 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2798 esac
2799 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2801 cd "$ac_dir" || { ac_status=$?; continue; }
2802 # Check for guested configure.
2803 if test -f "$ac_srcdir/configure.gnu"; then
2804 echo &&
2805 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2806 elif test -f "$ac_srcdir/configure"; then
2807 echo &&
2808 $SHELL "$ac_srcdir/configure" --help=recursive
2809 else
2810 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2811 fi || ac_status=$?
2812 cd "$ac_pwd" || { ac_status=$?; break; }
2813 done
2816 test -n "$ac_init_help" && exit $ac_status
2817 if $ac_init_version; then
2818 cat <<\_ACEOF
2819 Wine configure 6.0
2820 generated by GNU Autoconf 2.69
2822 Copyright (C) 2012 Free Software Foundation, Inc.
2823 This configure script is free software; the Free Software Foundation
2824 gives unlimited permission to copy, distribute and modify it.
2825 _ACEOF
2826 exit
2829 ## ------------------------ ##
2830 ## Autoconf initialization. ##
2831 ## ------------------------ ##
2833 # ac_fn_c_try_compile LINENO
2834 # --------------------------
2835 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2836 ac_fn_c_try_compile ()
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 rm -f conftest.$ac_objext
2840 if { { ac_try="$ac_compile"
2841 case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_compile") 2>conftest.err
2848 ac_status=$?
2849 if test -s conftest.err; then
2850 grep -v '^ *+' conftest.err >conftest.er1
2851 cat conftest.er1 >&5
2852 mv -f conftest.er1 conftest.err
2854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2855 test $ac_status = 0; } && {
2856 test -z "$ac_c_werror_flag" ||
2857 test ! -s conftest.err
2858 } && test -s conftest.$ac_objext; then :
2859 ac_retval=0
2860 else
2861 $as_echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.$ac_ext >&5
2864 ac_retval=1
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 as_fn_set_status $ac_retval
2869 } # ac_fn_c_try_compile
2871 # ac_fn_cxx_try_compile LINENO
2872 # ----------------------------
2873 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2874 ac_fn_cxx_try_compile ()
2876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2877 rm -f conftest.$ac_objext
2878 if { { ac_try="$ac_compile"
2879 case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882 esac
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885 (eval "$ac_compile") 2>conftest.err
2886 ac_status=$?
2887 if test -s conftest.err; then
2888 grep -v '^ *+' conftest.err >conftest.er1
2889 cat conftest.er1 >&5
2890 mv -f conftest.er1 conftest.err
2892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893 test $ac_status = 0; } && {
2894 test -z "$ac_cxx_werror_flag" ||
2895 test ! -s conftest.err
2896 } && test -s conftest.$ac_objext; then :
2897 ac_retval=0
2898 else
2899 $as_echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2902 ac_retval=1
2904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2905 as_fn_set_status $ac_retval
2907 } # ac_fn_cxx_try_compile
2909 # ac_fn_c_try_link LINENO
2910 # -----------------------
2911 # Try to link conftest.$ac_ext, and return whether this succeeded.
2912 ac_fn_c_try_link ()
2914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2915 rm -f conftest.$ac_objext conftest$ac_exeext
2916 if { { ac_try="$ac_link"
2917 case "(($ac_try" in
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2920 esac
2921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2922 $as_echo "$ac_try_echo"; } >&5
2923 (eval "$ac_link") 2>conftest.err
2924 ac_status=$?
2925 if test -s conftest.err; then
2926 grep -v '^ *+' conftest.err >conftest.er1
2927 cat conftest.er1 >&5
2928 mv -f conftest.er1 conftest.err
2930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2931 test $ac_status = 0; } && {
2932 test -z "$ac_c_werror_flag" ||
2933 test ! -s conftest.err
2934 } && test -s conftest$ac_exeext && {
2935 test "$cross_compiling" = yes ||
2936 test -x conftest$ac_exeext
2937 }; then :
2938 ac_retval=0
2939 else
2940 $as_echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2943 ac_retval=1
2945 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2946 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2947 # interfere with the next link command; also delete a directory that is
2948 # left behind by Apple's compiler. We do this before executing the actions.
2949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2951 as_fn_set_status $ac_retval
2953 } # ac_fn_c_try_link
2955 # ac_fn_c_try_cpp LINENO
2956 # ----------------------
2957 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2958 ac_fn_c_try_cpp ()
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 if { { ac_try="$ac_cpp conftest.$ac_ext"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 $as_echo "$ac_try_echo"; } >&5
2968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2969 ac_status=$?
2970 if test -s conftest.err; then
2971 grep -v '^ *+' conftest.err >conftest.er1
2972 cat conftest.er1 >&5
2973 mv -f conftest.er1 conftest.err
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; } > conftest.i && {
2977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2978 test ! -s conftest.err
2979 }; then :
2980 ac_retval=0
2981 else
2982 $as_echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 ac_retval=1
2987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2988 as_fn_set_status $ac_retval
2990 } # ac_fn_c_try_cpp
2992 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2993 # -------------------------------------------------------
2994 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2995 # the include files in INCLUDES and setting the cache variable VAR
2996 # accordingly.
2997 ac_fn_c_check_header_mongrel ()
2999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000 if eval \${$3+:} false; then :
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3002 $as_echo_n "checking for $2... " >&6; }
3003 if eval \${$3+:} false; then :
3004 $as_echo_n "(cached) " >&6
3006 eval ac_res=\$$3
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3008 $as_echo "$ac_res" >&6; }
3009 else
3010 # Is the header compilable?
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3012 $as_echo_n "checking $2 usability... " >&6; }
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3016 #include <$2>
3017 _ACEOF
3018 if ac_fn_c_try_compile "$LINENO"; then :
3019 ac_header_compiler=yes
3020 else
3021 ac_header_compiler=no
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3025 $as_echo "$ac_header_compiler" >&6; }
3027 # Is the header present?
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3029 $as_echo_n "checking $2 presence... " >&6; }
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3032 #include <$2>
3033 _ACEOF
3034 if ac_fn_c_try_cpp "$LINENO"; then :
3035 ac_header_preproc=yes
3036 else
3037 ac_header_preproc=no
3039 rm -f conftest.err conftest.i conftest.$ac_ext
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3041 $as_echo "$ac_header_preproc" >&6; }
3043 # So? What about this header?
3044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3045 yes:no: )
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3047 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3049 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3051 no:yes:* )
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3053 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3055 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3057 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3059 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3061 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3062 ( $as_echo "## ------------------------------------ ##
3063 ## Report this to wine-devel@winehq.org ##
3064 ## ------------------------------------ ##"
3065 ) | sed "s/^/$as_me: WARNING: /" >&2
3067 esac
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3069 $as_echo_n "checking for $2... " >&6; }
3070 if eval \${$3+:} false; then :
3071 $as_echo_n "(cached) " >&6
3072 else
3073 eval "$3=\$ac_header_compiler"
3075 eval ac_res=\$$3
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3077 $as_echo "$ac_res" >&6; }
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3081 } # ac_fn_c_check_header_mongrel
3083 # ac_fn_c_try_run LINENO
3084 # ----------------------
3085 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3086 # that executables *can* be run.
3087 ac_fn_c_try_run ()
3089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3090 if { { ac_try="$ac_link"
3091 case "(($ac_try" in
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3094 esac
3095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3096 $as_echo "$ac_try_echo"; } >&5
3097 (eval "$ac_link") 2>&5
3098 ac_status=$?
3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3101 { { case "(($ac_try" in
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3104 esac
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 $as_echo "$ac_try_echo"; } >&5
3107 (eval "$ac_try") 2>&5
3108 ac_status=$?
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; }; }; then :
3111 ac_retval=0
3112 else
3113 $as_echo "$as_me: program exited with status $ac_status" >&5
3114 $as_echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.$ac_ext >&5
3117 ac_retval=$ac_status
3119 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3121 as_fn_set_status $ac_retval
3123 } # ac_fn_c_try_run
3125 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3126 # -------------------------------------------------------
3127 # Tests whether HEADER exists and can be compiled using the include files in
3128 # INCLUDES, setting the cache variable VAR accordingly.
3129 ac_fn_c_check_header_compile ()
3131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3133 $as_echo_n "checking for $2... " >&6; }
3134 if eval \${$3+:} false; then :
3135 $as_echo_n "(cached) " >&6
3136 else
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3140 #include <$2>
3141 _ACEOF
3142 if ac_fn_c_try_compile "$LINENO"; then :
3143 eval "$3=yes"
3144 else
3145 eval "$3=no"
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 eval ac_res=\$$3
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3151 $as_echo "$ac_res" >&6; }
3152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3154 } # ac_fn_c_check_header_compile
3156 # ac_fn_objc_try_compile LINENO
3157 # -----------------------------
3158 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3159 ac_fn_objc_try_compile ()
3161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3162 rm -f conftest.$ac_objext
3163 if { { ac_try="$ac_compile"
3164 case "(($ac_try" in
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3167 esac
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_compile") 2>conftest.err
3171 ac_status=$?
3172 if test -s conftest.err; then
3173 grep -v '^ *+' conftest.err >conftest.er1
3174 cat conftest.er1 >&5
3175 mv -f conftest.er1 conftest.err
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; } && {
3179 test -z "$ac_objc_werror_flag" ||
3180 test ! -s conftest.err
3181 } && test -s conftest.$ac_objext; then :
3182 ac_retval=0
3183 else
3184 $as_echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 ac_retval=1
3189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3190 as_fn_set_status $ac_retval
3192 } # ac_fn_objc_try_compile
3194 # ac_fn_objc_try_cpp LINENO
3195 # -------------------------
3196 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3197 ac_fn_objc_try_cpp ()
3199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3200 if { { ac_try="$ac_cpp conftest.$ac_ext"
3201 case "(($ac_try" in
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3204 esac
3205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3208 ac_status=$?
3209 if test -s conftest.err; then
3210 grep -v '^ *+' conftest.err >conftest.er1
3211 cat conftest.er1 >&5
3212 mv -f conftest.er1 conftest.err
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; } > conftest.i && {
3216 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3217 test ! -s conftest.err
3218 }; then :
3219 ac_retval=0
3220 else
3221 $as_echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 ac_retval=1
3226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3227 as_fn_set_status $ac_retval
3229 } # ac_fn_objc_try_cpp
3231 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3232 # ----------------------------------------------------------
3233 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3234 # the include files in INCLUDES and setting the cache variable VAR
3235 # accordingly.
3236 ac_fn_objc_check_header_mongrel ()
3238 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3239 if eval \${$3+:} false; then :
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3241 $as_echo_n "checking for $2... " >&6; }
3242 if eval \${$3+:} false; then :
3243 $as_echo_n "(cached) " >&6
3245 eval ac_res=\$$3
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3247 $as_echo "$ac_res" >&6; }
3248 else
3249 # Is the header compilable?
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3251 $as_echo_n "checking $2 usability... " >&6; }
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3255 #include <$2>
3256 _ACEOF
3257 if ac_fn_objc_try_compile "$LINENO"; then :
3258 ac_header_compiler=yes
3259 else
3260 ac_header_compiler=no
3262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3264 $as_echo "$ac_header_compiler" >&6; }
3266 # Is the header present?
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3268 $as_echo_n "checking $2 presence... " >&6; }
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3271 #include <$2>
3272 _ACEOF
3273 if ac_fn_objc_try_cpp "$LINENO"; then :
3274 ac_header_preproc=yes
3275 else
3276 ac_header_preproc=no
3278 rm -f conftest.err conftest.i conftest.$ac_ext
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3280 $as_echo "$ac_header_preproc" >&6; }
3282 # So? What about this header?
3283 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3284 yes:no: )
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3286 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3288 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3290 no:yes:* )
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3292 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3294 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3296 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3298 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3300 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3301 ( $as_echo "## ------------------------------------ ##
3302 ## Report this to wine-devel@winehq.org ##
3303 ## ------------------------------------ ##"
3304 ) | sed "s/^/$as_me: WARNING: /" >&2
3306 esac
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3308 $as_echo_n "checking for $2... " >&6; }
3309 if eval \${$3+:} false; then :
3310 $as_echo_n "(cached) " >&6
3311 else
3312 eval "$3=\$ac_header_compiler"
3314 eval ac_res=\$$3
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3316 $as_echo "$ac_res" >&6; }
3318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3320 } # ac_fn_objc_check_header_mongrel
3322 # ac_fn_c_check_func LINENO FUNC VAR
3323 # ----------------------------------
3324 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3325 ac_fn_c_check_func ()
3327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3329 $as_echo_n "checking for $2... " >&6; }
3330 if eval \${$3+:} false; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3335 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3337 #define $2 innocuous_$2
3339 /* System header to define __stub macros and hopefully few prototypes,
3340 which can conflict with char $2 (); below.
3341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3342 <limits.h> exists even on freestanding compilers. */
3344 #ifdef __STDC__
3345 # include <limits.h>
3346 #else
3347 # include <assert.h>
3348 #endif
3350 #undef $2
3352 /* Override any GCC internal prototype to avoid an error.
3353 Use char because int might match the return type of a GCC
3354 builtin and then its argument prototype would still apply. */
3355 #ifdef __cplusplus
3356 extern "C"
3357 #endif
3358 char $2 ();
3359 /* The GNU C library defines this for functions which it implements
3360 to always fail with ENOSYS. Some functions are actually named
3361 something starting with __ and the normal name is an alias. */
3362 #if defined __stub_$2 || defined __stub___$2
3363 choke me
3364 #endif
3367 main ()
3369 return $2 ();
3371 return 0;
3373 _ACEOF
3374 if ac_fn_c_try_link "$LINENO"; then :
3375 eval "$3=yes"
3376 else
3377 eval "$3=no"
3379 rm -f core conftest.err conftest.$ac_objext \
3380 conftest$ac_exeext conftest.$ac_ext
3382 eval ac_res=\$$3
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3384 $as_echo "$ac_res" >&6; }
3385 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3387 } # ac_fn_c_check_func
3389 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3390 # ----------------------------------------------------
3391 # Tries to find if the field MEMBER exists in type AGGR, after including
3392 # INCLUDES, setting cache variable VAR accordingly.
3393 ac_fn_c_check_member ()
3395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3397 $as_echo_n "checking for $2.$3... " >&6; }
3398 if eval \${$4+:} false; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3405 main ()
3407 static $2 ac_aggr;
3408 if (ac_aggr.$3)
3409 return 0;
3411 return 0;
3413 _ACEOF
3414 if ac_fn_c_try_compile "$LINENO"; then :
3415 eval "$4=yes"
3416 else
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3421 main ()
3423 static $2 ac_aggr;
3424 if (sizeof ac_aggr.$3)
3425 return 0;
3427 return 0;
3429 _ACEOF
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 eval "$4=yes"
3432 else
3433 eval "$4=no"
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 eval ac_res=\$$4
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3441 $as_echo "$ac_res" >&6; }
3442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3444 } # ac_fn_c_check_member
3446 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3447 # -------------------------------------------
3448 # Tests whether TYPE exists after having included INCLUDES, setting cache
3449 # variable VAR accordingly.
3450 ac_fn_c_check_type ()
3452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3454 $as_echo_n "checking for $2... " >&6; }
3455 if eval \${$3+:} false; then :
3456 $as_echo_n "(cached) " >&6
3457 else
3458 eval "$3=no"
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460 /* end confdefs.h. */
3463 main ()
3465 if (sizeof ($2))
3466 return 0;
3468 return 0;
3470 _ACEOF
3471 if ac_fn_c_try_compile "$LINENO"; then :
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3476 main ()
3478 if (sizeof (($2)))
3479 return 0;
3481 return 0;
3483 _ACEOF
3484 if ac_fn_c_try_compile "$LINENO"; then :
3486 else
3487 eval "$3=yes"
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493 eval ac_res=\$$3
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3495 $as_echo "$ac_res" >&6; }
3496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3498 } # ac_fn_c_check_type
3499 cat >config.log <<_ACEOF
3500 This file contains any messages produced by compilers while
3501 running configure, to aid debugging if configure makes a mistake.
3503 It was created by Wine $as_me 6.0, which was
3504 generated by GNU Autoconf 2.69. Invocation command line was
3506 $ $0 $@
3508 _ACEOF
3509 exec 5>>config.log
3511 cat <<_ASUNAME
3512 ## --------- ##
3513 ## Platform. ##
3514 ## --------- ##
3516 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3517 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3518 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3519 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3520 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3522 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3523 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3525 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3526 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3527 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3528 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3529 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3530 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3531 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3533 _ASUNAME
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 for as_dir in $PATH
3538 IFS=$as_save_IFS
3539 test -z "$as_dir" && as_dir=.
3540 $as_echo "PATH: $as_dir"
3541 done
3542 IFS=$as_save_IFS
3544 } >&5
3546 cat >&5 <<_ACEOF
3549 ## ----------- ##
3550 ## Core tests. ##
3551 ## ----------- ##
3553 _ACEOF
3556 # Keep a trace of the command line.
3557 # Strip out --no-create and --no-recursion so they do not pile up.
3558 # Strip out --silent because we don't want to record it for future runs.
3559 # Also quote any args containing shell meta-characters.
3560 # Make two passes to allow for proper duplicate-argument suppression.
3561 ac_configure_args=
3562 ac_configure_args0=
3563 ac_configure_args1=
3564 ac_must_keep_next=false
3565 for ac_pass in 1 2
3567 for ac_arg
3569 case $ac_arg in
3570 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3571 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3572 | -silent | --silent | --silen | --sile | --sil)
3573 continue ;;
3574 *\'*)
3575 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3576 esac
3577 case $ac_pass in
3578 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3580 as_fn_append ac_configure_args1 " '$ac_arg'"
3581 if test $ac_must_keep_next = true; then
3582 ac_must_keep_next=false # Got value, back to normal.
3583 else
3584 case $ac_arg in
3585 *=* | --config-cache | -C | -disable-* | --disable-* \
3586 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3587 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3588 | -with-* | --with-* | -without-* | --without-* | --x)
3589 case "$ac_configure_args0 " in
3590 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3591 esac
3593 -* ) ac_must_keep_next=true ;;
3594 esac
3596 as_fn_append ac_configure_args " '$ac_arg'"
3598 esac
3599 done
3600 done
3601 { ac_configure_args0=; unset ac_configure_args0;}
3602 { ac_configure_args1=; unset ac_configure_args1;}
3604 # When interrupted or exit'd, cleanup temporary files, and complete
3605 # config.log. We remove comments because anyway the quotes in there
3606 # would cause problems or look ugly.
3607 # WARNING: Use '\'' to represent an apostrophe within the trap.
3608 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3609 trap 'exit_status=$?
3610 # Save into config.log some information that might help in debugging.
3612 echo
3614 $as_echo "## ---------------- ##
3615 ## Cache variables. ##
3616 ## ---------------- ##"
3617 echo
3618 # The following way of writing the cache mishandles newlines in values,
3620 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3621 eval ac_val=\$$ac_var
3622 case $ac_val in #(
3623 *${as_nl}*)
3624 case $ac_var in #(
3625 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3626 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3627 esac
3628 case $ac_var in #(
3629 _ | IFS | as_nl) ;; #(
3630 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3631 *) { eval $ac_var=; unset $ac_var;} ;;
3632 esac ;;
3633 esac
3634 done
3635 (set) 2>&1 |
3636 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3637 *${as_nl}ac_space=\ *)
3638 sed -n \
3639 "s/'\''/'\''\\\\'\'''\''/g;
3640 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3641 ;; #(
3643 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3645 esac |
3646 sort
3648 echo
3650 $as_echo "## ----------------- ##
3651 ## Output variables. ##
3652 ## ----------------- ##"
3653 echo
3654 for ac_var in $ac_subst_vars
3656 eval ac_val=\$$ac_var
3657 case $ac_val in
3658 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3659 esac
3660 $as_echo "$ac_var='\''$ac_val'\''"
3661 done | sort
3662 echo
3664 if test -n "$ac_subst_files"; then
3665 $as_echo "## ------------------- ##
3666 ## File substitutions. ##
3667 ## ------------------- ##"
3668 echo
3669 for ac_var in $ac_subst_files
3671 eval ac_val=\$$ac_var
3672 case $ac_val in
3673 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3674 esac
3675 $as_echo "$ac_var='\''$ac_val'\''"
3676 done | sort
3677 echo
3680 if test -s confdefs.h; then
3681 $as_echo "## ----------- ##
3682 ## confdefs.h. ##
3683 ## ----------- ##"
3684 echo
3685 cat confdefs.h
3686 echo
3688 test "$ac_signal" != 0 &&
3689 $as_echo "$as_me: caught signal $ac_signal"
3690 $as_echo "$as_me: exit $exit_status"
3691 } >&5
3692 rm -f core *.core core.conftest.* &&
3693 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3694 exit $exit_status
3696 for ac_signal in 1 2 13 15; do
3697 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3698 done
3699 ac_signal=0
3701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3702 rm -f -r conftest* confdefs.h
3704 $as_echo "/* confdefs.h */" > confdefs.h
3706 # Predefined preprocessor variables.
3708 cat >>confdefs.h <<_ACEOF
3709 #define PACKAGE_NAME "$PACKAGE_NAME"
3710 _ACEOF
3712 cat >>confdefs.h <<_ACEOF
3713 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3714 _ACEOF
3716 cat >>confdefs.h <<_ACEOF
3717 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3718 _ACEOF
3720 cat >>confdefs.h <<_ACEOF
3721 #define PACKAGE_STRING "$PACKAGE_STRING"
3722 _ACEOF
3724 cat >>confdefs.h <<_ACEOF
3725 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3726 _ACEOF
3728 cat >>confdefs.h <<_ACEOF
3729 #define PACKAGE_URL "$PACKAGE_URL"
3730 _ACEOF
3733 # Let the site file select an alternate cache file if it wants to.
3734 # Prefer an explicitly selected file to automatically selected ones.
3735 ac_site_file1=NONE
3736 ac_site_file2=NONE
3737 if test -n "$CONFIG_SITE"; then
3738 # We do not want a PATH search for config.site.
3739 case $CONFIG_SITE in #((
3740 -*) ac_site_file1=./$CONFIG_SITE;;
3741 */*) ac_site_file1=$CONFIG_SITE;;
3742 *) ac_site_file1=./$CONFIG_SITE;;
3743 esac
3744 elif test "x$prefix" != xNONE; then
3745 ac_site_file1=$prefix/share/config.site
3746 ac_site_file2=$prefix/etc/config.site
3747 else
3748 ac_site_file1=$ac_default_prefix/share/config.site
3749 ac_site_file2=$ac_default_prefix/etc/config.site
3751 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3753 test "x$ac_site_file" = xNONE && continue
3754 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3756 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3757 sed 's/^/| /' "$ac_site_file" >&5
3758 . "$ac_site_file" \
3759 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3761 as_fn_error $? "failed to load site script $ac_site_file
3762 See \`config.log' for more details" "$LINENO" 5; }
3764 done
3766 if test -r "$cache_file"; then
3767 # Some versions of bash will fail to source /dev/null (special files
3768 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3769 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3771 $as_echo "$as_me: loading cache $cache_file" >&6;}
3772 case $cache_file in
3773 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3774 *) . "./$cache_file";;
3775 esac
3777 else
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3779 $as_echo "$as_me: creating cache $cache_file" >&6;}
3780 >$cache_file
3783 # Check that the precious variables saved in the cache have kept the same
3784 # value.
3785 ac_cache_corrupted=false
3786 for ac_var in $ac_precious_vars; do
3787 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3788 eval ac_new_set=\$ac_env_${ac_var}_set
3789 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3790 eval ac_new_val=\$ac_env_${ac_var}_value
3791 case $ac_old_set,$ac_new_set in
3792 set,)
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3794 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3795 ac_cache_corrupted=: ;;
3796 ,set)
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3798 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3799 ac_cache_corrupted=: ;;
3800 ,);;
3802 if test "x$ac_old_val" != "x$ac_new_val"; then
3803 # differences in whitespace do not lead to failure.
3804 ac_old_val_w=`echo x $ac_old_val`
3805 ac_new_val_w=`echo x $ac_new_val`
3806 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3808 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3809 ac_cache_corrupted=:
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3812 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3813 eval $ac_var=\$ac_old_val
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3816 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3818 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3819 fi;;
3820 esac
3821 # Pass precious variables to config.status.
3822 if test "$ac_new_set" = set; then
3823 case $ac_new_val in
3824 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3825 *) ac_arg=$ac_var=$ac_new_val ;;
3826 esac
3827 case " $ac_configure_args " in
3828 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3829 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3830 esac
3832 done
3833 if $ac_cache_corrupted; then
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3837 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3838 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3840 ## -------------------- ##
3841 ## Main body of script. ##
3842 ## -------------------- ##
3844 ac_ext=c
3845 ac_cpp='$CPP $CPPFLAGS'
3846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3852 ac_config_headers="$ac_config_headers include/config.h"
3854 ac_aux_dir=
3855 for ac_dir in tools "$srcdir"/tools; do
3856 if test -f "$ac_dir/install-sh"; then
3857 ac_aux_dir=$ac_dir
3858 ac_install_sh="$ac_aux_dir/install-sh -c"
3859 break
3860 elif test -f "$ac_dir/install.sh"; then
3861 ac_aux_dir=$ac_dir
3862 ac_install_sh="$ac_aux_dir/install.sh -c"
3863 break
3864 elif test -f "$ac_dir/shtool"; then
3865 ac_aux_dir=$ac_dir
3866 ac_install_sh="$ac_aux_dir/shtool install -c"
3867 break
3869 done
3870 if test -z "$ac_aux_dir"; then
3871 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3874 # These three variables are undocumented and unsupported,
3875 # and are intended to be withdrawn in a future Autoconf release.
3876 # They can cause serious problems if a builder's source tree is in a directory
3877 # whose full name contains unusual characters.
3878 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3879 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3880 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3884 libwine_version="1.0"
3888 # Check whether --enable-win16 was given.
3889 if test "${enable_win16+set}" = set; then :
3890 enableval=$enable_win16;
3893 # Check whether --enable-win64 was given.
3894 if test "${enable_win64+set}" = set; then :
3895 enableval=$enable_win64;
3898 # Check whether --enable-tests was given.
3899 if test "${enable_tests+set}" = set; then :
3900 enableval=$enable_tests;
3903 # Check whether --enable-maintainer-mode was given.
3904 if test "${enable_maintainer_mode+set}" = set; then :
3905 enableval=$enable_maintainer_mode;
3908 # Check whether --enable-silent-rules was given.
3909 if test "${enable_silent_rules+set}" = set; then :
3910 enableval=$enable_silent_rules;
3913 # Check whether --enable-werror was given.
3914 if test "${enable_werror+set}" = set; then :
3915 enableval=$enable_werror;
3920 # Check whether --with-alsa was given.
3921 if test "${with_alsa+set}" = set; then :
3922 withval=$with_alsa;
3926 # Check whether --with-capi was given.
3927 if test "${with_capi+set}" = set; then :
3928 withval=$with_capi;
3932 # Check whether --with-cms was given.
3933 if test "${with_cms+set}" = set; then :
3934 withval=$with_cms;
3938 # Check whether --with-coreaudio was given.
3939 if test "${with_coreaudio+set}" = set; then :
3940 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3944 # Check whether --with-cups was given.
3945 if test "${with_cups+set}" = set; then :
3946 withval=$with_cups;
3950 # Check whether --with-dbus was given.
3951 if test "${with_dbus+set}" = set; then :
3952 withval=$with_dbus;
3956 # Check whether --with-faudio was given.
3957 if test "${with_faudio+set}" = set; then :
3958 withval=$with_faudio;
3962 # Check whether --with-float-abi was given.
3963 if test "${with_float_abi+set}" = set; then :
3964 withval=$with_float_abi;
3968 # Check whether --with-fontconfig was given.
3969 if test "${with_fontconfig+set}" = set; then :
3970 withval=$with_fontconfig;
3974 # Check whether --with-freetype was given.
3975 if test "${with_freetype+set}" = set; then :
3976 withval=$with_freetype;
3980 # Check whether --with-gettext was given.
3981 if test "${with_gettext+set}" = set; then :
3982 withval=$with_gettext;
3986 # Check whether --with-gettextpo was given.
3987 if test "${with_gettextpo+set}" = set; then :
3988 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3992 # Check whether --with-gphoto was given.
3993 if test "${with_gphoto+set}" = set; then :
3994 withval=$with_gphoto;
3998 # Check whether --with-gnutls was given.
3999 if test "${with_gnutls+set}" = set; then :
4000 withval=$with_gnutls;
4004 # Check whether --with-gsm was given.
4005 if test "${with_gsm+set}" = set; then :
4006 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4010 # Check whether --with-gssapi was given.
4011 if test "${with_gssapi+set}" = set; then :
4012 withval=$with_gssapi;
4016 # Check whether --with-gstreamer was given.
4017 if test "${with_gstreamer+set}" = set; then :
4018 withval=$with_gstreamer;
4022 # Check whether --with-hal was given.
4023 if test "${with_hal+set}" = set; then :
4024 withval=$with_hal;
4028 # Check whether --with-inotify was given.
4029 if test "${with_inotify+set}" = set; then :
4030 withval=$with_inotify;
4034 # Check whether --with-jpeg was given.
4035 if test "${with_jpeg+set}" = set; then :
4036 withval=$with_jpeg;
4040 # Check whether --with-krb5 was given.
4041 if test "${with_krb5+set}" = set; then :
4042 withval=$with_krb5;
4046 # Check whether --with-ldap was given.
4047 if test "${with_ldap+set}" = set; then :
4048 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4052 # Check whether --with-mingw was given.
4053 if test "${with_mingw+set}" = set; then :
4054 withval=$with_mingw;
4058 # Check whether --with-mpg123 was given.
4059 if test "${with_mpg123+set}" = set; then :
4060 withval=$with_mpg123;
4064 # Check whether --with-netapi was given.
4065 if test "${with_netapi+set}" = set; then :
4066 withval=$with_netapi;
4070 # Check whether --with-openal was given.
4071 if test "${with_openal+set}" = set; then :
4072 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4076 # Check whether --with-opencl was given.
4077 if test "${with_opencl+set}" = set; then :
4078 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4082 # Check whether --with-opengl was given.
4083 if test "${with_opengl+set}" = set; then :
4084 withval=$with_opengl;
4088 # Check whether --with-osmesa was given.
4089 if test "${with_osmesa+set}" = set; then :
4090 withval=$with_osmesa;
4094 # Check whether --with-oss was given.
4095 if test "${with_oss+set}" = set; then :
4096 withval=$with_oss;
4100 # Check whether --with-pcap was given.
4101 if test "${with_pcap+set}" = set; then :
4102 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4106 # Check whether --with-png was given.
4107 if test "${with_png+set}" = set; then :
4108 withval=$with_png;
4112 # Check whether --with-pthread was given.
4113 if test "${with_pthread+set}" = set; then :
4114 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4118 # Check whether --with-pulse was given.
4119 if test "${with_pulse+set}" = set; then :
4120 withval=$with_pulse;
4124 # Check whether --with-quicktime was given.
4125 if test "${with_quicktime+set}" = set; then :
4126 withval=$with_quicktime;
4130 # Check whether --with-sane was given.
4131 if test "${with_sane+set}" = set; then :
4132 withval=$with_sane;
4136 # Check whether --with-sdl was given.
4137 if test "${with_sdl+set}" = set; then :
4138 withval=$with_sdl;
4142 # Check whether --with-tiff was given.
4143 if test "${with_tiff+set}" = set; then :
4144 withval=$with_tiff;
4148 # Check whether --with-udev was given.
4149 if test "${with_udev+set}" = set; then :
4150 withval=$with_udev;
4154 # Check whether --with-unwind was given.
4155 if test "${with_unwind+set}" = set; then :
4156 withval=$with_unwind;
4160 # Check whether --with-usb was given.
4161 if test "${with_usb+set}" = set; then :
4162 withval=$with_usb;
4166 # Check whether --with-v4l2 was given.
4167 if test "${with_v4l2+set}" = set; then :
4168 withval=$with_v4l2;
4172 # Check whether --with-vkd3d was given.
4173 if test "${with_vkd3d+set}" = set; then :
4174 withval=$with_vkd3d;
4178 # Check whether --with-vulkan was given.
4179 if test "${with_vulkan+set}" = set; then :
4180 withval=$with_vulkan;
4184 # Check whether --with-xcomposite was given.
4185 if test "${with_xcomposite+set}" = set; then :
4186 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4190 # Check whether --with-xcursor was given.
4191 if test "${with_xcursor+set}" = set; then :
4192 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4196 # Check whether --with-xfixes was given.
4197 if test "${with_xfixes+set}" = set; then :
4198 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4202 # Check whether --with-xinerama was given.
4203 if test "${with_xinerama+set}" = set; then :
4204 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4208 # Check whether --with-xinput was given.
4209 if test "${with_xinput+set}" = set; then :
4210 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4214 # Check whether --with-xinput2 was given.
4215 if test "${with_xinput2+set}" = set; then :
4216 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4220 # Check whether --with-xml was given.
4221 if test "${with_xml+set}" = set; then :
4222 withval=$with_xml;
4226 # Check whether --with-xrandr was given.
4227 if test "${with_xrandr+set}" = set; then :
4228 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4232 # Check whether --with-xrender was given.
4233 if test "${with_xrender+set}" = set; then :
4234 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4238 # Check whether --with-xshape was given.
4239 if test "${with_xshape+set}" = set; then :
4240 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4244 # Check whether --with-xshm was given.
4245 if test "${with_xshm+set}" = set; then :
4246 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4250 # Check whether --with-xslt was given.
4251 if test "${with_xslt+set}" = set; then :
4252 withval=$with_xslt;
4256 # Check whether --with-xxf86vm was given.
4257 if test "${with_xxf86vm+set}" = set; then :
4258 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
4263 # Check whether --with-wine-tools was given.
4264 if test "${with_wine_tools+set}" = set; then :
4265 withval=$with_wine_tools;
4269 # Check whether --with-wine64 was given.
4270 if test "${with_wine64+set}" = set; then :
4271 withval=$with_wine64;
4275 # Make sure we can run config.sub.
4276 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4277 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4280 $as_echo_n "checking build system type... " >&6; }
4281 if ${ac_cv_build+:} false; then :
4282 $as_echo_n "(cached) " >&6
4283 else
4284 ac_build_alias=$build_alias
4285 test "x$ac_build_alias" = x &&
4286 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4287 test "x$ac_build_alias" = x &&
4288 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4289 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4290 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4294 $as_echo "$ac_cv_build" >&6; }
4295 case $ac_cv_build in
4296 *-*-*) ;;
4297 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4298 esac
4299 build=$ac_cv_build
4300 ac_save_IFS=$IFS; IFS='-'
4301 set x $ac_cv_build
4302 shift
4303 build_cpu=$1
4304 build_vendor=$2
4305 shift; shift
4306 # Remember, the first character of IFS is used to create $*,
4307 # except with old shells:
4308 build_os=$*
4309 IFS=$ac_save_IFS
4310 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4314 $as_echo_n "checking host system type... " >&6; }
4315 if ${ac_cv_host+:} false; then :
4316 $as_echo_n "(cached) " >&6
4317 else
4318 if test "x$host_alias" = x; then
4319 ac_cv_host=$ac_cv_build
4320 else
4321 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4322 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4327 $as_echo "$ac_cv_host" >&6; }
4328 case $ac_cv_host in
4329 *-*-*) ;;
4330 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4331 esac
4332 host=$ac_cv_host
4333 ac_save_IFS=$IFS; IFS='-'
4334 set x $ac_cv_host
4335 shift
4336 host_cpu=$1
4337 host_vendor=$2
4338 shift; shift
4339 # Remember, the first character of IFS is used to create $*,
4340 # except with old shells:
4341 host_os=$*
4342 IFS=$ac_save_IFS
4343 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4349 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4350 set x ${MAKE-make}
4351 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4352 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 cat >conftest.make <<\_ACEOF
4356 SHELL = /bin/sh
4357 all:
4358 @echo '@@@%%%=$(MAKE)=@@@%%%'
4359 _ACEOF
4360 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4361 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4362 *@@@%%%=?*=@@@%%%*)
4363 eval ac_cv_prog_make_${ac_make}_set=yes;;
4365 eval ac_cv_prog_make_${ac_make}_set=no;;
4366 esac
4367 rm -f conftest.make
4369 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4371 $as_echo "yes" >&6; }
4372 SET_MAKE=
4373 else
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4376 SET_MAKE="MAKE=${MAKE-make}"
4379 ac_ext=c
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4384 if test -n "$ac_tool_prefix"; then
4385 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4386 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_CC+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$CC"; then
4393 ac_cv_prog_CC="$CC" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4398 IFS=$as_save_IFS
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 break 2
4406 done
4407 done
4408 IFS=$as_save_IFS
4412 CC=$ac_cv_prog_CC
4413 if test -n "$CC"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4415 $as_echo "$CC" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4423 if test -z "$ac_cv_prog_CC"; then
4424 ac_ct_CC=$CC
4425 # Extract the first word of "gcc", so it can be a program name with args.
4426 set dummy gcc; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$ac_ct_CC"; then
4433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_ac_ct_CC="gcc"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4453 if test -n "$ac_ct_CC"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4455 $as_echo "$ac_ct_CC" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4461 if test "x$ac_ct_CC" = x; then
4462 CC=""
4463 else
4464 case $cross_compiling:$ac_tool_warned in
4465 yes:)
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned=yes ;;
4469 esac
4470 CC=$ac_ct_CC
4472 else
4473 CC="$ac_cv_prog_CC"
4476 if test -z "$CC"; then
4477 if test -n "$ac_tool_prefix"; then
4478 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4479 set dummy ${ac_tool_prefix}cc; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_CC+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC="$CC" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_CC="${ac_tool_prefix}cc"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 CC=$ac_cv_prog_CC
4506 if test -n "$CC"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4508 $as_echo "$CC" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4517 if test -z "$CC"; then
4518 # Extract the first word of "cc", so it can be a program name with args.
4519 set dummy cc; ac_word=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if ${ac_cv_prog_CC+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 if test -n "$CC"; then
4526 ac_cv_prog_CC="$CC" # Let the user override the test.
4527 else
4528 ac_prog_rejected=no
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 for as_dir in $PATH
4532 IFS=$as_save_IFS
4533 test -z "$as_dir" && as_dir=.
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4536 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4537 ac_prog_rejected=yes
4538 continue
4540 ac_cv_prog_CC="cc"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 break 2
4544 done
4545 done
4546 IFS=$as_save_IFS
4548 if test $ac_prog_rejected = yes; then
4549 # We found a bogon in the path, so make sure we never use it.
4550 set dummy $ac_cv_prog_CC
4551 shift
4552 if test $# != 0; then
4553 # We chose a different compiler from the bogus one.
4554 # However, it has the same basename, so the bogon will be chosen
4555 # first if we set CC to just the basename; use the full file name.
4556 shift
4557 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4562 CC=$ac_cv_prog_CC
4563 if test -n "$CC"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4565 $as_echo "$CC" >&6; }
4566 else
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4573 if test -z "$CC"; then
4574 if test -n "$ac_tool_prefix"; then
4575 for ac_prog in cl.exe
4577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4580 $as_echo_n "checking for $ac_word... " >&6; }
4581 if ${ac_cv_prog_CC+:} false; then :
4582 $as_echo_n "(cached) " >&6
4583 else
4584 if test -n "$CC"; then
4585 ac_cv_prog_CC="$CC" # Let the user override the test.
4586 else
4587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 for as_dir in $PATH
4590 IFS=$as_save_IFS
4591 test -z "$as_dir" && as_dir=.
4592 for ac_exec_ext in '' $ac_executable_extensions; do
4593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4594 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 break 2
4598 done
4599 done
4600 IFS=$as_save_IFS
4604 CC=$ac_cv_prog_CC
4605 if test -n "$CC"; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4607 $as_echo "$CC" >&6; }
4608 else
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 $as_echo "no" >&6; }
4614 test -n "$CC" && break
4615 done
4617 if test -z "$CC"; then
4618 ac_ct_CC=$CC
4619 for ac_prog in cl.exe
4621 # Extract the first word of "$ac_prog", so it can be a program name with args.
4622 set dummy $ac_prog; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 if test -n "$ac_ct_CC"; then
4629 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4630 else
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH
4634 IFS=$as_save_IFS
4635 test -z "$as_dir" && as_dir=.
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_ac_ct_CC="$ac_prog"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 break 2
4642 done
4643 done
4644 IFS=$as_save_IFS
4648 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4649 if test -n "$ac_ct_CC"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4651 $as_echo "$ac_ct_CC" >&6; }
4652 else
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4658 test -n "$ac_ct_CC" && break
4659 done
4661 if test "x$ac_ct_CC" = x; then
4662 CC=""
4663 else
4664 case $cross_compiling:$ac_tool_warned in
4665 yes:)
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4668 ac_tool_warned=yes ;;
4669 esac
4670 CC=$ac_ct_CC
4677 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4679 as_fn_error $? "no acceptable C compiler found in \$PATH
4680 See \`config.log' for more details" "$LINENO" 5; }
4682 # Provide some information about the compiler.
4683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4684 set X $ac_compile
4685 ac_compiler=$2
4686 for ac_option in --version -v -V -qversion; do
4687 { { ac_try="$ac_compiler $ac_option >&5"
4688 case "(($ac_try" in
4689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;;
4691 esac
4692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4693 $as_echo "$ac_try_echo"; } >&5
4694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4695 ac_status=$?
4696 if test -s conftest.err; then
4697 sed '10a\
4698 ... rest of stderr output deleted ...
4699 10q' conftest.err >conftest.er1
4700 cat conftest.er1 >&5
4702 rm -f conftest.er1 conftest.err
4703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4704 test $ac_status = 0; }
4705 done
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4711 main ()
4715 return 0;
4717 _ACEOF
4718 ac_clean_files_save=$ac_clean_files
4719 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4720 # Try to create an executable without -o first, disregard a.out.
4721 # It will help us diagnose broken compilers, and finding out an intuition
4722 # of exeext.
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4724 $as_echo_n "checking whether the C compiler works... " >&6; }
4725 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4727 # The possible output files:
4728 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4730 ac_rmfiles=
4731 for ac_file in $ac_files
4733 case $ac_file in
4734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4735 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4736 esac
4737 done
4738 rm -f $ac_rmfiles
4740 if { { ac_try="$ac_link_default"
4741 case "(($ac_try" in
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4744 esac
4745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4746 $as_echo "$ac_try_echo"; } >&5
4747 (eval "$ac_link_default") 2>&5
4748 ac_status=$?
4749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4750 test $ac_status = 0; }; then :
4751 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4752 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4753 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4754 # so that the user can short-circuit this test for compilers unknown to
4755 # Autoconf.
4756 for ac_file in $ac_files ''
4758 test -f "$ac_file" || continue
4759 case $ac_file in
4760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4762 [ab].out )
4763 # We found the default executable, but exeext='' is most
4764 # certainly right.
4765 break;;
4766 *.* )
4767 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4768 then :; else
4769 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4771 # We set ac_cv_exeext here because the later test for it is not
4772 # safe: cross compilers may not add the suffix if given an `-o'
4773 # argument, so we may need to know it at that point already.
4774 # Even if this section looks crufty: it has the advantage of
4775 # actually working.
4776 break;;
4778 break;;
4779 esac
4780 done
4781 test "$ac_cv_exeext" = no && ac_cv_exeext=
4783 else
4784 ac_file=''
4786 if test -z "$ac_file"; then :
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4789 $as_echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.$ac_ext >&5
4792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4794 as_fn_error 77 "C compiler cannot create executables
4795 See \`config.log' for more details" "$LINENO" 5; }
4796 else
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4798 $as_echo "yes" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4801 $as_echo_n "checking for C compiler default output file name... " >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4803 $as_echo "$ac_file" >&6; }
4804 ac_exeext=$ac_cv_exeext
4806 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4807 ac_clean_files=$ac_clean_files_save
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4809 $as_echo_n "checking for suffix of executables... " >&6; }
4810 if { { ac_try="$ac_link"
4811 case "(($ac_try" in
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4814 esac
4815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4816 $as_echo "$ac_try_echo"; } >&5
4817 (eval "$ac_link") 2>&5
4818 ac_status=$?
4819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4820 test $ac_status = 0; }; then :
4821 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4822 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4823 # work properly (i.e., refer to `conftest.exe'), while it won't with
4824 # `rm'.
4825 for ac_file in conftest.exe conftest conftest.*; do
4826 test -f "$ac_file" || continue
4827 case $ac_file in
4828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4829 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4830 break;;
4831 * ) break;;
4832 esac
4833 done
4834 else
4835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4837 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4838 See \`config.log' for more details" "$LINENO" 5; }
4840 rm -f conftest conftest$ac_cv_exeext
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4842 $as_echo "$ac_cv_exeext" >&6; }
4844 rm -f conftest.$ac_ext
4845 EXEEXT=$ac_cv_exeext
4846 ac_exeext=$EXEEXT
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4849 #include <stdio.h>
4851 main ()
4853 FILE *f = fopen ("conftest.out", "w");
4854 return ferror (f) || fclose (f) != 0;
4857 return 0;
4859 _ACEOF
4860 ac_clean_files="$ac_clean_files conftest.out"
4861 # Check that the compiler produces executables we can run. If not, either
4862 # the compiler is broken, or we cross compile.
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4864 $as_echo_n "checking whether we are cross compiling... " >&6; }
4865 if test "$cross_compiling" != yes; then
4866 { { ac_try="$ac_link"
4867 case "(($ac_try" in
4868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869 *) ac_try_echo=$ac_try;;
4870 esac
4871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4872 $as_echo "$ac_try_echo"; } >&5
4873 (eval "$ac_link") 2>&5
4874 ac_status=$?
4875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4876 test $ac_status = 0; }
4877 if { ac_try='./conftest$ac_cv_exeext'
4878 { { case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4881 esac
4882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4883 $as_echo "$ac_try_echo"; } >&5
4884 (eval "$ac_try") 2>&5
4885 ac_status=$?
4886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4887 test $ac_status = 0; }; }; then
4888 cross_compiling=no
4889 else
4890 if test "$cross_compiling" = maybe; then
4891 cross_compiling=yes
4892 else
4893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4895 as_fn_error $? "cannot run C compiled programs.
4896 If you meant to cross compile, use \`--host'.
4897 See \`config.log' for more details" "$LINENO" 5; }
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4902 $as_echo "$cross_compiling" >&6; }
4904 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4905 ac_clean_files=$ac_clean_files_save
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4907 $as_echo_n "checking for suffix of object files... " >&6; }
4908 if ${ac_cv_objext+:} false; then :
4909 $as_echo_n "(cached) " >&6
4910 else
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4915 main ()
4919 return 0;
4921 _ACEOF
4922 rm -f conftest.o conftest.obj
4923 if { { ac_try="$ac_compile"
4924 case "(($ac_try" in
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4927 esac
4928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4929 $as_echo "$ac_try_echo"; } >&5
4930 (eval "$ac_compile") 2>&5
4931 ac_status=$?
4932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4933 test $ac_status = 0; }; then :
4934 for ac_file in conftest.o conftest.obj conftest.*; do
4935 test -f "$ac_file" || continue;
4936 case $ac_file in
4937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4939 break;;
4940 esac
4941 done
4942 else
4943 $as_echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4948 as_fn_error $? "cannot compute suffix of object files: cannot compile
4949 See \`config.log' for more details" "$LINENO" 5; }
4951 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4954 $as_echo "$ac_cv_objext" >&6; }
4955 OBJEXT=$ac_cv_objext
4956 ac_objext=$OBJEXT
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4958 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4959 if ${ac_cv_c_compiler_gnu+:} false; then :
4960 $as_echo_n "(cached) " >&6
4961 else
4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4966 main ()
4968 #ifndef __GNUC__
4969 choke me
4970 #endif
4973 return 0;
4975 _ACEOF
4976 if ac_fn_c_try_compile "$LINENO"; then :
4977 ac_compiler_gnu=yes
4978 else
4979 ac_compiler_gnu=no
4981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4986 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4987 if test $ac_compiler_gnu = yes; then
4988 GCC=yes
4989 else
4990 GCC=
4992 ac_test_CFLAGS=${CFLAGS+set}
4993 ac_save_CFLAGS=$CFLAGS
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4995 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4996 if ${ac_cv_prog_cc_g+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 ac_save_c_werror_flag=$ac_c_werror_flag
5000 ac_c_werror_flag=yes
5001 ac_cv_prog_cc_g=no
5002 CFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_c_try_compile "$LINENO"; then :
5015 ac_cv_prog_cc_g=yes
5016 else
5017 CFLAGS=""
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 :
5031 else
5032 ac_c_werror_flag=$ac_save_c_werror_flag
5033 CFLAGS="-g"
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5038 main ()
5042 return 0;
5044 _ACEOF
5045 if ac_fn_c_try_compile "$LINENO"; then :
5046 ac_cv_prog_cc_g=yes
5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5053 ac_c_werror_flag=$ac_save_c_werror_flag
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5056 $as_echo "$ac_cv_prog_cc_g" >&6; }
5057 if test "$ac_test_CFLAGS" = set; then
5058 CFLAGS=$ac_save_CFLAGS
5059 elif test $ac_cv_prog_cc_g = yes; then
5060 if test "$GCC" = yes; then
5061 CFLAGS="-g -O2"
5062 else
5063 CFLAGS="-g"
5065 else
5066 if test "$GCC" = yes; then
5067 CFLAGS="-O2"
5068 else
5069 CFLAGS=
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5073 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5074 if ${ac_cv_prog_cc_c89+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 ac_cv_prog_cc_c89=no
5078 ac_save_CC=$CC
5079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080 /* end confdefs.h. */
5081 #include <stdarg.h>
5082 #include <stdio.h>
5083 struct stat;
5084 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5085 struct buf { int x; };
5086 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5087 static char *e (p, i)
5088 char **p;
5089 int i;
5091 return p[i];
5093 static char *f (char * (*g) (char **, int), char **p, ...)
5095 char *s;
5096 va_list v;
5097 va_start (v,p);
5098 s = g (p, va_arg (v,int));
5099 va_end (v);
5100 return s;
5103 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5104 function prototypes and stuff, but not '\xHH' hex character constants.
5105 These don't provoke an error unfortunately, instead are silently treated
5106 as 'x'. The following induces an error, until -std is added to get
5107 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5108 array size at least. It's necessary to write '\x00'==0 to get something
5109 that's true only with -std. */
5110 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5112 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5113 inside strings and character constants. */
5114 #define FOO(x) 'x'
5115 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5117 int test (int i, double x);
5118 struct s1 {int (*f) (int a);};
5119 struct s2 {int (*f) (double a);};
5120 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5121 int argc;
5122 char **argv;
5124 main ()
5126 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5128 return 0;
5130 _ACEOF
5131 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5132 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5134 CC="$ac_save_CC $ac_arg"
5135 if ac_fn_c_try_compile "$LINENO"; then :
5136 ac_cv_prog_cc_c89=$ac_arg
5138 rm -f core conftest.err conftest.$ac_objext
5139 test "x$ac_cv_prog_cc_c89" != "xno" && break
5140 done
5141 rm -f conftest.$ac_ext
5142 CC=$ac_save_CC
5145 # AC_CACHE_VAL
5146 case "x$ac_cv_prog_cc_c89" in
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5149 $as_echo "none needed" >&6; } ;;
5150 xno)
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5152 $as_echo "unsupported" >&6; } ;;
5154 CC="$CC $ac_cv_prog_cc_c89"
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5156 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5157 esac
5158 if test "x$ac_cv_prog_cc_c89" != xno; then :
5162 ac_ext=c
5163 ac_cpp='$CPP $CPPFLAGS'
5164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5168 ac_ext=cpp
5169 ac_cpp='$CXXCPP $CPPFLAGS'
5170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5173 if test -z "$CXX"; then
5174 if test -n "$CCC"; then
5175 CXX=$CCC
5176 else
5177 if test -n "$ac_tool_prefix"; then
5178 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_CXX+:} false; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$CXX"; then
5188 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 CXX=$ac_cv_prog_CXX
5208 if test -n "$CXX"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5210 $as_echo "$CXX" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$CXX" && break
5218 done
5220 if test -z "$CXX"; then
5221 ac_ct_CXX=$CXX
5222 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5224 # Extract the first word of "$ac_prog", so it can be a program name with args.
5225 set dummy $ac_prog; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$ac_ct_CXX"; then
5232 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_ac_ct_CXX="$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5252 if test -n "$ac_ct_CXX"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5254 $as_echo "$ac_ct_CXX" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$ac_ct_CXX" && break
5262 done
5264 if test "x$ac_ct_CXX" = x; then
5265 CXX="g++"
5266 else
5267 case $cross_compiling:$ac_tool_warned in
5268 yes:)
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned=yes ;;
5272 esac
5273 CXX=$ac_ct_CXX
5279 # Provide some information about the compiler.
5280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5281 set X $ac_compile
5282 ac_compiler=$2
5283 for ac_option in --version -v -V -qversion; do
5284 { { ac_try="$ac_compiler $ac_option >&5"
5285 case "(($ac_try" in
5286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5288 esac
5289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 $as_echo "$ac_try_echo"; } >&5
5291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5292 ac_status=$?
5293 if test -s conftest.err; then
5294 sed '10a\
5295 ... rest of stderr output deleted ...
5296 10q' conftest.err >conftest.er1
5297 cat conftest.er1 >&5
5299 rm -f conftest.er1 conftest.err
5300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }
5302 done
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5305 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5306 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 main ()
5315 #ifndef __GNUC__
5316 choke me
5317 #endif
5320 return 0;
5322 _ACEOF
5323 if ac_fn_cxx_try_compile "$LINENO"; then :
5324 ac_compiler_gnu=yes
5325 else
5326 ac_compiler_gnu=no
5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5329 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5333 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5334 if test $ac_compiler_gnu = yes; then
5335 GXX=yes
5336 else
5337 GXX=
5339 ac_test_CXXFLAGS=${CXXFLAGS+set}
5340 ac_save_CXXFLAGS=$CXXFLAGS
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5342 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5343 if ${ac_cv_prog_cxx_g+:} false; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5347 ac_cxx_werror_flag=yes
5348 ac_cv_prog_cxx_g=no
5349 CXXFLAGS="-g"
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5354 main ()
5358 return 0;
5360 _ACEOF
5361 if ac_fn_cxx_try_compile "$LINENO"; then :
5362 ac_cv_prog_cxx_g=yes
5363 else
5364 CXXFLAGS=""
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 :
5378 else
5379 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5380 CXXFLAGS="-g"
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main ()
5389 return 0;
5391 _ACEOF
5392 if ac_fn_cxx_try_compile "$LINENO"; then :
5393 ac_cv_prog_cxx_g=yes
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5400 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5403 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5404 if test "$ac_test_CXXFLAGS" = set; then
5405 CXXFLAGS=$ac_save_CXXFLAGS
5406 elif test $ac_cv_prog_cxx_g = yes; then
5407 if test "$GXX" = yes; then
5408 CXXFLAGS="-g -O2"
5409 else
5410 CXXFLAGS="-g"
5412 else
5413 if test "$GXX" = yes; then
5414 CXXFLAGS="-O2"
5415 else
5416 CXXFLAGS=
5419 ac_ext=c
5420 ac_cpp='$CPP $CPPFLAGS'
5421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_CPPBIN+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$CPPBIN"; then
5434 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 CPPBIN=$ac_cv_prog_CPPBIN
5454 if test -n "$CPPBIN"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5456 $as_echo "$CPPBIN" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 if test -z "$ac_cv_prog_CPPBIN"; then
5465 ac_ct_CPPBIN=$CPPBIN
5466 # Extract the first word of "cpp", so it can be a program name with args.
5467 set dummy cpp; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if test -n "$ac_ct_CPPBIN"; then
5474 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_ac_ct_CPPBIN="cpp"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5494 if test -n "$ac_ct_CPPBIN"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5496 $as_echo "$ac_ct_CPPBIN" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5502 if test "x$ac_ct_CPPBIN" = x; then
5503 CPPBIN="cpp"
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5510 esac
5511 CPPBIN=$ac_ct_CPPBIN
5513 else
5514 CPPBIN="$ac_cv_prog_CPPBIN"
5518 cat >>confdefs.h <<_ACEOF
5519 #define EXEEXT "$ac_exeext"
5520 _ACEOF
5522 if test -n "$ac_tool_prefix"; then
5523 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5524 set dummy ${ac_tool_prefix}ld; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_LD+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$LD"; then
5531 ac_cv_prog_LD="$LD" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_LD="${ac_tool_prefix}ld"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 LD=$ac_cv_prog_LD
5551 if test -n "$LD"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5553 $as_echo "$LD" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5561 if test -z "$ac_cv_prog_LD"; then
5562 ac_ct_LD=$LD
5563 # Extract the first word of "ld", so it can be a program name with args.
5564 set dummy ld; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$ac_ct_LD"; then
5571 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_LD="ld"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5591 if test -n "$ac_ct_LD"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5593 $as_echo "$ac_ct_LD" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5599 if test "x$ac_ct_LD" = x; then
5600 LD=""
5601 else
5602 case $cross_compiling:$ac_tool_warned in
5603 yes:)
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5606 ac_tool_warned=yes ;;
5607 esac
5608 LD=$ac_ct_LD
5610 else
5611 LD="$ac_cv_prog_LD"
5615 case $host in
5616 *-darwin*)
5617 with_fontconfig=${with_fontconfig:-no}
5619 *-mingw32*|*-cygwin*)
5620 enable_win16=${enable_win16:-no}
5621 with_mingw=${with_mingw:-no}
5622 CFLAGS="$CFLAGS -D_WIN32"
5624 esac
5626 TARGETFLAGS=""
5628 case $host in
5629 x86_64*|amd64*)
5630 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5631 then
5632 CC="$CC -m32"
5633 CXX="$CXX -m32"
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5636 $as_echo_n "checking whether $CC works... " >&6; }
5637 if ${wine_cv_cc_m32+:} false; then :
5638 $as_echo_n "(cached) " >&6
5639 else
5640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5644 main ()
5648 return 0;
5650 _ACEOF
5651 if ac_fn_c_try_link "$LINENO"; then :
5652 wine_cv_cc_m32=yes
5653 else
5654 wine_cv_cc_m32=no
5656 rm -f core conftest.err conftest.$ac_objext \
5657 conftest$ac_exeext conftest.$ac_ext
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5660 $as_echo "$wine_cv_cc_m32" >&6; }
5661 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
5662 host_cpu="i386"
5663 notice_platform="32-bit "
5664 TARGETFLAGS="-m32"
5665 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5666 export PKG_CONFIG_PATH
5667 enable_win16=${enable_win16:-yes}
5668 with_unwind=${with_unwind:-no}
5669 else
5670 if test "x${GCC}" = "xyes"
5671 then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5673 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5674 if ${wine_cv_builtin_ms_va_list+:} false; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5679 #include <stdarg.h>
5681 main ()
5683 void func(__builtin_ms_va_list *args);
5685 return 0;
5687 _ACEOF
5688 if ac_fn_c_try_compile "$LINENO"; then :
5689 wine_cv_builtin_ms_va_list=yes
5690 else
5691 wine_cv_builtin_ms_va_list=no
5693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5696 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5697 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
5699 CC="$CC -m64"
5700 CXX="$CXX -m64"
5701 host_cpu="x86_64"
5702 notice_platform="64-bit "
5703 TARGETFLAGS="-m64"
5706 arm*)
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5708 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5709 if ${wine_cv_thumb2+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5716 main ()
5718 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_link "$LINENO"; then :
5724 wine_cv_thumb2=yes
5725 else
5726 wine_cv_thumb2=no
5728 rm -f core conftest.err conftest.$ac_objext \
5729 conftest$ac_exeext conftest.$ac_ext
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5732 $as_echo "$wine_cv_thumb2" >&6; }
5733 if test x"$wine_cv_thumb2" = xyes
5734 then
5735 CFLAGS="$CFLAGS -mthumb"
5736 TARGETFLAGS="-mthumb"
5737 else
5738 CFLAGS="$CFLAGS -marm"
5739 TARGETFLAGS="-marm"
5741 case $with_float_abi in
5742 soft|softfp|hard)
5743 float_abi=$with_float_abi ;;
5745 case $host_os in
5746 *eabihf)
5747 float_abi=hard ;;
5749 float_abi=softfp
5750 saved_CFLAGS=$CFLAGS
5751 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5753 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5754 if ${wine_cv_float_abi+:} false; then :
5755 $as_echo_n "(cached) " >&6
5756 else
5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5758 /* end confdefs.h. */
5761 main ()
5763 asm("vmrs r2,fpscr");
5765 return 0;
5767 _ACEOF
5768 if ac_fn_c_try_link "$LINENO"; then :
5769 wine_cv_float_abi=yes
5770 else
5771 wine_cv_float_abi=no
5773 rm -f core conftest.err conftest.$ac_objext \
5774 conftest$ac_exeext conftest.$ac_ext
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5777 $as_echo "$wine_cv_float_abi" >&6; }
5778 if test $wine_cv_float_abi = no
5779 then
5780 float_abi=soft
5781 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5783 CFLAGS=$saved_CFLAGS
5784 esac
5786 esac
5787 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5788 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5790 aarch64*)
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5792 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5793 if ${wine_cv_builtin_ms_va_list+:} false; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5798 #include <stdarg.h>
5800 main ()
5802 void func(__builtin_ms_va_list *args);
5804 return 0;
5806 _ACEOF
5807 if ac_fn_c_try_compile "$LINENO"; then :
5808 wine_cv_builtin_ms_va_list=yes
5809 else
5810 wine_cv_builtin_ms_va_list=no
5812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5815 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5816 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5818 i[3456789]86*)
5819 enable_win16=${enable_win16:-yes}
5820 with_unwind=${with_unwind:-no}
5822 esac
5824 enable_win16=${enable_win16:-no}
5825 enable_win64=${enable_win64:-no}
5827 enable_winetest=${enable_winetest:-$enable_tests}
5829 if test "x$enable_win64" = "xyes"
5830 then
5831 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5832 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5833 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5837 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5838 if ${wine_cv_toolsdir+:} false; then :
5839 $as_echo_n "(cached) " >&6
5840 else
5841 wine_cv_toolsdir="$with_wine_tools"
5842 if test -z "$with_wine_tools"; then
5843 if test "$cross_compiling" = "yes"; then
5844 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5845 elif test -n "$with_wine64"; then
5846 wine_cv_toolsdir="$with_wine64"
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5851 $as_echo "$wine_cv_toolsdir" >&6; }
5852 if test -z "$wine_cv_toolsdir"; then
5853 wine_makedep=tools/makedep
5854 TOOLSDIR="."
5856 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5857 wine_makedep=$wine_cv_toolsdir/tools/makedep
5858 TOOLSDIR=$wine_cv_toolsdir
5860 enable_tools=${enable_tools:-no}
5861 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5862 else
5863 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5865 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5866 then
5867 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5870 for ac_prog in flex
5872 # Extract the first word of "$ac_prog", so it can be a program name with args.
5873 set dummy $ac_prog; ac_word=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if ${ac_cv_prog_FLEX+:} false; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 if test -n "$FLEX"; then
5880 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5881 else
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in $PATH
5885 IFS=$as_save_IFS
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 ac_cv_prog_FLEX="$ac_prog"
5890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 break 2
5893 done
5894 done
5895 IFS=$as_save_IFS
5899 FLEX=$ac_cv_prog_FLEX
5900 if test -n "$FLEX"; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5902 $as_echo "$FLEX" >&6; }
5903 else
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 $as_echo "no" >&6; }
5909 test -n "$FLEX" && break
5910 done
5911 test -n "$FLEX" || FLEX="none"
5913 if test "$FLEX" = "none"
5914 then
5915 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5918 $as_echo_n "checking whether flex is recent enough... " >&6; }
5919 if ${wine_cv_recent_flex+:} false; then :
5920 $as_echo_n "(cached) " >&6
5921 else
5922 cat >conftest.l <<EOF
5923 %top{
5924 #include "prediluvian.h"
5928 if $FLEX -t conftest.l >/dev/null 2>&5
5929 then
5930 wine_cv_recent_flex=yes
5931 else
5932 wine_cv_recent_flex=no
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5936 $as_echo "$wine_cv_recent_flex" >&6; }
5937 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
5939 for ac_prog in bison
5941 # Extract the first word of "$ac_prog", so it can be a program name with args.
5942 set dummy $ac_prog; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if ${ac_cv_prog_BISON+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 if test -n "$BISON"; then
5949 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5950 else
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 for as_dir in $PATH
5954 IFS=$as_save_IFS
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5958 ac_cv_prog_BISON="$ac_prog"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 break 2
5962 done
5963 done
5964 IFS=$as_save_IFS
5968 BISON=$ac_cv_prog_BISON
5969 if test -n "$BISON"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5971 $as_echo "$BISON" >&6; }
5972 else
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5978 test -n "$BISON" && break
5979 done
5980 test -n "$BISON" || BISON="none"
5982 if test "$BISON" = "none"
5983 then
5984 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5987 $as_echo_n "checking whether bison is recent enough... " >&6; }
5988 if ${wine_cv_recent_bison+:} false; then :
5989 $as_echo_n "(cached) " >&6
5990 else
5991 cat >conftest.y <<EOF
5992 %define parse.error verbose
5994 empty: ;
5996 if $BISON conftest.y >/dev/null 2>&5
5997 then
5998 wine_cv_recent_bison=yes
5999 else
6000 wine_cv_recent_bison=no
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6004 $as_echo "$wine_cv_recent_bison" >&6; }
6005 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
6007 if test -n "$ac_tool_prefix"; then
6008 for ac_prog in ar gar
6010 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6011 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 $as_echo_n "checking for $ac_word... " >&6; }
6014 if ${ac_cv_prog_AR+:} false; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 if test -n "$AR"; then
6018 ac_cv_prog_AR="$AR" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 break 2
6031 done
6032 done
6033 IFS=$as_save_IFS
6037 AR=$ac_cv_prog_AR
6038 if test -n "$AR"; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6040 $as_echo "$AR" >&6; }
6041 else
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6047 test -n "$AR" && break
6048 done
6050 if test -z "$AR"; then
6051 ac_ct_AR=$AR
6052 for ac_prog in ar gar
6054 # Extract the first word of "$ac_prog", so it can be a program name with args.
6055 set dummy $ac_prog; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 if test -n "$ac_ct_AR"; then
6062 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6063 else
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH
6067 IFS=$as_save_IFS
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_ac_ct_AR="$ac_prog"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 break 2
6075 done
6076 done
6077 IFS=$as_save_IFS
6081 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6082 if test -n "$ac_ct_AR"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6084 $as_echo "$ac_ct_AR" >&6; }
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6091 test -n "$ac_ct_AR" && break
6092 done
6094 if test "x$ac_ct_AR" = x; then
6095 AR="ar"
6096 else
6097 case $cross_compiling:$ac_tool_warned in
6098 yes:)
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6101 ac_tool_warned=yes ;;
6102 esac
6103 AR=$ac_ct_AR
6107 if test -n "$ac_tool_prefix"; then
6108 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6109 set dummy ${ac_tool_prefix}strip; ac_word=$2
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111 $as_echo_n "checking for $ac_word... " >&6; }
6112 if ${ac_cv_prog_STRIP+:} false; then :
6113 $as_echo_n "(cached) " >&6
6114 else
6115 if test -n "$STRIP"; then
6116 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6117 else
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 for as_dir in $PATH
6121 IFS=$as_save_IFS
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6125 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 break 2
6129 done
6130 done
6131 IFS=$as_save_IFS
6135 STRIP=$ac_cv_prog_STRIP
6136 if test -n "$STRIP"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6138 $as_echo "$STRIP" >&6; }
6139 else
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141 $as_echo "no" >&6; }
6146 if test -z "$ac_cv_prog_STRIP"; then
6147 ac_ct_STRIP=$STRIP
6148 # Extract the first word of "strip", so it can be a program name with args.
6149 set dummy strip; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 if test -n "$ac_ct_STRIP"; then
6156 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6161 IFS=$as_save_IFS
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_ac_ct_STRIP="strip"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 break 2
6169 done
6170 done
6171 IFS=$as_save_IFS
6175 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6176 if test -n "$ac_ct_STRIP"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6178 $as_echo "$ac_ct_STRIP" >&6; }
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6184 if test "x$ac_ct_STRIP" = x; then
6185 STRIP="strip"
6186 else
6187 case $cross_compiling:$ac_tool_warned in
6188 yes:)
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6191 ac_tool_warned=yes ;;
6192 esac
6193 STRIP=$ac_ct_STRIP
6195 else
6196 STRIP="$ac_cv_prog_STRIP"
6199 if test -n "$ac_tool_prefix"; then
6200 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6201 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 $as_echo_n "checking for $ac_word... " >&6; }
6204 if ${ac_cv_prog_RANLIB+:} false; then :
6205 $as_echo_n "(cached) " >&6
6206 else
6207 if test -n "$RANLIB"; then
6208 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6209 else
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 for as_dir in $PATH
6213 IFS=$as_save_IFS
6214 test -z "$as_dir" && as_dir=.
6215 for ac_exec_ext in '' $ac_executable_extensions; do
6216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6217 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6219 break 2
6221 done
6222 done
6223 IFS=$as_save_IFS
6227 RANLIB=$ac_cv_prog_RANLIB
6228 if test -n "$RANLIB"; then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6230 $as_echo "$RANLIB" >&6; }
6231 else
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6233 $as_echo "no" >&6; }
6238 if test -z "$ac_cv_prog_RANLIB"; then
6239 ac_ct_RANLIB=$RANLIB
6240 # Extract the first word of "ranlib", so it can be a program name with args.
6241 set dummy ranlib; ac_word=$2
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6243 $as_echo_n "checking for $ac_word... " >&6; }
6244 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6245 $as_echo_n "(cached) " >&6
6246 else
6247 if test -n "$ac_ct_RANLIB"; then
6248 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6249 else
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 for as_dir in $PATH
6253 IFS=$as_save_IFS
6254 test -z "$as_dir" && as_dir=.
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6257 ac_cv_prog_ac_ct_RANLIB="ranlib"
6258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 break 2
6261 done
6262 done
6263 IFS=$as_save_IFS
6267 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6268 if test -n "$ac_ct_RANLIB"; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6270 $as_echo "$ac_ct_RANLIB" >&6; }
6271 else
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6276 if test "x$ac_ct_RANLIB" = x; then
6277 RANLIB=":"
6278 else
6279 case $cross_compiling:$ac_tool_warned in
6280 yes:)
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6283 ac_tool_warned=yes ;;
6284 esac
6285 RANLIB=$ac_ct_RANLIB
6287 else
6288 RANLIB="$ac_cv_prog_RANLIB"
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6292 $as_echo_n "checking whether ln -s works... " >&6; }
6293 LN_S=$as_ln_s
6294 if test "$LN_S" = "ln -s"; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6296 $as_echo "yes" >&6; }
6297 else
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6299 $as_echo "no, using $LN_S" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6303 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6304 if ${ac_cv_path_GREP+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 if test -z "$GREP"; then
6308 ac_path_GREP_found=false
6309 # Loop through the user's path and test for each of PROGNAME-LIST
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6313 IFS=$as_save_IFS
6314 test -z "$as_dir" && as_dir=.
6315 for ac_prog in grep ggrep; do
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6318 as_fn_executable_p "$ac_path_GREP" || continue
6319 # Check for GNU ac_path_GREP and select it if it is found.
6320 # Check for GNU $ac_path_GREP
6321 case `"$ac_path_GREP" --version 2>&1` in
6322 *GNU*)
6323 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6325 ac_count=0
6326 $as_echo_n 0123456789 >"conftest.in"
6327 while :
6329 cat "conftest.in" "conftest.in" >"conftest.tmp"
6330 mv "conftest.tmp" "conftest.in"
6331 cp "conftest.in" "conftest.nl"
6332 $as_echo 'GREP' >> "conftest.nl"
6333 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6335 as_fn_arith $ac_count + 1 && ac_count=$as_val
6336 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6337 # Best one so far, save it but keep looking for a better one
6338 ac_cv_path_GREP="$ac_path_GREP"
6339 ac_path_GREP_max=$ac_count
6341 # 10*(2^10) chars as input seems more than enough
6342 test $ac_count -gt 10 && break
6343 done
6344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6345 esac
6347 $ac_path_GREP_found && break 3
6348 done
6349 done
6350 done
6351 IFS=$as_save_IFS
6352 if test -z "$ac_cv_path_GREP"; then
6353 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6355 else
6356 ac_cv_path_GREP=$GREP
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6361 $as_echo "$ac_cv_path_GREP" >&6; }
6362 GREP="$ac_cv_path_GREP"
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6366 $as_echo_n "checking for egrep... " >&6; }
6367 if ${ac_cv_path_EGREP+:} false; then :
6368 $as_echo_n "(cached) " >&6
6369 else
6370 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6371 then ac_cv_path_EGREP="$GREP -E"
6372 else
6373 if test -z "$EGREP"; then
6374 ac_path_EGREP_found=false
6375 # Loop through the user's path and test for each of PROGNAME-LIST
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6379 IFS=$as_save_IFS
6380 test -z "$as_dir" && as_dir=.
6381 for ac_prog in egrep; do
6382 for ac_exec_ext in '' $ac_executable_extensions; do
6383 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6384 as_fn_executable_p "$ac_path_EGREP" || continue
6385 # Check for GNU ac_path_EGREP and select it if it is found.
6386 # Check for GNU $ac_path_EGREP
6387 case `"$ac_path_EGREP" --version 2>&1` in
6388 *GNU*)
6389 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6391 ac_count=0
6392 $as_echo_n 0123456789 >"conftest.in"
6393 while :
6395 cat "conftest.in" "conftest.in" >"conftest.tmp"
6396 mv "conftest.tmp" "conftest.in"
6397 cp "conftest.in" "conftest.nl"
6398 $as_echo 'EGREP' >> "conftest.nl"
6399 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6400 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6401 as_fn_arith $ac_count + 1 && ac_count=$as_val
6402 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6403 # Best one so far, save it but keep looking for a better one
6404 ac_cv_path_EGREP="$ac_path_EGREP"
6405 ac_path_EGREP_max=$ac_count
6407 # 10*(2^10) chars as input seems more than enough
6408 test $ac_count -gt 10 && break
6409 done
6410 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6411 esac
6413 $ac_path_EGREP_found && break 3
6414 done
6415 done
6416 done
6417 IFS=$as_save_IFS
6418 if test -z "$ac_cv_path_EGREP"; then
6419 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6421 else
6422 ac_cv_path_EGREP=$EGREP
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6428 $as_echo "$ac_cv_path_EGREP" >&6; }
6429 EGREP="$ac_cv_path_EGREP"
6432 # Extract the first word of "ldconfig", so it can be a program name with args.
6433 set dummy ldconfig; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if ${ac_cv_path_LDCONFIG+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 case $LDCONFIG in
6440 [\\/]* | ?:[\\/]*)
6441 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 for as_dir in /sbin /usr/sbin $PATH
6447 IFS=$as_save_IFS
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6451 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 break 2
6455 done
6456 done
6457 IFS=$as_save_IFS
6459 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6461 esac
6463 LDCONFIG=$ac_cv_path_LDCONFIG
6464 if test -n "$LDCONFIG"; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6466 $as_echo "$LDCONFIG" >&6; }
6467 else
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6469 $as_echo "no" >&6; }
6473 for ac_prog in msgfmt
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy $ac_prog; ac_word=$2
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 $as_echo_n "checking for $ac_word... " >&6; }
6479 if ${ac_cv_prog_MSGFMT+:} false; then :
6480 $as_echo_n "(cached) " >&6
6481 else
6482 if test -n "$MSGFMT"; then
6483 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6484 else
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 for as_dir in $PATH
6488 IFS=$as_save_IFS
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6492 ac_cv_prog_MSGFMT="$ac_prog"
6493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 break 2
6496 done
6497 done
6498 IFS=$as_save_IFS
6502 MSGFMT=$ac_cv_prog_MSGFMT
6503 if test -n "$MSGFMT"; then
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6505 $as_echo "$MSGFMT" >&6; }
6506 else
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508 $as_echo "no" >&6; }
6512 test -n "$MSGFMT" && break
6513 done
6514 test -n "$MSGFMT" || MSGFMT="false"
6516 if ${ac_tool_prefix+:} false; then :
6517 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6518 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 $as_echo_n "checking for $ac_word... " >&6; }
6521 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6522 $as_echo_n "(cached) " >&6
6523 else
6524 if test -n "$PKG_CONFIG"; then
6525 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6526 else
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 for as_dir in $PATH
6530 IFS=$as_save_IFS
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6534 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6536 break 2
6538 done
6539 done
6540 IFS=$as_save_IFS
6544 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6545 if test -n "$PKG_CONFIG"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6547 $as_echo "$PKG_CONFIG" >&6; }
6548 else
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6555 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6556 if test "x$cross_compiling" = xyes; then :
6558 else
6559 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6560 # Extract the first word of "pkg-config", so it can be a program name with args.
6561 set dummy pkg-config; ac_word=$2
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563 $as_echo_n "checking for $ac_word... " >&6; }
6564 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6565 $as_echo_n "(cached) " >&6
6566 else
6567 if test -n "$PKG_CONFIG"; then
6568 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6569 else
6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 for as_dir in $PATH
6573 IFS=$as_save_IFS
6574 test -z "$as_dir" && as_dir=.
6575 for ac_exec_ext in '' $ac_executable_extensions; do
6576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6577 ac_cv_prog_PKG_CONFIG="pkg-config"
6578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579 break 2
6581 done
6582 done
6583 IFS=$as_save_IFS
6587 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6588 if test -n "$PKG_CONFIG"; then
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6590 $as_echo "$PKG_CONFIG" >&6; }
6591 else
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 $as_echo "no" >&6; }
6598 else
6599 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6602 if test "x$enable_maintainer_mode" != "xyes"
6603 then
6604 FONTFORGE=""
6605 RSVG=""
6606 CONVERT=""
6607 ICOTOOL=""
6608 else
6609 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6610 for ac_prog in fontforge
6612 # Extract the first word of "$ac_prog", so it can be a program name with args.
6613 set dummy $ac_prog; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if ${ac_cv_prog_FONTFORGE+:} false; then :
6617 $as_echo_n "(cached) " >&6
6618 else
6619 if test -n "$FONTFORGE"; then
6620 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6625 IFS=$as_save_IFS
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6629 ac_cv_prog_FONTFORGE="$ac_prog"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 break 2
6633 done
6634 done
6635 IFS=$as_save_IFS
6639 FONTFORGE=$ac_cv_prog_FONTFORGE
6640 if test -n "$FONTFORGE"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6642 $as_echo "$FONTFORGE" >&6; }
6643 else
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6649 test -n "$FONTFORGE" && break
6650 done
6651 test -n "$FONTFORGE" || FONTFORGE="false"
6653 for ac_prog in rsvg-convert rsvg
6655 # Extract the first word of "$ac_prog", so it can be a program name with args.
6656 set dummy $ac_prog; ac_word=$2
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 $as_echo_n "checking for $ac_word... " >&6; }
6659 if ${ac_cv_prog_RSVG+:} false; then :
6660 $as_echo_n "(cached) " >&6
6661 else
6662 if test -n "$RSVG"; then
6663 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6664 else
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6666 for as_dir in $PATH
6668 IFS=$as_save_IFS
6669 test -z "$as_dir" && as_dir=.
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_RSVG="$ac_prog"
6673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6674 break 2
6676 done
6677 done
6678 IFS=$as_save_IFS
6682 RSVG=$ac_cv_prog_RSVG
6683 if test -n "$RSVG"; then
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6685 $as_echo "$RSVG" >&6; }
6686 else
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 $as_echo "no" >&6; }
6692 test -n "$RSVG" && break
6693 done
6694 test -n "$RSVG" || RSVG="false"
6696 for ac_prog in convert
6698 # Extract the first word of "$ac_prog", so it can be a program name with args.
6699 set dummy $ac_prog; ac_word=$2
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6701 $as_echo_n "checking for $ac_word... " >&6; }
6702 if ${ac_cv_prog_CONVERT+:} false; then :
6703 $as_echo_n "(cached) " >&6
6704 else
6705 if test -n "$CONVERT"; then
6706 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6707 else
6708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709 for as_dir in $PATH
6711 IFS=$as_save_IFS
6712 test -z "$as_dir" && as_dir=.
6713 for ac_exec_ext in '' $ac_executable_extensions; do
6714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6715 ac_cv_prog_CONVERT="$ac_prog"
6716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6717 break 2
6719 done
6720 done
6721 IFS=$as_save_IFS
6725 CONVERT=$ac_cv_prog_CONVERT
6726 if test -n "$CONVERT"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6728 $as_echo "$CONVERT" >&6; }
6729 else
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6731 $as_echo "no" >&6; }
6735 test -n "$CONVERT" && break
6736 done
6737 test -n "$CONVERT" || CONVERT="false"
6739 for ac_prog in icotool
6741 # Extract the first word of "$ac_prog", so it can be a program name with args.
6742 set dummy $ac_prog; ac_word=$2
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6744 $as_echo_n "checking for $ac_word... " >&6; }
6745 if ${ac_cv_prog_ICOTOOL+:} false; then :
6746 $as_echo_n "(cached) " >&6
6747 else
6748 if test -n "$ICOTOOL"; then
6749 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6750 else
6751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752 for as_dir in $PATH
6754 IFS=$as_save_IFS
6755 test -z "$as_dir" && as_dir=.
6756 for ac_exec_ext in '' $ac_executable_extensions; do
6757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6758 ac_cv_prog_ICOTOOL="$ac_prog"
6759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6760 break 2
6762 done
6763 done
6764 IFS=$as_save_IFS
6768 ICOTOOL=$ac_cv_prog_ICOTOOL
6769 if test -n "$ICOTOOL"; then
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6771 $as_echo "$ICOTOOL" >&6; }
6772 else
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6774 $as_echo "no" >&6; }
6778 test -n "$ICOTOOL" && break
6779 done
6780 test -n "$ICOTOOL" || ICOTOOL="false"
6782 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6783 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6785 if test "$CONVERT" = false
6786 then
6787 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6790 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6791 convert_version=`convert --version | head -n1`
6792 if test "x$convert_version" != "x"
6793 then
6794 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6795 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6796 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6797 then
6798 CONVERT=false
6801 if test "$CONVERT" = false
6802 then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6804 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6805 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6806 else
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6808 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6812 if test "$ICOTOOL" = false
6813 then
6814 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6815 else
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6817 $as_echo_n "checking for recent enough icotool... " >&6; }
6818 icotool_version=`icotool --version | head -n1`
6819 if test "x$icotool_version" != "x"
6820 then
6821 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6822 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6823 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6824 then
6825 ICOTOOL=false
6826 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6829 if test "$ICOTOOL" = false
6830 then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6832 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6833 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6834 else
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6836 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6840 with_gettext=yes
6841 with_gettextpo=yes
6843 enable_werror=yes
6846 test "x$with_gettext" != xno || MSGFMT=false
6847 if test "$MSGFMT" != "false"
6848 then
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6850 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6851 if ${wine_cv_msgfmt_contexts+:} false; then :
6852 $as_echo_n "(cached) " >&6
6853 else
6854 cat >conftest.po <<EOF
6855 # comment
6856 msgctxt "ctxt"
6857 msgid "id"
6858 msgstr "str"
6860 if $MSGFMT -o /dev/null conftest.po 2>&5
6861 then
6862 wine_cv_msgfmt_contexts=yes
6863 else
6864 wine_cv_msgfmt_contexts=no
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6868 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6869 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6871 if test "$MSGFMT" = false; then :
6872 case "x$with_gettext" in
6873 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6874 xno) ;;
6875 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6876 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6877 esac
6878 enable_po=${enable_po:-no}
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6883 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6884 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 ac_check_lib_save_LIBS=$LIBS
6888 LIBS="-li386 $LIBS"
6889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6892 /* Override any GCC internal prototype to avoid an error.
6893 Use char because int might match the return type of a GCC
6894 builtin and then its argument prototype would still apply. */
6895 #ifdef __cplusplus
6896 extern "C"
6897 #endif
6898 char i386_set_ldt ();
6900 main ()
6902 return i386_set_ldt ();
6904 return 0;
6906 _ACEOF
6907 if ac_fn_c_try_link "$LINENO"; then :
6908 ac_cv_lib_i386_i386_set_ldt=yes
6909 else
6910 ac_cv_lib_i386_i386_set_ldt=no
6912 rm -f core conftest.err conftest.$ac_objext \
6913 conftest$ac_exeext conftest.$ac_ext
6914 LIBS=$ac_check_lib_save_LIBS
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6917 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6918 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6919 I386_LIBS="-li386"
6924 OPENGL_LIBS=""
6928 # Check whether --enable-largefile was given.
6929 if test "${enable_largefile+set}" = set; then :
6930 enableval=$enable_largefile;
6933 if test "$enable_largefile" != no; then
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6936 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6937 if ${ac_cv_sys_largefile_CC+:} false; then :
6938 $as_echo_n "(cached) " >&6
6939 else
6940 ac_cv_sys_largefile_CC=no
6941 if test "$GCC" != yes; then
6942 ac_save_CC=$CC
6943 while :; do
6944 # IRIX 6.2 and later do not support large files by default,
6945 # so use the C compiler's -n32 option if that helps.
6946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6947 /* end confdefs.h. */
6948 #include <sys/types.h>
6949 /* Check that off_t can represent 2**63 - 1 correctly.
6950 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6951 since some C++ compilers masquerading as C compilers
6952 incorrectly reject 9223372036854775807. */
6953 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6954 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6955 && LARGE_OFF_T % 2147483647 == 1)
6956 ? 1 : -1];
6958 main ()
6962 return 0;
6964 _ACEOF
6965 if ac_fn_c_try_compile "$LINENO"; then :
6966 break
6968 rm -f core conftest.err conftest.$ac_objext
6969 CC="$CC -n32"
6970 if ac_fn_c_try_compile "$LINENO"; then :
6971 ac_cv_sys_largefile_CC=' -n32'; break
6973 rm -f core conftest.err conftest.$ac_objext
6974 break
6975 done
6976 CC=$ac_save_CC
6977 rm -f conftest.$ac_ext
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6981 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6982 if test "$ac_cv_sys_largefile_CC" != no; then
6983 CC=$CC$ac_cv_sys_largefile_CC
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6987 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6988 if ${ac_cv_sys_file_offset_bits+:} false; then :
6989 $as_echo_n "(cached) " >&6
6990 else
6991 while :; do
6992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6993 /* end confdefs.h. */
6994 #include <sys/types.h>
6995 /* Check that off_t can represent 2**63 - 1 correctly.
6996 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6997 since some C++ compilers masquerading as C compilers
6998 incorrectly reject 9223372036854775807. */
6999 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7000 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7001 && LARGE_OFF_T % 2147483647 == 1)
7002 ? 1 : -1];
7004 main ()
7008 return 0;
7010 _ACEOF
7011 if ac_fn_c_try_compile "$LINENO"; then :
7012 ac_cv_sys_file_offset_bits=no; break
7014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7016 /* end confdefs.h. */
7017 #define _FILE_OFFSET_BITS 64
7018 #include <sys/types.h>
7019 /* Check that off_t can represent 2**63 - 1 correctly.
7020 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7021 since some C++ compilers masquerading as C compilers
7022 incorrectly reject 9223372036854775807. */
7023 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7024 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7025 && LARGE_OFF_T % 2147483647 == 1)
7026 ? 1 : -1];
7028 main ()
7032 return 0;
7034 _ACEOF
7035 if ac_fn_c_try_compile "$LINENO"; then :
7036 ac_cv_sys_file_offset_bits=64; break
7038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7039 ac_cv_sys_file_offset_bits=unknown
7040 break
7041 done
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7044 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7045 case $ac_cv_sys_file_offset_bits in #(
7046 no | unknown) ;;
7048 cat >>confdefs.h <<_ACEOF
7049 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7050 _ACEOF
7052 esac
7053 rm -rf conftest*
7054 if test $ac_cv_sys_file_offset_bits = unknown; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7056 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7057 if ${ac_cv_sys_large_files+:} false; then :
7058 $as_echo_n "(cached) " >&6
7059 else
7060 while :; do
7061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7063 #include <sys/types.h>
7064 /* Check that off_t can represent 2**63 - 1 correctly.
7065 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7066 since some C++ compilers masquerading as C compilers
7067 incorrectly reject 9223372036854775807. */
7068 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7070 && LARGE_OFF_T % 2147483647 == 1)
7071 ? 1 : -1];
7073 main ()
7077 return 0;
7079 _ACEOF
7080 if ac_fn_c_try_compile "$LINENO"; then :
7081 ac_cv_sys_large_files=no; break
7083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7086 #define _LARGE_FILES 1
7087 #include <sys/types.h>
7088 /* Check that off_t can represent 2**63 - 1 correctly.
7089 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7090 since some C++ compilers masquerading as C compilers
7091 incorrectly reject 9223372036854775807. */
7092 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7093 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7094 && LARGE_OFF_T % 2147483647 == 1)
7095 ? 1 : -1];
7097 main ()
7101 return 0;
7103 _ACEOF
7104 if ac_fn_c_try_compile "$LINENO"; then :
7105 ac_cv_sys_large_files=1; break
7107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7108 ac_cv_sys_large_files=unknown
7109 break
7110 done
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7113 $as_echo "$ac_cv_sys_large_files" >&6; }
7114 case $ac_cv_sys_large_files in #(
7115 no | unknown) ;;
7117 cat >>confdefs.h <<_ACEOF
7118 #define _LARGE_FILES $ac_cv_sys_large_files
7119 _ACEOF
7121 esac
7122 rm -rf conftest*
7129 ac_ext=c
7130 ac_cpp='$CPP $CPPFLAGS'
7131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7135 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7136 # On Suns, sometimes $CPP names a directory.
7137 if test -n "$CPP" && test -d "$CPP"; then
7138 CPP=
7140 if test -z "$CPP"; then
7141 if ${ac_cv_prog_CPP+:} false; then :
7142 $as_echo_n "(cached) " >&6
7143 else
7144 # Double quotes because CPP needs to be expanded
7145 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7147 ac_preproc_ok=false
7148 for ac_c_preproc_warn_flag in '' yes
7150 # Use a header file that comes with gcc, so configuring glibc
7151 # with a fresh cross-compiler works.
7152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7153 # <limits.h> exists even on freestanding compilers.
7154 # On the NeXT, cc -E runs the code through the compiler's parser,
7155 # not just through cpp. "Syntax error" is here to catch this case.
7156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7157 /* end confdefs.h. */
7158 #ifdef __STDC__
7159 # include <limits.h>
7160 #else
7161 # include <assert.h>
7162 #endif
7163 Syntax error
7164 _ACEOF
7165 if ac_fn_c_try_cpp "$LINENO"; then :
7167 else
7168 # Broken: fails on valid input.
7169 continue
7171 rm -f conftest.err conftest.i conftest.$ac_ext
7173 # OK, works on sane cases. Now check whether nonexistent headers
7174 # can be detected and how.
7175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7177 #include <ac_nonexistent.h>
7178 _ACEOF
7179 if ac_fn_c_try_cpp "$LINENO"; then :
7180 # Broken: success on invalid input.
7181 continue
7182 else
7183 # Passes both tests.
7184 ac_preproc_ok=:
7185 break
7187 rm -f conftest.err conftest.i conftest.$ac_ext
7189 done
7190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7191 rm -f conftest.i conftest.err conftest.$ac_ext
7192 if $ac_preproc_ok; then :
7193 break
7196 done
7197 ac_cv_prog_CPP=$CPP
7200 CPP=$ac_cv_prog_CPP
7201 else
7202 ac_cv_prog_CPP=$CPP
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7205 $as_echo "$CPP" >&6; }
7206 ac_preproc_ok=false
7207 for ac_c_preproc_warn_flag in '' yes
7209 # Use a header file that comes with gcc, so configuring glibc
7210 # with a fresh cross-compiler works.
7211 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7212 # <limits.h> exists even on freestanding compilers.
7213 # On the NeXT, cc -E runs the code through the compiler's parser,
7214 # not just through cpp. "Syntax error" is here to catch this case.
7215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7216 /* end confdefs.h. */
7217 #ifdef __STDC__
7218 # include <limits.h>
7219 #else
7220 # include <assert.h>
7221 #endif
7222 Syntax error
7223 _ACEOF
7224 if ac_fn_c_try_cpp "$LINENO"; then :
7226 else
7227 # Broken: fails on valid input.
7228 continue
7230 rm -f conftest.err conftest.i conftest.$ac_ext
7232 # OK, works on sane cases. Now check whether nonexistent headers
7233 # can be detected and how.
7234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7235 /* end confdefs.h. */
7236 #include <ac_nonexistent.h>
7237 _ACEOF
7238 if ac_fn_c_try_cpp "$LINENO"; then :
7239 # Broken: success on invalid input.
7240 continue
7241 else
7242 # Passes both tests.
7243 ac_preproc_ok=:
7244 break
7246 rm -f conftest.err conftest.i conftest.$ac_ext
7248 done
7249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7250 rm -f conftest.i conftest.err conftest.$ac_ext
7251 if $ac_preproc_ok; then :
7253 else
7254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7256 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7257 See \`config.log' for more details" "$LINENO" 5; }
7260 ac_ext=c
7261 ac_cpp='$CPP $CPPFLAGS'
7262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7268 $as_echo_n "checking for ANSI C header files... " >&6; }
7269 if ${ac_cv_header_stdc+:} false; then :
7270 $as_echo_n "(cached) " >&6
7271 else
7272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h. */
7274 #include <stdlib.h>
7275 #include <stdarg.h>
7276 #include <string.h>
7277 #include <float.h>
7280 main ()
7284 return 0;
7286 _ACEOF
7287 if ac_fn_c_try_compile "$LINENO"; then :
7288 ac_cv_header_stdc=yes
7289 else
7290 ac_cv_header_stdc=no
7292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7294 if test $ac_cv_header_stdc = yes; then
7295 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7297 /* end confdefs.h. */
7298 #include <string.h>
7300 _ACEOF
7301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7302 $EGREP "memchr" >/dev/null 2>&1; then :
7304 else
7305 ac_cv_header_stdc=no
7307 rm -f conftest*
7311 if test $ac_cv_header_stdc = yes; then
7312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7314 /* end confdefs.h. */
7315 #include <stdlib.h>
7317 _ACEOF
7318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7319 $EGREP "free" >/dev/null 2>&1; then :
7321 else
7322 ac_cv_header_stdc=no
7324 rm -f conftest*
7328 if test $ac_cv_header_stdc = yes; then
7329 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7330 if test "$cross_compiling" = yes; then :
7332 else
7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334 /* end confdefs.h. */
7335 #include <ctype.h>
7336 #include <stdlib.h>
7337 #if ((' ' & 0x0FF) == 0x020)
7338 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7339 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7340 #else
7341 # define ISLOWER(c) \
7342 (('a' <= (c) && (c) <= 'i') \
7343 || ('j' <= (c) && (c) <= 'r') \
7344 || ('s' <= (c) && (c) <= 'z'))
7345 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7346 #endif
7348 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7350 main ()
7352 int i;
7353 for (i = 0; i < 256; i++)
7354 if (XOR (islower (i), ISLOWER (i))
7355 || toupper (i) != TOUPPER (i))
7356 return 2;
7357 return 0;
7359 _ACEOF
7360 if ac_fn_c_try_run "$LINENO"; then :
7362 else
7363 ac_cv_header_stdc=no
7365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7366 conftest.$ac_objext conftest.beam conftest.$ac_ext
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7372 $as_echo "$ac_cv_header_stdc" >&6; }
7373 if test $ac_cv_header_stdc = yes; then
7375 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7379 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7380 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7381 inttypes.h stdint.h unistd.h
7382 do :
7383 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7384 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7386 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7387 cat >>confdefs.h <<_ACEOF
7388 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7389 _ACEOF
7393 done
7396 for ac_header in \
7397 AL/al.h \
7398 ApplicationServices/ApplicationServices.h \
7399 AudioToolbox/AudioConverter.h \
7400 AudioUnit/AudioUnit.h \
7401 AudioUnit/AudioComponent.h \
7402 CL/cl.h \
7403 Carbon/Carbon.h \
7404 CommonCrypto/CommonCryptor.h \
7405 CoreAudio/CoreAudio.h \
7406 DiskArbitration/DiskArbitration.h \
7407 EGL/egl.h \
7408 IOKit/IOKitLib.h \
7409 IOKit/hid/IOHIDLib.h \
7410 OpenAL/al.h \
7411 OpenCL/opencl.h \
7412 QuickTime/ImageCompression.h \
7413 Security/Security.h \
7414 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7415 SystemConfiguration/SCNetworkConfiguration.h \
7416 alias.h \
7417 arpa/inet.h \
7418 arpa/nameser.h \
7419 asm/types.h \
7420 asm/user.h \
7421 dirent.h \
7422 dlfcn.h \
7423 elf.h \
7424 float.h \
7425 fnmatch.h \
7426 getopt.h \
7427 gettext-po.h \
7428 grp.h \
7429 gsm.h \
7430 gsm/gsm.h \
7431 ieeefp.h \
7432 inet/mib2.h \
7433 kstat.h \
7434 libproc.h \
7435 link.h \
7436 linux/cdrom.h \
7437 linux/filter.h \
7438 linux/hdreg.h \
7439 linux/hidraw.h \
7440 linux/input.h \
7441 linux/ioctl.h \
7442 linux/joystick.h \
7443 linux/major.h \
7444 linux/param.h \
7445 linux/serial.h \
7446 linux/types.h \
7447 linux/ucdrom.h \
7448 lwp.h \
7449 mach-o/loader.h \
7450 mach/mach.h \
7451 machine/cpu.h \
7452 machine/sysarch.h \
7453 mntent.h \
7454 netdb.h \
7455 netinet/in.h \
7456 netinet/in_systm.h \
7457 netinet/tcp.h \
7458 netinet/tcp_fsm.h \
7459 pcap/pcap.h \
7460 poll.h \
7461 port.h \
7462 pthread.h \
7463 pwd.h \
7464 sasl/sasl.h \
7465 sched.h \
7466 scsi/scsi.h \
7467 scsi/scsi_ioctl.h \
7468 scsi/sg.h \
7469 stdint.h \
7470 stropts.h \
7471 sys/attr.h \
7472 sys/auxv.h \
7473 sys/cdio.h \
7474 sys/epoll.h \
7475 sys/event.h \
7476 sys/filio.h \
7477 sys/ioctl.h \
7478 sys/ipc.h \
7479 sys/link.h \
7480 sys/mman.h \
7481 sys/modem.h \
7482 sys/msg.h \
7483 sys/mtio.h \
7484 sys/param.h \
7485 sys/poll.h \
7486 sys/prctl.h \
7487 sys/protosw.h \
7488 sys/ptrace.h \
7489 sys/queue.h \
7490 sys/random.h \
7491 sys/resource.h \
7492 sys/scsiio.h \
7493 sys/shm.h \
7494 sys/signal.h \
7495 sys/socket.h \
7496 sys/socketvar.h \
7497 sys/sockio.h \
7498 sys/statvfs.h \
7499 sys/strtio.h \
7500 sys/syscall.h \
7501 sys/sysinfo.h \
7502 sys/tihdr.h \
7503 sys/time.h \
7504 sys/timeout.h \
7505 sys/times.h \
7506 sys/uio.h \
7507 sys/user.h \
7508 sys/utsname.h \
7509 sys/vnode.h \
7510 sys/wait.h \
7511 syscall.h \
7512 termios.h \
7513 unistd.h \
7514 utime.h \
7515 valgrind/memcheck.h \
7516 valgrind/valgrind.h
7518 do :
7519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7520 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7522 cat >>confdefs.h <<_ACEOF
7523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7524 _ACEOF
7528 done
7530 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7531 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7533 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7538 if test $ac_cv_header_sys_mkdev_h = no; then
7539 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7540 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7542 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7549 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7550 if ${ac_cv_header_stat_broken+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7554 /* end confdefs.h. */
7555 #include <sys/types.h>
7556 #include <sys/stat.h>
7558 #if defined S_ISBLK && defined S_IFDIR
7559 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7560 #endif
7562 #if defined S_ISBLK && defined S_IFCHR
7563 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7564 #endif
7566 #if defined S_ISLNK && defined S_IFREG
7567 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7568 #endif
7570 #if defined S_ISSOCK && defined S_IFREG
7571 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7572 #endif
7574 _ACEOF
7575 if ac_fn_c_try_compile "$LINENO"; then :
7576 ac_cv_header_stat_broken=no
7577 else
7578 ac_cv_header_stat_broken=yes
7580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7583 $as_echo "$ac_cv_header_stat_broken" >&6; }
7584 if test $ac_cv_header_stat_broken = yes; then
7586 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7592 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7593 do :
7594 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7595 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7596 #ifdef HAVE_SYS_PARAM_H
7597 # include <sys/param.h>
7598 #endif
7600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7601 cat >>confdefs.h <<_ACEOF
7602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7610 saved_sysctl_h_CFLAGS=$CFLAGS
7611 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7612 for ac_header in sys/sysctl.h
7613 do :
7614 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7615 #ifdef HAVE_SYS_PARAM_H
7616 # include <sys/param.h>
7617 #endif
7619 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7620 cat >>confdefs.h <<_ACEOF
7621 #define HAVE_SYS_SYSCTL_H 1
7622 _ACEOF
7626 done
7628 CFLAGS=$saved_sysctl_h_CFLAGS
7630 for ac_header in \
7631 netinet/ip.h \
7632 net/if.h \
7633 net/if_arp.h \
7634 net/if_dl.h \
7635 net/if_types.h \
7636 net/route.h \
7637 netinet/if_ether.h \
7638 netinet/if_inarp.h \
7639 netinet/in_pcb.h \
7640 netinet/ip_icmp.h \
7641 netinet/ip_var.h \
7642 netinet/udp.h \
7643 netipx/ipx.h \
7644 sys/un.h \
7646 do :
7647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7648 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7649 #ifdef HAVE_SYS_SOCKET_H
7650 # include <sys/socket.h>
7651 #endif
7652 #ifdef HAVE_SYS_SOCKETVAR_H
7653 # include <sys/socketvar.h>
7654 #endif
7655 #ifdef HAVE_NET_ROUTE_H
7656 # include <net/route.h>
7657 #endif
7658 #ifdef HAVE_NETINET_IN_H
7659 # include <netinet/in.h>
7660 #endif
7661 #ifdef HAVE_NETINET_IN_SYSTM_H
7662 # include <netinet/in_systm.h>
7663 #endif
7664 #ifdef HAVE_NET_IF_H
7665 # include <net/if.h>
7666 #endif
7667 #ifdef HAVE_NETINET_IP_H
7668 # include <netinet/ip.h>
7669 #endif
7671 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7674 _ACEOF
7678 done
7681 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7682 do :
7683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7684 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7685 #ifdef HAVE_ALIAS_H
7686 # include <alias.h>
7687 #endif
7688 #ifdef HAVE_SYS_SOCKET_H
7689 # include <sys/socket.h>
7690 #endif
7691 #ifdef HAVE_SYS_SOCKETVAR_H
7692 # include <sys/socketvar.h>
7693 #endif
7694 #ifdef HAVE_SYS_TIMEOUT_H
7695 # include <sys/timeout.h>
7696 #endif
7697 #ifdef HAVE_NETINET_IN_H
7698 # include <netinet/in.h>
7699 #endif
7700 #ifdef HAVE_NETINET_IN_SYSTM_H
7701 # include <netinet/in_systm.h>
7702 #endif
7703 #ifdef HAVE_NETINET_IP_H
7704 # include <netinet/ip.h>
7705 #endif
7706 #ifdef HAVE_NETINET_IP_VAR_H
7707 # include <netinet/ip_var.h>
7708 #endif
7709 #ifdef HAVE_NETINET_IP_ICMP_H
7710 # include <netinet/ip_icmp.h>
7711 #endif
7712 #ifdef HAVE_NETINET_UDP_H
7713 # include <netinet/udp.h>
7714 #endif
7715 #ifdef HAVE_NETINET_TCP_H
7716 # include <netinet/tcp.h>
7717 #endif
7718 #ifdef HAVE_NETINET_TCP_TIMER_H
7719 #include <netinet/tcp_timer.h>
7720 #endif
7722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7723 cat >>confdefs.h <<_ACEOF
7724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 _ACEOF
7729 done
7732 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7733 do :
7734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7735 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7736 #ifdef HAVE_ASM_TYPES_H
7737 # include <asm/types.h>
7738 #endif
7739 #ifdef HAVE_SYS_SOCKET_H
7740 # include <sys/socket.h>
7741 #endif
7742 #ifdef HAVE_LINUX_TYPES_H
7743 # include <linux/types.h>
7744 #endif
7746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7749 _ACEOF
7753 done
7756 for ac_header in resolv.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7759 #ifdef HAVE_SYS_SOCKET_H
7760 # include <sys/socket.h>
7761 #endif
7762 #ifdef HAVE_NETINET_IN_H
7763 # include <netinet/in.h>
7764 #endif
7765 #ifdef HAVE_ARPA_NAMESER_H
7766 # include <arpa/nameser.h>
7767 #endif
7769 if test "x$ac_cv_header_resolv_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_RESOLV_H 1
7772 _ACEOF
7776 done
7779 for ac_header in ifaddrs.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7783 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define HAVE_IFADDRS_H 1
7786 _ACEOF
7790 done
7793 for ac_header in sys/ucontext.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7797 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define HAVE_SYS_UCONTEXT_H 1
7800 _ACEOF
7804 done
7807 for ac_header in sys/thr.h
7808 do :
7809 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7810 #ifdef HAVE_SYS_UCONTEXT_H
7811 #include <sys/ucontext.h>
7812 #endif
7814 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7815 cat >>confdefs.h <<_ACEOF
7816 #define HAVE_SYS_THR_H 1
7817 _ACEOF
7821 done
7824 for ac_header in pthread_np.h
7825 do :
7826 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7827 #include <pthread.h>
7828 #endif
7830 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7831 cat >>confdefs.h <<_ACEOF
7832 #define HAVE_PTHREAD_NP_H 1
7833 _ACEOF
7837 done
7840 for ac_header in linux/videodev2.h
7841 do :
7842 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7843 #include <sys/time.h>
7844 #endif
7845 #include <sys/types.h>
7846 #ifdef HAVE_ASM_TYPES_H
7847 #include <asm/types.h>
7848 #endif
7850 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7851 cat >>confdefs.h <<_ACEOF
7852 #define HAVE_LINUX_VIDEODEV2_H 1
7853 _ACEOF
7857 done
7860 for ac_header in libprocstat.h
7861 do :
7862 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7863 #include <sys/param.h>
7864 #endif
7865 #ifdef HAVE_SYS_QUEUE_H
7866 #include <sys/queue.h>
7867 #endif
7868 #ifdef HAVE_SYS_SOCKET_H
7869 #include <sys/socket.h>
7870 #endif
7872 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7873 cat >>confdefs.h <<_ACEOF
7874 #define HAVE_LIBPROCSTAT_H 1
7875 _ACEOF
7879 done
7883 DLLFLAGS="-D_REENTRANT"
7885 LDDLLFLAGS=""
7887 LDEXECFLAGS=""
7889 TOP_INSTALL_LIB=""
7891 TOP_INSTALL_DEV=""
7893 WINELOADER_LDFLAGS=""
7895 WINEPRELOADER_LDFLAGS=""
7897 LIBEXT="so"
7898 DLLEXT=".so"
7899 # Extract the first word of "ldd", so it can be a program name with args.
7900 set dummy ldd; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_path_LDD+:} false; then :
7904 $as_echo_n "(cached) " >&6
7905 else
7906 case $LDD in
7907 [\\/]* | ?:[\\/]*)
7908 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 as_dummy="/sbin:/usr/sbin:$PATH"
7913 for as_dir in $as_dummy
7915 IFS=$as_save_IFS
7916 test -z "$as_dir" && as_dir=.
7917 for ac_exec_ext in '' $ac_executable_extensions; do
7918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7919 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7921 break 2
7923 done
7924 done
7925 IFS=$as_save_IFS
7927 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7929 esac
7931 LDD=$ac_cv_path_LDD
7932 if test -n "$LDD"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7934 $as_echo "$LDD" >&6; }
7935 else
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7937 $as_echo "no" >&6; }
7941 if test -n "$ac_tool_prefix"; then
7942 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7943 set dummy ${ac_tool_prefix}otool; ac_word=$2
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7945 $as_echo_n "checking for $ac_word... " >&6; }
7946 if ${ac_cv_prog_OTOOL+:} false; then :
7947 $as_echo_n "(cached) " >&6
7948 else
7949 if test -n "$OTOOL"; then
7950 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7951 else
7952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7953 for as_dir in $PATH
7955 IFS=$as_save_IFS
7956 test -z "$as_dir" && as_dir=.
7957 for ac_exec_ext in '' $ac_executable_extensions; do
7958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7959 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7961 break 2
7963 done
7964 done
7965 IFS=$as_save_IFS
7969 OTOOL=$ac_cv_prog_OTOOL
7970 if test -n "$OTOOL"; then
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7972 $as_echo "$OTOOL" >&6; }
7973 else
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7975 $as_echo "no" >&6; }
7980 if test -z "$ac_cv_prog_OTOOL"; then
7981 ac_ct_OTOOL=$OTOOL
7982 # Extract the first word of "otool", so it can be a program name with args.
7983 set dummy otool; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7985 $as_echo_n "checking for $ac_word... " >&6; }
7986 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7987 $as_echo_n "(cached) " >&6
7988 else
7989 if test -n "$ac_ct_OTOOL"; then
7990 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7991 else
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 for as_dir in $PATH
7995 IFS=$as_save_IFS
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7999 ac_cv_prog_ac_ct_OTOOL="otool"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8001 break 2
8003 done
8004 done
8005 IFS=$as_save_IFS
8009 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8010 if test -n "$ac_ct_OTOOL"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8012 $as_echo "$ac_ct_OTOOL" >&6; }
8013 else
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8018 if test "x$ac_ct_OTOOL" = x; then
8019 OTOOL="otool"
8020 else
8021 case $cross_compiling:$ac_tool_warned in
8022 yes:)
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8025 ac_tool_warned=yes ;;
8026 esac
8027 OTOOL=$ac_ct_OTOOL
8029 else
8030 OTOOL="$ac_cv_prog_OTOOL"
8033 if test -n "$ac_tool_prefix"; then
8034 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8035 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8037 $as_echo_n "checking for $ac_word... " >&6; }
8038 if ${ac_cv_prog_READELF+:} false; then :
8039 $as_echo_n "(cached) " >&6
8040 else
8041 if test -n "$READELF"; then
8042 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8043 else
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 for as_dir in $PATH
8047 IFS=$as_save_IFS
8048 test -z "$as_dir" && as_dir=.
8049 for ac_exec_ext in '' $ac_executable_extensions; do
8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8053 break 2
8055 done
8056 done
8057 IFS=$as_save_IFS
8061 READELF=$ac_cv_prog_READELF
8062 if test -n "$READELF"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8064 $as_echo "$READELF" >&6; }
8065 else
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8067 $as_echo "no" >&6; }
8072 if test -z "$ac_cv_prog_READELF"; then
8073 ac_ct_READELF=$READELF
8074 # Extract the first word of "readelf", so it can be a program name with args.
8075 set dummy readelf; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8079 $as_echo_n "(cached) " >&6
8080 else
8081 if test -n "$ac_ct_READELF"; then
8082 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8083 else
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 for as_dir in $PATH
8087 IFS=$as_save_IFS
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_ac_ct_READELF="readelf"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8093 break 2
8095 done
8096 done
8097 IFS=$as_save_IFS
8101 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8102 if test -n "$ac_ct_READELF"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8104 $as_echo "$ac_ct_READELF" >&6; }
8105 else
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8110 if test "x$ac_ct_READELF" = x; then
8111 READELF="true"
8112 else
8113 case $cross_compiling:$ac_tool_warned in
8114 yes:)
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8117 ac_tool_warned=yes ;;
8118 esac
8119 READELF=$ac_ct_READELF
8121 else
8122 READELF="$ac_cv_prog_READELF"
8125 wine_rules_file=conf$$rules.make
8126 rm -f $wine_rules_file
8127 SUBDIRS=""
8129 DISABLED_SUBDIRS=""
8131 CONFIGURE_TARGETS=""
8134 wine_fn_append_file ()
8136 as_fn_append $1 " \\$as_nl $2"
8139 wine_fn_append_rule ()
8141 $as_echo "$1" >>$wine_rules_file
8144 wine_fn_config_makefile ()
8146 wine_fn_append_file SUBDIRS $1
8147 if eval test \"x\$"$2"\" = x"no"; then :
8148 wine_fn_append_file DISABLED_SUBDIRS $1
8152 wine_fn_config_symlink ()
8154 ac_links=$@
8155 wine_fn_append_rule \
8156 "$ac_links:
8157 @./config.status \$@"
8158 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8161 wine_binary="wine"
8162 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8163 WINELOADER_PROGRAMS="$wine_binary"
8165 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8167 case $host_os in
8168 cygwin*|mingw32*)
8169 if test -n "$ac_tool_prefix"; then
8170 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8171 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173 $as_echo_n "checking for $ac_word... " >&6; }
8174 if ${ac_cv_prog_DLLTOOL+:} false; then :
8175 $as_echo_n "(cached) " >&6
8176 else
8177 if test -n "$DLLTOOL"; then
8178 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8179 else
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181 for as_dir in $PATH
8183 IFS=$as_save_IFS
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8187 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8189 break 2
8191 done
8192 done
8193 IFS=$as_save_IFS
8197 DLLTOOL=$ac_cv_prog_DLLTOOL
8198 if test -n "$DLLTOOL"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8200 $as_echo "$DLLTOOL" >&6; }
8201 else
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8208 if test -z "$ac_cv_prog_DLLTOOL"; then
8209 ac_ct_DLLTOOL=$DLLTOOL
8210 # Extract the first word of "dlltool", so it can be a program name with args.
8211 set dummy dlltool; ac_word=$2
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8213 $as_echo_n "checking for $ac_word... " >&6; }
8214 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8215 $as_echo_n "(cached) " >&6
8216 else
8217 if test -n "$ac_ct_DLLTOOL"; then
8218 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8219 else
8220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221 for as_dir in $PATH
8223 IFS=$as_save_IFS
8224 test -z "$as_dir" && as_dir=.
8225 for ac_exec_ext in '' $ac_executable_extensions; do
8226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8227 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8229 break 2
8231 done
8232 done
8233 IFS=$as_save_IFS
8237 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8238 if test -n "$ac_ct_DLLTOOL"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8240 $as_echo "$ac_ct_DLLTOOL" >&6; }
8241 else
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8246 if test "x$ac_ct_DLLTOOL" = x; then
8247 DLLTOOL="false"
8248 else
8249 case $cross_compiling:$ac_tool_warned in
8250 yes:)
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8253 ac_tool_warned=yes ;;
8254 esac
8255 DLLTOOL=$ac_ct_DLLTOOL
8257 else
8258 DLLTOOL="$ac_cv_prog_DLLTOOL"
8261 LIBEXT="dll"
8262 DLLEXT=""
8263 case $host_cpu in
8264 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8265 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8266 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8267 $as_echo_n "(cached) " >&6
8268 else
8269 ac_wine_try_cflags_saved=$CFLAGS
8270 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8273 int main(int argc, char **argv) { return 0; }
8274 _ACEOF
8275 if ac_fn_c_try_link "$LINENO"; then :
8276 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8277 else
8278 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8280 rm -f core conftest.err conftest.$ac_objext \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8285 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8286 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8287 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8288 fi ;;
8289 esac
8290 enable_iphlpapi=${enable_iphlpapi:-no}
8291 enable_ws2_32=${enable_ws2_32:-no}
8292 enable_loader=${enable_loader:-no}
8293 enable_server=${enable_server:-no}
8294 with_x=${with_x:-no}
8295 with_pthread=${with_pthread:-no}
8298 darwin*|macosx*)
8299 ac_ext=m
8300 ac_cpp='$OBJCPP $CPPFLAGS'
8301 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8302 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8303 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8305 ac_ext=m
8306 ac_cpp='$OBJCPP $CPPFLAGS'
8307 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8308 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8309 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8310 if test -n "$ac_tool_prefix"; then
8311 for ac_prog in gcc objcc objc cc CC
8313 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8314 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8316 $as_echo_n "checking for $ac_word... " >&6; }
8317 if ${ac_cv_prog_OBJC+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 if test -n "$OBJC"; then
8321 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8322 else
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 for as_dir in $PATH
8326 IFS=$as_save_IFS
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8330 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 break 2
8334 done
8335 done
8336 IFS=$as_save_IFS
8340 OBJC=$ac_cv_prog_OBJC
8341 if test -n "$OBJC"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8343 $as_echo "$OBJC" >&6; }
8344 else
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8350 test -n "$OBJC" && break
8351 done
8353 if test -z "$OBJC"; then
8354 ac_ct_OBJC=$OBJC
8355 for ac_prog in gcc objcc objc cc CC
8357 # Extract the first word of "$ac_prog", so it can be a program name with args.
8358 set dummy $ac_prog; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 if test -n "$ac_ct_OBJC"; then
8365 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8366 else
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368 for as_dir in $PATH
8370 IFS=$as_save_IFS
8371 test -z "$as_dir" && as_dir=.
8372 for ac_exec_ext in '' $ac_executable_extensions; do
8373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8374 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8376 break 2
8378 done
8379 done
8380 IFS=$as_save_IFS
8384 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8385 if test -n "$ac_ct_OBJC"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8387 $as_echo "$ac_ct_OBJC" >&6; }
8388 else
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8394 test -n "$ac_ct_OBJC" && break
8395 done
8397 if test "x$ac_ct_OBJC" = x; then
8398 OBJC="gcc"
8399 else
8400 case $cross_compiling:$ac_tool_warned in
8401 yes:)
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8404 ac_tool_warned=yes ;;
8405 esac
8406 OBJC=$ac_ct_OBJC
8410 # Provide some information about the compiler.
8411 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8412 set X $ac_compile
8413 ac_compiler=$2
8414 for ac_option in --version -v -V -qversion; do
8415 { { ac_try="$ac_compiler $ac_option >&5"
8416 case "(($ac_try" in
8417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8418 *) ac_try_echo=$ac_try;;
8419 esac
8420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8421 $as_echo "$ac_try_echo"; } >&5
8422 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8423 ac_status=$?
8424 if test -s conftest.err; then
8425 sed '10a\
8426 ... rest of stderr output deleted ...
8427 10q' conftest.err >conftest.er1
8428 cat conftest.er1 >&5
8430 rm -f conftest.er1 conftest.err
8431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8432 test $ac_status = 0; }
8433 done
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8436 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8437 if ${ac_cv_objc_compiler_gnu+:} false; then :
8438 $as_echo_n "(cached) " >&6
8439 else
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8444 main ()
8446 #ifndef __GNUC__
8447 choke me
8448 #endif
8451 return 0;
8453 _ACEOF
8454 if ac_fn_objc_try_compile "$LINENO"; then :
8455 ac_compiler_gnu=yes
8456 else
8457 ac_compiler_gnu=no
8459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8460 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8464 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8465 if test $ac_compiler_gnu = yes; then
8466 GOBJC=yes
8467 else
8468 GOBJC=
8470 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8471 ac_save_OBJCFLAGS=$OBJCFLAGS
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8473 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8474 if ${ac_cv_prog_objc_g+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_save_objc_werror_flag=$ac_objc_werror_flag
8478 ac_objc_werror_flag=yes
8479 ac_cv_prog_objc_g=no
8480 OBJCFLAGS="-g"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8485 main ()
8489 return 0;
8491 _ACEOF
8492 if ac_fn_objc_try_compile "$LINENO"; then :
8493 ac_cv_prog_objc_g=yes
8494 else
8495 OBJCFLAGS=""
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 :
8509 else
8510 ac_objc_werror_flag=$ac_save_objc_werror_flag
8511 OBJCFLAGS="-g"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8516 main ()
8520 return 0;
8522 _ACEOF
8523 if ac_fn_objc_try_compile "$LINENO"; then :
8524 ac_cv_prog_objc_g=yes
8526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8531 ac_objc_werror_flag=$ac_save_objc_werror_flag
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8534 $as_echo "$ac_cv_prog_objc_g" >&6; }
8535 if test "$ac_test_OBJCFLAGS" = set; then
8536 OBJCFLAGS=$ac_save_OBJCFLAGS
8537 elif test $ac_cv_prog_objc_g = yes; then
8538 if test "$GOBJC" = yes; then
8539 OBJCFLAGS="-g -O2"
8540 else
8541 OBJCFLAGS="-g"
8543 else
8544 if test "$GOBJC" = yes; then
8545 OBJCFLAGS="-O2"
8546 else
8547 OBJCFLAGS=
8550 ac_ext=m
8551 ac_cpp='$OBJCPP $CPPFLAGS'
8552 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8553 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8554 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8557 ac_ext=m
8558 ac_cpp='$OBJCPP $CPPFLAGS'
8559 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8560 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8561 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8563 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8564 if test -z "$OBJCPP"; then
8565 if ${ac_cv_prog_OBJCPP+:} false; then :
8566 $as_echo_n "(cached) " >&6
8567 else
8568 # Double quotes because OBJCPP needs to be expanded
8569 for OBJCPP in "$OBJC -E" "/lib/cpp"
8571 ac_preproc_ok=false
8572 for ac_objc_preproc_warn_flag in '' yes
8574 # Use a header file that comes with gcc, so configuring glibc
8575 # with a fresh cross-compiler works.
8576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8577 # <limits.h> exists even on freestanding compilers.
8578 # On the NeXT, cc -E runs the code through the compiler's parser,
8579 # not just through cpp. "Syntax error" is here to catch this case.
8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8582 #ifdef __STDC__
8583 # include <limits.h>
8584 #else
8585 # include <assert.h>
8586 #endif
8587 Syntax error
8588 _ACEOF
8589 if ac_fn_objc_try_cpp "$LINENO"; then :
8591 else
8592 # Broken: fails on valid input.
8593 continue
8595 rm -f conftest.err conftest.i conftest.$ac_ext
8597 # OK, works on sane cases. Now check whether nonexistent headers
8598 # can be detected and how.
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 #include <ac_nonexistent.h>
8602 _ACEOF
8603 if ac_fn_objc_try_cpp "$LINENO"; then :
8604 # Broken: success on invalid input.
8605 continue
8606 else
8607 # Passes both tests.
8608 ac_preproc_ok=:
8609 break
8611 rm -f conftest.err conftest.i conftest.$ac_ext
8613 done
8614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8615 rm -f conftest.i conftest.err conftest.$ac_ext
8616 if $ac_preproc_ok; then :
8617 break
8620 done
8621 ac_cv_prog_OBJCPP=$OBJCPP
8624 OBJCPP=$ac_cv_prog_OBJCPP
8625 else
8626 ac_cv_prog_OBJCPP=$OBJCPP
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8629 $as_echo "$OBJCPP" >&6; }
8630 ac_preproc_ok=false
8631 for ac_objc_preproc_warn_flag in '' yes
8633 # Use a header file that comes with gcc, so configuring glibc
8634 # with a fresh cross-compiler works.
8635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8636 # <limits.h> exists even on freestanding compilers.
8637 # On the NeXT, cc -E runs the code through the compiler's parser,
8638 # not just through cpp. "Syntax error" is here to catch this case.
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 #ifdef __STDC__
8642 # include <limits.h>
8643 #else
8644 # include <assert.h>
8645 #endif
8646 Syntax error
8647 _ACEOF
8648 if ac_fn_objc_try_cpp "$LINENO"; then :
8650 else
8651 # Broken: fails on valid input.
8652 continue
8654 rm -f conftest.err conftest.i conftest.$ac_ext
8656 # OK, works on sane cases. Now check whether nonexistent headers
8657 # can be detected and how.
8658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8659 /* end confdefs.h. */
8660 #include <ac_nonexistent.h>
8661 _ACEOF
8662 if ac_fn_objc_try_cpp "$LINENO"; then :
8663 # Broken: success on invalid input.
8664 continue
8665 else
8666 # Passes both tests.
8667 ac_preproc_ok=:
8668 break
8670 rm -f conftest.err conftest.i conftest.$ac_ext
8672 done
8673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8674 rm -f conftest.i conftest.err conftest.$ac_ext
8675 if $ac_preproc_ok; then :
8677 else
8678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8680 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8681 See \`config.log' for more details" "$LINENO" 5; }
8684 ac_ext=m
8685 ac_cpp='$OBJCPP $CPPFLAGS'
8686 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8687 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8688 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8691 for ac_header in Metal/Metal.h
8692 do :
8693 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8694 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8695 cat >>confdefs.h <<_ACEOF
8696 #define HAVE_METAL_METAL_H 1
8697 _ACEOF
8701 done
8703 ac_ext=c
8704 ac_cpp='$CPP $CPPFLAGS'
8705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8709 LIBEXT="dylib"
8710 DLLFLAGS="$DLLFLAGS -fPIC"
8711 LDDLLFLAGS="-fPIC"
8712 COREFOUNDATION_LIBS="-framework CoreFoundation"
8714 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8716 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8718 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8720 CORESERVICES_LIBS="-framework CoreServices"
8722 APPKIT_LIBS="-framework AppKit"
8724 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8727 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8729 wine_can_build_preloader=yes
8730 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8732 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8733 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 int main(int argc, char **argv) { return 0; }
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 ac_cv_cflags__Wl__no_new_main__e__main=yes
8744 else
8745 ac_cv_cflags__Wl__no_new_main__e__main=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 CFLAGS=$ac_wine_try_cflags_saved
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8752 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8753 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8754 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8756 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8757 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8758 $as_echo_n "(cached) " >&6
8759 else
8760 ac_wine_try_cflags_saved=$CFLAGS
8761 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8764 int main(int argc, char **argv) { return 0; }
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8768 else
8769 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8771 rm -f core conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8773 CFLAGS=$ac_wine_try_cflags_saved
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8776 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8777 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8778 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8779 else
8780 { $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
8781 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8782 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8783 $as_echo_n "(cached) " >&6
8784 else
8785 ac_wine_try_cflags_saved=$CFLAGS
8786 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8789 int main(int argc, char **argv) { return 0; }
8790 _ACEOF
8791 if ac_fn_c_try_link "$LINENO"; then :
8792 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8793 else
8794 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8796 rm -f core conftest.err conftest.$ac_objext \
8797 conftest$ac_exeext conftest.$ac_ext
8798 CFLAGS=$ac_wine_try_cflags_saved
8800 { $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
8801 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8802 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8803 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8804 else
8805 wine_can_build_preloader=no
8808 else
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8810 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8811 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_wine_try_cflags_saved=$CFLAGS
8815 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8818 int main(int argc, char **argv) { return 0; }
8819 _ACEOF
8820 if ac_fn_c_try_link "$LINENO"; then :
8821 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8822 else
8823 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 CFLAGS=$ac_wine_try_cflags_saved
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8830 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8831 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8832 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8833 else
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8835 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8836 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 ac_wine_try_cflags_saved=$CFLAGS
8840 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8843 int main(int argc, char **argv) { return 0; }
8844 _ACEOF
8845 if ac_fn_c_try_link "$LINENO"; then :
8846 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8847 else
8848 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8852 CFLAGS=$ac_wine_try_cflags_saved
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8855 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8856 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8857 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8858 else
8859 wine_can_build_preloader=no
8863 if test "$wine_can_build_preloader" = "yes"
8864 then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8866 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8867 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_wine_try_cflags_saved=$CFLAGS
8871 CFLAGS="$CFLAGS -Wl,-no_pie"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 int main(int argc, char **argv) { return 0; }
8875 _ACEOF
8876 if ac_fn_c_try_link "$LINENO"; then :
8877 ac_cv_cflags__Wl__no_pie=yes
8878 else
8879 ac_cv_cflags__Wl__no_pie=no
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8886 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8887 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8888 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8890 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8891 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8892 else
8893 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8896 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8897 then
8898 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8901 if test "$ac_cv_header_Security_Security_h" = "yes"
8902 then
8903 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8905 ac_save_LIBS="$LIBS"
8906 LIBS="$LIBS $SECURITY_LIBS"
8907 for ac_func in SSLCopyPeerCertificates
8908 do :
8909 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8910 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8911 cat >>confdefs.h <<_ACEOF
8912 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8913 _ACEOF
8916 done
8918 LIBS="$ac_save_LIBS"
8920 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8921 then
8922 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8923 then
8924 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8926 else
8927 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8930 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8931 ac_save_LIBS="$LIBS"
8932 LIBS="$LIBS $COREAUDIO_LIBS"
8933 for ac_func in AUGraphAddNode
8934 do :
8935 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8936 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8937 cat >>confdefs.h <<_ACEOF
8938 #define HAVE_AUGRAPHADDNODE 1
8939 _ACEOF
8942 done
8944 LIBS="$ac_save_LIBS"
8946 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8947 then
8948 OPENAL_LIBS="-framework OpenAL"
8951 cat >>confdefs.h <<_ACEOF
8952 #define HAVE_OPENAL 1
8953 _ACEOF
8955 ac_cv_lib_openal=yes
8957 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8958 then
8959 OPENCL_LIBS="-framework OpenCL"
8961 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8963 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8964 then
8965 ac_save_LIBS="$LIBS"
8966 LIBS="$LIBS $IOKIT_LIBS"
8967 for ac_func in IOHIDManagerCreate
8968 do :
8969 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8970 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8971 cat >>confdefs.h <<_ACEOF
8972 #define HAVE_IOHIDMANAGERCREATE 1
8973 _ACEOF
8976 done
8978 LIBS="$ac_save_LIBS"
8981 if test "x$with_quicktime" != "xno"
8982 then
8983 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8984 then
8985 ac_save_LIBS="$LIBS"
8986 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8988 $as_echo_n "checking for the QuickTime framework... " >&6; }
8989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8990 /* end confdefs.h. */
8991 #include <QuickTime/ImageCompression.h>
8993 main ()
8995 CodecManagerVersion(NULL);
8997 return 0;
8999 _ACEOF
9000 if ac_fn_c_try_link "$LINENO"; then :
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9002 $as_echo "yes" >&6; }
9003 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9005 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9006 else
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9008 $as_echo "no" >&6; }
9009 ac_cv_header_QuickTime_ImageCompression_h=no
9011 rm -f core conftest.err conftest.$ac_objext \
9012 conftest$ac_exeext conftest.$ac_ext
9013 LIBS="$ac_save_LIBS"
9016 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9017 case "x$with_quicktime" in
9018 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9019 xno) ;;
9020 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9021 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9022 esac
9026 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9027 then
9028 CARBON_LIBS="-framework Carbon"
9031 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9032 then
9033 METAL_LIBS="-framework Metal -framework QuartzCore"
9037 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9038 then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9040 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9041 ac_ext=m
9042 ac_cpp='$OBJCPP $CPPFLAGS'
9043 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9044 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9045 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9049 #include <Metal/Metal.h>
9051 main ()
9053 id<MTLDevice> device; device.registryID;
9055 return 0;
9057 _ACEOF
9058 if ac_fn_objc_try_compile "$LINENO"; then :
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9060 $as_echo "yes" >&6; }
9062 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9064 else
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9066 $as_echo "no" >&6; }
9068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9069 ac_ext=c
9070 ac_cpp='$CPP $CPPFLAGS'
9071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9077 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9078 then
9079 ac_save_LIBS="$LIBS"
9080 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9081 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9082 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9083 enable_winemac_drv=${enable_winemac_drv:-yes}
9086 LIBS="$ac_save_LIBS"
9089 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9091 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9093 WINELOADER_DEPENDS="wine_info.plist"
9095 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9098 linux-android*)
9099 DLLFLAGS="$DLLFLAGS -fPIC"
9100 LDDLLFLAGS="-fPIC"
9101 LDEXECFLAGS="-Wl,-pie"
9102 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9104 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9105 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9106 $as_echo_n "(cached) " >&6
9107 else
9108 ac_wine_try_cflags_saved=$CFLAGS
9109 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9111 /* end confdefs.h. */
9112 int main(int argc, char **argv) { return 0; }
9113 _ACEOF
9114 if ac_fn_c_try_link "$LINENO"; then :
9115 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9116 else
9117 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9119 rm -f core conftest.err conftest.$ac_objext \
9120 conftest$ac_exeext conftest.$ac_ext
9121 CFLAGS=$ac_wine_try_cflags_saved
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9124 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9125 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9126 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9128 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9130 LIBWINE_SHAREDLIB="libwine.so"
9132 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9134 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9137 $as_echo_n "checking for -lEGL... " >&6; }
9138 if ${ac_cv_lib_soname_EGL+:} false; then :
9139 $as_echo_n "(cached) " >&6
9140 else
9141 ac_check_soname_save_LIBS=$LIBS
9142 LIBS="-lEGL $LIBS"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9149 #ifdef __cplusplus
9150 extern "C"
9151 #endif
9152 char eglGetProcAddress ();
9154 main ()
9156 return eglGetProcAddress ();
9158 return 0;
9160 _ACEOF
9161 if ac_fn_c_try_link "$LINENO"; then :
9162 case "$LIBEXT" in
9163 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9164 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'` ;;
9165 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9166 if ${ac_cv_lib_soname_EGL:+false} :; then :
9167 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9168 fi ;;
9169 esac
9170 else
9171 ac_cv_lib_soname_EGL=
9173 rm -f core conftest.err conftest.$ac_objext \
9174 conftest$ac_exeext conftest.$ac_ext
9175 LIBS=$ac_check_soname_save_LIBS
9177 if ${ac_cv_lib_soname_EGL:+false} :; then :
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9179 $as_echo "not found" >&6; }
9181 else
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9183 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9185 cat >>confdefs.h <<_ACEOF
9186 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9187 _ACEOF
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9192 $as_echo_n "checking for -lGLESv2... " >&6; }
9193 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9194 $as_echo_n "(cached) " >&6
9195 else
9196 ac_check_soname_save_LIBS=$LIBS
9197 LIBS="-lGLESv2 $LIBS"
9198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9201 /* Override any GCC internal prototype to avoid an error.
9202 Use char because int might match the return type of a GCC
9203 builtin and then its argument prototype would still apply. */
9204 #ifdef __cplusplus
9205 extern "C"
9206 #endif
9207 char glFlush ();
9209 main ()
9211 return glFlush ();
9213 return 0;
9215 _ACEOF
9216 if ac_fn_c_try_link "$LINENO"; then :
9217 case "$LIBEXT" in
9218 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9219 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'` ;;
9220 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9221 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9222 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9223 fi ;;
9224 esac
9225 else
9226 ac_cv_lib_soname_GLESv2=
9228 rm -f core conftest.err conftest.$ac_objext \
9229 conftest$ac_exeext conftest.$ac_ext
9230 LIBS=$ac_check_soname_save_LIBS
9232 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9234 $as_echo "not found" >&6; }
9236 else
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9238 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9240 cat >>confdefs.h <<_ACEOF
9241 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9242 _ACEOF
9247 if test "x$exec_prefix" = xNONE
9248 then
9249 case $host_cpu in
9250 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9251 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9252 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9253 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9254 esac
9259 case $host_cpu in
9260 *i[3456789]86*)
9261 DLLFLAGS="$DLLFLAGS -fno-PIC"
9262 LDDLLFLAGS="-fno-PIC" ;;
9264 DLLFLAGS="$DLLFLAGS -fPIC"
9265 LDDLLFLAGS="-fPIC" ;;
9266 esac
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9268 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9269 if ${ac_cv_c_dll_gnuelf+:} false; then :
9270 $as_echo_n "(cached) " >&6
9271 else
9272 ac_wine_try_cflags_saved=$CFLAGS
9273 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9276 void myfunc() {}
9277 _ACEOF
9278 if ac_fn_c_try_link "$LINENO"; then :
9279 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9280 else
9281 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9283 rm -f core conftest.err conftest.$ac_objext \
9284 conftest$ac_exeext conftest.$ac_ext
9285 CFLAGS=$ac_wine_try_cflags_saved
9286 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9287 ac_cv_c_dll_gnuelf="yes"
9288 else
9289 ac_cv_c_dll_gnuelf="no"
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9293 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9294 if test "$ac_cv_c_dll_gnuelf" = "yes"
9295 then
9296 LIBWINE_LDFLAGS="-shared"
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9298 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9299 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_wine_try_cflags_saved=$CFLAGS
9303 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9306 int main(int argc, char **argv) { return 0; }
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9310 else
9311 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9313 rm -f core conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 CFLAGS=$ac_wine_try_cflags_saved
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9318 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9319 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9320 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9321 else
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9323 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9324 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_wine_try_cflags_saved=$CFLAGS
9328 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9331 int main(int argc, char **argv) { return 0; }
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9335 else
9336 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9338 rm -f core conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 CFLAGS=$ac_wine_try_cflags_saved
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9343 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9344 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9345 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9349 echo '{ global: *; };' >conftest.map
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9351 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9352 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9353 $as_echo_n "(cached) " >&6
9354 else
9355 ac_wine_try_cflags_saved=$CFLAGS
9356 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9358 /* end confdefs.h. */
9359 int main(int argc, char **argv) { return 0; }
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9363 else
9364 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 CFLAGS=$ac_wine_try_cflags_saved
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9371 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9372 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9373 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9375 rm -f conftest.map
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9378 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9379 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_wine_try_cflags_saved=$CFLAGS
9383 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9386 int main(int argc, char **argv) { return 0; }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_cflags__Wl___export_dynamic=yes
9390 else
9391 ac_cv_cflags__Wl___export_dynamic=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 CFLAGS=$ac_wine_try_cflags_saved
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9398 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9399 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9400 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9402 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9404 case $host_cpu in
9405 *i[3456789]86* | x86_64 | *aarch64*)
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9407 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9408 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_wine_try_cflags_saved=$CFLAGS
9412 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9415 int main(int argc, char **argv) { return 0; }
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9419 else
9420 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 CFLAGS=$ac_wine_try_cflags_saved
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9427 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9428 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9429 case $host_os in
9430 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9431 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9432 esac
9433 else
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9435 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9436 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_wine_try_cflags_saved=$CFLAGS
9440 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int main(int argc, char **argv) { return 0; }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9447 else
9448 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 CFLAGS=$ac_wine_try_cflags_saved
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9455 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9456 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9457 case $host_os in
9458 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9459 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9460 esac
9462 # Extract the first word of "prelink", so it can be a program name with args.
9463 set dummy prelink; ac_word=$2
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9465 $as_echo_n "checking for $ac_word... " >&6; }
9466 if ${ac_cv_path_PRELINK+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 case $PRELINK in
9470 [\\/]* | ?:[\\/]*)
9471 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9475 for as_dir in /sbin /usr/sbin $PATH
9477 IFS=$as_save_IFS
9478 test -z "$as_dir" && as_dir=.
9479 for ac_exec_ext in '' $ac_executable_extensions; do
9480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9481 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9483 break 2
9485 done
9486 done
9487 IFS=$as_save_IFS
9489 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9491 esac
9493 PRELINK=$ac_cv_path_PRELINK
9494 if test -n "$PRELINK"; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9496 $as_echo "$PRELINK" >&6; }
9497 else
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9499 $as_echo "no" >&6; }
9503 if test "x$PRELINK" = xfalse
9504 then
9505 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9509 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9510 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9511 $as_echo_n "(cached) " >&6
9512 else
9513 ac_wine_try_cflags_saved=$CFLAGS
9514 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9517 int main(int argc, char **argv) { return 0; }
9518 _ACEOF
9519 if ac_fn_c_try_link "$LINENO"; then :
9520 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9521 else
9522 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9524 rm -f core conftest.err conftest.$ac_objext \
9525 conftest$ac_exeext conftest.$ac_ext
9526 CFLAGS=$ac_wine_try_cflags_saved
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9529 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9530 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9531 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9534 esac
9536 else
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9538 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9539 if ${ac_cv_c_dll_unixware+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 ac_wine_try_cflags_saved=$CFLAGS
9543 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9546 void myfunc() {}
9547 _ACEOF
9548 if ac_fn_c_try_link "$LINENO"; then :
9549 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9550 else
9551 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9553 rm -f core conftest.err conftest.$ac_objext \
9554 conftest$ac_exeext conftest.$ac_ext
9555 CFLAGS=$ac_wine_try_cflags_saved
9556 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9557 ac_cv_c_dll_unixware="yes"
9558 else
9559 ac_cv_c_dll_unixware="no"
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9563 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9564 if test "$ac_cv_c_dll_unixware" = "yes"
9565 then
9566 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9569 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9571 LIBWINE_DEPENDS="wine.map"
9573 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9575 esac
9577 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9578 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9579 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9580 enable_winemac_drv=${enable_winemac_drv:-no}
9581 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9584 if test "x$with_mingw" != xno
9585 then
9586 case "x$with_mingw" in
9587 x|xyes) case "$host_cpu" in
9588 aarch64*)
9589 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9590 arm*)
9591 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9592 i[3456789]86*)
9593 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
9594 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9595 mingw32-gcc" ;;
9596 x86_64)
9597 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
9598 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9600 ac_prefix_list="" ;;
9601 esac
9602 for ac_prog in $ac_prefix_list
9604 # Extract the first word of "$ac_prog", so it can be a program name with args.
9605 set dummy $ac_prog; ac_word=$2
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9607 $as_echo_n "checking for $ac_word... " >&6; }
9608 if ${ac_cv_prog_CROSSCC+:} false; then :
9609 $as_echo_n "(cached) " >&6
9610 else
9611 if test -n "$CROSSCC"; then
9612 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9613 else
9614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9615 for as_dir in $PATH
9617 IFS=$as_save_IFS
9618 test -z "$as_dir" && as_dir=.
9619 for ac_exec_ext in '' $ac_executable_extensions; do
9620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9621 ac_cv_prog_CROSSCC="$ac_prog"
9622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9623 break 2
9625 done
9626 done
9627 IFS=$as_save_IFS
9631 CROSSCC=$ac_cv_prog_CROSSCC
9632 if test -n "$CROSSCC"; then
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9634 $as_echo "$CROSSCC" >&6; }
9635 else
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9637 $as_echo "no" >&6; }
9641 test -n "$CROSSCC" && break
9642 done
9643 test -n "$CROSSCC" || CROSSCC="false"
9645 *) CROSSCC=$with_mingw ;;
9646 esac
9647 if test "$CROSSCC" != "false"
9648 then
9649 ac_save_CC="$CC"
9650 saved_CFLAGS=$CFLAGS
9651 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9653 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9657 CC="$CROSSCC"
9658 CFLAGS=$CROSSCFLAGS
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9660 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9661 if ${wine_cv_crosscc+:} false; then :
9662 $as_echo_n "(cached) " >&6
9663 else
9664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9665 /* end confdefs.h. */
9668 main ()
9672 return 0;
9674 _ACEOF
9675 if ac_fn_c_try_compile "$LINENO"; then :
9676 wine_cv_crosscc=yes
9677 else
9678 wine_cv_crosscc=no
9680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9683 $as_echo "$wine_cv_crosscc" >&6; }
9684 if test $wine_cv_crosscc = yes
9685 then
9686 set x $CROSSCC
9687 shift
9688 while test $# -ge 1
9690 case "$1" in
9691 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9692 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9693 esac
9694 shift
9695 done
9697 llvm_target=$CROSSTARGET
9698 llvm_cflags="-fuse-ld=lld"
9699 if test -z "$llvm_target"
9700 then
9701 case $host_cpu in
9702 *i[3456789]86*) llvm_target=i686-windows ;;
9703 *) llvm_target=$host_cpu-windows ;;
9704 esac
9706 case $llvm_target in
9707 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9708 esac
9709 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9711 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9712 if eval \${$as_ac_var+:} false; then :
9713 $as_echo_n "(cached) " >&6
9714 else
9715 ac_wine_try_cflags_saved=$CFLAGS
9716 ac_wine_try_cflags_saved_cc=$CC
9717 ac_wine_try_cflags_saved_exeext=$ac_exeext
9718 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9719 CC="$CROSSCC"
9720 ac_exeext=".exe"
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9723 int __cdecl mainCRTStartup(void) { return 0; }
9724 _ACEOF
9725 if ac_fn_c_try_link "$LINENO"; then :
9726 eval "$as_ac_var=yes"
9727 else
9728 eval "$as_ac_var=no"
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 CFLAGS=$ac_wine_try_cflags_saved
9733 CC=$ac_wine_try_cflags_saved_cc
9734 ac_exeext=$ac_wine_try_cflags_saved_exeext
9736 eval ac_res=\$$as_ac_var
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9738 $as_echo "$ac_res" >&6; }
9739 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9740 CROSSTARGET=$llvm_target
9741 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9742 DELAYLOADFLAG="-Wl,-delayload,"
9744 CFLAGS="$CFLAGS $llvm_cflags"
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9748 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9749 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9750 $as_echo_n "(cached) " >&6
9751 else
9752 ac_wine_try_cflags_saved=$CFLAGS
9753 ac_wine_try_cflags_saved_cc=$CC
9754 ac_wine_try_cflags_saved_exeext=$ac_exeext
9755 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9756 CC="$CROSSCC"
9757 ac_exeext=".exe"
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9760 int __cdecl mainCRTStartup(void) { return 0; }
9761 _ACEOF
9762 if ac_fn_c_try_link "$LINENO"; then :
9763 ac_cv_crosscflags__fno_strict_aliasing=yes
9764 else
9765 ac_cv_crosscflags__fno_strict_aliasing=no
9767 rm -f core conftest.err conftest.$ac_objext \
9768 conftest$ac_exeext conftest.$ac_ext
9769 CFLAGS=$ac_wine_try_cflags_saved
9770 CC=$ac_wine_try_cflags_saved_cc
9771 ac_exeext=$ac_wine_try_cflags_saved_exeext
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9774 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9775 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9776 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9779 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9780 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 ac_wine_try_cflags_saved=$CFLAGS
9784 ac_wine_try_cflags_saved_cc=$CC
9785 ac_wine_try_cflags_saved_exeext=$ac_exeext
9786 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9787 CC="$CROSSCC"
9788 ac_exeext=".exe"
9789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9791 int __cdecl mainCRTStartup(void) { return 0; }
9792 _ACEOF
9793 if ac_fn_c_try_link "$LINENO"; then :
9794 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9795 else
9796 ac_cv_crosscflags__Werror_unknown_warning_option=no
9798 rm -f core conftest.err conftest.$ac_objext \
9799 conftest$ac_exeext conftest.$ac_ext
9800 CFLAGS=$ac_wine_try_cflags_saved
9801 CC=$ac_wine_try_cflags_saved_cc
9802 ac_exeext=$ac_wine_try_cflags_saved_exeext
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9805 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9806 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9807 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9810 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9811 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9812 $as_echo_n "(cached) " >&6
9813 else
9814 ac_wine_try_cflags_saved=$CFLAGS
9815 ac_wine_try_cflags_saved_cc=$CC
9816 ac_wine_try_cflags_saved_exeext=$ac_exeext
9817 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9818 CC="$CROSSCC"
9819 ac_exeext=".exe"
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9822 int __cdecl mainCRTStartup(void) { return 0; }
9823 _ACEOF
9824 if ac_fn_c_try_link "$LINENO"; then :
9825 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9826 else
9827 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 CFLAGS=$ac_wine_try_cflags_saved
9832 CC=$ac_wine_try_cflags_saved_cc
9833 ac_exeext=$ac_wine_try_cflags_saved_exeext
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9836 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9837 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9838 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9841 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9842 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9843 $as_echo_n "(cached) " >&6
9844 else
9845 ac_wine_try_cflags_saved=$CFLAGS
9846 ac_wine_try_cflags_saved_cc=$CC
9847 ac_wine_try_cflags_saved_exeext=$ac_exeext
9848 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9849 CC="$CROSSCC"
9850 ac_exeext=".exe"
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9853 int __cdecl mainCRTStartup(void) { return 0; }
9854 _ACEOF
9855 if ac_fn_c_try_link "$LINENO"; then :
9856 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9857 else
9858 ac_cv_crosscflags__Wdeclaration_after_statement=no
9860 rm -f core conftest.err conftest.$ac_objext \
9861 conftest$ac_exeext conftest.$ac_ext
9862 CFLAGS=$ac_wine_try_cflags_saved
9863 CC=$ac_wine_try_cflags_saved_cc
9864 ac_exeext=$ac_wine_try_cflags_saved_exeext
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9867 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9868 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9869 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9872 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9873 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9874 $as_echo_n "(cached) " >&6
9875 else
9876 ac_wine_try_cflags_saved=$CFLAGS
9877 ac_wine_try_cflags_saved_cc=$CC
9878 ac_wine_try_cflags_saved_exeext=$ac_exeext
9879 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9880 CC="$CROSSCC"
9881 ac_exeext=".exe"
9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9884 int __cdecl mainCRTStartup(void) { return 0; }
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"; then :
9887 ac_cv_crosscflags__Wempty_body=yes
9888 else
9889 ac_cv_crosscflags__Wempty_body=no
9891 rm -f core conftest.err conftest.$ac_objext \
9892 conftest$ac_exeext conftest.$ac_ext
9893 CFLAGS=$ac_wine_try_cflags_saved
9894 CC=$ac_wine_try_cflags_saved_cc
9895 ac_exeext=$ac_wine_try_cflags_saved_exeext
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9898 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9899 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9900 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9903 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9904 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_wine_try_cflags_saved=$CFLAGS
9908 ac_wine_try_cflags_saved_cc=$CC
9909 ac_wine_try_cflags_saved_exeext=$ac_exeext
9910 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9911 CC="$CROSSCC"
9912 ac_exeext=".exe"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9915 int __cdecl mainCRTStartup(void) { return 0; }
9916 _ACEOF
9917 if ac_fn_c_try_link "$LINENO"; then :
9918 ac_cv_crosscflags__Wignored_qualifiers=yes
9919 else
9920 ac_cv_crosscflags__Wignored_qualifiers=no
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 CFLAGS=$ac_wine_try_cflags_saved
9925 CC=$ac_wine_try_cflags_saved_cc
9926 ac_exeext=$ac_wine_try_cflags_saved_exeext
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9929 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9930 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9931 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9934 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9935 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9936 $as_echo_n "(cached) " >&6
9937 else
9938 ac_wine_try_cflags_saved=$CFLAGS
9939 ac_wine_try_cflags_saved_cc=$CC
9940 ac_wine_try_cflags_saved_exeext=$ac_exeext
9941 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9942 CC="$CROSSCC"
9943 ac_exeext=".exe"
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9946 int __cdecl mainCRTStartup(void) { return 0; }
9947 _ACEOF
9948 if ac_fn_c_try_link "$LINENO"; then :
9949 ac_cv_crosscflags__Wpacked_not_aligned=yes
9950 else
9951 ac_cv_crosscflags__Wpacked_not_aligned=no
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 CFLAGS=$ac_wine_try_cflags_saved
9956 CC=$ac_wine_try_cflags_saved_cc
9957 ac_exeext=$ac_wine_try_cflags_saved_exeext
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9960 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9961 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9962 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9965 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9966 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9967 $as_echo_n "(cached) " >&6
9968 else
9969 ac_wine_try_cflags_saved=$CFLAGS
9970 ac_wine_try_cflags_saved_cc=$CC
9971 ac_wine_try_cflags_saved_exeext=$ac_exeext
9972 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9973 CC="$CROSSCC"
9974 ac_exeext=".exe"
9975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9977 int __cdecl mainCRTStartup(void) { return 0; }
9978 _ACEOF
9979 if ac_fn_c_try_link "$LINENO"; then :
9980 ac_cv_crosscflags__Wpragma_pack=yes
9981 else
9982 ac_cv_crosscflags__Wpragma_pack=no
9984 rm -f core conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 CFLAGS=$ac_wine_try_cflags_saved
9987 CC=$ac_wine_try_cflags_saved_cc
9988 ac_exeext=$ac_wine_try_cflags_saved_exeext
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9991 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9992 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9993 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9996 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9997 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_wine_try_cflags_saved=$CFLAGS
10001 ac_wine_try_cflags_saved_cc=$CC
10002 ac_wine_try_cflags_saved_exeext=$ac_exeext
10003 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10004 CC="$CROSSCC"
10005 ac_exeext=".exe"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 int __cdecl mainCRTStartup(void) { return 0; }
10009 _ACEOF
10010 if ac_fn_c_try_link "$LINENO"; then :
10011 ac_cv_crosscflags__Wshift_overflow_2=yes
10012 else
10013 ac_cv_crosscflags__Wshift_overflow_2=no
10015 rm -f core conftest.err conftest.$ac_objext \
10016 conftest$ac_exeext conftest.$ac_ext
10017 CFLAGS=$ac_wine_try_cflags_saved
10018 CC=$ac_wine_try_cflags_saved_cc
10019 ac_exeext=$ac_wine_try_cflags_saved_exeext
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10022 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10023 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10024 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10027 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10028 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10029 $as_echo_n "(cached) " >&6
10030 else
10031 ac_wine_try_cflags_saved=$CFLAGS
10032 ac_wine_try_cflags_saved_cc=$CC
10033 ac_wine_try_cflags_saved_exeext=$ac_exeext
10034 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10035 CC="$CROSSCC"
10036 ac_exeext=".exe"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10039 int __cdecl mainCRTStartup(void) { return 0; }
10040 _ACEOF
10041 if ac_fn_c_try_link "$LINENO"; then :
10042 ac_cv_crosscflags__Wstrict_prototypes=yes
10043 else
10044 ac_cv_crosscflags__Wstrict_prototypes=no
10046 rm -f core conftest.err conftest.$ac_objext \
10047 conftest$ac_exeext conftest.$ac_ext
10048 CFLAGS=$ac_wine_try_cflags_saved
10049 CC=$ac_wine_try_cflags_saved_cc
10050 ac_exeext=$ac_wine_try_cflags_saved_exeext
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10053 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10054 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10055 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10058 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10059 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10060 $as_echo_n "(cached) " >&6
10061 else
10062 ac_wine_try_cflags_saved=$CFLAGS
10063 ac_wine_try_cflags_saved_cc=$CC
10064 ac_wine_try_cflags_saved_exeext=$ac_exeext
10065 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10066 CC="$CROSSCC"
10067 ac_exeext=".exe"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10070 int __cdecl mainCRTStartup(void) { return 0; }
10071 _ACEOF
10072 if ac_fn_c_try_link "$LINENO"; then :
10073 ac_cv_crosscflags__Wtype_limits=yes
10074 else
10075 ac_cv_crosscflags__Wtype_limits=no
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 CFLAGS=$ac_wine_try_cflags_saved
10080 CC=$ac_wine_try_cflags_saved_cc
10081 ac_exeext=$ac_wine_try_cflags_saved_exeext
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10084 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10085 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10086 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10089 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10090 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10091 $as_echo_n "(cached) " >&6
10092 else
10093 ac_wine_try_cflags_saved=$CFLAGS
10094 ac_wine_try_cflags_saved_cc=$CC
10095 ac_wine_try_cflags_saved_exeext=$ac_exeext
10096 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10097 CC="$CROSSCC"
10098 ac_exeext=".exe"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10101 int __cdecl mainCRTStartup(void) { return 0; }
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"; then :
10104 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10105 else
10106 ac_cv_crosscflags__Wunused_but_set_parameter=no
10108 rm -f core conftest.err conftest.$ac_objext \
10109 conftest$ac_exeext conftest.$ac_ext
10110 CFLAGS=$ac_wine_try_cflags_saved
10111 CC=$ac_wine_try_cflags_saved_cc
10112 ac_exeext=$ac_wine_try_cflags_saved_exeext
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10115 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10116 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10117 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10120 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10121 if ${ac_cv_crosscflags__Wvla+:} false; then :
10122 $as_echo_n "(cached) " >&6
10123 else
10124 ac_wine_try_cflags_saved=$CFLAGS
10125 ac_wine_try_cflags_saved_cc=$CC
10126 ac_wine_try_cflags_saved_exeext=$ac_exeext
10127 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10128 CC="$CROSSCC"
10129 ac_exeext=".exe"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10132 int __cdecl mainCRTStartup(void) { return 0; }
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 ac_cv_crosscflags__Wvla=yes
10136 else
10137 ac_cv_crosscflags__Wvla=no
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 CFLAGS=$ac_wine_try_cflags_saved
10142 CC=$ac_wine_try_cflags_saved_cc
10143 ac_exeext=$ac_wine_try_cflags_saved_exeext
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10146 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10147 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10148 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10151 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10152 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10153 $as_echo_n "(cached) " >&6
10154 else
10155 ac_wine_try_cflags_saved=$CFLAGS
10156 ac_wine_try_cflags_saved_cc=$CC
10157 ac_wine_try_cflags_saved_exeext=$ac_exeext
10158 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10159 CC="$CROSSCC"
10160 ac_exeext=".exe"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10163 int __cdecl mainCRTStartup(void) { return 0; }
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 ac_cv_crosscflags__Wwrite_strings=yes
10167 else
10168 ac_cv_crosscflags__Wwrite_strings=no
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10172 CFLAGS=$ac_wine_try_cflags_saved
10173 CC=$ac_wine_try_cflags_saved_cc
10174 ac_exeext=$ac_wine_try_cflags_saved_exeext
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10177 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10178 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10179 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10182 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10183 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10184 $as_echo_n "(cached) " >&6
10185 else
10186 ac_wine_try_cflags_saved=$CFLAGS
10187 ac_wine_try_cflags_saved_cc=$CC
10188 ac_wine_try_cflags_saved_exeext=$ac_exeext
10189 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10190 CC="$CROSSCC"
10191 ac_exeext=".exe"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 int __cdecl mainCRTStartup(void) { return 0; }
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 ac_cv_crosscflags__Wpointer_arith=yes
10198 else
10199 ac_cv_crosscflags__Wpointer_arith=no
10201 rm -f core conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 CFLAGS=$ac_wine_try_cflags_saved
10204 CC=$ac_wine_try_cflags_saved_cc
10205 ac_exeext=$ac_wine_try_cflags_saved_exeext
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10208 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10209 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10210 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10213 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10214 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_wine_try_cflags_saved=$CFLAGS
10218 ac_wine_try_cflags_saved_cc=$CC
10219 ac_wine_try_cflags_saved_exeext=$ac_exeext
10220 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10221 CC="$CROSSCC"
10222 ac_exeext=".exe"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 int __cdecl mainCRTStartup(void) { return 0; }
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"; then :
10228 ac_cv_crosscflags__Wlogical_op=yes
10229 else
10230 ac_cv_crosscflags__Wlogical_op=no
10232 rm -f core conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 CFLAGS=$ac_wine_try_cflags_saved
10235 CC=$ac_wine_try_cflags_saved_cc
10236 ac_exeext=$ac_wine_try_cflags_saved_exeext
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10239 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10240 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10241 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10244 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10245 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10246 $as_echo_n "(cached) " >&6
10247 else
10248 ac_wine_try_cflags_saved=$CFLAGS
10249 ac_wine_try_cflags_saved_cc=$CC
10250 ac_wine_try_cflags_saved_exeext=$ac_exeext
10251 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10252 CC="$CROSSCC"
10253 ac_exeext=".exe"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 int __cdecl mainCRTStartup(void) { return 0; }
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259 ac_cv_crosscflags__Wabsolute_value=yes
10260 else
10261 ac_cv_crosscflags__Wabsolute_value=no
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10266 CC=$ac_wine_try_cflags_saved_cc
10267 ac_exeext=$ac_wine_try_cflags_saved_exeext
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10270 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10271 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10272 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10275 case $host_cpu in
10276 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10277 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10278 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10279 $as_echo_n "(cached) " >&6
10280 else
10281 ac_wine_try_cflags_saved=$CFLAGS
10282 ac_wine_try_cflags_saved_cc=$CC
10283 ac_wine_try_cflags_saved_exeext=$ac_exeext
10284 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10285 CC="$CROSSCC"
10286 ac_exeext=".exe"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 int __cdecl mainCRTStartup(void) { return 0; }
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"; then :
10292 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10293 else
10294 ac_cv_crosscflags__fno_omit_frame_pointer=no
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 CFLAGS=$ac_wine_try_cflags_saved
10299 CC=$ac_wine_try_cflags_saved_cc
10300 ac_exeext=$ac_wine_try_cflags_saved_exeext
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10303 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10304 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10305 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10306 fi ;;
10307 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10308 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10309 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10310 $as_echo_n "(cached) " >&6
10311 else
10312 ac_wine_try_cflags_saved=$CFLAGS
10313 ac_wine_try_cflags_saved_cc=$CC
10314 ac_wine_try_cflags_saved_exeext=$ac_exeext
10315 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10316 CC="$CROSSCC"
10317 ac_exeext=".exe"
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10320 int __cdecl mainCRTStartup(void) { return 0; }
10321 _ACEOF
10322 if ac_fn_c_try_link "$LINENO"; then :
10323 ac_cv_crosscflags__Wno_format=yes
10324 else
10325 ac_cv_crosscflags__Wno_format=no
10327 rm -f core conftest.err conftest.$ac_objext \
10328 conftest$ac_exeext conftest.$ac_ext
10329 CFLAGS=$ac_wine_try_cflags_saved
10330 CC=$ac_wine_try_cflags_saved_cc
10331 ac_exeext=$ac_wine_try_cflags_saved_exeext
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10334 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10335 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10336 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10339 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10340 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10341 $as_echo_n "(cached) " >&6
10342 else
10343 ac_wine_try_cflags_saved=$CFLAGS
10344 ac_wine_try_cflags_saved_cc=$CC
10345 ac_wine_try_cflags_saved_exeext=$ac_exeext
10346 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10347 CC="$CROSSCC"
10348 ac_exeext=".exe"
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10351 int __cdecl mainCRTStartup(void) { return 0; }
10352 _ACEOF
10353 if ac_fn_c_try_link "$LINENO"; then :
10354 ac_cv_crosscflags__Wformat_overflow=yes
10355 else
10356 ac_cv_crosscflags__Wformat_overflow=no
10358 rm -f core conftest.err conftest.$ac_objext \
10359 conftest$ac_exeext conftest.$ac_ext
10360 CFLAGS=$ac_wine_try_cflags_saved
10361 CC=$ac_wine_try_cflags_saved_cc
10362 ac_exeext=$ac_wine_try_cflags_saved_exeext
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10365 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10366 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10367 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10370 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10371 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10372 $as_echo_n "(cached) " >&6
10373 else
10374 ac_wine_try_cflags_saved=$CFLAGS
10375 ac_wine_try_cflags_saved_cc=$CC
10376 ac_wine_try_cflags_saved_exeext=$ac_exeext
10377 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10378 CC="$CROSSCC"
10379 ac_exeext=".exe"
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10382 int __cdecl mainCRTStartup(void) { return 0; }
10383 _ACEOF
10384 if ac_fn_c_try_link "$LINENO"; then :
10385 ac_cv_crosscflags__Wnonnull=yes
10386 else
10387 ac_cv_crosscflags__Wnonnull=no
10389 rm -f core conftest.err conftest.$ac_objext \
10390 conftest$ac_exeext conftest.$ac_ext
10391 CFLAGS=$ac_wine_try_cflags_saved
10392 CC=$ac_wine_try_cflags_saved_cc
10393 ac_exeext=$ac_wine_try_cflags_saved_exeext
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10396 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10397 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10398 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10401 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10402 if ${ac_cv_crosscflags__mcx16+:} false; then :
10403 $as_echo_n "(cached) " >&6
10404 else
10405 ac_wine_try_cflags_saved=$CFLAGS
10406 ac_wine_try_cflags_saved_cc=$CC
10407 ac_wine_try_cflags_saved_exeext=$ac_exeext
10408 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10409 CC="$CROSSCC"
10410 ac_exeext=".exe"
10411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10413 int __cdecl mainCRTStartup(void) { return 0; }
10414 _ACEOF
10415 if ac_fn_c_try_link "$LINENO"; then :
10416 ac_cv_crosscflags__mcx16=yes
10417 else
10418 ac_cv_crosscflags__mcx16=no
10420 rm -f core conftest.err conftest.$ac_objext \
10421 conftest$ac_exeext conftest.$ac_ext
10422 CFLAGS=$ac_wine_try_cflags_saved
10423 CC=$ac_wine_try_cflags_saved_cc
10424 ac_exeext=$ac_wine_try_cflags_saved_exeext
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10427 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10428 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10429 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10430 fi ;;
10431 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10432 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10433 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10434 $as_echo_n "(cached) " >&6
10435 else
10436 ac_wine_try_cflags_saved=$CFLAGS
10437 ac_wine_try_cflags_saved_cc=$CC
10438 ac_wine_try_cflags_saved_exeext=$ac_exeext
10439 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10440 CC="$CROSSCC"
10441 ac_exeext=".exe"
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10444 int __cdecl mainCRTStartup(void) { return 0; }
10445 _ACEOF
10446 if ac_fn_c_try_link "$LINENO"; then :
10447 ac_cv_crosscflags__Wno_format=yes
10448 else
10449 ac_cv_crosscflags__Wno_format=no
10451 rm -f core conftest.err conftest.$ac_objext \
10452 conftest$ac_exeext conftest.$ac_ext
10453 CFLAGS=$ac_wine_try_cflags_saved
10454 CC=$ac_wine_try_cflags_saved_cc
10455 ac_exeext=$ac_wine_try_cflags_saved_exeext
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10458 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10459 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10460 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10461 fi ;;
10462 esac
10465 if test -z "$CROSSDEBUG"
10466 then
10467 for ac_flag in $CROSSCFLAGS; do
10468 case $ac_flag in
10469 -gdwarf*) CROSSDEBUG=dwarf ;;
10470 -gcodeview) CROSSDEBUG=pdb ;;
10471 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10472 esac
10473 done
10475 case $CROSSDEBUG in
10476 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10477 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10478 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10479 $as_echo_n "(cached) " >&6
10480 else
10481 ac_wine_try_cflags_saved=$CFLAGS
10482 ac_wine_try_cflags_saved_cc=$CC
10483 ac_wine_try_cflags_saved_exeext=$ac_exeext
10484 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10485 CC="$CROSSCC"
10486 ac_exeext=".exe"
10487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10488 /* end confdefs.h. */
10489 int __cdecl mainCRTStartup(void) { return 0; }
10490 _ACEOF
10491 if ac_fn_c_try_link "$LINENO"; then :
10492 ac_cv_crosscflags__gdwarf_2=yes
10493 else
10494 ac_cv_crosscflags__gdwarf_2=no
10496 rm -f core conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 CFLAGS=$ac_wine_try_cflags_saved
10499 CC=$ac_wine_try_cflags_saved_cc
10500 ac_exeext=$ac_wine_try_cflags_saved_exeext
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10503 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10504 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10505 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10508 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10509 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10510 $as_echo_n "(cached) " >&6
10511 else
10512 ac_wine_try_cflags_saved=$CFLAGS
10513 ac_wine_try_cflags_saved_cc=$CC
10514 ac_wine_try_cflags_saved_exeext=$ac_exeext
10515 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10516 CC="$CROSSCC"
10517 ac_exeext=".exe"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10520 int __cdecl mainCRTStartup(void) { return 0; }
10521 _ACEOF
10522 if ac_fn_c_try_link "$LINENO"; then :
10523 ac_cv_crosscflags__gstrict_dwarf=yes
10524 else
10525 ac_cv_crosscflags__gstrict_dwarf=no
10527 rm -f core conftest.err conftest.$ac_objext \
10528 conftest$ac_exeext conftest.$ac_ext
10529 CFLAGS=$ac_wine_try_cflags_saved
10530 CC=$ac_wine_try_cflags_saved_cc
10531 ac_exeext=$ac_wine_try_cflags_saved_exeext
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10534 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10535 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10536 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10537 fi ;;
10538 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10539 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10540 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10541 $as_echo_n "(cached) " >&6
10542 else
10543 ac_wine_try_cflags_saved=$CFLAGS
10544 ac_wine_try_cflags_saved_cc=$CC
10545 ac_wine_try_cflags_saved_exeext=$ac_exeext
10546 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10547 CC="$CROSSCC"
10548 ac_exeext=".exe"
10549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10551 int __cdecl mainCRTStartup(void) { return 0; }
10552 _ACEOF
10553 if ac_fn_c_try_link "$LINENO"; then :
10554 ac_cv_crosscflags__gcodeview=yes
10555 else
10556 ac_cv_crosscflags__gcodeview=no
10558 rm -f core conftest.err conftest.$ac_objext \
10559 conftest$ac_exeext conftest.$ac_ext
10560 CFLAGS=$ac_wine_try_cflags_saved
10561 CC=$ac_wine_try_cflags_saved_cc
10562 ac_exeext=$ac_wine_try_cflags_saved_exeext
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10565 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10566 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10567 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10568 fi ;;
10569 esac
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10572 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10573 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10574 $as_echo_n "(cached) " >&6
10575 else
10576 ac_wine_try_cflags_saved=$CFLAGS
10577 ac_wine_try_cflags_saved_cc=$CC
10578 ac_wine_try_cflags_saved_exeext=$ac_exeext
10579 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10580 CC="$CROSSCC"
10581 ac_exeext=".exe"
10582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */
10584 int __cdecl mainCRTStartup(void) { return 0; }
10585 _ACEOF
10586 if ac_fn_c_try_link "$LINENO"; then :
10587 ac_cv_crosscflags__fexcess_precision_standard=yes
10588 else
10589 ac_cv_crosscflags__fexcess_precision_standard=no
10591 rm -f core conftest.err conftest.$ac_objext \
10592 conftest$ac_exeext conftest.$ac_ext
10593 CFLAGS=$ac_wine_try_cflags_saved
10594 CC=$ac_wine_try_cflags_saved_cc
10595 ac_exeext=$ac_wine_try_cflags_saved_exeext
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10598 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10599 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10600 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10604 if test "x$enable_werror" = "xyes"
10605 then
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10607 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10608 if ${ac_cv_crosscflags__Werror+:} false; then :
10609 $as_echo_n "(cached) " >&6
10610 else
10611 ac_wine_try_cflags_saved=$CFLAGS
10612 ac_wine_try_cflags_saved_cc=$CC
10613 ac_wine_try_cflags_saved_exeext=$ac_exeext
10614 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10615 CC="$CROSSCC"
10616 ac_exeext=".exe"
10617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10618 /* end confdefs.h. */
10619 int __cdecl mainCRTStartup(void) { return 0; }
10620 _ACEOF
10621 if ac_fn_c_try_link "$LINENO"; then :
10622 ac_cv_crosscflags__Werror=yes
10623 else
10624 ac_cv_crosscflags__Werror=no
10626 rm -f core conftest.err conftest.$ac_objext \
10627 conftest$ac_exeext conftest.$ac_ext
10628 CFLAGS=$ac_wine_try_cflags_saved
10629 CC=$ac_wine_try_cflags_saved_cc
10630 ac_exeext=$ac_wine_try_cflags_saved_exeext
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10633 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10634 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10635 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10639 CFLAGS=$saved_CFLAGS
10640 CC="$ac_save_CC"
10643 if test "x$CROSSTARGET" = "x"; then :
10644 case "x$with_mingw" in
10645 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10646 xno) ;;
10647 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10648 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10649 esac
10654 if test "$ac_cv_header_pthread_h" = "yes"
10655 then
10656 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10657 if test "x$ac_cv_func_pthread_create" = xyes; then :
10659 else
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10661 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10662 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
10665 ac_check_lib_save_LIBS=$LIBS
10666 LIBS="-lpthread $LIBS"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10673 #ifdef __cplusplus
10674 extern "C"
10675 #endif
10676 char pthread_create ();
10678 main ()
10680 return pthread_create ();
10682 return 0;
10684 _ACEOF
10685 if ac_fn_c_try_link "$LINENO"; then :
10686 ac_cv_lib_pthread_pthread_create=yes
10687 else
10688 ac_cv_lib_pthread_pthread_create=no
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LIBS=$ac_check_lib_save_LIBS
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10695 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10696 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10697 PTHREAD_LIBS="-lpthread"
10704 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10705 case "x$with_pthread" in
10706 xno) ;;
10707 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10708 Wine cannot support threads without libpthread.
10709 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10710 esac
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10716 $as_echo_n "checking for X... " >&6; }
10719 # Check whether --with-x was given.
10720 if test "${with_x+set}" = set; then :
10721 withval=$with_x;
10724 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10725 if test "x$with_x" = xno; then
10726 # The user explicitly disabled X.
10727 have_x=disabled
10728 else
10729 case $x_includes,$x_libraries in #(
10730 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10731 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10732 $as_echo_n "(cached) " >&6
10733 else
10734 # One or both of the vars are not set, and there is no cached value.
10735 ac_x_includes=no ac_x_libraries=no
10736 rm -f -r conftest.dir
10737 if mkdir conftest.dir; then
10738 cd conftest.dir
10739 cat >Imakefile <<'_ACEOF'
10740 incroot:
10741 @echo incroot='${INCROOT}'
10742 usrlibdir:
10743 @echo usrlibdir='${USRLIBDIR}'
10744 libdir:
10745 @echo libdir='${LIBDIR}'
10746 _ACEOF
10747 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10748 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10749 for ac_var in incroot usrlibdir libdir; do
10750 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10751 done
10752 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10753 for ac_extension in a so sl dylib la dll; do
10754 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10755 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10756 ac_im_usrlibdir=$ac_im_libdir; break
10758 done
10759 # Screen out bogus values from the imake configuration. They are
10760 # bogus both because they are the default anyway, and because
10761 # using them would break gcc on systems where it needs fixed includes.
10762 case $ac_im_incroot in
10763 /usr/include) ac_x_includes= ;;
10764 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10765 esac
10766 case $ac_im_usrlibdir in
10767 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10768 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10769 esac
10771 cd ..
10772 rm -f -r conftest.dir
10775 # Standard set of common directories for X headers.
10776 # Check X11 before X11Rn because it is often a symlink to the current release.
10777 ac_x_header_dirs='
10778 /usr/X11/include
10779 /usr/X11R7/include
10780 /usr/X11R6/include
10781 /usr/X11R5/include
10782 /usr/X11R4/include
10784 /usr/include/X11
10785 /usr/include/X11R7
10786 /usr/include/X11R6
10787 /usr/include/X11R5
10788 /usr/include/X11R4
10790 /usr/local/X11/include
10791 /usr/local/X11R7/include
10792 /usr/local/X11R6/include
10793 /usr/local/X11R5/include
10794 /usr/local/X11R4/include
10796 /usr/local/include/X11
10797 /usr/local/include/X11R7
10798 /usr/local/include/X11R6
10799 /usr/local/include/X11R5
10800 /usr/local/include/X11R4
10802 /usr/X386/include
10803 /usr/x386/include
10804 /usr/XFree86/include/X11
10806 /usr/include
10807 /usr/local/include
10808 /usr/unsupported/include
10809 /usr/athena/include
10810 /usr/local/x11r5/include
10811 /usr/lpp/Xamples/include
10813 /usr/openwin/include
10814 /usr/openwin/share/include'
10816 if test "$ac_x_includes" = no; then
10817 # Guess where to find include files, by looking for Xlib.h.
10818 # First, try using that file with no special directory specified.
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10821 #include <X11/Xlib.h>
10822 _ACEOF
10823 if ac_fn_c_try_cpp "$LINENO"; then :
10824 # We can compile using X headers with no special include directory.
10825 ac_x_includes=
10826 else
10827 for ac_dir in $ac_x_header_dirs; do
10828 if test -r "$ac_dir/X11/Xlib.h"; then
10829 ac_x_includes=$ac_dir
10830 break
10832 done
10834 rm -f conftest.err conftest.i conftest.$ac_ext
10835 fi # $ac_x_includes = no
10837 if test "$ac_x_libraries" = no; then
10838 # Check for the libraries.
10839 # See if we find them without any special options.
10840 # Don't add to $LIBS permanently.
10841 ac_save_LIBS=$LIBS
10842 LIBS="-lX11 $LIBS"
10843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10845 #include <X11/Xlib.h>
10847 main ()
10849 XrmInitialize ()
10851 return 0;
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"; then :
10855 LIBS=$ac_save_LIBS
10856 # We can link X programs with no special library path.
10857 ac_x_libraries=
10858 else
10859 LIBS=$ac_save_LIBS
10860 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10862 # Don't even attempt the hair of trying to link an X program!
10863 for ac_extension in a so sl dylib la dll; do
10864 if test -r "$ac_dir/libX11.$ac_extension"; then
10865 ac_x_libraries=$ac_dir
10866 break 2
10868 done
10869 done
10871 rm -f core conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 fi # $ac_x_libraries = no
10875 case $ac_x_includes,$ac_x_libraries in #(
10876 no,* | *,no | *\'*)
10877 # Didn't find X, or a directory has "'" in its name.
10878 ac_cv_have_x="have_x=no";; #(
10880 # Record where we found X for the cache.
10881 ac_cv_have_x="have_x=yes\
10882 ac_x_includes='$ac_x_includes'\
10883 ac_x_libraries='$ac_x_libraries'"
10884 esac
10886 ;; #(
10887 *) have_x=yes;;
10888 esac
10889 eval "$ac_cv_have_x"
10890 fi # $with_x != no
10892 if test "$have_x" != yes; then
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10894 $as_echo "$have_x" >&6; }
10895 no_x=yes
10896 else
10897 # If each of the values was on the command line, it overrides each guess.
10898 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10899 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10900 # Update the cache value to reflect the command line values.
10901 ac_cv_have_x="have_x=yes\
10902 ac_x_includes='$x_includes'\
10903 ac_x_libraries='$x_libraries'"
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10905 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10908 if test "$no_x" = yes; then
10909 # Not all programs may use this symbol, but it does not hurt to define it.
10911 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10913 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10914 else
10915 if test -n "$x_includes"; then
10916 X_CFLAGS="$X_CFLAGS -I$x_includes"
10919 # It would also be nice to do this for all -L options, not just this one.
10920 if test -n "$x_libraries"; then
10921 X_LIBS="$X_LIBS -L$x_libraries"
10922 # For Solaris; some versions of Sun CC require a space after -R and
10923 # others require no space. Words are not sufficient . . . .
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10925 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10926 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10927 ac_xsave_c_werror_flag=$ac_c_werror_flag
10928 ac_c_werror_flag=yes
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10933 main ()
10937 return 0;
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"; then :
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10942 $as_echo "no" >&6; }
10943 X_LIBS="$X_LIBS -R$x_libraries"
10944 else
10945 LIBS="$ac_xsave_LIBS -R $x_libraries"
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10950 main ()
10954 return 0;
10956 _ACEOF
10957 if ac_fn_c_try_link "$LINENO"; then :
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10959 $as_echo "yes" >&6; }
10960 X_LIBS="$X_LIBS -R $x_libraries"
10961 else
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10963 $as_echo "neither works" >&6; }
10965 rm -f core conftest.err conftest.$ac_objext \
10966 conftest$ac_exeext conftest.$ac_ext
10968 rm -f core conftest.err conftest.$ac_objext \
10969 conftest$ac_exeext conftest.$ac_ext
10970 ac_c_werror_flag=$ac_xsave_c_werror_flag
10971 LIBS=$ac_xsave_LIBS
10974 # Check for system-dependent libraries X programs must link with.
10975 # Do this before checking for the system-independent R6 libraries
10976 # (-lICE), since we may need -lsocket or whatever for X linking.
10978 if test "$ISC" = yes; then
10979 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10980 else
10981 # Martyn Johnson says this is needed for Ultrix, if the X
10982 # libraries were built with DECnet support. And Karl Berry says
10983 # the Alpha needs dnet_stub (dnet does not exist).
10984 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10991 #ifdef __cplusplus
10992 extern "C"
10993 #endif
10994 char XOpenDisplay ();
10996 main ()
10998 return XOpenDisplay ();
11000 return 0;
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"; then :
11005 else
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11007 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11008 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11009 $as_echo_n "(cached) " >&6
11010 else
11011 ac_check_lib_save_LIBS=$LIBS
11012 LIBS="-ldnet $LIBS"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11016 /* Override any GCC internal prototype to avoid an error.
11017 Use char because int might match the return type of a GCC
11018 builtin and then its argument prototype would still apply. */
11019 #ifdef __cplusplus
11020 extern "C"
11021 #endif
11022 char dnet_ntoa ();
11024 main ()
11026 return dnet_ntoa ();
11028 return 0;
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"; then :
11032 ac_cv_lib_dnet_dnet_ntoa=yes
11033 else
11034 ac_cv_lib_dnet_dnet_ntoa=no
11036 rm -f core conftest.err conftest.$ac_objext \
11037 conftest$ac_exeext conftest.$ac_ext
11038 LIBS=$ac_check_lib_save_LIBS
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11041 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11042 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11043 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11046 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11048 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11049 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11050 $as_echo_n "(cached) " >&6
11051 else
11052 ac_check_lib_save_LIBS=$LIBS
11053 LIBS="-ldnet_stub $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_stub_dnet_ntoa=yes
11074 else
11075 ac_cv_lib_dnet_stub_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_stub_dnet_ntoa" >&5
11082 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11083 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11084 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11089 rm -f core conftest.err conftest.$ac_objext \
11090 conftest$ac_exeext conftest.$ac_ext
11091 LIBS="$ac_xsave_LIBS"
11093 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11094 # to get the SysV transport functions.
11095 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11096 # needs -lnsl.
11097 # The nsl library prevents programs from opening the X display
11098 # on Irix 5.2, according to T.E. Dickey.
11099 # The functions gethostbyname, getservbyname, and inet_addr are
11100 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11101 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11102 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11106 if test $ac_cv_func_gethostbyname = no; then
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11108 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11109 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11110 $as_echo_n "(cached) " >&6
11111 else
11112 ac_check_lib_save_LIBS=$LIBS
11113 LIBS="-lnsl $LIBS"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11120 #ifdef __cplusplus
11121 extern "C"
11122 #endif
11123 char gethostbyname ();
11125 main ()
11127 return gethostbyname ();
11129 return 0;
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"; then :
11133 ac_cv_lib_nsl_gethostbyname=yes
11134 else
11135 ac_cv_lib_nsl_gethostbyname=no
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11142 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11143 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11144 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11147 if test $ac_cv_lib_nsl_gethostbyname = no; then
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11149 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11150 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11151 $as_echo_n "(cached) " >&6
11152 else
11153 ac_check_lib_save_LIBS=$LIBS
11154 LIBS="-lbsd $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_bsd_gethostbyname=yes
11175 else
11176 ac_cv_lib_bsd_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_bsd_gethostbyname" >&5
11183 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11184 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11185 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11191 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11192 # socket/setsockopt and other routines are undefined under SCO ODT
11193 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11194 # on later versions), says Simon Leinen: it contains gethostby*
11195 # variants that don't use the name server (or something). -lsocket
11196 # must be given before -lnsl if both are needed. We assume that
11197 # if connect needs -lnsl, so does gethostbyname.
11198 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11199 if test "x$ac_cv_func_connect" = xyes; then :
11203 if test $ac_cv_func_connect = no; then
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11205 $as_echo_n "checking for connect in -lsocket... " >&6; }
11206 if ${ac_cv_lib_socket_connect+:} false; then :
11207 $as_echo_n "(cached) " >&6
11208 else
11209 ac_check_lib_save_LIBS=$LIBS
11210 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char connect ();
11222 main ()
11224 return connect ();
11226 return 0;
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"; then :
11230 ac_cv_lib_socket_connect=yes
11231 else
11232 ac_cv_lib_socket_connect=no
11234 rm -f core conftest.err conftest.$ac_objext \
11235 conftest$ac_exeext conftest.$ac_ext
11236 LIBS=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11239 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11240 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11241 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11246 # Guillermo Gomez says -lposix is necessary on A/UX.
11247 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11248 if test "x$ac_cv_func_remove" = xyes; then :
11252 if test $ac_cv_func_remove = no; then
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11254 $as_echo_n "checking for remove in -lposix... " >&6; }
11255 if ${ac_cv_lib_posix_remove+:} false; then :
11256 $as_echo_n "(cached) " >&6
11257 else
11258 ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lposix $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11263 /* Override any GCC internal prototype to avoid an error.
11264 Use char because int might match the return type of a GCC
11265 builtin and then its argument prototype would still apply. */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char remove ();
11271 main ()
11273 return remove ();
11275 return 0;
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279 ac_cv_lib_posix_remove=yes
11280 else
11281 ac_cv_lib_posix_remove=no
11283 rm -f core conftest.err conftest.$ac_objext \
11284 conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11288 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11289 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11290 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11295 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11296 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11297 if test "x$ac_cv_func_shmat" = xyes; then :
11301 if test $ac_cv_func_shmat = no; then
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11303 $as_echo_n "checking for shmat in -lipc... " >&6; }
11304 if ${ac_cv_lib_ipc_shmat+:} false; then :
11305 $as_echo_n "(cached) " >&6
11306 else
11307 ac_check_lib_save_LIBS=$LIBS
11308 LIBS="-lipc $LIBS"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11315 #ifdef __cplusplus
11316 extern "C"
11317 #endif
11318 char shmat ();
11320 main ()
11322 return shmat ();
11324 return 0;
11326 _ACEOF
11327 if ac_fn_c_try_link "$LINENO"; then :
11328 ac_cv_lib_ipc_shmat=yes
11329 else
11330 ac_cv_lib_ipc_shmat=no
11332 rm -f core conftest.err conftest.$ac_objext \
11333 conftest$ac_exeext conftest.$ac_ext
11334 LIBS=$ac_check_lib_save_LIBS
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11337 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11338 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11339 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11345 # Check for libraries that X11R6 Xt/Xaw programs need.
11346 ac_save_LDFLAGS=$LDFLAGS
11347 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11348 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11349 # check for ICE first), but we must link in the order -lSM -lICE or
11350 # we get undefined symbols. So assume we have SM if we have ICE.
11351 # These have to be linked with before -lX11, unlike the other
11352 # libraries we check for below, so use a different variable.
11353 # John Interrante, Karl Berry
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11355 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11356 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11357 $as_echo_n "(cached) " >&6
11358 else
11359 ac_check_lib_save_LIBS=$LIBS
11360 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11364 /* Override any GCC internal prototype to avoid an error.
11365 Use char because int might match the return type of a GCC
11366 builtin and then its argument prototype would still apply. */
11367 #ifdef __cplusplus
11368 extern "C"
11369 #endif
11370 char IceConnectionNumber ();
11372 main ()
11374 return IceConnectionNumber ();
11376 return 0;
11378 _ACEOF
11379 if ac_fn_c_try_link "$LINENO"; then :
11380 ac_cv_lib_ICE_IceConnectionNumber=yes
11381 else
11382 ac_cv_lib_ICE_IceConnectionNumber=no
11384 rm -f core conftest.err conftest.$ac_objext \
11385 conftest$ac_exeext conftest.$ac_ext
11386 LIBS=$ac_check_lib_save_LIBS
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11389 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11390 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11391 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11394 LDFLAGS=$ac_save_LDFLAGS
11399 if test "$have_x" = "yes"
11400 then
11401 ac_save_CPPFLAGS="$CPPFLAGS"
11402 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11405 $as_echo_n "checking for -lX11... " >&6; }
11406 if ${ac_cv_lib_soname_X11+:} false; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_soname_save_LIBS=$LIBS
11410 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char XCreateWindow ();
11422 main ()
11424 return XCreateWindow ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 case "$LIBEXT" in
11431 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11432 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'` ;;
11433 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11434 if ${ac_cv_lib_soname_X11:+false} :; then :
11435 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11436 fi ;;
11437 esac
11438 else
11439 ac_cv_lib_soname_X11=
11441 rm -f core conftest.err conftest.$ac_objext \
11442 conftest$ac_exeext conftest.$ac_ext
11443 LIBS=$ac_check_soname_save_LIBS
11445 if ${ac_cv_lib_soname_X11:+false} :; then :
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11447 $as_echo "not found" >&6; }
11449 else
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11451 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11453 cat >>confdefs.h <<_ACEOF
11454 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11455 _ACEOF
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11460 $as_echo_n "checking for -lXext... " >&6; }
11461 if ${ac_cv_lib_soname_Xext+:} false; then :
11462 $as_echo_n "(cached) " >&6
11463 else
11464 ac_check_soname_save_LIBS=$LIBS
11465 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11469 /* Override any GCC internal prototype to avoid an error.
11470 Use char because int might match the return type of a GCC
11471 builtin and then its argument prototype would still apply. */
11472 #ifdef __cplusplus
11473 extern "C"
11474 #endif
11475 char XextCreateExtension ();
11477 main ()
11479 return XextCreateExtension ();
11481 return 0;
11483 _ACEOF
11484 if ac_fn_c_try_link "$LINENO"; then :
11485 case "$LIBEXT" in
11486 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11487 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'` ;;
11488 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11489 if ${ac_cv_lib_soname_Xext:+false} :; then :
11490 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11491 fi ;;
11492 esac
11493 else
11494 ac_cv_lib_soname_Xext=
11496 rm -f core conftest.err conftest.$ac_objext \
11497 conftest$ac_exeext conftest.$ac_ext
11498 LIBS=$ac_check_soname_save_LIBS
11500 if ${ac_cv_lib_soname_Xext:+false} :; then :
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11502 $as_echo "not found" >&6; }
11504 else
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11506 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11508 cat >>confdefs.h <<_ACEOF
11509 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11510 _ACEOF
11512 X_LIBS="$X_LIBS -lXext"
11514 X_LIBS="$X_LIBS -lX11"
11516 for ac_header in X11/Xlib.h \
11517 X11/XKBlib.h \
11518 X11/Xutil.h \
11519 X11/Xcursor/Xcursor.h \
11520 X11/extensions/shape.h \
11521 X11/extensions/XInput.h \
11522 X11/extensions/XInput2.h \
11523 X11/extensions/XShm.h \
11524 X11/extensions/Xcomposite.h \
11525 X11/extensions/Xfixes.h \
11526 X11/extensions/Xinerama.h \
11527 X11/extensions/Xrandr.h \
11528 X11/extensions/Xrender.h \
11529 X11/extensions/xf86vmode.h \
11530 X11/extensions/xf86vmproto.h
11531 do :
11532 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11533 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11534 # include <X11/Xlib.h>
11535 #endif
11536 #ifdef HAVE_X11_XUTIL_H
11537 # include <X11/Xutil.h>
11538 #endif
11540 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11541 cat >>confdefs.h <<_ACEOF
11542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11543 _ACEOF
11547 done
11550 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11551 then
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11553 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11554 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11555 $as_echo_n "(cached) " >&6
11556 else
11557 ac_check_lib_save_LIBS=$LIBS
11558 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 /* Override any GCC internal prototype to avoid an error.
11563 Use char because int might match the return type of a GCC
11564 builtin and then its argument prototype would still apply. */
11565 #ifdef __cplusplus
11566 extern "C"
11567 #endif
11568 char XkbQueryExtension ();
11570 main ()
11572 return XkbQueryExtension ();
11574 return 0;
11576 _ACEOF
11577 if ac_fn_c_try_link "$LINENO"; then :
11578 ac_cv_lib_X11_XkbQueryExtension=yes
11579 else
11580 ac_cv_lib_X11_XkbQueryExtension=no
11582 rm -f core conftest.err conftest.$ac_objext \
11583 conftest$ac_exeext conftest.$ac_ext
11584 LIBS=$ac_check_lib_save_LIBS
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11587 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11588 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11590 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11596 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11597 then
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11599 $as_echo_n "checking for -lXcursor... " >&6; }
11600 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11601 $as_echo_n "(cached) " >&6
11602 else
11603 ac_check_soname_save_LIBS=$LIBS
11604 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11608 /* Override any GCC internal prototype to avoid an error.
11609 Use char because int might match the return type of a GCC
11610 builtin and then its argument prototype would still apply. */
11611 #ifdef __cplusplus
11612 extern "C"
11613 #endif
11614 char XcursorImageLoadCursor ();
11616 main ()
11618 return XcursorImageLoadCursor ();
11620 return 0;
11622 _ACEOF
11623 if ac_fn_c_try_link "$LINENO"; then :
11624 case "$LIBEXT" in
11625 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11626 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'` ;;
11627 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11628 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11629 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11630 fi ;;
11631 esac
11632 else
11633 ac_cv_lib_soname_Xcursor=
11635 rm -f core conftest.err conftest.$ac_objext \
11636 conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_soname_save_LIBS
11639 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11641 $as_echo "not found" >&6; }
11643 else
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11645 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11647 cat >>confdefs.h <<_ACEOF
11648 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11649 _ACEOF
11654 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11655 case "x$with_xcursor" in
11656 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11657 xno) ;;
11658 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11659 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11660 esac
11664 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11665 then
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11667 $as_echo_n "checking for -lXi... " >&6; }
11668 if ${ac_cv_lib_soname_Xi+:} false; then :
11669 $as_echo_n "(cached) " >&6
11670 else
11671 ac_check_soname_save_LIBS=$LIBS
11672 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11676 /* Override any GCC internal prototype to avoid an error.
11677 Use char because int might match the return type of a GCC
11678 builtin and then its argument prototype would still apply. */
11679 #ifdef __cplusplus
11680 extern "C"
11681 #endif
11682 char XOpenDevice ();
11684 main ()
11686 return XOpenDevice ();
11688 return 0;
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"; then :
11692 case "$LIBEXT" in
11693 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11694 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'` ;;
11695 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11696 if ${ac_cv_lib_soname_Xi:+false} :; then :
11697 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11698 fi ;;
11699 esac
11700 else
11701 ac_cv_lib_soname_Xi=
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_soname_save_LIBS
11707 if ${ac_cv_lib_soname_Xi:+false} :; then :
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11709 $as_echo "not found" >&6; }
11711 else
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11713 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11715 cat >>confdefs.h <<_ACEOF
11716 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11717 _ACEOF
11722 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11723 case "x$with_xinput" in
11724 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11725 xno) ;;
11726 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11727 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11728 esac
11732 if test "x$ac_cv_lib_soname_Xi" != x
11733 then
11734 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11735 case "x$with_xinput2" in
11736 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11737 xno) ;;
11738 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11739 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11740 esac
11745 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11746 then
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11748 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11749 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11750 $as_echo_n "(cached) " >&6
11751 else
11752 ac_check_lib_save_LIBS=$LIBS
11753 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11755 /* end confdefs.h. */
11757 /* Override any GCC internal prototype to avoid an error.
11758 Use char because int might match the return type of a GCC
11759 builtin and then its argument prototype would still apply. */
11760 #ifdef __cplusplus
11761 extern "C"
11762 #endif
11763 char XShmQueryExtension ();
11765 main ()
11767 return XShmQueryExtension ();
11769 return 0;
11771 _ACEOF
11772 if ac_fn_c_try_link "$LINENO"; then :
11773 ac_cv_lib_Xext_XShmQueryExtension=yes
11774 else
11775 ac_cv_lib_Xext_XShmQueryExtension=no
11777 rm -f core conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11779 LIBS=$ac_check_lib_save_LIBS
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11782 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11783 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11785 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11790 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11791 case "x$with_xshm" in
11792 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11793 xno) ;;
11794 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11795 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11796 esac
11800 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11801 then
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11803 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11804 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11805 $as_echo_n "(cached) " >&6
11806 else
11807 ac_check_lib_save_LIBS=$LIBS
11808 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 /* Override any GCC internal prototype to avoid an error.
11813 Use char because int might match the return type of a GCC
11814 builtin and then its argument prototype would still apply. */
11815 #ifdef __cplusplus
11816 extern "C"
11817 #endif
11818 char XShapeQueryExtension ();
11820 main ()
11822 return XShapeQueryExtension ();
11824 return 0;
11826 _ACEOF
11827 if ac_fn_c_try_link "$LINENO"; then :
11828 ac_cv_lib_Xext_XShapeQueryExtension=yes
11829 else
11830 ac_cv_lib_Xext_XShapeQueryExtension=no
11832 rm -f core conftest.err conftest.$ac_objext \
11833 conftest$ac_exeext conftest.$ac_ext
11834 LIBS=$ac_check_lib_save_LIBS
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11837 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11838 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11840 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11845 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11846 case "x$with_xshape" in
11847 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11848 xno) ;;
11849 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11850 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11851 esac
11855 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11856 then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11858 $as_echo_n "checking for -lXxf86vm... " >&6; }
11859 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11860 $as_echo_n "(cached) " >&6
11861 else
11862 ac_check_soname_save_LIBS=$LIBS
11863 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11870 #ifdef __cplusplus
11871 extern "C"
11872 #endif
11873 char XF86VidModeQueryExtension ();
11875 main ()
11877 return XF86VidModeQueryExtension ();
11879 return 0;
11881 _ACEOF
11882 if ac_fn_c_try_link "$LINENO"; then :
11883 case "$LIBEXT" in
11884 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11885 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'` ;;
11886 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11887 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11888 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11889 fi ;;
11890 esac
11891 else
11892 ac_cv_lib_soname_Xxf86vm=
11894 rm -f core conftest.err conftest.$ac_objext \
11895 conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_soname_save_LIBS
11898 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11900 $as_echo "not found" >&6; }
11902 else
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11904 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11906 cat >>confdefs.h <<_ACEOF
11907 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11908 _ACEOF
11913 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11914 case "x$with_xxf86vm" in
11915 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11916 xno) ;;
11917 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11918 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11919 esac
11923 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11924 then
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11926 $as_echo_n "checking for -lXrender... " >&6; }
11927 if ${ac_cv_lib_soname_Xrender+:} false; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_soname_save_LIBS=$LIBS
11931 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char XRenderQueryExtension ();
11943 main ()
11945 return XRenderQueryExtension ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 case "$LIBEXT" in
11952 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11953 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'` ;;
11954 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11955 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11956 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11957 fi ;;
11958 esac
11959 else
11960 ac_cv_lib_soname_Xrender=
11962 rm -f core conftest.err conftest.$ac_objext \
11963 conftest$ac_exeext conftest.$ac_ext
11964 LIBS=$ac_check_soname_save_LIBS
11966 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11968 $as_echo "not found" >&6; }
11970 else
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11972 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11974 cat >>confdefs.h <<_ACEOF
11975 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11976 _ACEOF
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11979 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11980 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11981 $as_echo_n "(cached) " >&6
11982 else
11983 ac_check_lib_save_LIBS=$LIBS
11984 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char XRenderSetPictureTransform ();
11996 main ()
11998 return XRenderSetPictureTransform ();
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12005 else
12006 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12008 rm -f core conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_lib_save_LIBS
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12013 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12014 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12016 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12021 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12022 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12023 $as_echo_n "(cached) " >&6
12024 else
12025 ac_check_lib_save_LIBS=$LIBS
12026 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12033 #ifdef __cplusplus
12034 extern "C"
12035 #endif
12036 char XRenderCreateLinearGradient ();
12038 main ()
12040 return XRenderCreateLinearGradient ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"; then :
12046 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12047 else
12048 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12050 rm -f core conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_lib_save_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12055 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12056 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12058 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12065 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12066 case "x$with_xrender" in
12067 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12068 xno) ;;
12069 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12070 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12071 esac
12075 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12076 then
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12079 #include <X11/Xlib.h>
12080 #include <X11/extensions/Xrandr.h>
12082 main ()
12084 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_compile "$LINENO"; then :
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12091 $as_echo_n "checking for -lXrandr... " >&6; }
12092 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12093 $as_echo_n "(cached) " >&6
12094 else
12095 ac_check_soname_save_LIBS=$LIBS
12096 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12100 /* Override any GCC internal prototype to avoid an error.
12101 Use char because int might match the return type of a GCC
12102 builtin and then its argument prototype would still apply. */
12103 #ifdef __cplusplus
12104 extern "C"
12105 #endif
12106 char XRRQueryExtension ();
12108 main ()
12110 return XRRQueryExtension ();
12112 return 0;
12114 _ACEOF
12115 if ac_fn_c_try_link "$LINENO"; then :
12116 case "$LIBEXT" in
12117 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12118 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'` ;;
12119 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12120 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12121 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12122 fi ;;
12123 esac
12124 else
12125 ac_cv_lib_soname_Xrandr=
12127 rm -f core conftest.err conftest.$ac_objext \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_soname_save_LIBS
12131 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12133 $as_echo "not found" >&6; }
12135 else
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12137 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12139 cat >>confdefs.h <<_ACEOF
12140 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12141 _ACEOF
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12145 #include <X11/Xlib.h>
12146 #include <X11/extensions/Xrandr.h>
12148 main ()
12150 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12152 return 0;
12154 _ACEOF
12155 if ac_fn_c_try_compile "$LINENO"; then :
12157 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12159 else
12160 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12167 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12168 case "x$with_xrandr" in
12169 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12170 xno) ;;
12171 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12172 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12173 esac
12177 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12178 then
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12181 #include <X11/Xlib.h>
12182 #include <X11/extensions/Xfixes.h>
12184 main ()
12186 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12188 return 0;
12190 _ACEOF
12191 if ac_fn_c_try_compile "$LINENO"; then :
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12193 $as_echo_n "checking for -lXfixes... " >&6; }
12194 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12195 $as_echo_n "(cached) " >&6
12196 else
12197 ac_check_soname_save_LIBS=$LIBS
12198 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12202 /* Override any GCC internal prototype to avoid an error.
12203 Use char because int might match the return type of a GCC
12204 builtin and then its argument prototype would still apply. */
12205 #ifdef __cplusplus
12206 extern "C"
12207 #endif
12208 char XFixesQueryVersion ();
12210 main ()
12212 return XFixesQueryVersion ();
12214 return 0;
12216 _ACEOF
12217 if ac_fn_c_try_link "$LINENO"; then :
12218 case "$LIBEXT" in
12219 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12220 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'` ;;
12221 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12222 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12223 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12224 fi ;;
12225 esac
12226 else
12227 ac_cv_lib_soname_Xfixes=
12229 rm -f core conftest.err conftest.$ac_objext \
12230 conftest$ac_exeext conftest.$ac_ext
12231 LIBS=$ac_check_soname_save_LIBS
12233 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12235 $as_echo "not found" >&6; }
12237 else
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12239 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12241 cat >>confdefs.h <<_ACEOF
12242 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12243 _ACEOF
12248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12250 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12251 case "x$with_xfixes" in
12252 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12253 xno) ;;
12254 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12255 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12256 esac
12260 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12261 then
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12264 #include <X11/Xlib.h>
12265 #include <X11/extensions/Xinerama.h>
12267 main ()
12269 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12271 return 0;
12273 _ACEOF
12274 if ac_fn_c_try_compile "$LINENO"; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12276 $as_echo_n "checking for -lXinerama... " >&6; }
12277 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12278 $as_echo_n "(cached) " >&6
12279 else
12280 ac_check_soname_save_LIBS=$LIBS
12281 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12285 /* Override any GCC internal prototype to avoid an error.
12286 Use char because int might match the return type of a GCC
12287 builtin and then its argument prototype would still apply. */
12288 #ifdef __cplusplus
12289 extern "C"
12290 #endif
12291 char XineramaQueryScreens ();
12293 main ()
12295 return XineramaQueryScreens ();
12297 return 0;
12299 _ACEOF
12300 if ac_fn_c_try_link "$LINENO"; then :
12301 case "$LIBEXT" in
12302 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12303 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'` ;;
12304 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12305 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12306 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12307 fi ;;
12308 esac
12309 else
12310 ac_cv_lib_soname_Xinerama=
12312 rm -f core conftest.err conftest.$ac_objext \
12313 conftest$ac_exeext conftest.$ac_ext
12314 LIBS=$ac_check_soname_save_LIBS
12316 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12318 $as_echo "not found" >&6; }
12320 else
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12322 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12324 cat >>confdefs.h <<_ACEOF
12325 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12326 _ACEOF
12331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12333 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12334 case "x$with_xinerama" in
12335 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12336 xno) ;;
12337 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12338 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12339 esac
12343 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12344 then
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12346 $as_echo_n "checking for -lXcomposite... " >&6; }
12347 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12348 $as_echo_n "(cached) " >&6
12349 else
12350 ac_check_soname_save_LIBS=$LIBS
12351 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12355 /* Override any GCC internal prototype to avoid an error.
12356 Use char because int might match the return type of a GCC
12357 builtin and then its argument prototype would still apply. */
12358 #ifdef __cplusplus
12359 extern "C"
12360 #endif
12361 char XCompositeRedirectWindow ();
12363 main ()
12365 return XCompositeRedirectWindow ();
12367 return 0;
12369 _ACEOF
12370 if ac_fn_c_try_link "$LINENO"; then :
12371 case "$LIBEXT" in
12372 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12373 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'` ;;
12374 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12375 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12376 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12377 fi ;;
12378 esac
12379 else
12380 ac_cv_lib_soname_Xcomposite=
12382 rm -f core conftest.err conftest.$ac_objext \
12383 conftest$ac_exeext conftest.$ac_ext
12384 LIBS=$ac_check_soname_save_LIBS
12386 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12388 $as_echo "not found" >&6; }
12390 else
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12392 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12394 cat >>confdefs.h <<_ACEOF
12395 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12396 _ACEOF
12401 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12402 case "x$with_xcomposite" in
12403 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12404 xno) ;;
12405 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12406 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12407 esac
12411 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12412 #include <X11/Xlib.h>
12413 #endif
12415 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12417 cat >>confdefs.h <<_ACEOF
12418 #define HAVE_XICCALLBACK_CALLBACK 1
12419 _ACEOF
12423 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12424 #include <X11/Xlib.h>
12425 #endif
12427 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12429 cat >>confdefs.h <<_ACEOF
12430 #define HAVE_XEVENT_XCOOKIE 1
12431 _ACEOF
12438 opengl_msg=""
12439 if test "x$with_opengl" != "xno"
12440 then
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12442 $as_echo_n "checking for -lGL... " >&6; }
12443 if ${ac_cv_lib_soname_GL+:} false; then :
12444 $as_echo_n "(cached) " >&6
12445 else
12446 ac_check_soname_save_LIBS=$LIBS
12447 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12451 /* Override any GCC internal prototype to avoid an error.
12452 Use char because int might match the return type of a GCC
12453 builtin and then its argument prototype would still apply. */
12454 #ifdef __cplusplus
12455 extern "C"
12456 #endif
12457 char glXCreateContext ();
12459 main ()
12461 return glXCreateContext ();
12463 return 0;
12465 _ACEOF
12466 if ac_fn_c_try_link "$LINENO"; then :
12467 case "$LIBEXT" in
12468 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12469 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'` ;;
12470 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12471 if ${ac_cv_lib_soname_GL:+false} :; then :
12472 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12473 fi ;;
12474 esac
12475 else
12476 ac_cv_lib_soname_GL=
12478 rm -f core conftest.err conftest.$ac_objext \
12479 conftest$ac_exeext conftest.$ac_ext
12480 LIBS=$ac_check_soname_save_LIBS
12482 if ${ac_cv_lib_soname_GL:+false} :; then :
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12484 $as_echo "not found" >&6; }
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12486 $as_echo_n "checking for -lGL... " >&6; }
12487 if ${ac_cv_lib_soname_GL+:} false; then :
12488 $as_echo_n "(cached) " >&6
12489 else
12490 ac_check_soname_save_LIBS=$LIBS
12491 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"
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12498 #ifdef __cplusplus
12499 extern "C"
12500 #endif
12501 char glXCreateContext ();
12503 main ()
12505 return glXCreateContext ();
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_link "$LINENO"; then :
12511 case "$LIBEXT" in
12512 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12513 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'` ;;
12514 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12515 if ${ac_cv_lib_soname_GL:+false} :; then :
12516 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12517 fi ;;
12518 esac
12519 else
12520 ac_cv_lib_soname_GL=
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 LIBS=$ac_check_soname_save_LIBS
12526 if ${ac_cv_lib_soname_GL:+false} :; then :
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12528 $as_echo "not found" >&6; }
12529 if test -f /usr/X11R6/lib/libGL.a
12530 then
12531 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12532 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12533 else
12534 opengl_msg="No OpenGL library found on this system."
12536 else
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12538 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12540 cat >>confdefs.h <<_ACEOF
12541 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12542 _ACEOF
12544 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"
12546 else
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12548 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12550 cat >>confdefs.h <<_ACEOF
12551 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12552 _ACEOF
12554 OPENGL_LIBS="-lGL"
12556 if test "x$with_osmesa" != "xno"
12557 then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12559 $as_echo_n "checking for -lOSMesa... " >&6; }
12560 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12561 $as_echo_n "(cached) " >&6
12562 else
12563 ac_check_soname_save_LIBS=$LIBS
12564 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12568 /* Override any GCC internal prototype to avoid an error.
12569 Use char because int might match the return type of a GCC
12570 builtin and then its argument prototype would still apply. */
12571 #ifdef __cplusplus
12572 extern "C"
12573 #endif
12574 char OSMesaGetProcAddress ();
12576 main ()
12578 return OSMesaGetProcAddress ();
12580 return 0;
12582 _ACEOF
12583 if ac_fn_c_try_link "$LINENO"; then :
12584 case "$LIBEXT" in
12585 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12586 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'` ;;
12587 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12588 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12589 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12590 fi ;;
12591 esac
12592 else
12593 ac_cv_lib_soname_OSMesa=
12595 rm -f core conftest.err conftest.$ac_objext \
12596 conftest$ac_exeext conftest.$ac_ext
12597 LIBS=$ac_check_soname_save_LIBS
12599 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12601 $as_echo "not found" >&6; }
12603 else
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12605 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12607 cat >>confdefs.h <<_ACEOF
12608 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12609 _ACEOF
12613 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12614 case "x$with_osmesa" in
12615 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12616 xno) ;;
12617 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12618 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12619 esac
12624 if test -n "$opengl_msg"; then :
12625 case "x$with_opengl" in
12626 x) as_fn_append wine_warnings "|$opengl_msg
12627 OpenGL and Direct3D won't be supported." ;;
12628 xno) ;;
12629 *) as_fn_error $? "$opengl_msg
12630 OpenGL and Direct3D won't be supported.
12631 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12632 esac
12636 CPPFLAGS="$ac_save_CPPFLAGS"
12637 else
12638 X_CFLAGS=""
12639 X_LIBS=""
12642 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12643 then
12644 if test "x$X_LIBS" = "x"; then :
12645 case "x$with_x" in
12646 xno) ;;
12647 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12648 without X support, which probably isn't what you want. You will need
12649 to install ${notice_platform}development packages of Xlib at the very least.
12650 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12651 esac
12652 enable_winex11_drv=${enable_winex11_drv:-no}
12654 else
12655 if test "x$X_LIBS" = "x"; then :
12656 case "x$with_x" in
12657 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12658 xno) ;;
12659 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12660 This is an error since --with-x was requested." "$LINENO" 5 ;;
12661 esac
12662 enable_winex11_drv=${enable_winex11_drv:-no}
12666 if test "$ac_cv_header_CL_cl_h" = "yes"
12667 then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12669 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12670 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12671 $as_echo_n "(cached) " >&6
12672 else
12673 ac_check_lib_save_LIBS=$LIBS
12674 LIBS="-lOpenCL $LIBS"
12675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12676 /* end confdefs.h. */
12678 /* Override any GCC internal prototype to avoid an error.
12679 Use char because int might match the return type of a GCC
12680 builtin and then its argument prototype would still apply. */
12681 #ifdef __cplusplus
12682 extern "C"
12683 #endif
12684 char clGetPlatformInfo ();
12686 main ()
12688 return clGetPlatformInfo ();
12690 return 0;
12692 _ACEOF
12693 if ac_fn_c_try_link "$LINENO"; then :
12694 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12695 else
12696 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12698 rm -f core conftest.err conftest.$ac_objext \
12699 conftest$ac_exeext conftest.$ac_ext
12700 LIBS=$ac_check_lib_save_LIBS
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12703 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12704 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12705 OPENCL_LIBS="-lOpenCL"
12710 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12711 case "x$with_opencl" in
12712 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12713 xno) ;;
12714 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12715 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12716 esac
12717 enable_opencl=${enable_opencl:-no}
12720 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12721 then
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12723 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12724 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12725 $as_echo_n "(cached) " >&6
12726 else
12727 ac_check_lib_save_LIBS=$LIBS
12728 LIBS="-lpcap $LIBS"
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12735 #ifdef __cplusplus
12736 extern "C"
12737 #endif
12738 char pcap_create ();
12740 main ()
12742 return pcap_create ();
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_pcap_pcap_create=yes
12749 else
12750 ac_cv_lib_pcap_pcap_create=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LIBS=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12757 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12758 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12759 PCAP_LIBS="-lpcap"
12764 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12765 case "x$with_pcap" in
12766 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12767 xno) ;;
12768 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12769 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12770 esac
12771 enable_wpcap=${enable_wpcap:-no}
12775 if test "x$with_xml" != "xno"
12776 then
12777 if ${XML2_CFLAGS:+false} :; then :
12778 if ${PKG_CONFIG+:} false; then :
12779 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12782 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12783 if ${XML2_LIBS:+false} :; then :
12784 if ${PKG_CONFIG+:} false; then :
12785 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12788 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12789 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12790 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12791 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12792 ac_save_CPPFLAGS=$CPPFLAGS
12793 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12794 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12795 do :
12796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12797 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12798 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12799 cat >>confdefs.h <<_ACEOF
12800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12801 _ACEOF
12805 done
12807 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"
12808 then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12810 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12811 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12812 $as_echo_n "(cached) " >&6
12813 else
12814 ac_check_lib_save_LIBS=$LIBS
12815 LIBS="-lxml2 $XML2_LIBS $LIBS"
12816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12822 #ifdef __cplusplus
12823 extern "C"
12824 #endif
12825 char xmlParseMemory ();
12827 main ()
12829 return xmlParseMemory ();
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_link "$LINENO"; then :
12835 ac_cv_lib_xml2_xmlParseMemory=yes
12836 else
12837 ac_cv_lib_xml2_xmlParseMemory=no
12839 rm -f core conftest.err conftest.$ac_objext \
12840 conftest$ac_exeext conftest.$ac_ext
12841 LIBS=$ac_check_lib_save_LIBS
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12844 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12845 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12847 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12849 else
12850 XML2_LIBS=""
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12854 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12855 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12856 $as_echo_n "(cached) " >&6
12857 else
12858 ac_check_lib_save_LIBS=$LIBS
12859 LIBS="-lxml2 $XML2_LIBS $LIBS"
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12866 #ifdef __cplusplus
12867 extern "C"
12868 #endif
12869 char xmlReadMemory ();
12871 main ()
12873 return xmlReadMemory ();
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_link "$LINENO"; then :
12879 ac_cv_lib_xml2_xmlReadMemory=yes
12880 else
12881 ac_cv_lib_xml2_xmlReadMemory=no
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12888 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12889 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12891 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12896 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12897 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12898 $as_echo_n "(cached) " >&6
12899 else
12900 ac_check_lib_save_LIBS=$LIBS
12901 LIBS="-lxml2 $XML2_LIBS $LIBS"
12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12905 /* Override any GCC internal prototype to avoid an error.
12906 Use char because int might match the return type of a GCC
12907 builtin and then its argument prototype would still apply. */
12908 #ifdef __cplusplus
12909 extern "C"
12910 #endif
12911 char xmlNewDocPI ();
12913 main ()
12915 return xmlNewDocPI ();
12917 return 0;
12919 _ACEOF
12920 if ac_fn_c_try_link "$LINENO"; then :
12921 ac_cv_lib_xml2_xmlNewDocPI=yes
12922 else
12923 ac_cv_lib_xml2_xmlNewDocPI=no
12925 rm -f core conftest.err conftest.$ac_objext \
12926 conftest$ac_exeext conftest.$ac_ext
12927 LIBS=$ac_check_lib_save_LIBS
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12930 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12931 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12933 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12938 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12939 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12940 $as_echo_n "(cached) " >&6
12941 else
12942 ac_check_lib_save_LIBS=$LIBS
12943 LIBS="-lxml2 $XML2_LIBS $LIBS"
12944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12947 /* Override any GCC internal prototype to avoid an error.
12948 Use char because int might match the return type of a GCC
12949 builtin and then its argument prototype would still apply. */
12950 #ifdef __cplusplus
12951 extern "C"
12952 #endif
12953 char xmlSchemaSetParserStructuredErrors ();
12955 main ()
12957 return xmlSchemaSetParserStructuredErrors ();
12959 return 0;
12961 _ACEOF
12962 if ac_fn_c_try_link "$LINENO"; then :
12963 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12964 else
12965 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12967 rm -f core conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12969 LIBS=$ac_check_lib_save_LIBS
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12972 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12973 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12975 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12980 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12981 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12982 $as_echo_n "(cached) " >&6
12983 else
12984 ac_check_lib_save_LIBS=$LIBS
12985 LIBS="-lxml2 $XML2_LIBS $LIBS"
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12989 /* Override any GCC internal prototype to avoid an error.
12990 Use char because int might match the return type of a GCC
12991 builtin and then its argument prototype would still apply. */
12992 #ifdef __cplusplus
12993 extern "C"
12994 #endif
12995 char xmlSchemaSetValidStructuredErrors ();
12997 main ()
12999 return xmlSchemaSetValidStructuredErrors ();
13001 return 0;
13003 _ACEOF
13004 if ac_fn_c_try_link "$LINENO"; then :
13005 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13006 else
13007 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13009 rm -f core conftest.err conftest.$ac_objext \
13010 conftest$ac_exeext conftest.$ac_ext
13011 LIBS=$ac_check_lib_save_LIBS
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13014 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13015 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13017 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13022 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13023 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13024 $as_echo_n "(cached) " >&6
13025 else
13026 ac_check_lib_save_LIBS=$LIBS
13027 LIBS="-lxml2 $XML2_LIBS $LIBS"
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 #endif
13037 char xmlFirstElementChild ();
13039 main ()
13041 return xmlFirstElementChild ();
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_link "$LINENO"; then :
13047 ac_cv_lib_xml2_xmlFirstElementChild=yes
13048 else
13049 ac_cv_lib_xml2_xmlFirstElementChild=no
13051 rm -f core conftest.err conftest.$ac_objext \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_lib_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13056 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13057 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13059 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13063 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13065 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13067 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13071 else
13072 XML2_CFLAGS=""
13073 XML2_LIBS=""
13075 CPPFLAGS=$ac_save_CPPFLAGS
13078 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13079 case "x$with_xml" in
13080 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13081 xno) ;;
13082 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13083 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13084 esac
13088 if test "x$with_xslt" != "xno"
13089 then
13090 if ${XSLT_CFLAGS:+false} :; then :
13091 if ${PKG_CONFIG+:} false; then :
13092 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13095 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13096 if ${XSLT_LIBS:+false} :; then :
13097 if ${PKG_CONFIG+:} false; then :
13098 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13101 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13102 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13103 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13104 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13105 ac_save_CPPFLAGS=$CPPFLAGS
13106 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13107 for ac_header in libxslt/pattern.h libxslt/transform.h
13108 do :
13109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13110 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13111 # include <libxslt/pattern.h>
13112 #endif
13114 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13115 cat >>confdefs.h <<_ACEOF
13116 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13117 _ACEOF
13121 done
13123 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13124 then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13126 $as_echo_n "checking for -lxslt... " >&6; }
13127 if ${ac_cv_lib_soname_xslt+:} false; then :
13128 $as_echo_n "(cached) " >&6
13129 else
13130 ac_check_soname_save_LIBS=$LIBS
13131 LIBS="-lxslt $XSLT_LIBS $LIBS"
13132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13135 /* Override any GCC internal prototype to avoid an error.
13136 Use char because int might match the return type of a GCC
13137 builtin and then its argument prototype would still apply. */
13138 #ifdef __cplusplus
13139 extern "C"
13140 #endif
13141 char xsltCompilePattern ();
13143 main ()
13145 return xsltCompilePattern ();
13147 return 0;
13149 _ACEOF
13150 if ac_fn_c_try_link "$LINENO"; then :
13151 case "$LIBEXT" in
13152 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13153 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'` ;;
13154 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13155 if ${ac_cv_lib_soname_xslt:+false} :; then :
13156 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13157 fi ;;
13158 esac
13159 else
13160 ac_cv_lib_soname_xslt=
13162 rm -f core conftest.err conftest.$ac_objext \
13163 conftest$ac_exeext conftest.$ac_ext
13164 LIBS=$ac_check_soname_save_LIBS
13166 if ${ac_cv_lib_soname_xslt:+false} :; then :
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13168 $as_echo "not found" >&6; }
13170 else
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13172 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13174 cat >>confdefs.h <<_ACEOF
13175 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13176 _ACEOF
13180 else
13181 XSLT_CFLAGS=""
13183 CPPFLAGS=$ac_save_CPPFLAGS
13186 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13187 case "x$with_xslt" in
13188 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13189 xno) ;;
13190 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13191 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13192 esac
13196 if test "x$with_inotify" != "xno"
13197 then
13198 if ${INOTIFY_CFLAGS:+false} :; then :
13199 if ${PKG_CONFIG+:} false; then :
13200 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13204 if ${INOTIFY_LIBS:+false} :; then :
13205 if ${PKG_CONFIG+:} false; then :
13206 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13211 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13212 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13213 ac_save_CPPFLAGS=$CPPFLAGS
13214 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13215 for ac_header in sys/inotify.h
13216 do :
13217 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13218 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13219 cat >>confdefs.h <<_ACEOF
13220 #define HAVE_SYS_INOTIFY_H 1
13221 _ACEOF
13225 done
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13228 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13229 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13230 $as_echo_n "(cached) " >&6
13231 else
13232 ac_check_lib_save_LIBS=$LIBS
13233 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13240 #ifdef __cplusplus
13241 extern "C"
13242 #endif
13243 char inotify_add_watch ();
13245 main ()
13247 return inotify_add_watch ();
13249 return 0;
13251 _ACEOF
13252 if ac_fn_c_try_link "$LINENO"; then :
13253 ac_cv_lib_inotify_inotify_add_watch=yes
13254 else
13255 ac_cv_lib_inotify_inotify_add_watch=no
13257 rm -f core conftest.err conftest.$ac_objext \
13258 conftest$ac_exeext conftest.$ac_ext
13259 LIBS=$ac_check_lib_save_LIBS
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13262 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13263 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13265 else
13266 INOTIFY_LIBS=""
13269 CPPFLAGS=$ac_save_CPPFLAGS
13272 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13273 case "x$with_inotify" in
13274 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13275 xno) ;;
13276 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13277 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13278 esac
13282 if test "x$with_dbus" != "xno"
13283 then
13284 if ${DBUS_CFLAGS:+false} :; then :
13285 if ${PKG_CONFIG+:} false; then :
13286 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13290 if ${DBUS_LIBS:+false} :; then :
13291 if ${PKG_CONFIG+:} false; then :
13292 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13297 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13298 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13299 ac_save_CPPFLAGS=$CPPFLAGS
13300 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13301 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13302 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13304 $as_echo_n "checking for -ldbus-1... " >&6; }
13305 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13306 $as_echo_n "(cached) " >&6
13307 else
13308 ac_check_soname_save_LIBS=$LIBS
13309 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13316 #ifdef __cplusplus
13317 extern "C"
13318 #endif
13319 char dbus_connection_close ();
13321 main ()
13323 return dbus_connection_close ();
13325 return 0;
13327 _ACEOF
13328 if ac_fn_c_try_link "$LINENO"; then :
13329 case "$LIBEXT" in
13330 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13331 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'` ;;
13332 *) 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'`
13333 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13334 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13335 fi ;;
13336 esac
13337 else
13338 ac_cv_lib_soname_dbus_1=
13340 rm -f core conftest.err conftest.$ac_objext \
13341 conftest$ac_exeext conftest.$ac_ext
13342 LIBS=$ac_check_soname_save_LIBS
13344 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13346 $as_echo "not found" >&6; }
13347 DBUS_CFLAGS=""
13348 else
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13350 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13352 cat >>confdefs.h <<_ACEOF
13353 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13354 _ACEOF
13358 else
13359 DBUS_CFLAGS=""
13363 CPPFLAGS=$ac_save_CPPFLAGS
13366 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13367 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13368 case "x$with_dbus" in
13369 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13370 xno) ;;
13371 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13372 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13373 esac
13377 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13378 then
13379 if ${HAL_CFLAGS:+false} :; then :
13380 if ${PKG_CONFIG+:} false; then :
13381 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13385 if ${HAL_LIBS:+false} :; then :
13386 if ${PKG_CONFIG+:} false; then :
13387 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13391 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13392 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13393 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13394 ac_save_CPPFLAGS=$CPPFLAGS
13395 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13396 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13397 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13399 $as_echo_n "checking for -lhal... " >&6; }
13400 if ${ac_cv_lib_soname_hal+:} false; then :
13401 $as_echo_n "(cached) " >&6
13402 else
13403 ac_check_soname_save_LIBS=$LIBS
13404 LIBS="-lhal $HAL_LIBS $LIBS"
13405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13406 /* end confdefs.h. */
13408 /* Override any GCC internal prototype to avoid an error.
13409 Use char because int might match the return type of a GCC
13410 builtin and then its argument prototype would still apply. */
13411 #ifdef __cplusplus
13412 extern "C"
13413 #endif
13414 char libhal_ctx_new ();
13416 main ()
13418 return libhal_ctx_new ();
13420 return 0;
13422 _ACEOF
13423 if ac_fn_c_try_link "$LINENO"; then :
13424 case "$LIBEXT" in
13425 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13426 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'` ;;
13427 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13428 if ${ac_cv_lib_soname_hal:+false} :; then :
13429 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13430 fi ;;
13431 esac
13432 else
13433 ac_cv_lib_soname_hal=
13435 rm -f core conftest.err conftest.$ac_objext \
13436 conftest$ac_exeext conftest.$ac_ext
13437 LIBS=$ac_check_soname_save_LIBS
13439 if ${ac_cv_lib_soname_hal:+false} :; then :
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13441 $as_echo "not found" >&6; }
13442 HAL_CFLAGS=""
13443 else
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13445 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13447 cat >>confdefs.h <<_ACEOF
13448 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13449 _ACEOF
13453 else
13454 HAL_CFLAGS=""
13458 CPPFLAGS=$ac_save_CPPFLAGS
13460 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13461 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13462 case "x$with_hal" in
13463 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13464 xno) ;;
13465 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13466 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13467 esac
13472 if test "x$with_gnutls" != "xno"
13473 then
13474 if ${GNUTLS_CFLAGS:+false} :; then :
13475 if ${PKG_CONFIG+:} false; then :
13476 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13480 if ${GNUTLS_LIBS:+false} :; then :
13481 if ${PKG_CONFIG+:} false; then :
13482 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13486 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13487 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13488 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13489 ac_save_CPPFLAGS=$CPPFLAGS
13490 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13491 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13492 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13495 #include <gnutls/gnutls.h>
13496 #include <gnutls/crypto.h>
13498 main ()
13500 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13502 return 0;
13504 _ACEOF
13505 if ac_fn_c_try_compile "$LINENO"; then :
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13507 $as_echo_n "checking for -lgnutls... " >&6; }
13508 if ${ac_cv_lib_soname_gnutls+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13511 ac_check_soname_save_LIBS=$LIBS
13512 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13519 #ifdef __cplusplus
13520 extern "C"
13521 #endif
13522 char gnutls_global_init ();
13524 main ()
13526 return gnutls_global_init ();
13528 return 0;
13530 _ACEOF
13531 if ac_fn_c_try_link "$LINENO"; then :
13532 case "$LIBEXT" in
13533 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13534 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'` ;;
13535 *) 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'`
13536 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13537 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'`
13538 fi ;;
13539 esac
13540 else
13541 ac_cv_lib_soname_gnutls=
13543 rm -f core conftest.err conftest.$ac_objext \
13544 conftest$ac_exeext conftest.$ac_ext
13545 LIBS=$ac_check_soname_save_LIBS
13547 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13549 $as_echo "not found" >&6; }
13550 GNUTLS_CFLAGS=""
13551 else
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13553 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13555 cat >>confdefs.h <<_ACEOF
13556 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13557 _ACEOF
13561 ac_wine_check_funcs_save_LIBS="$LIBS"
13562 LIBS="$LIBS $GNUTLS_LIBS"
13563 for ac_func in gnutls_cipher_init
13564 do :
13565 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13566 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13567 cat >>confdefs.h <<_ACEOF
13568 #define HAVE_GNUTLS_CIPHER_INIT 1
13569 _ACEOF
13571 else
13572 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13574 done
13576 LIBS="$ac_wine_check_funcs_save_LIBS"
13578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13579 else
13580 GNUTLS_CFLAGS=""
13584 CPPFLAGS=$ac_save_CPPFLAGS
13587 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13588 case "x$with_gnutls" in
13589 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13590 xno) ;;
13591 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13592 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13593 esac
13597 if test "x$with_sane" != "xno"
13598 then
13599 if ${SANE_CFLAGS:+false} :; then :
13600 if ${PKG_CONFIG+:} false; then :
13601 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13604 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13605 if ${SANE_LIBS:+false} :; then :
13606 if ${PKG_CONFIG+:} false; then :
13607 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13610 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13612 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13613 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13614 ac_save_CPPFLAGS=$CPPFLAGS
13615 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13616 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13617 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13619 $as_echo_n "checking for -lsane... " >&6; }
13620 if ${ac_cv_lib_soname_sane+:} false; then :
13621 $as_echo_n "(cached) " >&6
13622 else
13623 ac_check_soname_save_LIBS=$LIBS
13624 LIBS="-lsane $SANE_LIBS $LIBS"
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 /* Override any GCC internal prototype to avoid an error.
13629 Use char because int might match the return type of a GCC
13630 builtin and then its argument prototype would still apply. */
13631 #ifdef __cplusplus
13632 extern "C"
13633 #endif
13634 char sane_init ();
13636 main ()
13638 return sane_init ();
13640 return 0;
13642 _ACEOF
13643 if ac_fn_c_try_link "$LINENO"; then :
13644 case "$LIBEXT" in
13645 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13646 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'` ;;
13647 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13648 if ${ac_cv_lib_soname_sane:+false} :; then :
13649 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13650 fi ;;
13651 esac
13652 else
13653 ac_cv_lib_soname_sane=
13655 rm -f core conftest.err conftest.$ac_objext \
13656 conftest$ac_exeext conftest.$ac_ext
13657 LIBS=$ac_check_soname_save_LIBS
13659 if ${ac_cv_lib_soname_sane:+false} :; then :
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13661 $as_echo "not found" >&6; }
13662 SANE_CFLAGS=""
13663 else
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13665 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13667 cat >>confdefs.h <<_ACEOF
13668 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13669 _ACEOF
13673 else
13674 SANE_CFLAGS=""
13678 CPPFLAGS=$ac_save_CPPFLAGS
13681 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13682 case "x$with_sane" in
13683 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13684 xno) ;;
13685 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13686 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13687 esac
13691 if test "x$with_usb" != "xno"
13692 then
13693 if ${USB_CFLAGS:+false} :; then :
13694 if ${PKG_CONFIG+:} false; then :
13695 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13699 if ${USB_LIBS:+false} :; then :
13700 if ${PKG_CONFIG+:} false; then :
13701 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13705 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13706 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13707 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13708 ac_save_CPPFLAGS=$CPPFLAGS
13709 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13710 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13711 if test "x$ac_cv_header_libusb_h" = xyes; then :
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13713 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13714 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13715 $as_echo_n "(cached) " >&6
13716 else
13717 ac_check_lib_save_LIBS=$LIBS
13718 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13722 /* Override any GCC internal prototype to avoid an error.
13723 Use char because int might match the return type of a GCC
13724 builtin and then its argument prototype would still apply. */
13725 #ifdef __cplusplus
13726 extern "C"
13727 #endif
13728 char libusb_interrupt_event_handler ();
13730 main ()
13732 return libusb_interrupt_event_handler ();
13734 return 0;
13736 _ACEOF
13737 if ac_fn_c_try_link "$LINENO"; then :
13738 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13739 else
13740 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13742 rm -f core conftest.err conftest.$ac_objext \
13743 conftest$ac_exeext conftest.$ac_ext
13744 LIBS=$ac_check_lib_save_LIBS
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13747 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13748 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13750 else
13751 USB_LIBS=""
13754 else
13755 USB_LIBS=""
13759 CPPFLAGS=$ac_save_CPPFLAGS
13762 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13763 case "x$with_usb" in
13764 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13765 xno) ;;
13766 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13767 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13768 esac
13769 enable_wineusb_sys=${enable_wineusb_sys:-no}
13772 if test "x$with_v4l2" != "xno"
13773 then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13775 $as_echo_n "checking for -lv4l2... " >&6; }
13776 if ${ac_cv_lib_soname_v4l2+:} false; then :
13777 $as_echo_n "(cached) " >&6
13778 else
13779 ac_check_soname_save_LIBS=$LIBS
13780 LIBS="-lv4l2 $LIBS"
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 /* Override any GCC internal prototype to avoid an error.
13785 Use char because int might match the return type of a GCC
13786 builtin and then its argument prototype would still apply. */
13787 #ifdef __cplusplus
13788 extern "C"
13789 #endif
13790 char v4l2_open ();
13792 main ()
13794 return v4l2_open ();
13796 return 0;
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 case "$LIBEXT" in
13801 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13802 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'` ;;
13803 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13804 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13805 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13806 fi ;;
13807 esac
13808 else
13809 ac_cv_lib_soname_v4l2=
13811 rm -f core conftest.err conftest.$ac_objext \
13812 conftest$ac_exeext conftest.$ac_ext
13813 LIBS=$ac_check_soname_save_LIBS
13815 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13817 $as_echo "not found" >&6; }
13819 else
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13821 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13823 cat >>confdefs.h <<_ACEOF
13824 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13825 _ACEOF
13830 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13831 case "x$with_v4l2" in
13832 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13833 xno) ;;
13834 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13835 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13836 esac
13840 if test "x$with_gphoto" != "xno"
13841 then
13842 if ${GPHOTO2_CFLAGS:+false} :; then :
13843 if ${PKG_CONFIG+:} false; then :
13844 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13847 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13848 if ${GPHOTO2_LIBS:+false} :; then :
13849 if ${PKG_CONFIG+:} false; then :
13850 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13853 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13854 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13855 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13856 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13857 ac_save_CPPFLAGS=$CPPFLAGS
13858 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13859 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13860 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13862 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13863 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_check_lib_save_LIBS=$LIBS
13867 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13871 /* Override any GCC internal prototype to avoid an error.
13872 Use char because int might match the return type of a GCC
13873 builtin and then its argument prototype would still apply. */
13874 #ifdef __cplusplus
13875 extern "C"
13876 #endif
13877 char gp_camera_new ();
13879 main ()
13881 return gp_camera_new ();
13883 return 0;
13885 _ACEOF
13886 if ac_fn_c_try_link "$LINENO"; then :
13887 ac_cv_lib_gphoto2_gp_camera_new=yes
13888 else
13889 ac_cv_lib_gphoto2_gp_camera_new=no
13891 rm -f core conftest.err conftest.$ac_objext \
13892 conftest$ac_exeext conftest.$ac_ext
13893 LIBS=$ac_check_lib_save_LIBS
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13896 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13897 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13899 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13901 else
13902 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13905 else
13906 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13910 CPPFLAGS=$ac_save_CPPFLAGS
13912 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13913 if ${PKG_CONFIG+:} false; then :
13914 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13917 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13918 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13919 if ${PKG_CONFIG+:} false; then :
13920 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13923 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13924 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13925 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13926 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13927 ac_save_CPPFLAGS=$CPPFLAGS
13928 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13929 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13930 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13932 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13933 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13934 $as_echo_n "(cached) " >&6
13935 else
13936 ac_check_lib_save_LIBS=$LIBS
13937 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13941 /* Override any GCC internal prototype to avoid an error.
13942 Use char because int might match the return type of a GCC
13943 builtin and then its argument prototype would still apply. */
13944 #ifdef __cplusplus
13945 extern "C"
13946 #endif
13947 char gp_port_info_list_new ();
13949 main ()
13951 return gp_port_info_list_new ();
13953 return 0;
13955 _ACEOF
13956 if ac_fn_c_try_link "$LINENO"; then :
13957 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13958 else
13959 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13961 rm -f core conftest.err conftest.$ac_objext \
13962 conftest$ac_exeext conftest.$ac_ext
13963 LIBS=$ac_check_lib_save_LIBS
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13966 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13967 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13969 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13971 else
13972 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13975 else
13976 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13980 CPPFLAGS=$ac_save_CPPFLAGS
13983 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13984 case "x$with_gphoto" in
13985 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13986 xno) ;;
13987 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13988 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13989 esac
13992 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13993 case "x$with_gphoto" in
13994 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13995 xno) ;;
13996 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13997 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13998 esac
14003 if test "$ac_cv_header_resolv_h" = "yes"
14004 then
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14006 $as_echo_n "checking for resolver library... " >&6; }
14007 if ${ac_cv_have_resolv+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 ac_save_LIBS="$LIBS"
14011 for lib in '' -lresolv
14013 LIBS="$lib $ac_save_LIBS"
14014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14015 /* end confdefs.h. */
14016 #ifdef HAVE_NETINET_IN_H
14017 #include <netinet/in.h>
14018 #endif
14019 #include <resolv.h>
14021 main ()
14023 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14025 return 0;
14027 _ACEOF
14028 if ac_fn_c_try_link "$LINENO"; then :
14029 ac_cv_have_resolv=${lib:-"none required"}
14030 else
14031 ac_cv_have_resolv="not found"
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14035 test "x$ac_cv_have_resolv" = "xnot found" || break
14036 done
14037 LIBS="$ac_save_LIBS"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14040 $as_echo "$ac_cv_have_resolv" >&6; }
14042 case "$ac_cv_have_resolv" in
14043 "not found") ;;
14044 "none required")
14046 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14049 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14051 RESOLV_LIBS=$ac_cv_have_resolv
14053 esac
14055 if test "x$ac_cv_have_resolv" != "xnot found"
14056 then
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14058 $as_echo_n "checking for res_getservers... " >&6; }
14059 if ${ac_cv_have_res_getservers+:} false; then :
14060 $as_echo_n "(cached) " >&6
14061 else
14062 ac_save_LIBS="$LIBS"
14063 LIBS="$RESOLV_LIBS $LIBS"
14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14066 #include <resolv.h>
14068 main ()
14070 res_getservers(NULL, NULL, 0);
14072 return 0;
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"; then :
14076 ac_cv_have_res_getservers=yes
14077 else
14078 ac_cv_have_res_getservers=no
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS="$ac_save_LIBS"
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14085 $as_echo "$ac_cv_have_res_getservers" >&6; }
14086 if test "$ac_cv_have_res_getservers" = "yes"
14087 then
14089 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14095 if test "x$with_cms" != "xno"
14096 then
14097 if ${LCMS2_CFLAGS:+false} :; then :
14098 if ${PKG_CONFIG+:} false; then :
14099 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14103 if ${LCMS2_LIBS:+false} :; then :
14104 if ${PKG_CONFIG+:} false; then :
14105 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14109 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14110 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14111 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14112 ac_save_CPPFLAGS=$CPPFLAGS
14113 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14114 for ac_header in lcms2.h
14115 do :
14116 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14117 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14118 cat >>confdefs.h <<_ACEOF
14119 #define HAVE_LCMS2_H 1
14120 _ACEOF
14124 done
14126 if test "$ac_cv_header_lcms2_h" = "yes"
14127 then
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14129 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14130 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 ac_check_lib_save_LIBS=$LIBS
14134 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14141 #ifdef __cplusplus
14142 extern "C"
14143 #endif
14144 char cmsOpenProfileFromFile ();
14146 main ()
14148 return cmsOpenProfileFromFile ();
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14155 else
14156 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14160 LIBS=$ac_check_lib_save_LIBS
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14163 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14164 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14166 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14168 else
14169 LCMS2_LIBS=""
14172 else
14173 LCMS2_CFLAGS=""
14174 LCMS2_LIBS=""
14176 CPPFLAGS=$ac_save_CPPFLAGS
14179 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14180 case "x$with_cms" in
14181 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14182 xno) ;;
14183 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14184 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14185 esac
14189 if test "x$with_freetype" != "xno"
14190 then
14191 if ${FREETYPE_CFLAGS:+false} :; then :
14192 if ${PKG_CONFIG+:} false; then :
14193 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14196 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14197 if ${FREETYPE_LIBS:+false} :; then :
14198 if ${PKG_CONFIG+:} false; then :
14199 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14202 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14203 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14204 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14205 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14206 ac_save_CPPFLAGS=$CPPFLAGS
14207 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14208 for ac_header in ft2build.h
14209 do :
14210 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14211 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14212 cat >>confdefs.h <<_ACEOF
14213 #define HAVE_FT2BUILD_H 1
14214 _ACEOF
14218 done
14220 if test "$ac_cv_header_ft2build_h" = "yes"
14221 then
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14223 $as_echo_n "checking for -lfreetype... " >&6; }
14224 if ${ac_cv_lib_soname_freetype+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 ac_check_soname_save_LIBS=$LIBS
14228 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14232 /* Override any GCC internal prototype to avoid an error.
14233 Use char because int might match the return type of a GCC
14234 builtin and then its argument prototype would still apply. */
14235 #ifdef __cplusplus
14236 extern "C"
14237 #endif
14238 char FT_Init_FreeType ();
14240 main ()
14242 return FT_Init_FreeType ();
14244 return 0;
14246 _ACEOF
14247 if ac_fn_c_try_link "$LINENO"; then :
14248 case "$LIBEXT" in
14249 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14250 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'` ;;
14251 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14252 if ${ac_cv_lib_soname_freetype:+false} :; then :
14253 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14254 fi ;;
14255 esac
14256 else
14257 ac_cv_lib_soname_freetype=
14259 rm -f core conftest.err conftest.$ac_objext \
14260 conftest$ac_exeext conftest.$ac_ext
14261 LIBS=$ac_check_soname_save_LIBS
14263 if ${ac_cv_lib_soname_freetype:+false} :; then :
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14265 $as_echo "not found" >&6; }
14266 FREETYPE_LIBS=""
14267 else
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14269 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14271 cat >>confdefs.h <<_ACEOF
14272 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14273 _ACEOF
14276 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14278 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14279 #include FT_MODULE_H
14281 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14283 cat >>confdefs.h <<_ACEOF
14284 #define HAVE_FT_TRUETYPEENGINETYPE 1
14285 _ACEOF
14291 else
14292 FREETYPE_CFLAGS=""
14293 FREETYPE_LIBS=""
14295 CPPFLAGS=$ac_save_CPPFLAGS
14298 if test "x$ac_cv_lib_soname_freetype" = x; then :
14299 case "x$with_freetype" in
14300 xno) ;;
14301 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14302 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14303 esac
14304 enable_fonts=${enable_fonts:-no}
14307 ac_wine_check_funcs_save_LIBS="$LIBS"
14308 LIBS="$LIBS $PTHREAD_LIBS"
14309 for ac_func in \
14310 pthread_getthreadid_np
14311 do :
14312 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14313 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14314 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14315 cat >>confdefs.h <<_ACEOF
14316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14317 _ACEOF
14320 done
14322 LIBS="$ac_wine_check_funcs_save_LIBS"
14324 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14325 then
14326 if test "$ac_cv_header_gettext_po_h" = "yes"
14327 then
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14329 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14330 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14331 $as_echo_n "(cached) " >&6
14332 else
14333 ac_check_lib_save_LIBS=$LIBS
14334 LIBS="-lgettextpo $LIBS"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14338 /* Override any GCC internal prototype to avoid an error.
14339 Use char because int might match the return type of a GCC
14340 builtin and then its argument prototype would still apply. */
14341 #ifdef __cplusplus
14342 extern "C"
14343 #endif
14344 char po_message_msgctxt ();
14346 main ()
14348 return po_message_msgctxt ();
14350 return 0;
14352 _ACEOF
14353 if ac_fn_c_try_link "$LINENO"; then :
14354 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14355 else
14356 ac_cv_lib_gettextpo_po_message_msgctxt=no
14358 rm -f core conftest.err conftest.$ac_objext \
14359 conftest$ac_exeext conftest.$ac_ext
14360 LIBS=$ac_check_lib_save_LIBS
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14363 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14364 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14366 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14368 GETTEXTPO_LIBS="-lgettextpo"
14373 if test "x$GETTEXTPO_LIBS" = "x"; then :
14374 case "x$with_gettextpo" in
14375 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14376 xno) ;;
14377 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14378 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14379 esac
14382 if test "$srcdir" != .; then :
14383 case "x$with_gettextpo" in
14384 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14385 xno) ;;
14386 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14387 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14388 esac
14393 if test "x$with_pulse" != "xno";
14394 then
14395 if ${PULSE_CFLAGS:+false} :; then :
14396 if ${PKG_CONFIG+:} false; then :
14397 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14401 if ${PULSE_LIBS:+false} :; then :
14402 if ${PKG_CONFIG+:} false; then :
14403 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14408 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14409 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14410 ac_save_CPPFLAGS=$CPPFLAGS
14411 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14412 for ac_header in pulse/pulseaudio.h
14413 do :
14414 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14415 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14416 cat >>confdefs.h <<_ACEOF
14417 #define HAVE_PULSE_PULSEAUDIO_H 1
14418 _ACEOF
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14420 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14421 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14422 $as_echo_n "(cached) " >&6
14423 else
14424 ac_check_lib_save_LIBS=$LIBS
14425 LIBS="-lpulse $PULSE_LIBS $LIBS"
14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14429 /* Override any GCC internal prototype to avoid an error.
14430 Use char because int might match the return type of a GCC
14431 builtin and then its argument prototype would still apply. */
14432 #ifdef __cplusplus
14433 extern "C"
14434 #endif
14435 char pa_stream_is_corked ();
14437 main ()
14439 return pa_stream_is_corked ();
14441 return 0;
14443 _ACEOF
14444 if ac_fn_c_try_link "$LINENO"; then :
14445 ac_cv_lib_pulse_pa_stream_is_corked=yes
14446 else
14447 ac_cv_lib_pulse_pa_stream_is_corked=no
14449 rm -f core conftest.err conftest.$ac_objext \
14450 conftest$ac_exeext conftest.$ac_ext
14451 LIBS=$ac_check_lib_save_LIBS
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14454 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14455 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14457 else
14458 PULSE_LIBS=""
14461 else
14462 PULSE_LIBS=""
14465 done
14467 CPPFLAGS=$ac_save_CPPFLAGS
14470 if test -z "$PULSE_LIBS"; then :
14471 case "x$with_pulse" in
14472 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14473 xno) ;;
14474 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14475 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14476 esac
14477 enable_winepulse_drv=${enable_winepulse_drv:-no}
14480 if test "x$with_gstreamer" != "xno"
14481 then
14482 if ${GSTREAMER_CFLAGS:+false} :; then :
14483 if ${PKG_CONFIG+:} false; then :
14484 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14488 if ${GSTREAMER_LIBS:+false} :; then :
14489 if ${PKG_CONFIG+:} false; then :
14490 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14495 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14496 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14497 ac_save_CPPFLAGS=$CPPFLAGS
14498 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14499 ac_gst_incl=""
14500 for i in $GSTREAMER_CFLAGS
14502 case "$i" in
14503 -I*) ac_gst_incl="$ac_gst_incl $i";;
14504 esac
14505 done
14506 GSTREAMER_CFLAGS=$ac_gst_incl
14507 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14508 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14509 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14511 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14514 #include <gst/gst.h>
14516 main ()
14518 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14520 return 0;
14522 _ACEOF
14523 if ac_fn_c_try_compile "$LINENO"; then :
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14525 $as_echo "yes" >&6; }
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14527 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14528 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14529 $as_echo_n "(cached) " >&6
14530 else
14531 ac_check_lib_save_LIBS=$LIBS
14532 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14536 /* Override any GCC internal prototype to avoid an error.
14537 Use char because int might match the return type of a GCC
14538 builtin and then its argument prototype would still apply. */
14539 #ifdef __cplusplus
14540 extern "C"
14541 #endif
14542 char gst_pad_new ();
14544 main ()
14546 return gst_pad_new ();
14548 return 0;
14550 _ACEOF
14551 if ac_fn_c_try_link "$LINENO"; then :
14552 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14553 else
14554 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14556 rm -f core conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14558 LIBS=$ac_check_lib_save_LIBS
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14561 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14562 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14566 else
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14568 $as_echo "no" >&6; }
14569 ac_glib2_broken=yes
14570 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14576 CPPFLAGS=$ac_save_CPPFLAGS
14579 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 :
14580 case "x$with_gstreamer" in
14581 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14582 xno) ;;
14583 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14584 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14585 esac
14588 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14590 ALSA_LIBS=""
14592 if test "x$with_alsa" != "xno"
14593 then
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14595 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14596 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14597 $as_echo_n "(cached) " >&6
14598 else
14599 ac_check_lib_save_LIBS=$LIBS
14600 LIBS="-lasound $LIBS"
14601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14602 /* end confdefs.h. */
14604 /* Override any GCC internal prototype to avoid an error.
14605 Use char because int might match the return type of a GCC
14606 builtin and then its argument prototype would still apply. */
14607 #ifdef __cplusplus
14608 extern "C"
14609 #endif
14610 char snd_pcm_hw_params_get_access_mask ();
14612 main ()
14614 return snd_pcm_hw_params_get_access_mask ();
14616 return 0;
14618 _ACEOF
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14621 else
14622 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 LIBS=$ac_check_lib_save_LIBS
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14629 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14630 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14632 /* end confdefs.h. */
14633 #include <alsa/asoundlib.h>
14635 main ()
14637 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14639 return 0;
14641 _ACEOF
14642 if ac_fn_c_try_compile "$LINENO"; then :
14643 ALSA_LIBS="-lasound"
14645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14651 if test "x$with_oss" != xno
14652 then
14653 ac_save_CPPFLAGS="$CPPFLAGS"
14654 if test -f /etc/oss.conf
14655 then
14656 . /etc/oss.conf
14658 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14659 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14660 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14661 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14662 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14664 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14666 cat >>confdefs.h <<_ACEOF
14667 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14668 _ACEOF
14670 OSS4_CFLAGS="$ac_oss_incl"
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14673 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14674 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 ac_check_lib_save_LIBS=$LIBS
14678 LIBS="-lossaudio $LIBS"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14685 #ifdef __cplusplus
14686 extern "C"
14687 #endif
14688 char _oss_ioctl ();
14690 main ()
14692 return _oss_ioctl ();
14694 return 0;
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"; then :
14698 ac_cv_lib_ossaudio__oss_ioctl=yes
14699 else
14700 ac_cv_lib_ossaudio__oss_ioctl=no
14702 rm -f core conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14704 LIBS=$ac_check_lib_save_LIBS
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14707 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14708 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14709 OSS4_LIBS="-lossaudio"
14718 CPPFLAGS="$ac_save_CPPFLAGS"
14720 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14721 case "x$with_oss" in
14722 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14723 xno) ;;
14724 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14725 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14726 esac
14727 enable_wineoss_drv=${enable_wineoss_drv:-no}
14730 if test "x$with_udev" != "xno"
14731 then
14732 if ${UDEV_CFLAGS:+false} :; then :
14733 if ${PKG_CONFIG+:} false; then :
14734 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14738 if ${UDEV_LIBS:+false} :; then :
14739 if ${PKG_CONFIG+:} false; then :
14740 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14744 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14745 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14746 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14747 ac_save_CPPFLAGS=$CPPFLAGS
14748 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14749 for ac_header in libudev.h
14750 do :
14751 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14752 if test "x$ac_cv_header_libudev_h" = xyes; then :
14753 cat >>confdefs.h <<_ACEOF
14754 #define HAVE_LIBUDEV_H 1
14755 _ACEOF
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14757 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14758 if ${ac_cv_lib_udev_udev_new+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
14761 ac_check_lib_save_LIBS=$LIBS
14762 LIBS="-ludev $UDEV_LIBS $LIBS"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14769 #ifdef __cplusplus
14770 extern "C"
14771 #endif
14772 char udev_new ();
14774 main ()
14776 return udev_new ();
14778 return 0;
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_lib_udev_udev_new=yes
14783 else
14784 ac_cv_lib_udev_udev_new=no
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_check_lib_save_LIBS
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14791 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14792 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14794 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14796 else
14797 UDEV_LIBS=""
14800 else
14801 UDEV_LIBS=""
14804 done
14806 CPPFLAGS=$ac_save_CPPFLAGS
14809 if test "x$UDEV_LIBS" = "x"; then :
14810 case "x$with_udev" in
14811 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14812 xno) ;;
14813 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14814 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14815 esac
14819 if test "x$with_unwind" != xno
14820 then
14821 if ${UNWIND_CFLAGS:+false} :; then :
14822 if ${PKG_CONFIG+:} false; then :
14823 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14827 if ${UNWIND_LIBS:+false} :; then :
14828 if ${PKG_CONFIG+:} false; then :
14829 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14833 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14834 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14835 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14836 ac_save_CPPFLAGS=$CPPFLAGS
14837 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14839 $as_echo_n "checking for unw_step... " >&6; }
14840 if ${wine_cv_have_unw_step+:} false; then :
14841 $as_echo_n "(cached) " >&6
14842 else
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 #define UNW_LOCAL_ONLY
14846 #include <libunwind.h>
14848 main ()
14850 unw_cursor_t cursor; unw_step( &cursor );
14852 return 0;
14854 _ACEOF
14855 if ac_fn_c_try_link "$LINENO"; then :
14856 wine_cv_have_unw_step="yes"
14857 else
14858 wine_cv_have_unw_step="no"
14860 rm -f core conftest.err conftest.$ac_objext \
14861 conftest$ac_exeext conftest.$ac_ext
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14864 $as_echo "$wine_cv_have_unw_step" >&6; }
14865 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14866 then
14867 save_libs=$LIBS
14868 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14869 LIBS="$UNWIND_LIBS $LIBS"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14871 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14872 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14877 #define UNW_LOCAL_ONLY
14878 #include <libunwind.h>
14880 main ()
14882 unw_cursor_t cursor; unw_step( &cursor );
14884 return 0;
14886 _ACEOF
14887 if ac_fn_c_try_link "$LINENO"; then :
14888 wine_cv_have_libunwind_unw_step="yes"
14889 else
14890 wine_cv_have_libunwind_unw_step="no"
14892 rm -f core conftest.err conftest.$ac_objext \
14893 conftest$ac_exeext conftest.$ac_ext
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14896 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14897 LIBS=$save_libs
14899 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14900 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14901 then
14903 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14906 CPPFLAGS=$ac_save_CPPFLAGS
14909 case $host in
14910 aarch64*|*-darwin*)
14911 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14912 case "x$with_unwind" in
14913 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14914 xno) ;;
14915 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14916 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14917 esac
14919 fi ;;
14920 esac
14922 if test "x$with_sdl" != "xno"
14923 then
14924 if ${SDL2_CFLAGS:+false} :; then :
14925 if ${PKG_CONFIG+:} false; then :
14926 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14930 if ${SDL2_LIBS:+false} :; then :
14931 if ${PKG_CONFIG+:} false; then :
14932 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14936 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14937 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14938 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14939 ac_save_CPPFLAGS=$CPPFLAGS
14940 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14941 for ac_header in SDL.h
14942 do :
14943 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14944 if test "x$ac_cv_header_SDL_h" = xyes; then :
14945 cat >>confdefs.h <<_ACEOF
14946 #define HAVE_SDL_H 1
14947 _ACEOF
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14949 $as_echo_n "checking for -lSDL2... " >&6; }
14950 if ${ac_cv_lib_soname_SDL2+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 ac_check_soname_save_LIBS=$LIBS
14954 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply. */
14961 #ifdef __cplusplus
14962 extern "C"
14963 #endif
14964 char SDL_Init ();
14966 main ()
14968 return SDL_Init ();
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"; then :
14974 case "$LIBEXT" in
14975 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14976 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'` ;;
14977 *) 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'`
14978 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14979 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14980 fi ;;
14981 esac
14982 else
14983 ac_cv_lib_soname_SDL2=
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14987 LIBS=$ac_check_soname_save_LIBS
14989 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14991 $as_echo "not found" >&6; }
14993 else
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14995 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14997 cat >>confdefs.h <<_ACEOF
14998 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14999 _ACEOF
15005 done
15007 CPPFLAGS=$ac_save_CPPFLAGS
15010 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15011 case "x$with_sdl" in
15012 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15013 xno) ;;
15014 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15015 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15016 esac
15020 if test "x$with_faudio" != "xno"
15021 then
15022 if ${FAUDIO_CFLAGS:+false} :; then :
15023 if ${PKG_CONFIG+:} false; then :
15024 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15028 if ${FAUDIO_LIBS:+false} :; then :
15029 if ${PKG_CONFIG+:} false; then :
15030 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15034 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15035 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15036 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15037 ac_save_CPPFLAGS=$CPPFLAGS
15038 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15039 for ac_header in FAudio.h
15040 do :
15041 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15042 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15043 cat >>confdefs.h <<_ACEOF
15044 #define HAVE_FAUDIO_H 1
15045 _ACEOF
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15047 $as_echo_n "checking for -lFAudio... " >&6; }
15048 if ${ac_cv_lib_soname_FAudio+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 ac_check_soname_save_LIBS=$LIBS
15052 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15056 /* Override any GCC internal prototype to avoid an error.
15057 Use char because int might match the return type of a GCC
15058 builtin and then its argument prototype would still apply. */
15059 #ifdef __cplusplus
15060 extern "C"
15061 #endif
15062 char FAudioCreate ();
15064 main ()
15066 return FAudioCreate ();
15068 return 0;
15070 _ACEOF
15071 if ac_fn_c_try_link "$LINENO"; then :
15072 case "$LIBEXT" in
15073 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15074 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'` ;;
15075 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15076 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15077 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15078 fi ;;
15079 esac
15080 else
15081 ac_cv_lib_soname_FAudio=
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15085 LIBS=$ac_check_soname_save_LIBS
15087 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15089 $as_echo "not found" >&6; }
15091 else
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15093 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15095 cat >>confdefs.h <<_ACEOF
15096 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15097 _ACEOF
15103 done
15105 ac_wine_check_funcs_save_LIBS="$LIBS"
15106 LIBS="$LIBS $FAUDIO_LIBS"
15107 for ac_func in FAudio_CommitOperationSet \
15108 F3DAudioInitialize8 \
15109 FAudioLinkedVersion \
15110 FAudioCreateReverb9WithCustomAllocatorEXT
15111 do :
15112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15114 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15115 cat >>confdefs.h <<_ACEOF
15116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15117 _ACEOF
15120 done
15122 LIBS="$ac_wine_check_funcs_save_LIBS"
15124 CPPFLAGS=$ac_save_CPPFLAGS
15127 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15128 case "x$with_faudio" in
15129 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15130 xno) ;;
15131 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15132 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15133 esac
15137 if test "x$with_capi" != "xno"
15138 then
15139 if ${CAPI20_CFLAGS:+false} :; then :
15140 if ${PKG_CONFIG+:} false; then :
15141 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15145 if ${CAPI20_LIBS:+false} :; then :
15146 if ${PKG_CONFIG+:} false; then :
15147 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15152 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15153 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15154 ac_save_CPPFLAGS=$CPPFLAGS
15155 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15156 for ac_header in capi20.h linux/capi.h
15157 do :
15158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15159 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15161 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15162 cat >>confdefs.h <<_ACEOF
15163 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15164 _ACEOF
15168 done
15170 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15171 then
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15173 $as_echo_n "checking for -lcapi20... " >&6; }
15174 if ${ac_cv_lib_soname_capi20+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 ac_check_soname_save_LIBS=$LIBS
15178 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15185 #ifdef __cplusplus
15186 extern "C"
15187 #endif
15188 char capi20_register ();
15190 main ()
15192 return capi20_register ();
15194 return 0;
15196 _ACEOF
15197 if ac_fn_c_try_link "$LINENO"; then :
15198 case "$LIBEXT" in
15199 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15200 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'` ;;
15201 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15202 if ${ac_cv_lib_soname_capi20:+false} :; then :
15203 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15204 fi ;;
15205 esac
15206 else
15207 ac_cv_lib_soname_capi20=
15209 rm -f core conftest.err conftest.$ac_objext \
15210 conftest$ac_exeext conftest.$ac_ext
15211 LIBS=$ac_check_soname_save_LIBS
15213 if ${ac_cv_lib_soname_capi20:+false} :; then :
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15215 $as_echo "not found" >&6; }
15217 else
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15219 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15221 cat >>confdefs.h <<_ACEOF
15222 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15223 _ACEOF
15228 CPPFLAGS=$ac_save_CPPFLAGS
15231 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15232 case "x$with_capi" in
15233 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15234 xno) ;;
15235 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15236 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15237 esac
15241 if test "x$with_cups" != "xno"
15242 then
15243 if ${CUPS_CFLAGS:+false} :; then :
15244 if ${PKG_CONFIG+:} false; then :
15245 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15248 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15249 if ${CUPS_LIBS:+false} :; then :
15250 if ${PKG_CONFIG+:} false; then :
15251 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15254 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15255 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15256 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15257 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15258 ac_save_CPPFLAGS=$CPPFLAGS
15259 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15260 for ac_header in cups/cups.h cups/ppd.h
15261 do :
15262 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15263 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15264 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15265 cat >>confdefs.h <<_ACEOF
15266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15267 _ACEOF
15271 done
15273 if test "$ac_cv_header_cups_cups_h" = "yes"
15274 then
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15276 $as_echo_n "checking for -lcups... " >&6; }
15277 if ${ac_cv_lib_soname_cups+:} false; then :
15278 $as_echo_n "(cached) " >&6
15279 else
15280 ac_check_soname_save_LIBS=$LIBS
15281 LIBS="-lcups $CUPS_LIBS $LIBS"
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15285 /* Override any GCC internal prototype to avoid an error.
15286 Use char because int might match the return type of a GCC
15287 builtin and then its argument prototype would still apply. */
15288 #ifdef __cplusplus
15289 extern "C"
15290 #endif
15291 char cupsGetDefault ();
15293 main ()
15295 return cupsGetDefault ();
15297 return 0;
15299 _ACEOF
15300 if ac_fn_c_try_link "$LINENO"; then :
15301 case "$LIBEXT" in
15302 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15303 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'` ;;
15304 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15305 if ${ac_cv_lib_soname_cups:+false} :; then :
15306 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15307 fi ;;
15308 esac
15309 else
15310 ac_cv_lib_soname_cups=
15312 rm -f core conftest.err conftest.$ac_objext \
15313 conftest$ac_exeext conftest.$ac_ext
15314 LIBS=$ac_check_soname_save_LIBS
15316 if ${ac_cv_lib_soname_cups:+false} :; then :
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15318 $as_echo "not found" >&6; }
15319 CUPS_LIBS=""
15320 else
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15322 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15324 cat >>confdefs.h <<_ACEOF
15325 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15326 _ACEOF
15330 else
15331 CUPS_CFLAGS=""
15332 CUPS_LIBS=""
15334 CPPFLAGS=$ac_save_CPPFLAGS
15337 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15338 case "x$with_cups" in
15339 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15340 xno) ;;
15341 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15342 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15343 esac
15347 if test "x$with_fontconfig" != "xno"
15348 then
15349 if ${FONTCONFIG_CFLAGS:+false} :; then :
15350 if ${PKG_CONFIG+:} false; then :
15351 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15354 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15355 if ${FONTCONFIG_LIBS:+false} :; then :
15356 if ${PKG_CONFIG+:} false; then :
15357 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15360 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15362 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15363 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15364 ac_save_CPPFLAGS=$CPPFLAGS
15365 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15366 for ac_header in fontconfig/fontconfig.h
15367 do :
15368 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15369 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15370 cat >>confdefs.h <<_ACEOF
15371 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15372 _ACEOF
15376 done
15378 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15379 then
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15381 $as_echo_n "checking for -lfontconfig... " >&6; }
15382 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15383 $as_echo_n "(cached) " >&6
15384 else
15385 ac_check_soname_save_LIBS=$LIBS
15386 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15390 /* Override any GCC internal prototype to avoid an error.
15391 Use char because int might match the return type of a GCC
15392 builtin and then its argument prototype would still apply. */
15393 #ifdef __cplusplus
15394 extern "C"
15395 #endif
15396 char FcInit ();
15398 main ()
15400 return FcInit ();
15402 return 0;
15404 _ACEOF
15405 if ac_fn_c_try_link "$LINENO"; then :
15406 case "$LIBEXT" in
15407 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15408 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'` ;;
15409 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15410 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15411 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15412 fi ;;
15413 esac
15414 else
15415 ac_cv_lib_soname_fontconfig=
15417 rm -f core conftest.err conftest.$ac_objext \
15418 conftest$ac_exeext conftest.$ac_ext
15419 LIBS=$ac_check_soname_save_LIBS
15421 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15423 $as_echo "not found" >&6; }
15424 FONTCONFIG_CFLAGS=""
15425 else
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15427 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15429 cat >>confdefs.h <<_ACEOF
15430 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15431 _ACEOF
15435 else
15436 FONTCONFIG_CFLAGS=""
15438 CPPFLAGS=$ac_save_CPPFLAGS
15441 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15442 case "x$with_fontconfig" in
15443 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15444 xno) ;;
15445 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15446 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15447 esac
15451 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15452 then
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15454 $as_echo_n "checking for -lgsm... " >&6; }
15455 if ${ac_cv_lib_soname_gsm+:} false; then :
15456 $as_echo_n "(cached) " >&6
15457 else
15458 ac_check_soname_save_LIBS=$LIBS
15459 LIBS="-lgsm $LIBS"
15460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15463 /* Override any GCC internal prototype to avoid an error.
15464 Use char because int might match the return type of a GCC
15465 builtin and then its argument prototype would still apply. */
15466 #ifdef __cplusplus
15467 extern "C"
15468 #endif
15469 char gsm_create ();
15471 main ()
15473 return gsm_create ();
15475 return 0;
15477 _ACEOF
15478 if ac_fn_c_try_link "$LINENO"; then :
15479 case "$LIBEXT" in
15480 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15481 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'` ;;
15482 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15483 if ${ac_cv_lib_soname_gsm:+false} :; then :
15484 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15485 fi ;;
15486 esac
15487 else
15488 ac_cv_lib_soname_gsm=
15490 rm -f core conftest.err conftest.$ac_objext \
15491 conftest$ac_exeext conftest.$ac_ext
15492 LIBS=$ac_check_soname_save_LIBS
15494 if ${ac_cv_lib_soname_gsm:+false} :; then :
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15496 $as_echo "not found" >&6; }
15498 else
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15500 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15502 cat >>confdefs.h <<_ACEOF
15503 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15504 _ACEOF
15509 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15510 case "x$with_gsm" in
15511 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15512 xno) ;;
15513 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15514 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15515 esac
15519 if test "x$with_krb5" != "xno"
15520 then
15521 if ${KRB5_CFLAGS:+false} :; then :
15522 if ${PKG_CONFIG+:} false; then :
15523 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15526 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15527 if ${KRB5_LIBS:+false} :; then :
15528 if ${PKG_CONFIG+:} false; then :
15529 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15532 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15534 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15535 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15536 ac_save_CPPFLAGS=$CPPFLAGS
15537 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15538 for ac_header in krb5/krb5.h
15539 do :
15540 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15541 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15542 cat >>confdefs.h <<_ACEOF
15543 #define HAVE_KRB5_KRB5_H 1
15544 _ACEOF
15548 done
15550 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15551 then
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15553 $as_echo_n "checking for -lkrb5... " >&6; }
15554 if ${ac_cv_lib_soname_krb5+:} false; then :
15555 $as_echo_n "(cached) " >&6
15556 else
15557 ac_check_soname_save_LIBS=$LIBS
15558 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15562 /* Override any GCC internal prototype to avoid an error.
15563 Use char because int might match the return type of a GCC
15564 builtin and then its argument prototype would still apply. */
15565 #ifdef __cplusplus
15566 extern "C"
15567 #endif
15568 char krb5_is_config_principal ();
15570 main ()
15572 return krb5_is_config_principal ();
15574 return 0;
15576 _ACEOF
15577 if ac_fn_c_try_link "$LINENO"; then :
15578 case "$LIBEXT" in
15579 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15580 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'` ;;
15581 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15582 if ${ac_cv_lib_soname_krb5:+false} :; then :
15583 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15584 fi ;;
15585 esac
15586 else
15587 ac_cv_lib_soname_krb5=
15589 rm -f core conftest.err conftest.$ac_objext \
15590 conftest$ac_exeext conftest.$ac_ext
15591 LIBS=$ac_check_soname_save_LIBS
15593 if ${ac_cv_lib_soname_krb5:+false} :; then :
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15595 $as_echo "not found" >&6; }
15596 KRB5_CFLAGS=""
15597 else
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15599 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15601 cat >>confdefs.h <<_ACEOF
15602 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15603 _ACEOF
15607 else
15608 KRB5_CFLAGS=""
15610 CPPFLAGS=$ac_save_CPPFLAGS
15613 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15614 case "x$with_krb5" in
15615 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15616 xno) ;;
15617 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15618 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15619 esac
15622 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15624 if test "x$with_gssapi" != "xno"
15625 then
15626 if ${GSSAPI_CFLAGS:+false} :; then :
15627 if ${PKG_CONFIG+:} false; then :
15628 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15631 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15632 if ${GSSAPI_LIBS:+false} :; then :
15633 if ${PKG_CONFIG+:} false; then :
15634 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15637 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15639 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15640 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15641 ac_save_CPPFLAGS=$CPPFLAGS
15642 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15643 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15644 do :
15645 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15646 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15647 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15648 cat >>confdefs.h <<_ACEOF
15649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15650 _ACEOF
15654 done
15656 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15657 then
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15659 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15660 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 ac_check_soname_save_LIBS=$LIBS
15664 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 #ifdef __cplusplus
15672 extern "C"
15673 #endif
15674 char gss_init_sec_context ();
15676 main ()
15678 return gss_init_sec_context ();
15680 return 0;
15682 _ACEOF
15683 if ac_fn_c_try_link "$LINENO"; then :
15684 case "$LIBEXT" in
15685 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15686 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'` ;;
15687 *) 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'`
15688 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15689 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15690 fi ;;
15691 esac
15692 else
15693 ac_cv_lib_soname_gssapi_krb5=
15695 rm -f core conftest.err conftest.$ac_objext \
15696 conftest$ac_exeext conftest.$ac_ext
15697 LIBS=$ac_check_soname_save_LIBS
15699 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15701 $as_echo "not found" >&6; }
15702 GSSAPI_CFLAGS=""
15703 else
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15705 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15707 cat >>confdefs.h <<_ACEOF
15708 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15709 _ACEOF
15713 else
15714 GSSAPI_CFLAGS=""
15716 CPPFLAGS=$ac_save_CPPFLAGS
15719 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15720 case "x$with_gssapi" in
15721 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15722 xno) ;;
15723 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15724 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15725 esac
15729 if test "x$with_jpeg" != "xno"
15730 then
15731 if ${JPEG_CFLAGS:+false} :; then :
15732 if ${PKG_CONFIG+:} false; then :
15733 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15737 if ${JPEG_LIBS:+false} :; then :
15738 if ${PKG_CONFIG+:} false; then :
15739 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15744 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15745 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15746 ac_save_CPPFLAGS=$CPPFLAGS
15747 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15748 for ac_header in jpeglib.h
15749 do :
15750 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15751 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15752 cat >>confdefs.h <<_ACEOF
15753 #define HAVE_JPEGLIB_H 1
15754 _ACEOF
15758 done
15760 if test "$ac_cv_header_jpeglib_h" = "yes"
15761 then
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15763 $as_echo_n "checking for -ljpeg... " >&6; }
15764 if ${ac_cv_lib_soname_jpeg+:} false; then :
15765 $as_echo_n "(cached) " >&6
15766 else
15767 ac_check_soname_save_LIBS=$LIBS
15768 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 #ifdef __cplusplus
15776 extern "C"
15777 #endif
15778 char jpeg_start_decompress ();
15780 main ()
15782 return jpeg_start_decompress ();
15784 return 0;
15786 _ACEOF
15787 if ac_fn_c_try_link "$LINENO"; then :
15788 case "$LIBEXT" in
15789 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15790 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'` ;;
15791 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15792 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15793 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15794 fi ;;
15795 esac
15796 else
15797 ac_cv_lib_soname_jpeg=
15799 rm -f core conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801 LIBS=$ac_check_soname_save_LIBS
15803 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15805 $as_echo "not found" >&6; }
15806 JPEG_CFLAGS=""
15807 else
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15809 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15811 cat >>confdefs.h <<_ACEOF
15812 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15813 _ACEOF
15817 else
15818 JPEG_CFLAGS=""
15820 CPPFLAGS=$ac_save_CPPFLAGS
15823 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15824 case "x$with_jpeg" in
15825 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15826 xno) ;;
15827 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15828 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15829 esac
15833 if test "x$with_png" != "xno"
15834 then
15835 if ${PNG_CFLAGS:+false} :; then :
15836 if ${PKG_CONFIG+:} false; then :
15837 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15840 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15841 if ${PNG_LIBS:+false} :; then :
15842 if ${PKG_CONFIG+:} false; then :
15843 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15846 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15848 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15849 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15850 ac_save_CPPFLAGS=$CPPFLAGS
15851 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15852 for ac_header in png.h
15853 do :
15854 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15855 if test "x$ac_cv_header_png_h" = xyes; then :
15856 cat >>confdefs.h <<_ACEOF
15857 #define HAVE_PNG_H 1
15858 _ACEOF
15862 done
15864 if test "$ac_cv_header_png_h" = "yes"
15865 then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15867 $as_echo_n "checking for -lpng... " >&6; }
15868 if ${ac_cv_lib_soname_png+:} false; then :
15869 $as_echo_n "(cached) " >&6
15870 else
15871 ac_check_soname_save_LIBS=$LIBS
15872 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15876 /* Override any GCC internal prototype to avoid an error.
15877 Use char because int might match the return type of a GCC
15878 builtin and then its argument prototype would still apply. */
15879 #ifdef __cplusplus
15880 extern "C"
15881 #endif
15882 char png_create_read_struct ();
15884 main ()
15886 return png_create_read_struct ();
15888 return 0;
15890 _ACEOF
15891 if ac_fn_c_try_link "$LINENO"; then :
15892 case "$LIBEXT" in
15893 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15894 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'` ;;
15895 *) 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'`
15896 if ${ac_cv_lib_soname_png:+false} :; then :
15897 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15898 fi ;;
15899 esac
15900 else
15901 ac_cv_lib_soname_png=
15903 rm -f core conftest.err conftest.$ac_objext \
15904 conftest$ac_exeext conftest.$ac_ext
15905 LIBS=$ac_check_soname_save_LIBS
15907 if ${ac_cv_lib_soname_png:+false} :; then :
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15909 $as_echo "not found" >&6; }
15910 PNG_CFLAGS=""
15911 else
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15913 $as_echo "$ac_cv_lib_soname_png" >&6; }
15915 cat >>confdefs.h <<_ACEOF
15916 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15917 _ACEOF
15921 else
15922 PNG_CFLAGS=""
15924 CPPFLAGS=$ac_save_CPPFLAGS
15927 if test "x$ac_cv_lib_soname_png" = "x"; then :
15928 case "x$with_png" in
15929 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15930 xno) ;;
15931 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15932 This is an error since --with-png was requested." "$LINENO" 5 ;;
15933 esac
15937 if test "x$with_tiff" != "xno"
15938 then
15939 if ${TIFF_CFLAGS:+false} :; then :
15940 if ${PKG_CONFIG+:} false; then :
15941 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15945 if ${TIFF_LIBS:+false} :; then :
15946 if ${PKG_CONFIG+:} false; then :
15947 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15952 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15953 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15954 ac_save_CPPFLAGS=$CPPFLAGS
15955 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15956 for ac_header in tiffio.h
15957 do :
15958 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15959 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_TIFFIO_H 1
15962 _ACEOF
15966 done
15968 if test "$ac_cv_header_tiffio_h" = "yes"
15969 then
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15971 $as_echo_n "checking for -ltiff... " >&6; }
15972 if ${ac_cv_lib_soname_tiff+:} false; then :
15973 $as_echo_n "(cached) " >&6
15974 else
15975 ac_check_soname_save_LIBS=$LIBS
15976 LIBS="-ltiff $TIFF_LIBS $LIBS"
15977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15978 /* end confdefs.h. */
15980 /* Override any GCC internal prototype to avoid an error.
15981 Use char because int might match the return type of a GCC
15982 builtin and then its argument prototype would still apply. */
15983 #ifdef __cplusplus
15984 extern "C"
15985 #endif
15986 char TIFFClientOpen ();
15988 main ()
15990 return TIFFClientOpen ();
15992 return 0;
15994 _ACEOF
15995 if ac_fn_c_try_link "$LINENO"; then :
15996 case "$LIBEXT" in
15997 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15998 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'` ;;
15999 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16000 if ${ac_cv_lib_soname_tiff:+false} :; then :
16001 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16002 fi ;;
16003 esac
16004 else
16005 ac_cv_lib_soname_tiff=
16007 rm -f core conftest.err conftest.$ac_objext \
16008 conftest$ac_exeext conftest.$ac_ext
16009 LIBS=$ac_check_soname_save_LIBS
16011 if ${ac_cv_lib_soname_tiff:+false} :; then :
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16013 $as_echo "not found" >&6; }
16015 else
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16017 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16019 cat >>confdefs.h <<_ACEOF
16020 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16021 _ACEOF
16026 CPPFLAGS=$ac_save_CPPFLAGS
16029 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16030 case "x$with_tiff" in
16031 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16032 xno) ;;
16033 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16034 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16035 esac
16039 if test "x$with_mpg123" != "xno"
16040 then
16041 if ${MPG123_CFLAGS:+false} :; then :
16042 if ${PKG_CONFIG+:} false; then :
16043 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16047 if ${MPG123_LIBS:+false} :; then :
16048 if ${PKG_CONFIG+:} false; then :
16049 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16053 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16054 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16055 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16056 ac_save_CPPFLAGS=$CPPFLAGS
16057 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16058 for ac_header in mpg123.h
16059 do :
16060 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16061 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_MPG123_H 1
16064 _ACEOF
16068 done
16070 if test "$ac_cv_header_mpg123_h" = "yes"
16071 then
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16073 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16074 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16075 $as_echo_n "(cached) " >&6
16076 else
16077 ac_check_lib_save_LIBS=$LIBS
16078 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16080 /* end confdefs.h. */
16082 /* Override any GCC internal prototype to avoid an error.
16083 Use char because int might match the return type of a GCC
16084 builtin and then its argument prototype would still apply. */
16085 #ifdef __cplusplus
16086 extern "C"
16087 #endif
16088 char mpg123_feed ();
16090 main ()
16092 return mpg123_feed ();
16094 return 0;
16096 _ACEOF
16097 if ac_fn_c_try_link "$LINENO"; then :
16098 ac_cv_lib_mpg123_mpg123_feed=yes
16099 else
16100 ac_cv_lib_mpg123_mpg123_feed=no
16102 rm -f core conftest.err conftest.$ac_objext \
16103 conftest$ac_exeext conftest.$ac_ext
16104 LIBS=$ac_check_lib_save_LIBS
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16107 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16108 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16110 else
16111 MPG123_LIBS=""
16114 else
16115 MPG123_CFLAGS=""
16116 MPG123_LIBS=""
16118 CPPFLAGS=$ac_save_CPPFLAGS
16121 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16122 case "x$with_mpg123" in
16123 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16124 xno) ;;
16125 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16126 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16127 esac
16128 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16130 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16132 if test "$ac_cv_header_AL_al_h" = "yes"
16133 then
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16135 $as_echo_n "checking for -lopenal... " >&6; }
16136 if ${ac_cv_lib_soname_openal+:} false; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 ac_check_soname_save_LIBS=$LIBS
16140 LIBS="-lopenal $LIBS"
16141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16142 /* end confdefs.h. */
16144 /* Override any GCC internal prototype to avoid an error.
16145 Use char because int might match the return type of a GCC
16146 builtin and then its argument prototype would still apply. */
16147 #ifdef __cplusplus
16148 extern "C"
16149 #endif
16150 char alGetSource3i ();
16152 main ()
16154 return alGetSource3i ();
16156 return 0;
16158 _ACEOF
16159 if ac_fn_c_try_link "$LINENO"; then :
16160 case "$LIBEXT" in
16161 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16162 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'` ;;
16163 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16164 if ${ac_cv_lib_soname_openal:+false} :; then :
16165 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16166 fi ;;
16167 esac
16168 else
16169 ac_cv_lib_soname_openal=
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16173 LIBS=$ac_check_soname_save_LIBS
16175 if ${ac_cv_lib_soname_openal:+false} :; then :
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16177 $as_echo "not found" >&6; }
16179 else
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16181 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16183 cat >>confdefs.h <<_ACEOF
16184 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16185 _ACEOF
16187 OPENAL_LIBS="-lopenal"
16189 ac_cv_lib_openal=yes
16191 cat >>confdefs.h <<_ACEOF
16192 #define HAVE_OPENAL 1
16193 _ACEOF
16197 if test "x$ac_cv_lib_openal" != xyes; then :
16198 case "x$with_openal" in
16199 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16200 xno) ;;
16201 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16202 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16203 esac
16204 enable_openal32=${enable_openal32:-no}
16207 if test "x$ac_cv_lib_soname_FAudio" = "x"
16208 then
16209 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16210 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16211 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16212 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16213 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16214 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16215 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16216 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16217 enable_xactengine3_0=${enable_xactengine3_0:-no}
16218 enable_xactengine3_1=${enable_xactengine3_1:-no}
16219 enable_xactengine3_2=${enable_xactengine3_2:-no}
16220 enable_xactengine3_3=${enable_xactengine3_3:-no}
16221 enable_xactengine3_4=${enable_xactengine3_4:-no}
16222 enable_xactengine3_5=${enable_xactengine3_5:-no}
16223 enable_xactengine3_6=${enable_xactengine3_6:-no}
16224 enable_xactengine3_7=${enable_xactengine3_7:-no}
16225 enable_xapofx1_1=${enable_xapofx1_1:-no}
16226 enable_xapofx1_2=${enable_xapofx1_2:-no}
16227 enable_xapofx1_3=${enable_xapofx1_3:-no}
16228 enable_xapofx1_4=${enable_xapofx1_4:-no}
16229 enable_xapofx1_5=${enable_xapofx1_5:-no}
16230 enable_xaudio2_0=${enable_xaudio2_0:-no}
16231 enable_xaudio2_1=${enable_xaudio2_1:-no}
16232 enable_xaudio2_2=${enable_xaudio2_2:-no}
16233 enable_xaudio2_3=${enable_xaudio2_3:-no}
16234 enable_xaudio2_4=${enable_xaudio2_4:-no}
16235 enable_xaudio2_5=${enable_xaudio2_5:-no}
16236 enable_xaudio2_6=${enable_xaudio2_6:-no}
16237 enable_xaudio2_7=${enable_xaudio2_7:-no}
16238 enable_xaudio2_8=${enable_xaudio2_8:-no}
16239 enable_xaudio2_9=${enable_xaudio2_9:-no}
16242 if test "$ac_cv_header_kstat_h" = "yes"
16243 then
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16245 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16246 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16247 $as_echo_n "(cached) " >&6
16248 else
16249 ac_check_lib_save_LIBS=$LIBS
16250 LIBS="-lkstat $LIBS"
16251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16254 /* Override any GCC internal prototype to avoid an error.
16255 Use char because int might match the return type of a GCC
16256 builtin and then its argument prototype would still apply. */
16257 #ifdef __cplusplus
16258 extern "C"
16259 #endif
16260 char kstat_open ();
16262 main ()
16264 return kstat_open ();
16266 return 0;
16268 _ACEOF
16269 if ac_fn_c_try_link "$LINENO"; then :
16270 ac_cv_lib_kstat_kstat_open=yes
16271 else
16272 ac_cv_lib_kstat_kstat_open=no
16274 rm -f core conftest.err conftest.$ac_objext \
16275 conftest$ac_exeext conftest.$ac_ext
16276 LIBS=$ac_check_lib_save_LIBS
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16279 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16280 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16282 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16284 KSTAT_LIBS="-lkstat"
16290 if test "$ac_cv_header_libprocstat_h" = "yes"
16291 then
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16293 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16294 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16295 $as_echo_n "(cached) " >&6
16296 else
16297 ac_check_lib_save_LIBS=$LIBS
16298 LIBS="-lprocstat $LIBS"
16299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h. */
16302 /* Override any GCC internal prototype to avoid an error.
16303 Use char because int might match the return type of a GCC
16304 builtin and then its argument prototype would still apply. */
16305 #ifdef __cplusplus
16306 extern "C"
16307 #endif
16308 char procstat_open_sysctl ();
16310 main ()
16312 return procstat_open_sysctl ();
16314 return 0;
16316 _ACEOF
16317 if ac_fn_c_try_link "$LINENO"; then :
16318 ac_cv_lib_procstat_procstat_open_sysctl=yes
16319 else
16320 ac_cv_lib_procstat_procstat_open_sysctl=no
16322 rm -f core conftest.err conftest.$ac_objext \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_lib_save_LIBS
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16327 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16328 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16330 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16332 PROCSTAT_LIBS="-lprocstat"
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16339 $as_echo_n "checking for -lodbc... " >&6; }
16340 if ${ac_cv_lib_soname_odbc+:} false; then :
16341 $as_echo_n "(cached) " >&6
16342 else
16343 ac_check_soname_save_LIBS=$LIBS
16344 LIBS="-lodbc $LIBS"
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16348 /* Override any GCC internal prototype to avoid an error.
16349 Use char because int might match the return type of a GCC
16350 builtin and then its argument prototype would still apply. */
16351 #ifdef __cplusplus
16352 extern "C"
16353 #endif
16354 char SQLConnect ();
16356 main ()
16358 return SQLConnect ();
16360 return 0;
16362 _ACEOF
16363 if ac_fn_c_try_link "$LINENO"; then :
16364 case "$LIBEXT" in
16365 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16366 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'` ;;
16367 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16368 if ${ac_cv_lib_soname_odbc:+false} :; then :
16369 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16370 fi ;;
16371 esac
16372 else
16373 ac_cv_lib_soname_odbc=
16375 rm -f core conftest.err conftest.$ac_objext \
16376 conftest$ac_exeext conftest.$ac_ext
16377 LIBS=$ac_check_soname_save_LIBS
16379 if ${ac_cv_lib_soname_odbc:+false} :; then :
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16381 $as_echo "not found" >&6; }
16382 cat >>confdefs.h <<_ACEOF
16383 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16384 _ACEOF
16386 else
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16388 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16390 cat >>confdefs.h <<_ACEOF
16391 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16392 _ACEOF
16397 if test "x$with_netapi" != "xno"
16398 then
16399 if ${NETAPI_CFLAGS:+false} :; then :
16400 if ${PKG_CONFIG+:} false; then :
16401 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16405 if ${NETAPI_LIBS:+false} :; then :
16406 if ${PKG_CONFIG+:} false; then :
16407 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16412 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16413 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16414 ac_save_CPPFLAGS=$CPPFLAGS
16415 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16417 $as_echo_n "checking for -lnetapi... " >&6; }
16418 if ${ac_cv_lib_soname_netapi+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 ac_check_soname_save_LIBS=$LIBS
16422 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16426 /* Override any GCC internal prototype to avoid an error.
16427 Use char because int might match the return type of a GCC
16428 builtin and then its argument prototype would still apply. */
16429 #ifdef __cplusplus
16430 extern "C"
16431 #endif
16432 char libnetapi_init ();
16434 main ()
16436 return libnetapi_init ();
16438 return 0;
16440 _ACEOF
16441 if ac_fn_c_try_link "$LINENO"; then :
16442 case "$LIBEXT" in
16443 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16444 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'` ;;
16445 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16446 if ${ac_cv_lib_soname_netapi:+false} :; then :
16447 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16448 fi ;;
16449 esac
16450 else
16451 ac_cv_lib_soname_netapi=
16453 rm -f core conftest.err conftest.$ac_objext \
16454 conftest$ac_exeext conftest.$ac_ext
16455 LIBS=$ac_check_soname_save_LIBS
16457 if ${ac_cv_lib_soname_netapi:+false} :; then :
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16459 $as_echo "not found" >&6; }
16460 cat >>confdefs.h <<_ACEOF
16461 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16462 _ACEOF
16464 else
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16466 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16468 cat >>confdefs.h <<_ACEOF
16469 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16470 _ACEOF
16474 CPPFLAGS=$ac_save_CPPFLAGS
16478 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16479 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16480 then
16481 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16484 if test "x$with_vulkan" != "xno"
16485 then
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16487 $as_echo_n "checking for -lvulkan... " >&6; }
16488 if ${ac_cv_lib_soname_vulkan+:} false; then :
16489 $as_echo_n "(cached) " >&6
16490 else
16491 ac_check_soname_save_LIBS=$LIBS
16492 LIBS="-lvulkan $LIBS"
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16496 /* Override any GCC internal prototype to avoid an error.
16497 Use char because int might match the return type of a GCC
16498 builtin and then its argument prototype would still apply. */
16499 #ifdef __cplusplus
16500 extern "C"
16501 #endif
16502 char vkGetInstanceProcAddr ();
16504 main ()
16506 return vkGetInstanceProcAddr ();
16508 return 0;
16510 _ACEOF
16511 if ac_fn_c_try_link "$LINENO"; then :
16512 case "$LIBEXT" in
16513 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16514 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'` ;;
16515 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16516 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16517 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16518 fi ;;
16519 esac
16520 else
16521 ac_cv_lib_soname_vulkan=
16523 rm -f core conftest.err conftest.$ac_objext \
16524 conftest$ac_exeext conftest.$ac_ext
16525 LIBS=$ac_check_soname_save_LIBS
16527 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16529 $as_echo "not found" >&6; }
16531 else
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16533 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16535 cat >>confdefs.h <<_ACEOF
16536 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16537 _ACEOF
16541 if test "x$ac_cv_lib_soname_vulkan" = "x"
16542 then
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16544 $as_echo_n "checking for -lMoltenVK... " >&6; }
16545 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16546 $as_echo_n "(cached) " >&6
16547 else
16548 ac_check_soname_save_LIBS=$LIBS
16549 LIBS="-lMoltenVK $LIBS"
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char vkGetInstanceProcAddr ();
16561 main ()
16563 return vkGetInstanceProcAddr ();
16565 return 0;
16567 _ACEOF
16568 if ac_fn_c_try_link "$LINENO"; then :
16569 case "$LIBEXT" in
16570 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16571 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'` ;;
16572 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16573 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16574 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16575 fi ;;
16576 esac
16577 else
16578 ac_cv_lib_soname_MoltenVK=
16580 rm -f core conftest.err conftest.$ac_objext \
16581 conftest$ac_exeext conftest.$ac_ext
16582 LIBS=$ac_check_soname_save_LIBS
16584 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16586 $as_echo "not found" >&6; }
16588 else
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16590 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16592 cat >>confdefs.h <<_ACEOF
16593 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16594 _ACEOF
16600 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16601 case "x$with_vulkan" in
16602 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16603 xno) ;;
16604 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16605 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16606 esac
16610 if test "x$with_vkd3d" != "xno"
16611 then
16612 if ${VKD3D_CFLAGS:+false} :; then :
16613 if ${PKG_CONFIG+:} false; then :
16614 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16618 if ${VKD3D_LIBS:+false} :; then :
16619 if ${PKG_CONFIG+:} false; then :
16620 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16625 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16626 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16627 ac_save_CPPFLAGS=$CPPFLAGS
16628 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16630 $as_echo_n "checking for -lvkd3d... " >&6; }
16631 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16632 $as_echo_n "(cached) " >&6
16633 else
16634 ac_check_soname_save_LIBS=$LIBS
16635 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16639 /* Override any GCC internal prototype to avoid an error.
16640 Use char because int might match the return type of a GCC
16641 builtin and then its argument prototype would still apply. */
16642 #ifdef __cplusplus
16643 extern "C"
16644 #endif
16645 char vkd3d_serialize_versioned_root_signature ();
16647 main ()
16649 return vkd3d_serialize_versioned_root_signature ();
16651 return 0;
16653 _ACEOF
16654 if ac_fn_c_try_link "$LINENO"; then :
16655 case "$LIBEXT" in
16656 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16657 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'` ;;
16658 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16659 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16660 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16661 fi ;;
16662 esac
16663 else
16664 ac_cv_lib_soname_vkd3d=
16666 rm -f core conftest.err conftest.$ac_objext \
16667 conftest$ac_exeext conftest.$ac_ext
16668 LIBS=$ac_check_soname_save_LIBS
16670 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16672 $as_echo "not found" >&6; }
16674 else
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16676 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16678 cat >>confdefs.h <<_ACEOF
16679 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16680 _ACEOF
16684 CPPFLAGS=$ac_save_CPPFLAGS
16686 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16687 if ${PKG_CONFIG+:} false; then :
16688 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16692 if ${VKD3D_SHADER_LIBS:+false} :; then :
16693 if ${PKG_CONFIG+:} false; then :
16694 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16699 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16700 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16701 ac_save_CPPFLAGS=$CPPFLAGS
16702 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16704 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16705 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16706 $as_echo_n "(cached) " >&6
16707 else
16708 ac_check_soname_save_LIBS=$LIBS
16709 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16713 /* Override any GCC internal prototype to avoid an error.
16714 Use char because int might match the return type of a GCC
16715 builtin and then its argument prototype would still apply. */
16716 #ifdef __cplusplus
16717 extern "C"
16718 #endif
16719 char vkd3d_shader_compile ();
16721 main ()
16723 return vkd3d_shader_compile ();
16725 return 0;
16727 _ACEOF
16728 if ac_fn_c_try_link "$LINENO"; then :
16729 case "$LIBEXT" in
16730 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16731 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'` ;;
16732 *) 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'`
16733 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16734 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16735 fi ;;
16736 esac
16737 else
16738 ac_cv_lib_soname_vkd3d_shader=
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16742 LIBS=$ac_check_soname_save_LIBS
16744 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16746 $as_echo "not found" >&6; }
16748 else
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16750 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16752 cat >>confdefs.h <<_ACEOF
16753 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16754 _ACEOF
16758 CPPFLAGS=$ac_save_CPPFLAGS
16761 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16762 case "x$with_vkd3d" in
16763 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16764 xno) ;;
16765 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16766 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16767 esac
16770 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16773 EXTRACFLAGS=""
16775 if test "x${GCC}" = "xyes"
16776 then
16777 EXTRACFLAGS="-Wall -pipe"
16779 saved_CFLAGS=$CFLAGS
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16781 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16782 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16783 $as_echo_n "(cached) " >&6
16784 else
16785 ac_wine_try_cflags_saved=$CFLAGS
16786 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 int main(int argc, char **argv) { return 0; }
16790 _ACEOF
16791 if ac_fn_c_try_link "$LINENO"; then :
16792 ac_cv_cflags__Werror_unknown_warning_option=yes
16793 else
16794 ac_cv_cflags__Werror_unknown_warning_option=no
16796 rm -f core conftest.err conftest.$ac_objext \
16797 conftest$ac_exeext conftest.$ac_ext
16798 CFLAGS=$ac_wine_try_cflags_saved
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16801 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16802 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16803 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16806 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16807 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16808 $as_echo_n "(cached) " >&6
16809 else
16810 ac_wine_try_cflags_saved=$CFLAGS
16811 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 int main(int argc, char **argv) { return 0; }
16815 _ACEOF
16816 if ac_fn_c_try_link "$LINENO"; then :
16817 ac_cv_cflags__Werror_unused_command_line_argument=yes
16818 else
16819 ac_cv_cflags__Werror_unused_command_line_argument=no
16821 rm -f core conftest.err conftest.$ac_objext \
16822 conftest$ac_exeext conftest.$ac_ext
16823 CFLAGS=$ac_wine_try_cflags_saved
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16826 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16827 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16828 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16831 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16832 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16833 $as_echo_n "(cached) " >&6
16834 else
16835 ac_wine_try_cflags_saved=$CFLAGS
16836 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16839 int main(int argc, char **argv) { return 0; }
16840 _ACEOF
16841 if ac_fn_c_try_link "$LINENO"; then :
16842 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16843 else
16844 ac_cv_cflags__Werror_ignored_optimization_argument=no
16846 rm -f core conftest.err conftest.$ac_objext \
16847 conftest$ac_exeext conftest.$ac_ext
16848 CFLAGS=$ac_wine_try_cflags_saved
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16851 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16852 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16853 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16856 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16857 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16858 $as_echo_n "(cached) " >&6
16859 else
16860 ac_wine_try_cflags_saved=$CFLAGS
16861 CFLAGS="$CFLAGS -fcf-protection=none"
16862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16864 int main(int argc, char **argv) { return 0; }
16865 _ACEOF
16866 if ac_fn_c_try_link "$LINENO"; then :
16867 ac_cv_cflags__fcf_protection_none=yes
16868 else
16869 ac_cv_cflags__fcf_protection_none=no
16871 rm -f core conftest.err conftest.$ac_objext \
16872 conftest$ac_exeext conftest.$ac_ext
16873 CFLAGS=$ac_wine_try_cflags_saved
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16876 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16877 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16878 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16881 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16882 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16883 $as_echo_n "(cached) " >&6
16884 else
16885 ac_wine_try_cflags_saved=$CFLAGS
16886 CFLAGS="$CFLAGS -fno-stack-protector"
16887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h. */
16889 int main(int argc, char **argv) { return 0; }
16890 _ACEOF
16891 if ac_fn_c_try_link "$LINENO"; then :
16892 ac_cv_cflags__fno_stack_protector=yes
16893 else
16894 ac_cv_cflags__fno_stack_protector=no
16896 rm -f core conftest.err conftest.$ac_objext \
16897 conftest$ac_exeext conftest.$ac_ext
16898 CFLAGS=$ac_wine_try_cflags_saved
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16901 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16902 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16903 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16906 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16907 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16908 $as_echo_n "(cached) " >&6
16909 else
16910 ac_wine_try_cflags_saved=$CFLAGS
16911 CFLAGS="$CFLAGS -fno-strict-aliasing"
16912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16913 /* end confdefs.h. */
16914 int main(int argc, char **argv) { return 0; }
16915 _ACEOF
16916 if ac_fn_c_try_link "$LINENO"; then :
16917 ac_cv_cflags__fno_strict_aliasing=yes
16918 else
16919 ac_cv_cflags__fno_strict_aliasing=no
16921 rm -f core conftest.err conftest.$ac_objext \
16922 conftest$ac_exeext conftest.$ac_ext
16923 CFLAGS=$ac_wine_try_cflags_saved
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16926 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16927 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16928 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16931 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16932 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16935 ac_wine_try_cflags_saved=$CFLAGS
16936 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16939 int main(int argc, char **argv) { return 0; }
16940 _ACEOF
16941 if ac_fn_c_try_link "$LINENO"; then :
16942 ac_cv_cflags__Wdeclaration_after_statement=yes
16943 else
16944 ac_cv_cflags__Wdeclaration_after_statement=no
16946 rm -f core conftest.err conftest.$ac_objext \
16947 conftest$ac_exeext conftest.$ac_ext
16948 CFLAGS=$ac_wine_try_cflags_saved
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16951 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16952 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16953 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16956 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16957 if ${ac_cv_cflags__Wempty_body+:} false; then :
16958 $as_echo_n "(cached) " >&6
16959 else
16960 ac_wine_try_cflags_saved=$CFLAGS
16961 CFLAGS="$CFLAGS -Wempty-body"
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 int main(int argc, char **argv) { return 0; }
16965 _ACEOF
16966 if ac_fn_c_try_link "$LINENO"; then :
16967 ac_cv_cflags__Wempty_body=yes
16968 else
16969 ac_cv_cflags__Wempty_body=no
16971 rm -f core conftest.err conftest.$ac_objext \
16972 conftest$ac_exeext conftest.$ac_ext
16973 CFLAGS=$ac_wine_try_cflags_saved
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16976 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16977 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16978 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16981 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16982 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16983 $as_echo_n "(cached) " >&6
16984 else
16985 ac_wine_try_cflags_saved=$CFLAGS
16986 CFLAGS="$CFLAGS -Wignored-qualifiers"
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 int main(int argc, char **argv) { return 0; }
16990 _ACEOF
16991 if ac_fn_c_try_link "$LINENO"; then :
16992 ac_cv_cflags__Wignored_qualifiers=yes
16993 else
16994 ac_cv_cflags__Wignored_qualifiers=no
16996 rm -f core conftest.err conftest.$ac_objext \
16997 conftest$ac_exeext conftest.$ac_ext
16998 CFLAGS=$ac_wine_try_cflags_saved
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17001 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17002 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17003 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17006 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17007 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17008 $as_echo_n "(cached) " >&6
17009 else
17010 ac_wine_try_cflags_saved=$CFLAGS
17011 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17014 int main(int argc, char **argv) { return 0; }
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"; then :
17017 ac_cv_cflags__Wpacked_not_aligned=yes
17018 else
17019 ac_cv_cflags__Wpacked_not_aligned=no
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17023 CFLAGS=$ac_wine_try_cflags_saved
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17026 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17027 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17028 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17031 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17032 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17033 $as_echo_n "(cached) " >&6
17034 else
17035 ac_wine_try_cflags_saved=$CFLAGS
17036 CFLAGS="$CFLAGS -Wpragma-pack"
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 int main(int argc, char **argv) { return 0; }
17040 _ACEOF
17041 if ac_fn_c_try_link "$LINENO"; then :
17042 ac_cv_cflags__Wpragma_pack=yes
17043 else
17044 ac_cv_cflags__Wpragma_pack=no
17046 rm -f core conftest.err conftest.$ac_objext \
17047 conftest$ac_exeext conftest.$ac_ext
17048 CFLAGS=$ac_wine_try_cflags_saved
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17051 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17052 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17053 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17056 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17057 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 ac_wine_try_cflags_saved=$CFLAGS
17061 CFLAGS="$CFLAGS -Wshift-overflow=2"
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 int main(int argc, char **argv) { return 0; }
17065 _ACEOF
17066 if ac_fn_c_try_link "$LINENO"; then :
17067 ac_cv_cflags__Wshift_overflow_2=yes
17068 else
17069 ac_cv_cflags__Wshift_overflow_2=no
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17073 CFLAGS=$ac_wine_try_cflags_saved
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17076 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17077 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17078 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17081 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17082 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 ac_wine_try_cflags_saved=$CFLAGS
17086 CFLAGS="$CFLAGS -Wstrict-prototypes"
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 int main(int argc, char **argv) { return 0; }
17090 _ACEOF
17091 if ac_fn_c_try_link "$LINENO"; then :
17092 ac_cv_cflags__Wstrict_prototypes=yes
17093 else
17094 ac_cv_cflags__Wstrict_prototypes=no
17096 rm -f core conftest.err conftest.$ac_objext \
17097 conftest$ac_exeext conftest.$ac_ext
17098 CFLAGS=$ac_wine_try_cflags_saved
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17101 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17102 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17103 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17106 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17107 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17108 $as_echo_n "(cached) " >&6
17109 else
17110 ac_wine_try_cflags_saved=$CFLAGS
17111 CFLAGS="$CFLAGS -Wtype-limits"
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 int main(int argc, char **argv) { return 0; }
17115 _ACEOF
17116 if ac_fn_c_try_link "$LINENO"; then :
17117 ac_cv_cflags__Wtype_limits=yes
17118 else
17119 ac_cv_cflags__Wtype_limits=no
17121 rm -f core conftest.err conftest.$ac_objext \
17122 conftest$ac_exeext conftest.$ac_ext
17123 CFLAGS=$ac_wine_try_cflags_saved
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17126 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17127 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17128 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17131 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17132 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 ac_wine_try_cflags_saved=$CFLAGS
17136 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17139 int main(int argc, char **argv) { return 0; }
17140 _ACEOF
17141 if ac_fn_c_try_link "$LINENO"; then :
17142 ac_cv_cflags__Wunused_but_set_parameter=yes
17143 else
17144 ac_cv_cflags__Wunused_but_set_parameter=no
17146 rm -f core conftest.err conftest.$ac_objext \
17147 conftest$ac_exeext conftest.$ac_ext
17148 CFLAGS=$ac_wine_try_cflags_saved
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17151 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17152 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17153 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17156 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17157 if ${ac_cv_cflags__Wvla+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 ac_wine_try_cflags_saved=$CFLAGS
17161 CFLAGS="$CFLAGS -Wvla"
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17164 int main(int argc, char **argv) { return 0; }
17165 _ACEOF
17166 if ac_fn_c_try_link "$LINENO"; then :
17167 ac_cv_cflags__Wvla=yes
17168 else
17169 ac_cv_cflags__Wvla=no
17171 rm -f core conftest.err conftest.$ac_objext \
17172 conftest$ac_exeext conftest.$ac_ext
17173 CFLAGS=$ac_wine_try_cflags_saved
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17176 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17177 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17178 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17181 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17182 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17185 ac_wine_try_cflags_saved=$CFLAGS
17186 CFLAGS="$CFLAGS -Wwrite-strings"
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17189 int main(int argc, char **argv) { return 0; }
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"; then :
17192 ac_cv_cflags__Wwrite_strings=yes
17193 else
17194 ac_cv_cflags__Wwrite_strings=no
17196 rm -f core conftest.err conftest.$ac_objext \
17197 conftest$ac_exeext conftest.$ac_ext
17198 CFLAGS=$ac_wine_try_cflags_saved
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17201 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17202 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17203 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17206 if test -z "$CROSSTARGET"
17207 then
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17209 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17210 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 ac_wine_try_cflags_saved=$CFLAGS
17214 CFLAGS="$CFLAGS -fexcess-precision=standard"
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17217 int main(int argc, char **argv) { return 0; }
17218 _ACEOF
17219 if ac_fn_c_try_link "$LINENO"; then :
17220 ac_cv_cflags__fexcess_precision_standard=yes
17221 else
17222 ac_cv_cflags__fexcess_precision_standard=no
17224 rm -f core conftest.err conftest.$ac_objext \
17225 conftest$ac_exeext conftest.$ac_ext
17226 CFLAGS=$ac_wine_try_cflags_saved
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17229 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17230 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17231 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17237 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17238 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17239 $as_echo_n "(cached) " >&6
17240 else
17241 ac_wine_try_cflags_saved=$CFLAGS
17242 CFLAGS="$CFLAGS -Wpointer-arith"
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17245 int main(int argc, char **argv) { return 0; }
17246 _ACEOF
17247 if ac_fn_c_try_link "$LINENO"; then :
17248 ac_cv_cflags__Wpointer_arith=yes
17249 else
17250 ac_cv_cflags__Wpointer_arith=no
17252 rm -f core conftest.err conftest.$ac_objext \
17253 conftest$ac_exeext conftest.$ac_ext
17254 CFLAGS=$ac_wine_try_cflags_saved
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17257 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17258 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17259 saved_string_h_CFLAGS=$CFLAGS
17260 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17262 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17263 if ${ac_cv_c_string_h_warnings+:} false; then :
17264 $as_echo_n "(cached) " >&6
17265 else
17266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h. */
17268 #include <string.h>
17270 main ()
17274 return 0;
17276 _ACEOF
17277 if ac_fn_c_try_compile "$LINENO"; then :
17278 ac_cv_c_string_h_warnings=no
17279 else
17280 ac_cv_c_string_h_warnings=yes
17282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17285 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17286 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17287 CFLAGS=$saved_string_h_CFLAGS
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17291 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17292 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 ac_wine_try_cflags_saved=$CFLAGS
17296 CFLAGS="$CFLAGS -Wlogical-op"
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 int main(int argc, char **argv) { return 0; }
17300 _ACEOF
17301 if ac_fn_c_try_link "$LINENO"; then :
17302 ac_cv_cflags__Wlogical_op=yes
17303 else
17304 ac_cv_cflags__Wlogical_op=no
17306 rm -f core conftest.err conftest.$ac_objext \
17307 conftest$ac_exeext conftest.$ac_ext
17308 CFLAGS=$ac_wine_try_cflags_saved
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17311 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17312 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17313 saved_string_h_CFLAGS=$CFLAGS
17314 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17316 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17317 if ${ac_cv_c_logicalop_noisy+:} false; then :
17318 $as_echo_n "(cached) " >&6
17319 else
17320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17322 #include <string.h>
17323 char*f(const char *h,char n) {return strchr(h,n);}
17325 main ()
17329 return 0;
17331 _ACEOF
17332 if ac_fn_c_try_compile "$LINENO"; then :
17333 ac_cv_c_logicalop_noisy=no
17334 else
17335 ac_cv_c_logicalop_noisy=yes
17337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17340 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17341 CFLAGS=$saved_string_h_CFLAGS
17342 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17346 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17347 if ${wine_cv_64bit_compare_swap+:} false; then :
17348 $as_echo_n "(cached) " >&6
17349 else
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17352 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17353 #error no
17354 #endif
17356 main ()
17360 return 0;
17362 _ACEOF
17363 if ac_fn_c_try_compile "$LINENO"; then :
17364 wine_cv_64bit_compare_swap="none needed"
17365 else
17366 case $host_cpu in
17367 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17368 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17369 *) wine_cv_64bit_compare_swap="unknown" ;;
17370 esac
17371 if test "x$wine_cv_64bit_compare_swap" != xunknown
17372 then
17373 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17377 #error no
17378 #endif
17380 main ()
17384 return 0;
17386 _ACEOF
17387 if ac_fn_c_try_compile "$LINENO"; then :
17389 else
17390 wine_cv_64bit_compare_swap="unknown"
17392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17393 CFLAGS=$saved_CFLAGS
17396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17399 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17400 case "$wine_cv_64bit_compare_swap" in
17401 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17402 "none needed") ;;
17403 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17404 esac
17406 for ac_flag in $CFLAGS; do
17407 case $ac_flag in
17408 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17409 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17410 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 ac_wine_try_cflags_saved=$CFLAGS
17414 CFLAGS="$CFLAGS -gdwarf-2"
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 int main(int argc, char **argv) { return 0; }
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"; then :
17420 ac_cv_cflags__gdwarf_2=yes
17421 else
17422 ac_cv_cflags__gdwarf_2=no
17424 rm -f core conftest.err conftest.$ac_objext \
17425 conftest$ac_exeext conftest.$ac_ext
17426 CFLAGS=$ac_wine_try_cflags_saved
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17429 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17430 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17431 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17434 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17435 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17438 ac_wine_try_cflags_saved=$CFLAGS
17439 CFLAGS="$CFLAGS -gstrict-dwarf"
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 int main(int argc, char **argv) { return 0; }
17443 _ACEOF
17444 if ac_fn_c_try_link "$LINENO"; then :
17445 ac_cv_cflags__gstrict_dwarf=yes
17446 else
17447 ac_cv_cflags__gstrict_dwarf=no
17449 rm -f core conftest.err conftest.$ac_objext \
17450 conftest$ac_exeext conftest.$ac_ext
17451 CFLAGS=$ac_wine_try_cflags_saved
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17454 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17455 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17456 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17457 fi ;;
17458 esac
17459 done
17461 MSVCRTFLAGS=""
17463 case $host_os in
17464 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17465 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17466 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17467 $as_echo_n "(cached) " >&6
17468 else
17469 ac_wine_try_cflags_saved=$CFLAGS
17470 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h. */
17473 int main(int argc, char **argv) { return 0; }
17474 _ACEOF
17475 if ac_fn_c_try_link "$LINENO"; then :
17476 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17477 else
17478 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17480 rm -f core conftest.err conftest.$ac_objext \
17481 conftest$ac_exeext conftest.$ac_ext
17482 CFLAGS=$ac_wine_try_cflags_saved
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17485 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17486 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17487 DELAYLOADFLAG="-Wl,-delayload,"
17489 fi ;;
17490 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17491 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17492 if ${ac_cv_cflags__fno_builtin+:} false; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17495 ac_wine_try_cflags_saved=$CFLAGS
17496 CFLAGS="$CFLAGS -fno-builtin"
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17499 int main(int argc, char **argv) { return 0; }
17500 _ACEOF
17501 if ac_fn_c_try_link "$LINENO"; then :
17502 ac_cv_cflags__fno_builtin=yes
17503 else
17504 ac_cv_cflags__fno_builtin=no
17506 rm -f core conftest.err conftest.$ac_objext \
17507 conftest$ac_exeext conftest.$ac_ext
17508 CFLAGS=$ac_wine_try_cflags_saved
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17511 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17512 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17513 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17516 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17517 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17520 ac_wine_try_cflags_saved=$CFLAGS
17521 CFLAGS="$CFLAGS -fshort-wchar"
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17524 int main(int argc, char **argv) { return 0; }
17525 _ACEOF
17526 if ac_fn_c_try_link "$LINENO"; then :
17527 ac_cv_cflags__fshort_wchar=yes
17528 else
17529 ac_cv_cflags__fshort_wchar=no
17531 rm -f core conftest.err conftest.$ac_objext \
17532 conftest$ac_exeext conftest.$ac_ext
17533 CFLAGS=$ac_wine_try_cflags_saved
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17536 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17537 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17538 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17539 fi ;;
17540 esac
17542 case $host_cpu in
17543 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17544 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17545 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17546 $as_echo_n "(cached) " >&6
17547 else
17548 ac_wine_try_cflags_saved=$CFLAGS
17549 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 int main(int argc, char **argv) { return 0; }
17553 _ACEOF
17554 if ac_fn_c_try_link "$LINENO"; then :
17555 ac_cv_cflags__fno_omit_frame_pointer=yes
17556 else
17557 ac_cv_cflags__fno_omit_frame_pointer=no
17559 rm -f core conftest.err conftest.$ac_objext \
17560 conftest$ac_exeext conftest.$ac_ext
17561 CFLAGS=$ac_wine_try_cflags_saved
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17564 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17565 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17566 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17567 fi ;;
17568 *x86_64*)
17569 case $host_os in
17570 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17571 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17572 if ${ac_cv_cflags__Wno_format+:} false; then :
17573 $as_echo_n "(cached) " >&6
17574 else
17575 ac_wine_try_cflags_saved=$CFLAGS
17576 CFLAGS="$CFLAGS -Wno-format"
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17579 int main(int argc, char **argv) { return 0; }
17580 _ACEOF
17581 if ac_fn_c_try_link "$LINENO"; then :
17582 ac_cv_cflags__Wno_format=yes
17583 else
17584 ac_cv_cflags__Wno_format=no
17586 rm -f core conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17588 CFLAGS=$ac_wine_try_cflags_saved
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17591 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17592 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17593 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17594 fi ;;
17595 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17596 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17597 if ${ac_cv_cflags__mabi_ms+:} false; then :
17598 $as_echo_n "(cached) " >&6
17599 else
17600 ac_wine_try_cflags_saved=$CFLAGS
17601 CFLAGS="$CFLAGS -mabi=ms"
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17604 int main(int argc, char **argv) { return 0; }
17605 _ACEOF
17606 if ac_fn_c_try_link "$LINENO"; then :
17607 ac_cv_cflags__mabi_ms=yes
17608 else
17609 ac_cv_cflags__mabi_ms=no
17611 rm -f core conftest.err conftest.$ac_objext \
17612 conftest$ac_exeext conftest.$ac_ext
17613 CFLAGS=$ac_wine_try_cflags_saved
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17616 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17617 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17618 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17619 fi ;;
17620 esac ;;
17621 esac
17623 CFLAGS=$saved_CFLAGS
17625 if test "x$enable_werror" = "xyes"
17626 then
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17628 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17629 if ${ac_cv_cflags__Werror+:} false; then :
17630 $as_echo_n "(cached) " >&6
17631 else
17632 ac_wine_try_cflags_saved=$CFLAGS
17633 CFLAGS="$CFLAGS -Werror"
17634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17635 /* end confdefs.h. */
17636 int main(int argc, char **argv) { return 0; }
17637 _ACEOF
17638 if ac_fn_c_try_link "$LINENO"; then :
17639 ac_cv_cflags__Werror=yes
17640 else
17641 ac_cv_cflags__Werror=no
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17645 CFLAGS=$ac_wine_try_cflags_saved
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17648 $as_echo "$ac_cv_cflags__Werror" >&6; }
17649 if test "x$ac_cv_cflags__Werror" = xyes; then :
17650 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17657 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17658 if ${ac_cv_c_fortify_enabled+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17663 #include <string.h>
17665 main ()
17667 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17668 #error Fortify enabled
17669 #endif
17671 return 0;
17673 _ACEOF
17674 if ac_fn_c_try_compile "$LINENO"; then :
17675 ac_cv_c_fortify_enabled=no
17676 else
17677 ac_cv_c_fortify_enabled=yes
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17682 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17683 if test "$ac_cv_c_fortify_enabled" = yes
17684 then
17685 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17690 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17691 if ${ac_cv_c_cfi_support+:} false; then :
17692 $as_echo_n "(cached) " >&6
17693 else
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17698 main ()
17702 return 0;
17704 _ACEOF
17705 if ac_fn_c_try_compile "$LINENO"; then :
17706 ac_cv_c_cfi_support="yes"
17707 else
17708 ac_cv_c_cfi_support="no"
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17713 $as_echo "$ac_cv_c_cfi_support" >&6; }
17714 if test "$ac_cv_c_cfi_support" = "yes"
17715 then
17716 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17717 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17718 else
17719 if test "x$enable_win64" = "xyes"
17720 then
17721 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17726 case $build_os in
17727 cygwin*|mingw32*) TOOLSEXT=".exe"
17729 esac
17731 case $host_os in
17732 linux*)
17733 case $host_cpu in
17734 *i[3456789]86*|x86_64*|*aarch64*)
17735 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17736 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17738 esac
17740 esac
17743 ac_save_CFLAGS="$CFLAGS"
17744 CFLAGS="$CFLAGS $BUILTINFLAG"
17745 for ac_func in \
17746 __res_get_state \
17747 __res_getservers \
17748 _spawnvp \
17749 epoll_create \
17750 fnmatch \
17751 fork \
17752 fstatfs \
17753 futimens \
17754 futimes \
17755 futimesat \
17756 getattrlist \
17757 getauxval \
17758 getifaddrs \
17759 getopt_long_only \
17760 getrandom \
17761 kqueue \
17762 lstat \
17763 mach_continuous_time \
17764 pipe2 \
17765 poll \
17766 port_create \
17767 prctl \
17768 pread \
17769 proc_pidinfo \
17770 pwrite \
17771 readlink \
17772 sched_yield \
17773 setproctitle \
17774 setprogname \
17775 sigprocmask \
17776 symlink \
17777 tcdrain \
17778 thr_kill2
17780 do :
17781 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17783 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17784 cat >>confdefs.h <<_ACEOF
17785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17786 _ACEOF
17789 done
17791 CFLAGS="$ac_save_CFLAGS"
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17794 $as_echo_n "checking for library containing dlopen... " >&6; }
17795 if ${ac_cv_search_dlopen+:} false; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17798 ac_func_search_save_LIBS=$LIBS
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17802 /* Override any GCC internal prototype to avoid an error.
17803 Use char because int might match the return type of a GCC
17804 builtin and then its argument prototype would still apply. */
17805 #ifdef __cplusplus
17806 extern "C"
17807 #endif
17808 char dlopen ();
17810 main ()
17812 return dlopen ();
17814 return 0;
17816 _ACEOF
17817 for ac_lib in '' dl; do
17818 if test -z "$ac_lib"; then
17819 ac_res="none required"
17820 else
17821 ac_res=-l$ac_lib
17822 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17824 if ac_fn_c_try_link "$LINENO"; then :
17825 ac_cv_search_dlopen=$ac_res
17827 rm -f core conftest.err conftest.$ac_objext \
17828 conftest$ac_exeext
17829 if ${ac_cv_search_dlopen+:} false; then :
17830 break
17832 done
17833 if ${ac_cv_search_dlopen+:} false; then :
17835 else
17836 ac_cv_search_dlopen=no
17838 rm conftest.$ac_ext
17839 LIBS=$ac_func_search_save_LIBS
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17842 $as_echo "$ac_cv_search_dlopen" >&6; }
17843 ac_res=$ac_cv_search_dlopen
17844 if test "$ac_res" != no; then :
17845 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17849 ac_wine_check_funcs_save_LIBS="$LIBS"
17850 LIBS="$LIBS $DL_LIBS"
17851 for ac_func in dladdr dlinfo
17852 do :
17853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17855 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17856 cat >>confdefs.h <<_ACEOF
17857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17858 _ACEOF
17861 done
17863 LIBS="$ac_wine_check_funcs_save_LIBS"
17865 if test "$ac_cv_func_poll" = no
17866 then
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17868 $as_echo_n "checking for poll in -lpoll... " >&6; }
17869 if ${ac_cv_lib_poll_poll+:} false; then :
17870 $as_echo_n "(cached) " >&6
17871 else
17872 ac_check_lib_save_LIBS=$LIBS
17873 LIBS="-lpoll $LIBS"
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17877 /* Override any GCC internal prototype to avoid an error.
17878 Use char because int might match the return type of a GCC
17879 builtin and then its argument prototype would still apply. */
17880 #ifdef __cplusplus
17881 extern "C"
17882 #endif
17883 char poll ();
17885 main ()
17887 return poll ();
17889 return 0;
17891 _ACEOF
17892 if ac_fn_c_try_link "$LINENO"; then :
17893 ac_cv_lib_poll_poll=yes
17894 else
17895 ac_cv_lib_poll_poll=no
17897 rm -f core conftest.err conftest.$ac_objext \
17898 conftest$ac_exeext conftest.$ac_ext
17899 LIBS=$ac_check_lib_save_LIBS
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17902 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17903 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17904 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17905 POLL_LIBS="-lpoll"
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17912 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17913 if ${ac_cv_search_gethostbyname+:} false; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17916 ac_func_search_save_LIBS=$LIBS
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17920 /* Override any GCC internal prototype to avoid an error.
17921 Use char because int might match the return type of a GCC
17922 builtin and then its argument prototype would still apply. */
17923 #ifdef __cplusplus
17924 extern "C"
17925 #endif
17926 char gethostbyname ();
17928 main ()
17930 return gethostbyname ();
17932 return 0;
17934 _ACEOF
17935 for ac_lib in '' nsl; do
17936 if test -z "$ac_lib"; then
17937 ac_res="none required"
17938 else
17939 ac_res=-l$ac_lib
17940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17942 if ac_fn_c_try_link "$LINENO"; then :
17943 ac_cv_search_gethostbyname=$ac_res
17945 rm -f core conftest.err conftest.$ac_objext \
17946 conftest$ac_exeext
17947 if ${ac_cv_search_gethostbyname+:} false; then :
17948 break
17950 done
17951 if ${ac_cv_search_gethostbyname+:} false; then :
17953 else
17954 ac_cv_search_gethostbyname=no
17956 rm conftest.$ac_ext
17957 LIBS=$ac_func_search_save_LIBS
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17960 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17961 ac_res=$ac_cv_search_gethostbyname
17962 if test "$ac_res" != no; then :
17963 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17969 $as_echo_n "checking for library containing connect... " >&6; }
17970 if ${ac_cv_search_connect+:} false; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973 ac_func_search_save_LIBS=$LIBS
17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17977 /* Override any GCC internal prototype to avoid an error.
17978 Use char because int might match the return type of a GCC
17979 builtin and then its argument prototype would still apply. */
17980 #ifdef __cplusplus
17981 extern "C"
17982 #endif
17983 char connect ();
17985 main ()
17987 return connect ();
17989 return 0;
17991 _ACEOF
17992 for ac_lib in '' socket; do
17993 if test -z "$ac_lib"; then
17994 ac_res="none required"
17995 else
17996 ac_res=-l$ac_lib
17997 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17999 if ac_fn_c_try_link "$LINENO"; then :
18000 ac_cv_search_connect=$ac_res
18002 rm -f core conftest.err conftest.$ac_objext \
18003 conftest$ac_exeext
18004 if ${ac_cv_search_connect+:} false; then :
18005 break
18007 done
18008 if ${ac_cv_search_connect+:} false; then :
18010 else
18011 ac_cv_search_connect=no
18013 rm conftest.$ac_ext
18014 LIBS=$ac_func_search_save_LIBS
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18017 $as_echo "$ac_cv_search_connect" >&6; }
18018 ac_res=$ac_cv_search_connect
18019 if test "$ac_res" != no; then :
18020 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18026 $as_echo_n "checking for library containing inet_aton... " >&6; }
18027 if ${ac_cv_search_inet_aton+:} false; then :
18028 $as_echo_n "(cached) " >&6
18029 else
18030 ac_func_search_save_LIBS=$LIBS
18031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18034 /* Override any GCC internal prototype to avoid an error.
18035 Use char because int might match the return type of a GCC
18036 builtin and then its argument prototype would still apply. */
18037 #ifdef __cplusplus
18038 extern "C"
18039 #endif
18040 char inet_aton ();
18042 main ()
18044 return inet_aton ();
18046 return 0;
18048 _ACEOF
18049 for ac_lib in '' resolv; do
18050 if test -z "$ac_lib"; then
18051 ac_res="none required"
18052 else
18053 ac_res=-l$ac_lib
18054 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18056 if ac_fn_c_try_link "$LINENO"; then :
18057 ac_cv_search_inet_aton=$ac_res
18059 rm -f core conftest.err conftest.$ac_objext \
18060 conftest$ac_exeext
18061 if ${ac_cv_search_inet_aton+:} false; then :
18062 break
18064 done
18065 if ${ac_cv_search_inet_aton+:} false; then :
18067 else
18068 ac_cv_search_inet_aton=no
18070 rm conftest.$ac_ext
18071 LIBS=$ac_func_search_save_LIBS
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18074 $as_echo "$ac_cv_search_inet_aton" >&6; }
18075 ac_res=$ac_cv_search_inet_aton
18076 if test "$ac_res" != no; then :
18077 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18082 for ac_func in \
18083 getaddrinfo \
18084 getnameinfo \
18085 getservbyport \
18087 do :
18088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18090 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18091 cat >>confdefs.h <<_ACEOF
18092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18093 _ACEOF
18096 done
18099 case $host_os in
18100 darwin*|macosx*) ;;
18101 *) ac_save_LIBS=$LIBS
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18103 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18104 if ${ac_cv_search_clock_gettime+:} false; then :
18105 $as_echo_n "(cached) " >&6
18106 else
18107 ac_func_search_save_LIBS=$LIBS
18108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18109 /* end confdefs.h. */
18111 /* Override any GCC internal prototype to avoid an error.
18112 Use char because int might match the return type of a GCC
18113 builtin and then its argument prototype would still apply. */
18114 #ifdef __cplusplus
18115 extern "C"
18116 #endif
18117 char clock_gettime ();
18119 main ()
18121 return clock_gettime ();
18123 return 0;
18125 _ACEOF
18126 for ac_lib in '' rt; do
18127 if test -z "$ac_lib"; then
18128 ac_res="none required"
18129 else
18130 ac_res=-l$ac_lib
18131 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18133 if ac_fn_c_try_link "$LINENO"; then :
18134 ac_cv_search_clock_gettime=$ac_res
18136 rm -f core conftest.err conftest.$ac_objext \
18137 conftest$ac_exeext
18138 if ${ac_cv_search_clock_gettime+:} false; then :
18139 break
18141 done
18142 if ${ac_cv_search_clock_gettime+:} false; then :
18144 else
18145 ac_cv_search_clock_gettime=no
18147 rm conftest.$ac_ext
18148 LIBS=$ac_func_search_save_LIBS
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18151 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18152 ac_res=$ac_cv_search_clock_gettime
18153 if test "$ac_res" != no; then :
18154 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18156 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18158 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18162 LIBS=$ac_save_LIBS
18164 esac
18166 if test "x$with_ldap" != "xno"
18167 then
18168 if ${LDAP_CFLAGS:+false} :; then :
18169 if ${PKG_CONFIG+:} false; then :
18170 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18174 if ${LDAP_LIBS:+false} :; then :
18175 if ${PKG_CONFIG+:} false; then :
18176 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18180 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18181 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18182 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18183 ac_save_CPPFLAGS=$CPPFLAGS
18184 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18185 for ac_header in ldap.h lber.h
18186 do :
18187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18188 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18189 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18190 cat >>confdefs.h <<_ACEOF
18191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18192 _ACEOF
18196 done
18198 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18199 then
18200 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18202 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18204 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18205 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18206 $as_echo_n "(cached) " >&6
18207 else
18208 ac_check_lib_save_LIBS=$LIBS
18209 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211 /* end confdefs.h. */
18213 /* Override any GCC internal prototype to avoid an error.
18214 Use char because int might match the return type of a GCC
18215 builtin and then its argument prototype would still apply. */
18216 #ifdef __cplusplus
18217 extern "C"
18218 #endif
18219 char ldap_initialize ();
18221 main ()
18223 return ldap_initialize ();
18225 return 0;
18227 _ACEOF
18228 if ac_fn_c_try_link "$LINENO"; then :
18229 ac_cv_lib_ldap_r_ldap_initialize=yes
18230 else
18231 ac_cv_lib_ldap_r_ldap_initialize=no
18233 rm -f core conftest.err conftest.$ac_objext \
18234 conftest$ac_exeext conftest.$ac_ext
18235 LIBS=$ac_check_lib_save_LIBS
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18238 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18239 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18241 $as_echo_n "checking for ber_init in -llber... " >&6; }
18242 if ${ac_cv_lib_lber_ber_init+:} false; then :
18243 $as_echo_n "(cached) " >&6
18244 else
18245 ac_check_lib_save_LIBS=$LIBS
18246 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18250 /* Override any GCC internal prototype to avoid an error.
18251 Use char because int might match the return type of a GCC
18252 builtin and then its argument prototype would still apply. */
18253 #ifdef __cplusplus
18254 extern "C"
18255 #endif
18256 char ber_init ();
18258 main ()
18260 return ber_init ();
18262 return 0;
18264 _ACEOF
18265 if ac_fn_c_try_link "$LINENO"; then :
18266 ac_cv_lib_lber_ber_init=yes
18267 else
18268 ac_cv_lib_lber_ber_init=no
18270 rm -f core conftest.err conftest.$ac_objext \
18271 conftest$ac_exeext conftest.$ac_ext
18272 LIBS=$ac_check_lib_save_LIBS
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18275 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18276 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18278 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18280 else
18281 LDAP_LIBS=""
18284 else
18285 LDAP_LIBS=""
18288 else
18289 LDAP_LIBS=""
18292 ac_wine_check_funcs_save_LIBS="$LIBS"
18293 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18294 for ac_func in \
18295 ldap_count_references \
18296 ldap_first_reference \
18297 ldap_next_reference \
18298 ldap_parse_reference \
18299 ldap_parse_sort_control \
18300 ldap_parse_sortresponse_control \
18301 ldap_parse_vlv_control \
18302 ldap_parse_vlvresponse_control
18303 do :
18304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18306 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18307 cat >>confdefs.h <<_ACEOF
18308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18309 _ACEOF
18312 done
18314 LIBS="$ac_wine_check_funcs_save_LIBS"
18315 else
18316 LDAP_LIBS=""
18318 CPPFLAGS=$ac_save_CPPFLAGS
18321 if test "x$LDAP_LIBS" = "x"; then :
18322 case "x$with_ldap" in
18323 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18324 xno) ;;
18325 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18326 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18327 esac
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18332 $as_echo_n "checking for sched_setaffinity... " >&6; }
18333 if ${wine_cv_have_sched_setaffinity+:} false; then :
18334 $as_echo_n "(cached) " >&6
18335 else
18336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18337 /* end confdefs.h. */
18338 #define _GNU_SOURCE
18339 #include <sched.h>
18341 main ()
18343 sched_setaffinity(0, 0, 0);
18345 return 0;
18347 _ACEOF
18348 if ac_fn_c_try_link "$LINENO"; then :
18349 wine_cv_have_sched_setaffinity=yes
18350 else
18351 wine_cv_have_sched_setaffinity=no
18353 rm -f core conftest.err conftest.$ac_objext \
18354 conftest$ac_exeext conftest.$ac_ext
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18357 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18358 if test "$wine_cv_have_sched_setaffinity" = "yes"
18359 then
18361 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18366 $as_echo_n "checking for fallocate... " >&6; }
18367 if ${wine_cv_have_fallocate+:} false; then :
18368 $as_echo_n "(cached) " >&6
18369 else
18370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18371 /* end confdefs.h. */
18372 #define _GNU_SOURCE
18373 #include <fcntl.h>
18375 main ()
18377 fallocate(-1, 0, 0, 0);
18379 return 0;
18381 _ACEOF
18382 if ac_fn_c_try_link "$LINENO"; then :
18383 wine_cv_have_fallocate=yes
18384 else
18385 wine_cv_have_fallocate=no
18387 rm -f core conftest.err conftest.$ac_objext \
18388 conftest$ac_exeext conftest.$ac_ext
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18391 $as_echo "$wine_cv_have_fallocate" >&6; }
18392 if test "$wine_cv_have_fallocate" = "yes"
18393 then
18395 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18401 $as_echo_n "checking for inline... " >&6; }
18402 if ${ac_cv_c_inline+:} false; then :
18403 $as_echo_n "(cached) " >&6
18404 else
18405 ac_cv_c_inline=no
18406 for ac_kw in inline __inline__ __inline; do
18407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18409 #ifndef __cplusplus
18410 typedef int foo_t;
18411 static $ac_kw foo_t static_foo () {return 0; }
18412 $ac_kw foo_t foo () {return 0; }
18413 #endif
18415 _ACEOF
18416 if ac_fn_c_try_compile "$LINENO"; then :
18417 ac_cv_c_inline=$ac_kw
18419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420 test "$ac_cv_c_inline" != no && break
18421 done
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18425 $as_echo "$ac_cv_c_inline" >&6; }
18427 case $ac_cv_c_inline in
18428 inline | yes) ;;
18430 case $ac_cv_c_inline in
18431 no) ac_val=;;
18432 *) ac_val=$ac_cv_c_inline;;
18433 esac
18434 cat >>confdefs.h <<_ACEOF
18435 #ifndef __cplusplus
18436 #define inline $ac_val
18437 #endif
18438 _ACEOF
18440 esac
18442 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18443 #include <signal.h>
18445 if test "x$ac_cv_type_sigset_t" = xyes; then :
18447 cat >>confdefs.h <<_ACEOF
18448 #define HAVE_SIGSET_T 1
18449 _ACEOF
18454 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18456 if test "x$ac_cv_type_request_sense" = xyes; then :
18458 cat >>confdefs.h <<_ACEOF
18459 #define HAVE_REQUEST_SENSE 1
18460 _ACEOF
18466 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18467 #ifdef HAVE_SYS_SOCKET_H
18468 #include <sys/socket.h>
18469 #endif
18470 #ifdef HAVE_SYS_SOCKETVAR_H
18471 #include <sys/socketvar.h>
18472 #endif
18473 #ifdef HAVE_NET_ROUTE_H
18474 #include <net/route.h>
18475 #endif
18476 #ifdef HAVE_NETINET_IN_H
18477 #include <netinet/in.h>
18478 #endif
18479 #ifdef HAVE_NETINET_IN_SYSTM_H
18480 #include <netinet/in_systm.h>
18481 #endif
18482 #ifdef HAVE_NETINET_IP_H
18483 #include <netinet/ip.h>
18484 #endif
18485 #ifdef HAVE_NETINET_IN_PCB_H
18486 #include <netinet/in_pcb.h>
18487 #endif
18489 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18491 cat >>confdefs.h <<_ACEOF
18492 #define HAVE_STRUCT_XINPGEN 1
18493 _ACEOF
18499 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18500 #include <linux/input.h>
18501 #endif
18503 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18505 cat >>confdefs.h <<_ACEOF
18506 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18507 _ACEOF
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18514 $as_echo_n "checking for if_nameindex... " >&6; }
18515 if ${wine_cv_have_if_nameindex+:} false; then :
18516 $as_echo_n "(cached) " >&6
18517 else
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18520 #ifdef HAVE_SYS_TYPES_H
18521 #include <sys/types.h>
18522 #endif
18523 #ifdef HAVE_SYS_SOCKET_H
18524 #include <sys/socket.h>
18525 #endif
18526 #ifdef HAVE_NET_IF_H
18527 # include <net/if.h>
18528 #endif
18530 main ()
18532 struct if_nameindex *p = if_nameindex(); return p->if_index;
18534 return 0;
18536 _ACEOF
18537 if ac_fn_c_try_link "$LINENO"; then :
18538 wine_cv_have_if_nameindex=yes
18539 else
18540 wine_cv_have_if_nameindex=no
18542 rm -f core conftest.err conftest.$ac_objext \
18543 conftest$ac_exeext conftest.$ac_ext
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18546 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18547 if test "$wine_cv_have_if_nameindex" = "yes"
18548 then
18550 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18555 $as_echo_n "checking for sigaddset... " >&6; }
18556 if ${wine_cv_have_sigaddset+:} false; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18561 #include <signal.h>
18563 main ()
18565 sigset_t set; sigaddset(&set,SIGTERM);
18567 return 0;
18569 _ACEOF
18570 if ac_fn_c_try_link "$LINENO"; then :
18571 wine_cv_have_sigaddset=yes
18572 else
18573 wine_cv_have_sigaddset=no
18575 rm -f core conftest.err conftest.$ac_objext \
18576 conftest$ac_exeext conftest.$ac_ext
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18579 $as_echo "$wine_cv_have_sigaddset" >&6; }
18580 if test "$wine_cv_have_sigaddset" = "yes"
18581 then
18583 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18589 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18590 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18591 $as_echo_n "(cached) " >&6
18592 else
18593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18594 /* end confdefs.h. */
18595 #include <netdb.h>
18597 main ()
18600 char *name=0;
18601 struct hostent he;
18602 struct hostent *result;
18603 char *buf=0;
18604 int bufsize=0;
18605 int errnr;
18606 char *addr=0;
18607 int addrlen=0;
18608 int addrtype=0;
18609 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18610 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18613 return 0;
18615 _ACEOF
18616 if ac_fn_c_try_link "$LINENO"; then :
18617 wine_cv_linux_gethostbyname_r_6=yes
18618 else
18619 wine_cv_linux_gethostbyname_r_6=no
18622 rm -f core conftest.err conftest.$ac_objext \
18623 conftest$ac_exeext conftest.$ac_ext
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18627 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18628 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18629 then
18631 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18635 if test "$ac_cv_header_linux_joystick_h" = "yes"
18636 then
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18638 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18639 if ${wine_cv_linux_joystick_22_api+:} false; then :
18640 $as_echo_n "(cached) " >&6
18641 else
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18645 #include <sys/ioctl.h>
18646 #include <sys/types.h>
18647 #include <linux/joystick.h>
18649 struct js_event blub;
18650 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18651 #error "no 2.2 header"
18652 #endif
18655 main ()
18657 /*empty*/
18659 return 0;
18661 _ACEOF
18662 if ac_fn_c_try_compile "$LINENO"; then :
18663 wine_cv_linux_joystick_22_api=yes
18664 else
18665 wine_cv_linux_joystick_22_api=no
18667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18671 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18672 if test "$wine_cv_linux_joystick_22_api" = "yes"
18673 then
18675 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18680 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18681 #ifdef HAVE_SYS_SOCKET_H
18682 # include <sys/socket.h>
18683 #endif
18684 #ifdef HAVE_SYS_UN_H
18685 # include <sys/un.h>
18686 #endif
18688 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18690 cat >>confdefs.h <<_ACEOF
18691 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18692 _ACEOF
18696 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18697 #ifdef HAVE_SYS_SOCKET_H
18698 # include <sys/socket.h>
18699 #endif
18700 #ifdef HAVE_SYS_UN_H
18701 # include <sys/un.h>
18702 #endif
18704 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18708 _ACEOF
18712 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18713 #ifdef HAVE_SYS_SOCKET_H
18714 # include <sys/socket.h>
18715 #endif
18716 #ifdef HAVE_SYS_UN_H
18717 # include <sys/un.h>
18718 #endif
18720 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18722 cat >>confdefs.h <<_ACEOF
18723 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18724 _ACEOF
18730 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18731 #ifdef HAVE_SCSI_SG_H
18732 #include <scsi/sg.h>
18733 #endif
18735 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18737 cat >>confdefs.h <<_ACEOF
18738 #define HAVE_SCSIREQ_T_CMD 1
18739 _ACEOF
18743 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>
18744 #ifdef HAVE_SCSI_SG_H
18745 #include <scsi/sg.h>
18746 #endif
18748 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18750 cat >>confdefs.h <<_ACEOF
18751 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18752 _ACEOF
18758 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18760 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18762 cat >>confdefs.h <<_ACEOF
18763 #define HAVE_SIGINFO_T_SI_FD 1
18764 _ACEOF
18770 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18771 #ifdef HAVE_SYS_MTIO_H
18772 #include <sys/mtio.h>
18773 #endif
18775 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18779 _ACEOF
18783 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18784 #ifdef HAVE_SYS_MTIO_H
18785 #include <sys/mtio.h>
18786 #endif
18788 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18790 cat >>confdefs.h <<_ACEOF
18791 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18792 _ACEOF
18796 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18797 #ifdef HAVE_SYS_MTIO_H
18798 #include <sys/mtio.h>
18799 #endif
18801 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18803 cat >>confdefs.h <<_ACEOF
18804 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18805 _ACEOF
18811 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18812 #include <getopt.h>
18813 #endif
18815 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18817 cat >>confdefs.h <<_ACEOF
18818 #define HAVE_STRUCT_OPTION_NAME 1
18819 _ACEOF
18825 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18826 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18828 cat >>confdefs.h <<_ACEOF
18829 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18830 _ACEOF
18834 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18835 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18837 cat >>confdefs.h <<_ACEOF
18838 #define HAVE_STRUCT_STAT_ST_MTIM 1
18839 _ACEOF
18843 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18844 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18846 cat >>confdefs.h <<_ACEOF
18847 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18848 _ACEOF
18852 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18853 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18855 cat >>confdefs.h <<_ACEOF
18856 #define HAVE_STRUCT_STAT_ST_CTIM 1
18857 _ACEOF
18861 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18862 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18864 cat >>confdefs.h <<_ACEOF
18865 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18866 _ACEOF
18870 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18871 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_STRUCT_STAT_ST_ATIM 1
18875 _ACEOF
18879 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18880 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18882 cat >>confdefs.h <<_ACEOF
18883 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18884 _ACEOF
18888 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18889 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18891 cat >>confdefs.h <<_ACEOF
18892 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18893 _ACEOF
18897 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18898 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18900 cat >>confdefs.h <<_ACEOF
18901 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18902 _ACEOF
18906 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18907 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18909 cat >>confdefs.h <<_ACEOF
18910 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18911 _ACEOF
18915 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18916 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18920 _ACEOF
18924 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18925 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18929 _ACEOF
18935 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
18936 #include <sys/types.h>
18937 #endif
18938 #ifdef HAVE_NETINET_IN_H
18939 #include <netinet/in.h>
18940 #endif
18942 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18944 cat >>confdefs.h <<_ACEOF
18945 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18946 _ACEOF
18952 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18953 #include <sys/types.h>
18954 #endif
18955 #ifdef HAVE_NETINET_IN_H
18956 #include <netinet/in.h>
18957 #endif
18958 #ifdef HAVE_RESOLV_H
18959 #include <resolv.h>
18960 #endif
18962 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18964 cat >>confdefs.h <<_ACEOF
18965 #define HAVE_STRUCT___RES_STATE 1
18966 _ACEOF
18972 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
18973 #include <resolv.h>
18974 #endif
18976 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18978 cat >>confdefs.h <<_ACEOF
18979 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18980 _ACEOF
18986 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18987 #include <sys/types.h>
18988 #endif
18989 #ifdef HAVE_NETINET_IN_H
18990 # include <netinet/in.h>
18991 #endif
18992 #ifdef HAVE_ARPA_NAMESER_H
18993 # include <arpa/nameser.h>
18994 #endif
18996 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_NS_MSG__MSG_PTR 1
19000 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19007 #include <sys/types.h>
19008 #endif
19009 #ifdef HAVE_NETINET_IN_H
19010 #include <netinet/in.h>
19011 #endif
19012 #ifdef HAVE_NETINET_IP_H
19013 #include <netinet/ip.h>
19014 #endif
19015 #ifdef HAVE_NETINET_IP_ICMP_H
19016 #include <netinet/ip_icmp.h>
19017 #endif
19018 #ifdef HAVE_NETINET_ICMP_VAR_H
19019 #include <netinet/icmp_var.h>
19020 #endif
19022 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19026 _ACEOF
19032 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19033 #include <sys/types.h>
19034 #endif
19035 #ifdef HAVE_ALIAS_H
19036 #include <alias.h>
19037 #endif
19038 #ifdef HAVE_SYS_SOCKET_H
19039 #include <sys/socket.h>
19040 #endif
19041 #ifdef HAVE_SYS_SOCKETVAR_H
19042 #include <sys/socketvar.h>
19043 #endif
19044 #ifdef HAVE_SYS_TIMEOUT_H
19045 #include <sys/timeout.h>
19046 #endif
19047 #ifdef HAVE_NETINET_IN_H
19048 #include <netinet/in.h>
19049 #endif
19050 #ifdef HAVE_NETINET_IN_SYSTM_H
19051 #include <netinet/in_systm.h>
19052 #endif
19053 #ifdef HAVE_NETINET_IP_H
19054 #include <netinet/ip.h>
19055 #endif
19056 #ifdef HAVE_NETINET_IP_VAR_H
19057 #include <netinet/ip_var.h>
19058 #endif
19059 #ifdef HAVE_NETINET_IP_ICMP_H
19060 #include <netinet/ip_icmp.h>
19061 #endif
19062 #ifdef HAVE_NETINET_ICMP_VAR_H
19063 #include <netinet/icmp_var.h>
19064 #endif
19066 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19068 cat >>confdefs.h <<_ACEOF
19069 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19070 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19077 #include <sys/types.h>
19078 #endif
19079 #ifdef HAVE_SYS_SOCKETVAR_H
19080 #include <sys/socketvar.h>
19081 #endif
19082 #ifdef HAVE_NETINET_IN_H
19083 #include <netinet/in.h>
19084 #endif
19085 #ifdef HAVE_NETINET_IP_VAR_H
19086 #include <netinet/ip_var.h>
19087 #endif
19089 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19093 _ACEOF
19099 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
19100 #include <netinet/ip_var.h>
19101 #endif
19103 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19105 cat >>confdefs.h <<_ACEOF
19106 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19107 _ACEOF
19113 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19114 #include <sys/types.h>
19115 #endif
19116 #ifdef HAVE_SYS_SOCKETVAR_H
19117 #include <sys/socketvar.h>
19118 #endif
19119 #ifdef HAVE_NETINET_IN_H
19120 #include <netinet/in.h>
19121 #endif
19122 #ifdef HAVE_NETINET_TCP_H
19123 #include <netinet/tcp.h>
19124 #endif
19125 #ifdef HAVE_NETINET_TCP_VAR_H
19126 #include <netinet/tcp_var.h>
19127 #endif
19129 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19133 _ACEOF
19139 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
19140 #include <netinet/tcp_var.h>
19141 #endif
19143 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19147 _ACEOF
19153 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19154 #include <sys/types.h>
19155 #endif
19156 #ifdef HAVE_NETINET_IN_H
19157 #include <netinet/in.h>
19158 #endif
19159 #ifdef HAVE_NETINET_IP_VAR_H
19160 #include <netinet/ip_var.h>
19161 #endif
19162 #ifdef HAVE_NETINET_UDP_H
19163 #include <netinet/udp.h>
19164 #endif
19165 #ifdef HAVE_NETINET_UDP_VAR_H
19166 #include <netinet/udp_var.h>
19167 #endif
19169 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19173 _ACEOF
19179 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19180 #include <sys/types.h>
19181 #endif
19182 #ifdef HAVE_NET_IF_H
19183 # include <net/if.h>
19184 #endif
19186 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19188 cat >>confdefs.h <<_ACEOF
19189 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19190 _ACEOF
19196 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19197 # include <sys/sysinfo.h>
19198 #endif
19200 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19202 cat >>confdefs.h <<_ACEOF
19203 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19204 _ACEOF
19208 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19209 # include <sys/sysinfo.h>
19210 #endif
19212 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19216 _ACEOF
19222 ac_save_LIBS="$LIBS"
19223 LIBS="$LIBS -lm"
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19225 $as_echo_n "checking for isfinite... " >&6; }
19226 if ${ac_cv_have_isfinite+:} false; then :
19227 $as_echo_n "(cached) " >&6
19228 else
19229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19231 #define _GNU_SOURCE
19232 #include <math.h>
19234 main ()
19236 float f = 0.0; return isfinite(f)
19238 return 0;
19240 _ACEOF
19241 if ac_fn_c_try_link "$LINENO"; then :
19242 ac_cv_have_isfinite="yes"
19243 else
19244 ac_cv_have_isfinite="no"
19246 rm -f core conftest.err conftest.$ac_objext \
19247 conftest$ac_exeext conftest.$ac_ext
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19250 $as_echo "$ac_cv_have_isfinite" >&6; }
19251 if test "$ac_cv_have_isfinite" = "yes"
19252 then
19254 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19259 $as_echo_n "checking for isinf... " >&6; }
19260 if ${ac_cv_have_isinf+:} false; then :
19261 $as_echo_n "(cached) " >&6
19262 else
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <math.h>
19267 main ()
19269 float f = 0.0; return isinf(f)
19271 return 0;
19273 _ACEOF
19274 if ac_fn_c_try_link "$LINENO"; then :
19275 ac_cv_have_isinf="yes"
19276 else
19277 ac_cv_have_isinf="no"
19279 rm -f core conftest.err conftest.$ac_objext \
19280 conftest$ac_exeext conftest.$ac_ext
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19283 $as_echo "$ac_cv_have_isinf" >&6; }
19284 if test "$ac_cv_have_isinf" = "yes"
19285 then
19287 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19292 $as_echo_n "checking for isnan... " >&6; }
19293 if ${ac_cv_have_isnan+:} false; then :
19294 $as_echo_n "(cached) " >&6
19295 else
19296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19298 #include <math.h>
19300 main ()
19302 float f = 0.0; return isnan(f)
19304 return 0;
19306 _ACEOF
19307 if ac_fn_c_try_link "$LINENO"; then :
19308 ac_cv_have_isnan="yes"
19309 else
19310 ac_cv_have_isnan="no"
19312 rm -f core conftest.err conftest.$ac_objext \
19313 conftest$ac_exeext conftest.$ac_ext
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19316 $as_echo "$ac_cv_have_isnan" >&6; }
19317 if test "$ac_cv_have_isnan" = "yes"
19318 then
19320 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19324 for ac_func in \
19325 acosh \
19326 acoshf \
19327 asinh \
19328 asinhf \
19329 atanh \
19330 atanhf \
19331 cbrt \
19332 cbrtf \
19333 erf \
19334 erfc \
19335 erfcf \
19336 erff \
19337 exp2 \
19338 exp2f \
19339 expm1 \
19340 expm1f \
19341 fma \
19342 fmaf \
19343 j0 \
19344 j1 \
19345 jn \
19346 lgamma \
19347 lgammaf \
19348 llrint \
19349 llrintf \
19350 llround \
19351 llroundf \
19352 log1p \
19353 log1pf \
19354 log2 \
19355 log2f \
19356 lrint \
19357 lrintf \
19358 lround \
19359 lroundf \
19360 nearbyint \
19361 nearbyintf \
19362 nexttoward \
19363 nexttowardf \
19364 remainder \
19365 remainderf \
19366 remquo \
19367 remquof \
19368 rint \
19369 rintf \
19370 round \
19371 roundf \
19372 tgamma \
19373 tgammaf \
19374 trunc \
19375 truncf \
19376 y0 \
19377 y1 \
19380 do :
19381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19384 cat >>confdefs.h <<_ACEOF
19385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19386 _ACEOF
19389 done
19391 LIBS="$ac_save_LIBS"
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19394 $as_echo_n "checking for __builtin_popcount... " >&6; }
19395 if ${ac_cv_have___builtin_popcount+:} false; then :
19396 $as_echo_n "(cached) " >&6
19397 else
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19402 main ()
19404 return __builtin_popcount(1)
19406 return 0;
19408 _ACEOF
19409 if ac_fn_c_try_link "$LINENO"; then :
19410 ac_cv_have___builtin_popcount="yes"
19411 else
19412 ac_cv_have___builtin_popcount="no"
19414 rm -f core conftest.err conftest.$ac_objext \
19415 conftest$ac_exeext conftest.$ac_ext
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19418 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19419 if test "$ac_cv_have___builtin_popcount" = "yes"
19420 then
19422 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19427 $as_echo_n "checking for __clear_cache... " >&6; }
19428 if ${ac_cv_have___clear_cache+:} false; then :
19429 $as_echo_n "(cached) " >&6
19430 else
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19435 main ()
19437 __clear_cache((void*)0, (void*)0); return 0;
19439 return 0;
19441 _ACEOF
19442 if ac_fn_c_try_link "$LINENO"; then :
19443 ac_cv_have___clear_cache="yes"
19444 else
19445 ac_cv_have___clear_cache="no"
19447 rm -f core conftest.err conftest.$ac_objext \
19448 conftest$ac_exeext conftest.$ac_ext
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19451 $as_echo "$ac_cv_have___clear_cache" >&6; }
19452 if test "$ac_cv_have___clear_cache" = "yes"
19453 then
19455 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19460 case $host_cpu in
19461 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19462 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19463 if ${ac_cv_cpp_def___i386__+:} false; then :
19464 $as_echo_n "(cached) " >&6
19465 else
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19468 #ifndef __i386__
19470 #endif
19471 _ACEOF
19472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19473 $EGREP "yes" >/dev/null 2>&1; then :
19474 ac_cv_cpp_def___i386__=yes
19475 else
19476 ac_cv_cpp_def___i386__=no
19478 rm -f conftest*
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19482 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19483 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19484 CFLAGS="$CFLAGS -D__i386__"
19485 LINTFLAGS="$LINTFLAGS -D__i386__"
19486 fi ;;
19487 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19488 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19489 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19490 $as_echo_n "(cached) " >&6
19491 else
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #ifndef __x86_64__
19496 #endif
19497 _ACEOF
19498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19499 $EGREP "yes" >/dev/null 2>&1; then :
19500 ac_cv_cpp_def___x86_64__=yes
19501 else
19502 ac_cv_cpp_def___x86_64__=no
19504 rm -f conftest*
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19508 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19509 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19510 CFLAGS="$CFLAGS -D__x86_64__"
19511 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19512 fi ;;
19513 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19514 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19515 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19516 $as_echo_n "(cached) " >&6
19517 else
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 #ifndef __sparc64__
19522 #endif
19523 _ACEOF
19524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19525 $EGREP "yes" >/dev/null 2>&1; then :
19526 ac_cv_cpp_def___sparc64__=yes
19527 else
19528 ac_cv_cpp_def___sparc64__=no
19530 rm -f conftest*
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19534 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19535 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19536 CFLAGS="$CFLAGS -D__sparc64__"
19537 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19538 fi ;;
19539 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19540 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19541 if ${ac_cv_cpp_def___sparc__+:} false; then :
19542 $as_echo_n "(cached) " >&6
19543 else
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #ifndef __sparc__
19548 #endif
19549 _ACEOF
19550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19551 $EGREP "yes" >/dev/null 2>&1; then :
19552 ac_cv_cpp_def___sparc__=yes
19553 else
19554 ac_cv_cpp_def___sparc__=no
19556 rm -f conftest*
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19560 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19561 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19562 CFLAGS="$CFLAGS -D__sparc__"
19563 LINTFLAGS="$LINTFLAGS -D__sparc__"
19564 fi ;;
19565 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19566 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19567 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19568 $as_echo_n "(cached) " >&6
19569 else
19570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19571 /* end confdefs.h. */
19572 #ifndef __powerpc64__
19574 #endif
19575 _ACEOF
19576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19577 $EGREP "yes" >/dev/null 2>&1; then :
19578 ac_cv_cpp_def___powerpc64__=yes
19579 else
19580 ac_cv_cpp_def___powerpc64__=no
19582 rm -f conftest*
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19586 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19587 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19588 CFLAGS="$CFLAGS -D__powerpc64__"
19589 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19590 fi ;;
19591 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19592 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19593 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19594 $as_echo_n "(cached) " >&6
19595 else
19596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19597 /* end confdefs.h. */
19598 #ifndef __powerpc__
19600 #endif
19601 _ACEOF
19602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19603 $EGREP "yes" >/dev/null 2>&1; then :
19604 ac_cv_cpp_def___powerpc__=yes
19605 else
19606 ac_cv_cpp_def___powerpc__=no
19608 rm -f conftest*
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19612 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19613 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19614 CFLAGS="$CFLAGS -D__powerpc__"
19615 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19616 fi ;;
19617 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19618 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19619 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19620 $as_echo_n "(cached) " >&6
19621 else
19622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h. */
19624 #ifndef __aarch64__
19626 #endif
19627 _ACEOF
19628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19629 $EGREP "yes" >/dev/null 2>&1; then :
19630 ac_cv_cpp_def___aarch64__=yes
19631 else
19632 ac_cv_cpp_def___aarch64__=no
19634 rm -f conftest*
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19638 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19639 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19640 CFLAGS="$CFLAGS -D__aarch64__"
19641 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19642 fi ;;
19643 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19644 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19645 if ${ac_cv_cpp_def___arm__+:} false; then :
19646 $as_echo_n "(cached) " >&6
19647 else
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19650 #ifndef __arm__
19652 #endif
19653 _ACEOF
19654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19655 $EGREP "yes" >/dev/null 2>&1; then :
19656 ac_cv_cpp_def___arm__=yes
19657 else
19658 ac_cv_cpp_def___arm__=no
19660 rm -f conftest*
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19664 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19665 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19666 CFLAGS="$CFLAGS -D__arm__"
19667 LINTFLAGS="$LINTFLAGS -D__arm__"
19668 fi ;;
19669 esac
19671 case $host_vendor in
19672 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19673 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19674 if ${ac_cv_cpp_def___sun__+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679 #ifndef __sun__
19681 #endif
19682 _ACEOF
19683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19684 $EGREP "yes" >/dev/null 2>&1; then :
19685 ac_cv_cpp_def___sun__=yes
19686 else
19687 ac_cv_cpp_def___sun__=no
19689 rm -f conftest*
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19693 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19694 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19695 CFLAGS="$CFLAGS -D__sun__"
19696 LINTFLAGS="$LINTFLAGS -D__sun__"
19697 fi ;;
19698 esac
19704 ac_config_commands="$ac_config_commands include/stamp-h"
19706 $as_echo_n "creating Makefile rules..." >&6
19708 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19709 OPENGL_LIBS = $OPENGL_LIBS
19710 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19711 IOKIT_LIBS = $IOKIT_LIBS
19712 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19713 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19714 CORESERVICES_LIBS = $CORESERVICES_LIBS
19715 APPKIT_LIBS = $APPKIT_LIBS
19716 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19717 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19718 SECURITY_LIBS = $SECURITY_LIBS
19719 COREAUDIO_LIBS = $COREAUDIO_LIBS
19720 OPENAL_LIBS = $OPENAL_LIBS
19721 OPENCL_LIBS = $OPENCL_LIBS
19722 QUICKTIME_LIBS = $QUICKTIME_LIBS
19723 CARBON_LIBS = $CARBON_LIBS
19724 METAL_LIBS = $METAL_LIBS
19725 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19726 PTHREAD_LIBS = $PTHREAD_LIBS
19727 X_CFLAGS = $X_CFLAGS
19728 X_PRE_LIBS = $X_PRE_LIBS
19729 X_LIBS = $X_LIBS
19730 X_EXTRA_LIBS = $X_EXTRA_LIBS
19731 PCAP_LIBS = $PCAP_LIBS
19732 XML2_CFLAGS = $XML2_CFLAGS
19733 XML2_LIBS = $XML2_LIBS
19734 XSLT_CFLAGS = $XSLT_CFLAGS
19735 XSLT_LIBS = $XSLT_LIBS
19736 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19737 INOTIFY_LIBS = $INOTIFY_LIBS
19738 DBUS_CFLAGS = $DBUS_CFLAGS
19739 DBUS_LIBS = $DBUS_LIBS
19740 HAL_CFLAGS = $HAL_CFLAGS
19741 HAL_LIBS = $HAL_LIBS
19742 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19743 GNUTLS_LIBS = $GNUTLS_LIBS
19744 SANE_CFLAGS = $SANE_CFLAGS
19745 SANE_LIBS = $SANE_LIBS
19746 USB_CFLAGS = $USB_CFLAGS
19747 USB_LIBS = $USB_LIBS
19748 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19749 GPHOTO2_LIBS = $GPHOTO2_LIBS
19750 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19751 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19752 RESOLV_LIBS = $RESOLV_LIBS
19753 LCMS2_CFLAGS = $LCMS2_CFLAGS
19754 LCMS2_LIBS = $LCMS2_LIBS
19755 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19756 FREETYPE_LIBS = $FREETYPE_LIBS
19757 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19758 PULSE_CFLAGS = $PULSE_CFLAGS
19759 PULSE_LIBS = $PULSE_LIBS
19760 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19761 GSTREAMER_LIBS = $GSTREAMER_LIBS
19762 ALSA_LIBS = $ALSA_LIBS
19763 OSS4_CFLAGS = $OSS4_CFLAGS
19764 OSS4_LIBS = $OSS4_LIBS
19765 UDEV_CFLAGS = $UDEV_CFLAGS
19766 UDEV_LIBS = $UDEV_LIBS
19767 UNWIND_CFLAGS = $UNWIND_CFLAGS
19768 UNWIND_LIBS = $UNWIND_LIBS
19769 SDL2_CFLAGS = $SDL2_CFLAGS
19770 SDL2_LIBS = $SDL2_LIBS
19771 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19772 FAUDIO_LIBS = $FAUDIO_LIBS
19773 CAPI20_CFLAGS = $CAPI20_CFLAGS
19774 CAPI20_LIBS = $CAPI20_LIBS
19775 CUPS_CFLAGS = $CUPS_CFLAGS
19776 CUPS_LIBS = $CUPS_LIBS
19777 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19778 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19779 KRB5_CFLAGS = $KRB5_CFLAGS
19780 KRB5_LIBS = $KRB5_LIBS
19781 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19782 GSSAPI_LIBS = $GSSAPI_LIBS
19783 JPEG_CFLAGS = $JPEG_CFLAGS
19784 JPEG_LIBS = $JPEG_LIBS
19785 PNG_CFLAGS = $PNG_CFLAGS
19786 PNG_LIBS = $PNG_LIBS
19787 TIFF_CFLAGS = $TIFF_CFLAGS
19788 TIFF_LIBS = $TIFF_LIBS
19789 MPG123_CFLAGS = $MPG123_CFLAGS
19790 MPG123_LIBS = $MPG123_LIBS
19791 KSTAT_LIBS = $KSTAT_LIBS
19792 PROCSTAT_LIBS = $PROCSTAT_LIBS
19793 NETAPI_CFLAGS = $NETAPI_CFLAGS
19794 NETAPI_LIBS = $NETAPI_LIBS
19795 VKD3D_CFLAGS = $VKD3D_CFLAGS
19796 VKD3D_LIBS = $VKD3D_LIBS
19797 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19798 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19799 POLL_LIBS = $POLL_LIBS
19800 RT_LIBS = $RT_LIBS
19801 LDAP_CFLAGS = $LDAP_CFLAGS
19802 LDAP_LIBS = $LDAP_LIBS
19806 makedep_flags=""
19807 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19810 wine_fn_append_rule "
19811 # Rules automatically generated by configure
19813 .INIT: Makefile
19814 .MAKEFILEDEPS:
19815 all: Makefile
19816 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19817 @./config.status Make.tmp Makefile
19818 depend: \$(MAKEDEP)
19819 \$(MAKEDEP)$makedep_flags
19820 dummy:
19821 .PHONY: depend dummy"
19823 ac_config_links="$ac_config_links wine:tools/winewrapper"
19824 wine_fn_config_symlink wine
19825 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19826 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19827 wine_fn_config_symlink wine64
19830 wine_fn_config_makefile dlls/acledit enable_acledit
19831 wine_fn_config_makefile dlls/aclui enable_aclui
19832 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19833 wine_fn_config_makefile dlls/activeds enable_activeds
19834 wine_fn_config_makefile dlls/activeds/tests enable_tests
19835 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19836 wine_fn_config_makefile dlls/adsiid enable_adsiid
19837 wine_fn_config_makefile dlls/adsldp enable_adsldp
19838 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19839 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19840 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19841 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19842 wine_fn_config_makefile dlls/advpack enable_advpack
19843 wine_fn_config_makefile dlls/advpack/tests enable_tests
19844 wine_fn_config_makefile dlls/amsi enable_amsi
19845 wine_fn_config_makefile dlls/amstream enable_amstream
19846 wine_fn_config_makefile dlls/amstream/tests enable_tests
19847 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19849 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19850 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19852 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19857 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19865 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19867 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19869 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19871 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19872 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19873 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19874 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19875 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19879 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19880 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19881 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19883 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19884 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19888 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19893 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19896 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19897 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19898 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19900 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19901 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19903 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19904 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19907 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19908 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19909 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19912 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19913 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19917 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19918 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
19919 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
19920 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19923 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19924 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19928 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19930 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19932 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19933 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19934 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19947 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19950 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19953 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19957 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19961 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19964 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19975 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19980 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19981 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19986 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19988 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20007 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20008 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20028 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20039 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20043 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20045 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20047 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20048 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20053 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20055 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20061 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20064 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20066 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20068 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20072 wine_fn_config_makefile dlls/apphelp enable_apphelp
20073 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20074 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20075 wine_fn_config_makefile dlls/atl enable_atl
20076 wine_fn_config_makefile dlls/atl/tests enable_tests
20077 wine_fn_config_makefile dlls/atl100 enable_atl100
20078 wine_fn_config_makefile dlls/atl100/tests enable_tests
20079 wine_fn_config_makefile dlls/atl110 enable_atl110
20080 wine_fn_config_makefile dlls/atl80 enable_atl80
20081 wine_fn_config_makefile dlls/atl80/tests enable_tests
20082 wine_fn_config_makefile dlls/atl90 enable_atl90
20083 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20084 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20085 wine_fn_config_makefile dlls/atmlib enable_atmlib
20086 wine_fn_config_makefile dlls/authz enable_authz
20087 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20088 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20089 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20090 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20091 wine_fn_config_makefile dlls/avrt enable_avrt
20092 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20093 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20094 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20095 wine_fn_config_makefile dlls/browseui enable_browseui
20096 wine_fn_config_makefile dlls/browseui/tests enable_tests
20097 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20098 wine_fn_config_makefile dlls/cabinet enable_cabinet
20099 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20100 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20101 wine_fn_config_makefile dlls/cards enable_cards
20102 wine_fn_config_makefile dlls/cdosys enable_cdosys
20103 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20104 wine_fn_config_makefile dlls/clusapi enable_clusapi
20105 wine_fn_config_makefile dlls/combase enable_combase
20106 wine_fn_config_makefile dlls/combase/tests enable_tests
20107 wine_fn_config_makefile dlls/comcat enable_comcat
20108 wine_fn_config_makefile dlls/comcat/tests enable_tests
20109 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20110 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20111 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20112 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20113 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20114 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20115 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20116 wine_fn_config_makefile dlls/compstui enable_compstui
20117 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20118 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20119 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20120 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20121 wine_fn_config_makefile dlls/connect enable_connect
20122 wine_fn_config_makefile dlls/credui enable_credui
20123 wine_fn_config_makefile dlls/credui/tests enable_tests
20124 wine_fn_config_makefile dlls/crtdll enable_crtdll
20125 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20126 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20127 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20128 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20129 wine_fn_config_makefile dlls/cryptext enable_cryptext
20130 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20131 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20132 wine_fn_config_makefile dlls/cryptui enable_cryptui
20133 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20134 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20135 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20136 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20137 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20138 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20139 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20140 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20141 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20142 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20143 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20144 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20145 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20146 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20147 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20148 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20149 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20150 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20151 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20152 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20153 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20154 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20155 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20156 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20157 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20158 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20159 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20160 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20161 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20162 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20163 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20164 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20165 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20166 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20167 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20168 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20169 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20170 wine_fn_config_makefile dlls/d3dim enable_d3dim
20171 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20172 wine_fn_config_makefile dlls/d3drm enable_d3drm
20173 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20174 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20175 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20176 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20177 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20178 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20179 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20180 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20181 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20182 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20183 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20184 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20185 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20186 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20187 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20188 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20189 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20190 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20191 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20192 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20193 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20194 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20195 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20196 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20197 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20198 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20199 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20200 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20201 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20202 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20203 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20204 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20205 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20206 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20207 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20208 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20209 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20210 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20211 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20212 wine_fn_config_makefile dlls/davclnt enable_davclnt
20213 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20214 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20215 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20216 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20217 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20218 wine_fn_config_makefile dlls/dcomp enable_dcomp
20219 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20220 wine_fn_config_makefile dlls/ddraw enable_ddraw
20221 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20222 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20223 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20224 wine_fn_config_makefile dlls/devenum enable_devenum
20225 wine_fn_config_makefile dlls/devenum/tests enable_tests
20226 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20227 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20228 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20229 wine_fn_config_makefile dlls/difxapi enable_difxapi
20230 wine_fn_config_makefile dlls/dinput enable_dinput
20231 wine_fn_config_makefile dlls/dinput/tests enable_tests
20232 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20233 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20234 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20235 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20236 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20237 wine_fn_config_makefile dlls/dispex enable_dispex
20238 wine_fn_config_makefile dlls/dispex/tests enable_tests
20239 wine_fn_config_makefile dlls/display.drv16 enable_win16
20240 wine_fn_config_makefile dlls/dmband enable_dmband
20241 wine_fn_config_makefile dlls/dmband/tests enable_tests
20242 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20243 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20244 wine_fn_config_makefile dlls/dmime enable_dmime
20245 wine_fn_config_makefile dlls/dmime/tests enable_tests
20246 wine_fn_config_makefile dlls/dmloader enable_dmloader
20247 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20248 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20249 wine_fn_config_makefile dlls/dmscript enable_dmscript
20250 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20251 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20252 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20253 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20254 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20255 wine_fn_config_makefile dlls/dmusic enable_dmusic
20256 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20257 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20258 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20259 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20260 wine_fn_config_makefile dlls/dplay enable_dplay
20261 wine_fn_config_makefile dlls/dplayx enable_dplayx
20262 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20263 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20264 wine_fn_config_makefile dlls/dpnet enable_dpnet
20265 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20266 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20267 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20268 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20269 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20270 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20271 wine_fn_config_makefile dlls/drmclien enable_drmclien
20272 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20273 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20274 wine_fn_config_makefile dlls/dsound enable_dsound
20275 wine_fn_config_makefile dlls/dsound/tests enable_tests
20276 wine_fn_config_makefile dlls/dsquery enable_dsquery
20277 wine_fn_config_makefile dlls/dssenh enable_dssenh
20278 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20279 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20280 wine_fn_config_makefile dlls/dswave enable_dswave
20281 wine_fn_config_makefile dlls/dswave/tests enable_tests
20282 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20283 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20284 wine_fn_config_makefile dlls/dwrite enable_dwrite
20285 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20286 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20287 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20288 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20289 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20290 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20291 wine_fn_config_makefile dlls/dxgi enable_dxgi
20292 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20293 wine_fn_config_makefile dlls/dxguid enable_dxguid
20294 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20295 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20296 wine_fn_config_makefile dlls/esent enable_esent
20297 wine_fn_config_makefile dlls/evr enable_evr
20298 wine_fn_config_makefile dlls/evr/tests enable_tests
20299 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20300 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20301 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20302 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20303 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20304 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20305 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20306 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20307 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20308 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20309 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20310 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20311 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20312 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20313 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20314 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20315 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20316 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20317 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20318 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20319 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20320 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20321 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20322 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20323 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20324 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20325 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20326 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20327 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20328 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20329 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20330 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20331 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20332 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20333 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20334 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20335 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20336 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20337 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20338 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20339 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20340 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20341 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
20342 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20343 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20344 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20345 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20346 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20347 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20348 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20349 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20350 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20351 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20352 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20353 wine_fn_config_makefile dlls/faultrep enable_faultrep
20354 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20355 wine_fn_config_makefile dlls/feclient enable_feclient
20356 wine_fn_config_makefile dlls/fltlib enable_fltlib
20357 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20358 wine_fn_config_makefile dlls/fntcache enable_fntcache
20359 wine_fn_config_makefile dlls/fontsub enable_fontsub
20360 wine_fn_config_makefile dlls/fusion enable_fusion
20361 wine_fn_config_makefile dlls/fusion/tests enable_tests
20362 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20363 wine_fn_config_makefile dlls/gameux enable_gameux
20364 wine_fn_config_makefile dlls/gameux/tests enable_tests
20365 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20366 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20367 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20368 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20369 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20370 wine_fn_config_makefile dlls/glu32 enable_glu32
20371 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20372 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20373 wine_fn_config_makefile dlls/hal enable_hal
20374 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20375 wine_fn_config_makefile dlls/hid enable_hid
20376 wine_fn_config_makefile dlls/hid/tests enable_tests
20377 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20378 wine_fn_config_makefile dlls/hlink enable_hlink
20379 wine_fn_config_makefile dlls/hlink/tests enable_tests
20380 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20381 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20382 wine_fn_config_makefile dlls/http.sys enable_http_sys
20383 wine_fn_config_makefile dlls/httpapi enable_httpapi
20384 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20385 wine_fn_config_makefile dlls/iccvid enable_iccvid
20386 wine_fn_config_makefile dlls/icmp enable_icmp
20387 wine_fn_config_makefile dlls/ieframe enable_ieframe
20388 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20389 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20390 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20391 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20392 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20393 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20394 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20395 wine_fn_config_makefile dlls/imm32 enable_imm32
20396 wine_fn_config_makefile dlls/imm32/tests enable_tests
20397 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20398 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20399 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20400 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20401 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20402 wine_fn_config_makefile dlls/infosoft enable_infosoft
20403 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20404 wine_fn_config_makefile dlls/initpki enable_initpki
20405 wine_fn_config_makefile dlls/inkobj enable_inkobj
20406 wine_fn_config_makefile dlls/inseng enable_inseng
20407 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20408 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20409 wine_fn_config_makefile dlls/iprop enable_iprop
20410 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20411 wine_fn_config_makefile dlls/itircl enable_itircl
20412 wine_fn_config_makefile dlls/itss enable_itss
20413 wine_fn_config_makefile dlls/itss/tests enable_tests
20414 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20415 wine_fn_config_makefile dlls/jscript enable_jscript
20416 wine_fn_config_makefile dlls/jscript/tests enable_tests
20417 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20418 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20419 wine_fn_config_makefile dlls/kerberos enable_kerberos
20420 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20421 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20422 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20423 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20424 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20425 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20426 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20427 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20428 wine_fn_config_makefile dlls/ksuser enable_ksuser
20429 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20430 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20431 wine_fn_config_makefile dlls/loadperf enable_loadperf
20432 wine_fn_config_makefile dlls/localspl enable_localspl
20433 wine_fn_config_makefile dlls/localspl/tests enable_tests
20434 wine_fn_config_makefile dlls/localui enable_localui
20435 wine_fn_config_makefile dlls/localui/tests enable_tests
20436 wine_fn_config_makefile dlls/lz32 enable_lz32
20437 wine_fn_config_makefile dlls/lz32/tests enable_tests
20438 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20439 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20440 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20441 wine_fn_config_makefile dlls/mapistub enable_mapistub
20442 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20443 wine_fn_config_makefile dlls/mcicda enable_mcicda
20444 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20445 wine_fn_config_makefile dlls/mciseq enable_mciseq
20446 wine_fn_config_makefile dlls/mciwave enable_mciwave
20447 wine_fn_config_makefile dlls/mf enable_mf
20448 wine_fn_config_makefile dlls/mf/tests enable_tests
20449 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20450 wine_fn_config_makefile dlls/mferror enable_mferror
20451 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20452 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20453 wine_fn_config_makefile dlls/mfplat enable_mfplat
20454 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20455 wine_fn_config_makefile dlls/mfplay enable_mfplay
20456 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20457 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20458 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20459 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20460 wine_fn_config_makefile dlls/midimap enable_midimap
20461 wine_fn_config_makefile dlls/mlang enable_mlang
20462 wine_fn_config_makefile dlls/mlang/tests enable_tests
20463 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20464 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20465 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20466 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20467 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20468 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20469 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20470 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20471 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20472 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20473 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20474 wine_fn_config_makefile dlls/mpr enable_mpr
20475 wine_fn_config_makefile dlls/mpr/tests enable_tests
20476 wine_fn_config_makefile dlls/mprapi enable_mprapi
20477 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20478 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20479 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20480 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20481 wine_fn_config_makefile dlls/msado15 enable_msado15
20482 wine_fn_config_makefile dlls/msado15/tests enable_tests
20483 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20484 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20485 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20486 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20487 wine_fn_config_makefile dlls/mscms enable_mscms
20488 wine_fn_config_makefile dlls/mscms/tests enable_tests
20489 wine_fn_config_makefile dlls/mscoree enable_mscoree
20490 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20491 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20492 wine_fn_config_makefile dlls/msctf enable_msctf
20493 wine_fn_config_makefile dlls/msctf/tests enable_tests
20494 wine_fn_config_makefile dlls/msctfp enable_msctfp
20495 wine_fn_config_makefile dlls/msdaps enable_msdaps
20496 wine_fn_config_makefile dlls/msdelta enable_msdelta
20497 wine_fn_config_makefile dlls/msdmo enable_msdmo
20498 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20499 wine_fn_config_makefile dlls/msdrm enable_msdrm
20500 wine_fn_config_makefile dlls/msftedit enable_msftedit
20501 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20502 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20503 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20504 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20505 wine_fn_config_makefile dlls/mshtml enable_mshtml
20506 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20507 wine_fn_config_makefile dlls/msi enable_msi
20508 wine_fn_config_makefile dlls/msi/tests enable_tests
20509 wine_fn_config_makefile dlls/msident enable_msident
20510 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20511 wine_fn_config_makefile dlls/msimsg enable_msimsg
20512 wine_fn_config_makefile dlls/msimtf enable_msimtf
20513 wine_fn_config_makefile dlls/msisip enable_msisip
20514 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20515 wine_fn_config_makefile dlls/msls31 enable_msls31
20516 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20517 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20518 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20519 wine_fn_config_makefile dlls/msports enable_msports
20520 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20521 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20522 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20523 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20524 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20525 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20526 wine_fn_config_makefile dlls/mstask enable_mstask
20527 wine_fn_config_makefile dlls/mstask/tests enable_tests
20528 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20529 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20530 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20531 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20532 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20533 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20534 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20535 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20536 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20537 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20538 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20539 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20540 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20541 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20542 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20543 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20544 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20545 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20546 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20547 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20548 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20549 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20550 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20551 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20552 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20553 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20554 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20555 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20556 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20557 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20558 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20559 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20560 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20561 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20562 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20563 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20564 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20565 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20566 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20567 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20568 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20569 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20570 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20571 wine_fn_config_makefile dlls/mswsock enable_mswsock
20572 wine_fn_config_makefile dlls/msxml enable_msxml
20573 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20574 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20575 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20576 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20577 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20578 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20579 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20580 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20581 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20582 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20583 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20584 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20585 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20586 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20587 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20588 wine_fn_config_makefile dlls/netprofm enable_netprofm
20589 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20590 wine_fn_config_makefile dlls/netutils enable_netutils
20591 wine_fn_config_makefile dlls/newdev enable_newdev
20592 wine_fn_config_makefile dlls/ninput enable_ninput
20593 wine_fn_config_makefile dlls/ninput/tests enable_tests
20594 wine_fn_config_makefile dlls/normaliz enable_normaliz
20595 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20596 wine_fn_config_makefile dlls/npptools enable_npptools
20597 wine_fn_config_makefile dlls/ntdll enable_ntdll
20598 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20599 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20600 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20601 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20602 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20603 wine_fn_config_makefile dlls/ntprint enable_ntprint
20604 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20605 wine_fn_config_makefile dlls/objsel enable_objsel
20606 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20607 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20608 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20609 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20610 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20611 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20612 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20613 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20614 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20615 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20616 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20617 wine_fn_config_makefile dlls/ole32 enable_ole32
20618 wine_fn_config_makefile dlls/ole32/tests enable_tests
20619 wine_fn_config_makefile dlls/oleacc enable_oleacc
20620 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20621 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20622 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20623 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20624 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20625 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20626 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20627 wine_fn_config_makefile dlls/oledlg enable_oledlg
20628 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20629 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20630 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20631 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20632 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20633 wine_fn_config_makefile dlls/opcservices enable_opcservices
20634 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20635 wine_fn_config_makefile dlls/openal32 enable_openal32
20636 wine_fn_config_makefile dlls/opencl enable_opencl
20637 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20638 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20639 wine_fn_config_makefile dlls/packager enable_packager
20640 wine_fn_config_makefile dlls/packager/tests enable_tests
20641 wine_fn_config_makefile dlls/pdh enable_pdh
20642 wine_fn_config_makefile dlls/pdh/tests enable_tests
20643 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20644 wine_fn_config_makefile dlls/pidgen enable_pidgen
20645 wine_fn_config_makefile dlls/powrprof enable_powrprof
20646 wine_fn_config_makefile dlls/printui enable_printui
20647 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20648 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20649 wine_fn_config_makefile dlls/propsys enable_propsys
20650 wine_fn_config_makefile dlls/propsys/tests enable_tests
20651 wine_fn_config_makefile dlls/psapi enable_psapi
20652 wine_fn_config_makefile dlls/psapi/tests enable_tests
20653 wine_fn_config_makefile dlls/pstorec enable_pstorec
20654 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20655 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20656 wine_fn_config_makefile dlls/qasf enable_qasf
20657 wine_fn_config_makefile dlls/qasf/tests enable_tests
20658 wine_fn_config_makefile dlls/qcap enable_qcap
20659 wine_fn_config_makefile dlls/qcap/tests enable_tests
20660 wine_fn_config_makefile dlls/qdvd enable_qdvd
20661 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20662 wine_fn_config_makefile dlls/qedit enable_qedit
20663 wine_fn_config_makefile dlls/qedit/tests enable_tests
20664 wine_fn_config_makefile dlls/qmgr enable_qmgr
20665 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20666 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20667 wine_fn_config_makefile dlls/quartz enable_quartz
20668 wine_fn_config_makefile dlls/quartz/tests enable_tests
20669 wine_fn_config_makefile dlls/query enable_query
20670 wine_fn_config_makefile dlls/qwave enable_qwave
20671 wine_fn_config_makefile dlls/qwave/tests enable_tests
20672 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20673 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20674 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20675 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20676 wine_fn_config_makefile dlls/regapi enable_regapi
20677 wine_fn_config_makefile dlls/resutils enable_resutils
20678 wine_fn_config_makefile dlls/riched20 enable_riched20
20679 wine_fn_config_makefile dlls/riched20/tests enable_tests
20680 wine_fn_config_makefile dlls/riched32 enable_riched32
20681 wine_fn_config_makefile dlls/riched32/tests enable_tests
20682 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20683 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20684 wine_fn_config_makefile dlls/rsabase enable_rsabase
20685 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20686 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20687 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20688 wine_fn_config_makefile dlls/rtutils enable_rtutils
20689 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20690 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20691 wine_fn_config_makefile dlls/samlib enable_samlib
20692 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20693 wine_fn_config_makefile dlls/sapi enable_sapi
20694 wine_fn_config_makefile dlls/sapi/tests enable_tests
20695 wine_fn_config_makefile dlls/sas enable_sas
20696 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20697 wine_fn_config_makefile dlls/sccbase enable_sccbase
20698 wine_fn_config_makefile dlls/schannel enable_schannel
20699 wine_fn_config_makefile dlls/schannel/tests enable_tests
20700 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20701 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20702 wine_fn_config_makefile dlls/scrobj enable_scrobj
20703 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20704 wine_fn_config_makefile dlls/scrrun enable_scrrun
20705 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20706 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20707 wine_fn_config_makefile dlls/sechost enable_sechost
20708 wine_fn_config_makefile dlls/secur32 enable_secur32
20709 wine_fn_config_makefile dlls/secur32/tests enable_tests
20710 wine_fn_config_makefile dlls/security enable_security
20711 wine_fn_config_makefile dlls/sensapi enable_sensapi
20712 wine_fn_config_makefile dlls/serialui enable_serialui
20713 wine_fn_config_makefile dlls/serialui/tests enable_tests
20714 wine_fn_config_makefile dlls/setupapi enable_setupapi
20715 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20716 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20717 wine_fn_config_makefile dlls/sfc enable_sfc
20718 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20719 wine_fn_config_makefile dlls/shcore enable_shcore
20720 wine_fn_config_makefile dlls/shcore/tests enable_tests
20721 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20722 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20723 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20724 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20725 wine_fn_config_makefile dlls/shell32 enable_shell32
20726 wine_fn_config_makefile dlls/shell32/tests enable_tests
20727 wine_fn_config_makefile dlls/shfolder enable_shfolder
20728 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20729 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20730 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20731 wine_fn_config_makefile dlls/slc enable_slc
20732 wine_fn_config_makefile dlls/slc/tests enable_tests
20733 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20734 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20735 wine_fn_config_makefile dlls/softpub enable_softpub
20736 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20737 wine_fn_config_makefile dlls/spoolss enable_spoolss
20738 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20739 wine_fn_config_makefile dlls/srclient enable_srclient
20740 wine_fn_config_makefile dlls/srvcli enable_srvcli
20741 wine_fn_config_makefile dlls/sspicli enable_sspicli
20742 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20743 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20744 wine_fn_config_makefile dlls/sti enable_sti
20745 wine_fn_config_makefile dlls/sti/tests enable_tests
20746 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20747 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20748 wine_fn_config_makefile dlls/strmbase enable_strmbase
20749 wine_fn_config_makefile dlls/strmdll enable_strmdll
20750 wine_fn_config_makefile dlls/strmiids enable_strmiids
20751 wine_fn_config_makefile dlls/svrapi enable_svrapi
20752 wine_fn_config_makefile dlls/sxs enable_sxs
20753 wine_fn_config_makefile dlls/sxs/tests enable_tests
20754 wine_fn_config_makefile dlls/system.drv16 enable_win16
20755 wine_fn_config_makefile dlls/t2embed enable_t2embed
20756 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20757 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20758 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20759 wine_fn_config_makefile dlls/taskschd enable_taskschd
20760 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20761 wine_fn_config_makefile dlls/tdh enable_tdh
20762 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20763 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20764 wine_fn_config_makefile dlls/traffic enable_traffic
20765 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20766 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20767 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20768 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20769 wine_fn_config_makefile dlls/tzres enable_tzres
20770 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20771 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20772 wine_fn_config_makefile dlls/uianimation enable_uianimation
20773 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20774 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20775 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20776 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20777 wine_fn_config_makefile dlls/unicows enable_unicows
20778 wine_fn_config_makefile dlls/updspapi enable_updspapi
20779 wine_fn_config_makefile dlls/url enable_url
20780 wine_fn_config_makefile dlls/urlmon enable_urlmon
20781 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20782 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20783 wine_fn_config_makefile dlls/user.exe16 enable_win16
20784 wine_fn_config_makefile dlls/user32 enable_user32
20785 wine_fn_config_makefile dlls/user32/tests enable_tests
20786 wine_fn_config_makefile dlls/userenv enable_userenv
20787 wine_fn_config_makefile dlls/userenv/tests enable_tests
20788 wine_fn_config_makefile dlls/usp10 enable_usp10
20789 wine_fn_config_makefile dlls/usp10/tests enable_tests
20790 wine_fn_config_makefile dlls/utildll enable_utildll
20791 wine_fn_config_makefile dlls/uuid enable_uuid
20792 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20793 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20794 wine_fn_config_makefile dlls/vbscript enable_vbscript
20795 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20796 wine_fn_config_makefile dlls/vcomp enable_vcomp
20797 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20798 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20799 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20800 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20801 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20802 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20803 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20804 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20805 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20806 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20807 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20808 wine_fn_config_makefile dlls/version enable_version
20809 wine_fn_config_makefile dlls/version/tests enable_tests
20810 wine_fn_config_makefile dlls/vga enable_vga
20811 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20812 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20813 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20814 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20815 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20816 wine_fn_config_makefile dlls/vssapi enable_vssapi
20817 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20818 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20819 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20820 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20821 wine_fn_config_makefile dlls/w32skrnl enable_win16
20822 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20823 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20824 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20825 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20826 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20827 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20828 wine_fn_config_makefile dlls/wdscore enable_wdscore
20829 wine_fn_config_makefile dlls/webservices enable_webservices
20830 wine_fn_config_makefile dlls/webservices/tests enable_tests
20831 wine_fn_config_makefile dlls/wer enable_wer
20832 wine_fn_config_makefile dlls/wer/tests enable_tests
20833 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20834 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20835 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20836 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20837 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20838 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20839 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20840 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20841 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20842 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20843 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20844 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20845 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20846 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20847 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20848 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20849 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20850 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20851 wine_fn_config_makefile dlls/wined3d enable_wined3d
20852 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20853 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20854 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20855 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20856 wine_fn_config_makefile dlls/winemapi enable_winemapi
20857 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20858 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20859 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20860 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20861 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20862 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20863 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20864 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20865 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20866 wine_fn_config_makefile dlls/wing32 enable_wing32
20867 wine_fn_config_makefile dlls/winhttp enable_winhttp
20868 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20869 wine_fn_config_makefile dlls/wininet enable_wininet
20870 wine_fn_config_makefile dlls/wininet/tests enable_tests
20871 wine_fn_config_makefile dlls/winmm enable_winmm
20872 wine_fn_config_makefile dlls/winmm/tests enable_tests
20873 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20874 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20875 wine_fn_config_makefile dlls/winscard enable_winscard
20876 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20877 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20878 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20879 wine_fn_config_makefile dlls/winsta enable_winsta
20880 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20881 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20882 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20883 wine_fn_config_makefile dlls/wintrust enable_wintrust
20884 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20885 wine_fn_config_makefile dlls/winusb enable_winusb
20886 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20887 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20888 wine_fn_config_makefile dlls/wlanui enable_wlanui
20889 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20890 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20891 wine_fn_config_makefile dlls/wmasf enable_wmasf
20892 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20893 wine_fn_config_makefile dlls/wmi enable_wmi
20894 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20895 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20896 wine_fn_config_makefile dlls/wmp enable_wmp
20897 wine_fn_config_makefile dlls/wmp/tests enable_tests
20898 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20899 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20900 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20901 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20902 wine_fn_config_makefile dlls/wow32 enable_win16
20903 wine_fn_config_makefile dlls/wpc enable_wpc
20904 wine_fn_config_makefile dlls/wpc/tests enable_tests
20905 wine_fn_config_makefile dlls/wpcap enable_wpcap
20906 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20907 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20908 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20909 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20910 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20911 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20912 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20913 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20914 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20915 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20916 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20917 wine_fn_config_makefile dlls/wuapi enable_wuapi
20918 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20919 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20920 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20921 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20922 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20923 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20924 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20925 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20926 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20927 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
20928 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
20929 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
20930 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
20931 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
20932 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
20933 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
20934 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
20935 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
20936 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20937 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20938 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20939 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20940 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20941 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20942 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20943 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20944 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20945 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20946 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20947 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20948 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20949 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20950 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20951 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20952 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20953 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20954 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20955 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20956 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20957 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20958 wine_fn_config_makefile dlls/xmllite enable_xmllite
20959 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20960 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20961 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20962 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20963 wine_fn_config_makefile fonts enable_fonts
20964 wine_fn_config_makefile include enable_include
20965 wine_fn_config_makefile libs/port enable_port
20966 wine_fn_config_makefile libs/wine enable_wine
20967 wine_fn_config_makefile libs/wpp enable_wpp
20968 wine_fn_config_makefile loader enable_loader
20969 wine_fn_config_makefile nls enable_nls
20970 wine_fn_config_makefile po enable_po
20971 wine_fn_config_makefile programs/arp enable_arp
20972 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20973 wine_fn_config_makefile programs/attrib enable_attrib
20974 wine_fn_config_makefile programs/cabarc enable_cabarc
20975 wine_fn_config_makefile programs/cacls enable_cacls
20976 wine_fn_config_makefile programs/chcp.com enable_chcp_com
20977 wine_fn_config_makefile programs/clock enable_clock
20978 wine_fn_config_makefile programs/cmd enable_cmd
20979 wine_fn_config_makefile programs/cmd/tests enable_tests
20980 wine_fn_config_makefile programs/conhost enable_conhost
20981 wine_fn_config_makefile programs/conhost/tests enable_tests
20982 wine_fn_config_makefile programs/control enable_control
20983 wine_fn_config_makefile programs/cscript enable_cscript
20984 wine_fn_config_makefile programs/dism enable_dism
20985 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
20986 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20987 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
20988 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20989 wine_fn_config_makefile programs/eject enable_eject
20990 wine_fn_config_makefile programs/expand enable_expand
20991 wine_fn_config_makefile programs/explorer enable_explorer
20992 wine_fn_config_makefile programs/extrac32 enable_extrac32
20993 wine_fn_config_makefile programs/fc enable_fc
20994 wine_fn_config_makefile programs/find enable_find
20995 wine_fn_config_makefile programs/find/tests enable_tests
20996 wine_fn_config_makefile programs/findstr enable_findstr
20997 wine_fn_config_makefile programs/fsutil enable_fsutil
20998 wine_fn_config_makefile programs/fsutil/tests enable_tests
20999 wine_fn_config_makefile programs/hh enable_hh
21000 wine_fn_config_makefile programs/hostname enable_hostname
21001 wine_fn_config_makefile programs/icacls enable_icacls
21002 wine_fn_config_makefile programs/icinfo enable_icinfo
21003 wine_fn_config_makefile programs/iexplore enable_iexplore
21004 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21005 wine_fn_config_makefile programs/lodctr enable_lodctr
21006 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21007 wine_fn_config_makefile programs/mshta enable_mshta
21008 wine_fn_config_makefile programs/msidb enable_msidb
21009 wine_fn_config_makefile programs/msiexec enable_msiexec
21010 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21011 wine_fn_config_makefile programs/net enable_net
21012 wine_fn_config_makefile programs/netsh enable_netsh
21013 wine_fn_config_makefile programs/netstat enable_netstat
21014 wine_fn_config_makefile programs/ngen enable_ngen
21015 wine_fn_config_makefile programs/notepad enable_notepad
21016 wine_fn_config_makefile programs/oleview enable_oleview
21017 wine_fn_config_makefile programs/ping enable_ping
21018 wine_fn_config_makefile programs/plugplay enable_plugplay
21019 wine_fn_config_makefile programs/powershell enable_powershell
21020 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21021 wine_fn_config_makefile programs/progman enable_progman
21022 wine_fn_config_makefile programs/reg enable_reg
21023 wine_fn_config_makefile programs/reg/tests enable_tests
21024 wine_fn_config_makefile programs/regasm enable_regasm
21025 wine_fn_config_makefile programs/regedit enable_regedit
21026 wine_fn_config_makefile programs/regedit/tests enable_tests
21027 wine_fn_config_makefile programs/regini enable_regini
21028 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21029 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21030 wine_fn_config_makefile programs/rpcss enable_rpcss
21031 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21032 wine_fn_config_makefile programs/rundll32 enable_rundll32
21033 wine_fn_config_makefile programs/sc enable_sc
21034 wine_fn_config_makefile programs/schtasks enable_schtasks
21035 wine_fn_config_makefile programs/schtasks/tests enable_tests
21036 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21037 wine_fn_config_makefile programs/secedit enable_secedit
21038 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21039 wine_fn_config_makefile programs/services enable_services
21040 wine_fn_config_makefile programs/services/tests enable_tests
21041 wine_fn_config_makefile programs/shutdown enable_shutdown
21042 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21043 wine_fn_config_makefile programs/start enable_start
21044 wine_fn_config_makefile programs/subst enable_subst
21045 wine_fn_config_makefile programs/svchost enable_svchost
21046 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21047 wine_fn_config_makefile programs/taskkill enable_taskkill
21048 wine_fn_config_makefile programs/tasklist enable_tasklist
21049 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21050 wine_fn_config_makefile programs/termsv enable_termsv
21051 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21052 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21053 wine_fn_config_makefile programs/view enable_view
21054 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21055 wine_fn_config_makefile programs/where enable_where
21056 wine_fn_config_makefile programs/whoami enable_whoami
21057 wine_fn_config_makefile programs/wineboot enable_wineboot
21058 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21059 wine_fn_config_makefile programs/winecfg enable_winecfg
21060 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21061 wine_fn_config_makefile programs/winedbg enable_winedbg
21062 wine_fn_config_makefile programs/winedevice enable_winedevice
21063 wine_fn_config_makefile programs/winefile enable_winefile
21064 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21065 wine_fn_config_makefile programs/winemine enable_winemine
21066 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21067 wine_fn_config_makefile programs/winepath enable_winepath
21068 wine_fn_config_makefile programs/winetest enable_winetest
21069 wine_fn_config_makefile programs/winevdm enable_win16
21070 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21071 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21072 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21073 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21074 wine_fn_config_makefile programs/winver enable_winver
21075 wine_fn_config_makefile programs/wmic enable_wmic
21076 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21077 wine_fn_config_makefile programs/wordpad enable_wordpad
21078 wine_fn_config_makefile programs/write enable_write
21079 wine_fn_config_makefile programs/wscript enable_wscript
21080 wine_fn_config_makefile programs/wscript/tests enable_tests
21081 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21082 wine_fn_config_makefile programs/wusa enable_wusa
21083 wine_fn_config_makefile programs/xcopy enable_xcopy
21084 wine_fn_config_makefile programs/xcopy/tests enable_tests
21085 wine_fn_config_makefile server enable_server
21086 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21087 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21088 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21089 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21090 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21091 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21092 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21093 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21094 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21097 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21098 wine_fn_append_file CONFIGURE_TARGETS "tags"
21099 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21100 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21101 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21102 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21103 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21104 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21106 if test "x$enable_tools" != xno
21107 then
21108 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21109 ac_config_commands="$ac_config_commands tools/makedep"
21113 ac_config_commands="$ac_config_commands Makefile"
21116 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21120 if test "x$enable_maintainer_mode" = xyes
21121 then
21122 wine_fn_append_rule "configure: configure.ac aclocal.m4
21123 autoconf --warnings=all
21124 include/config.h.in: include/stamp-h.in
21125 include/stamp-h.in: configure.ac aclocal.m4
21126 autoheader --warnings=all
21127 @echo timestamp > \$@"
21130 if test "x$enable_tools" != xno
21131 then
21132 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21133 @./config.status tools/makedep
21134 Makefile: tools/makedep$ac_exeext"
21135 else
21136 wine_fn_append_rule "\$(MAKEDEP):
21137 @echo \"You need to run make in $TOOLSDIR first\" && false"
21140 if test -n "$with_wine64"
21141 then
21142 case "$with_wine64" in
21143 /*) reldir="" ;;
21144 *) reldir="../" ;;
21145 esac
21146 rm -f fonts server 2>/dev/null
21147 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21148 loader/wine64 loader/wine64-preloader:
21149 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21150 $with_wine64/loader/wine:
21151 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21152 $with_wine64/loader/wine-preloader:
21153 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21154 clean::
21155 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21156 else
21157 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21158 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21159 fonts \
21160 loader/wine.inf \
21161 nls \
21162 programs/msidb/msidb \
21163 programs/msiexec/msiexec \
21164 programs/notepad/notepad \
21165 programs/regedit/regedit \
21166 programs/regsvr32/regsvr32 \
21167 programs/wineboot/wineboot \
21168 programs/winecfg/winecfg \
21169 programs/wineconsole/wineconsole \
21170 programs/winedbg/winedbg \
21171 programs/winefile/winefile \
21172 programs/winemine/winemine \
21173 programs/winepath/winepath \
21174 server/wineserver"
21176 case $host_os in
21177 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21178 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21179 esac
21182 $as_echo " done" >&6
21183 cat >confcache <<\_ACEOF
21184 # This file is a shell script that caches the results of configure
21185 # tests run on this system so they can be shared between configure
21186 # scripts and configure runs, see configure's option --config-cache.
21187 # It is not useful on other systems. If it contains results you don't
21188 # want to keep, you may remove or edit it.
21190 # config.status only pays attention to the cache file if you give it
21191 # the --recheck option to rerun configure.
21193 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21194 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21195 # following values.
21197 _ACEOF
21199 # The following way of writing the cache mishandles newlines in values,
21200 # but we know of no workaround that is simple, portable, and efficient.
21201 # So, we kill variables containing newlines.
21202 # Ultrix sh set writes to stderr and can't be redirected directly,
21203 # and sets the high bit in the cache file unless we assign to the vars.
21205 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21206 eval ac_val=\$$ac_var
21207 case $ac_val in #(
21208 *${as_nl}*)
21209 case $ac_var in #(
21210 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21211 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21212 esac
21213 case $ac_var in #(
21214 _ | IFS | as_nl) ;; #(
21215 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21216 *) { eval $ac_var=; unset $ac_var;} ;;
21217 esac ;;
21218 esac
21219 done
21221 (set) 2>&1 |
21222 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21223 *${as_nl}ac_space=\ *)
21224 # `set' does not quote correctly, so add quotes: double-quote
21225 # substitution turns \\\\ into \\, and sed turns \\ into \.
21226 sed -n \
21227 "s/'/'\\\\''/g;
21228 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21229 ;; #(
21231 # `set' quotes correctly as required by POSIX, so do not add quotes.
21232 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21234 esac |
21235 sort
21237 sed '
21238 /^ac_cv_env_/b end
21239 t clear
21240 :clear
21241 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21242 t end
21243 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21244 :end' >>confcache
21245 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21246 if test -w "$cache_file"; then
21247 if test "x$cache_file" != "x/dev/null"; then
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21249 $as_echo "$as_me: updating cache $cache_file" >&6;}
21250 if test ! -f "$cache_file" || test -h "$cache_file"; then
21251 cat confcache >"$cache_file"
21252 else
21253 case $cache_file in #(
21254 */* | ?:*)
21255 mv -f confcache "$cache_file"$$ &&
21256 mv -f "$cache_file"$$ "$cache_file" ;; #(
21258 mv -f confcache "$cache_file" ;;
21259 esac
21262 else
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21264 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21267 rm -f confcache
21269 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21270 # Let make expand exec_prefix.
21271 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21273 DEFS=-DHAVE_CONFIG_H
21275 ac_libobjs=
21276 ac_ltlibobjs=
21278 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21279 # 1. Remove the extension, and $U if already installed.
21280 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21281 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21282 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21283 # will be set to the directory where LIBOBJS objects are built.
21284 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21285 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21286 done
21287 LIBOBJS=$ac_libobjs
21289 LTLIBOBJS=$ac_ltlibobjs
21293 : "${CONFIG_STATUS=./config.status}"
21294 ac_write_fail=0
21295 ac_clean_files_save=$ac_clean_files
21296 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21298 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21299 as_write_fail=0
21300 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21301 #! $SHELL
21302 # Generated by $as_me.
21303 # Run this file to recreate the current configuration.
21304 # Compiler output produced by configure, useful for debugging
21305 # configure, is in config.log if it exists.
21307 debug=false
21308 ac_cs_recheck=false
21309 ac_cs_silent=false
21311 SHELL=\${CONFIG_SHELL-$SHELL}
21312 export SHELL
21313 _ASEOF
21314 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21315 ## -------------------- ##
21316 ## M4sh Initialization. ##
21317 ## -------------------- ##
21319 # Be more Bourne compatible
21320 DUALCASE=1; export DUALCASE # for MKS sh
21321 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21322 emulate sh
21323 NULLCMD=:
21324 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21325 # is contrary to our usage. Disable this feature.
21326 alias -g '${1+"$@"}'='"$@"'
21327 setopt NO_GLOB_SUBST
21328 else
21329 case `(set -o) 2>/dev/null` in #(
21330 *posix*) :
21331 set -o posix ;; #(
21332 *) :
21334 esac
21338 as_nl='
21340 export as_nl
21341 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21342 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21343 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21344 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21345 # Prefer a ksh shell builtin over an external printf program on Solaris,
21346 # but without wasting forks for bash or zsh.
21347 if test -z "$BASH_VERSION$ZSH_VERSION" \
21348 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21349 as_echo='print -r --'
21350 as_echo_n='print -rn --'
21351 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21352 as_echo='printf %s\n'
21353 as_echo_n='printf %s'
21354 else
21355 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21356 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21357 as_echo_n='/usr/ucb/echo -n'
21358 else
21359 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21360 as_echo_n_body='eval
21361 arg=$1;
21362 case $arg in #(
21363 *"$as_nl"*)
21364 expr "X$arg" : "X\\(.*\\)$as_nl";
21365 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21366 esac;
21367 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21369 export as_echo_n_body
21370 as_echo_n='sh -c $as_echo_n_body as_echo'
21372 export as_echo_body
21373 as_echo='sh -c $as_echo_body as_echo'
21376 # The user is always right.
21377 if test "${PATH_SEPARATOR+set}" != set; then
21378 PATH_SEPARATOR=:
21379 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21380 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21381 PATH_SEPARATOR=';'
21386 # IFS
21387 # We need space, tab and new line, in precisely that order. Quoting is
21388 # there to prevent editors from complaining about space-tab.
21389 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21390 # splitting by setting IFS to empty value.)
21391 IFS=" "" $as_nl"
21393 # Find who we are. Look in the path if we contain no directory separator.
21394 as_myself=
21395 case $0 in #((
21396 *[\\/]* ) as_myself=$0 ;;
21397 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21398 for as_dir in $PATH
21400 IFS=$as_save_IFS
21401 test -z "$as_dir" && as_dir=.
21402 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21403 done
21404 IFS=$as_save_IFS
21407 esac
21408 # We did not find ourselves, most probably we were run as `sh COMMAND'
21409 # in which case we are not to be found in the path.
21410 if test "x$as_myself" = x; then
21411 as_myself=$0
21413 if test ! -f "$as_myself"; then
21414 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21415 exit 1
21418 # Unset variables that we do not need and which cause bugs (e.g. in
21419 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21420 # suppresses any "Segmentation fault" message there. '((' could
21421 # trigger a bug in pdksh 5.2.14.
21422 for as_var in BASH_ENV ENV MAIL MAILPATH
21423 do eval test x\${$as_var+set} = xset \
21424 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21425 done
21426 PS1='$ '
21427 PS2='> '
21428 PS4='+ '
21430 # NLS nuisances.
21431 LC_ALL=C
21432 export LC_ALL
21433 LANGUAGE=C
21434 export LANGUAGE
21436 # CDPATH.
21437 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21440 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21441 # ----------------------------------------
21442 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21443 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21444 # script with STATUS, using 1 if that was 0.
21445 as_fn_error ()
21447 as_status=$1; test $as_status -eq 0 && as_status=1
21448 if test "$4"; then
21449 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21450 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21452 $as_echo "$as_me: error: $2" >&2
21453 as_fn_exit $as_status
21454 } # as_fn_error
21457 # as_fn_set_status STATUS
21458 # -----------------------
21459 # Set $? to STATUS, without forking.
21460 as_fn_set_status ()
21462 return $1
21463 } # as_fn_set_status
21465 # as_fn_exit STATUS
21466 # -----------------
21467 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21468 as_fn_exit ()
21470 set +e
21471 as_fn_set_status $1
21472 exit $1
21473 } # as_fn_exit
21475 # as_fn_unset VAR
21476 # ---------------
21477 # Portably unset VAR.
21478 as_fn_unset ()
21480 { eval $1=; unset $1;}
21482 as_unset=as_fn_unset
21483 # as_fn_append VAR VALUE
21484 # ----------------------
21485 # Append the text in VALUE to the end of the definition contained in VAR. Take
21486 # advantage of any shell optimizations that allow amortized linear growth over
21487 # repeated appends, instead of the typical quadratic growth present in naive
21488 # implementations.
21489 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21490 eval 'as_fn_append ()
21492 eval $1+=\$2
21494 else
21495 as_fn_append ()
21497 eval $1=\$$1\$2
21499 fi # as_fn_append
21501 # as_fn_arith ARG...
21502 # ------------------
21503 # Perform arithmetic evaluation on the ARGs, and store the result in the
21504 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21505 # must be portable across $(()) and expr.
21506 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21507 eval 'as_fn_arith ()
21509 as_val=$(( $* ))
21511 else
21512 as_fn_arith ()
21514 as_val=`expr "$@" || test $? -eq 1`
21516 fi # as_fn_arith
21519 if expr a : '\(a\)' >/dev/null 2>&1 &&
21520 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21521 as_expr=expr
21522 else
21523 as_expr=false
21526 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21527 as_basename=basename
21528 else
21529 as_basename=false
21532 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21533 as_dirname=dirname
21534 else
21535 as_dirname=false
21538 as_me=`$as_basename -- "$0" ||
21539 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21540 X"$0" : 'X\(//\)$' \| \
21541 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21542 $as_echo X/"$0" |
21543 sed '/^.*\/\([^/][^/]*\)\/*$/{
21544 s//\1/
21547 /^X\/\(\/\/\)$/{
21548 s//\1/
21551 /^X\/\(\/\).*/{
21552 s//\1/
21555 s/.*/./; q'`
21557 # Avoid depending upon Character Ranges.
21558 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21559 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21560 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21561 as_cr_digits='0123456789'
21562 as_cr_alnum=$as_cr_Letters$as_cr_digits
21564 ECHO_C= ECHO_N= ECHO_T=
21565 case `echo -n x` in #(((((
21566 -n*)
21567 case `echo 'xy\c'` in
21568 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21569 xy) ECHO_C='\c';;
21570 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21571 ECHO_T=' ';;
21572 esac;;
21574 ECHO_N='-n';;
21575 esac
21577 rm -f conf$$ conf$$.exe conf$$.file
21578 if test -d conf$$.dir; then
21579 rm -f conf$$.dir/conf$$.file
21580 else
21581 rm -f conf$$.dir
21582 mkdir conf$$.dir 2>/dev/null
21584 if (echo >conf$$.file) 2>/dev/null; then
21585 if ln -s conf$$.file conf$$ 2>/dev/null; then
21586 as_ln_s='ln -s'
21587 # ... but there are two gotchas:
21588 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21589 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21590 # In both cases, we have to default to `cp -pR'.
21591 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21592 as_ln_s='cp -pR'
21593 elif ln conf$$.file conf$$ 2>/dev/null; then
21594 as_ln_s=ln
21595 else
21596 as_ln_s='cp -pR'
21598 else
21599 as_ln_s='cp -pR'
21601 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21602 rmdir conf$$.dir 2>/dev/null
21605 # as_fn_mkdir_p
21606 # -------------
21607 # Create "$as_dir" as a directory, including parents if necessary.
21608 as_fn_mkdir_p ()
21611 case $as_dir in #(
21612 -*) as_dir=./$as_dir;;
21613 esac
21614 test -d "$as_dir" || eval $as_mkdir_p || {
21615 as_dirs=
21616 while :; do
21617 case $as_dir in #(
21618 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21619 *) as_qdir=$as_dir;;
21620 esac
21621 as_dirs="'$as_qdir' $as_dirs"
21622 as_dir=`$as_dirname -- "$as_dir" ||
21623 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21624 X"$as_dir" : 'X\(//\)[^/]' \| \
21625 X"$as_dir" : 'X\(//\)$' \| \
21626 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21627 $as_echo X"$as_dir" |
21628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21629 s//\1/
21632 /^X\(\/\/\)[^/].*/{
21633 s//\1/
21636 /^X\(\/\/\)$/{
21637 s//\1/
21640 /^X\(\/\).*/{
21641 s//\1/
21644 s/.*/./; q'`
21645 test -d "$as_dir" && break
21646 done
21647 test -z "$as_dirs" || eval "mkdir $as_dirs"
21648 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21651 } # as_fn_mkdir_p
21652 if mkdir -p . 2>/dev/null; then
21653 as_mkdir_p='mkdir -p "$as_dir"'
21654 else
21655 test -d ./-p && rmdir ./-p
21656 as_mkdir_p=false
21660 # as_fn_executable_p FILE
21661 # -----------------------
21662 # Test if FILE is an executable regular file.
21663 as_fn_executable_p ()
21665 test -f "$1" && test -x "$1"
21666 } # as_fn_executable_p
21667 as_test_x='test -x'
21668 as_executable_p=as_fn_executable_p
21670 # Sed expression to map a string onto a valid CPP name.
21671 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21673 # Sed expression to map a string onto a valid variable name.
21674 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21677 exec 6>&1
21678 ## ----------------------------------- ##
21679 ## Main body of $CONFIG_STATUS script. ##
21680 ## ----------------------------------- ##
21681 _ASEOF
21682 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21685 # Save the log message, to keep $0 and so on meaningful, and to
21686 # report actual input values of CONFIG_FILES etc. instead of their
21687 # values after options handling.
21688 ac_log="
21689 This file was extended by Wine $as_me 6.0, which was
21690 generated by GNU Autoconf 2.69. Invocation command line was
21692 CONFIG_FILES = $CONFIG_FILES
21693 CONFIG_HEADERS = $CONFIG_HEADERS
21694 CONFIG_LINKS = $CONFIG_LINKS
21695 CONFIG_COMMANDS = $CONFIG_COMMANDS
21696 $ $0 $@
21698 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21701 _ACEOF
21703 case $ac_config_files in *"
21704 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21705 esac
21707 case $ac_config_headers in *"
21708 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21709 esac
21712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21713 # Files that config.status was made for.
21714 config_files="$ac_config_files"
21715 config_headers="$ac_config_headers"
21716 config_links="$ac_config_links"
21717 config_commands="$ac_config_commands"
21719 _ACEOF
21721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21722 ac_cs_usage="\
21723 \`$as_me' instantiates files and other configuration actions
21724 from templates according to the current configuration. Unless the files
21725 and actions are specified as TAGs, all are instantiated by default.
21727 Usage: $0 [OPTION]... [TAG]...
21729 -h, --help print this help, then exit
21730 -V, --version print version number and configuration settings, then exit
21731 --config print configuration, then exit
21732 -q, --quiet, --silent
21733 do not print progress messages
21734 -d, --debug don't remove temporary files
21735 --recheck update $as_me by reconfiguring in the same conditions
21736 --file=FILE[:TEMPLATE]
21737 instantiate the configuration file FILE
21738 --header=FILE[:TEMPLATE]
21739 instantiate the configuration header FILE
21741 Configuration files:
21742 $config_files
21744 Configuration headers:
21745 $config_headers
21747 Configuration links:
21748 $config_links
21750 Configuration commands:
21751 $config_commands
21753 Report bugs to <wine-devel@winehq.org>.
21754 Wine home page: <https://www.winehq.org>."
21756 _ACEOF
21757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21758 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21759 ac_cs_version="\\
21760 Wine config.status 6.0
21761 configured by $0, generated by GNU Autoconf 2.69,
21762 with options \\"\$ac_cs_config\\"
21764 Copyright (C) 2012 Free Software Foundation, Inc.
21765 This config.status script is free software; the Free Software Foundation
21766 gives unlimited permission to copy, distribute and modify it."
21768 ac_pwd='$ac_pwd'
21769 srcdir='$srcdir'
21770 test -n "\$AWK" || AWK=awk
21771 _ACEOF
21773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21774 # The default lists apply if the user does not specify any file.
21775 ac_need_defaults=:
21776 while test $# != 0
21778 case $1 in
21779 --*=?*)
21780 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21781 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21782 ac_shift=:
21784 --*=)
21785 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21786 ac_optarg=
21787 ac_shift=:
21790 ac_option=$1
21791 ac_optarg=$2
21792 ac_shift=shift
21794 esac
21796 case $ac_option in
21797 # Handling of the options.
21798 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21799 ac_cs_recheck=: ;;
21800 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21801 $as_echo "$ac_cs_version"; exit ;;
21802 --config | --confi | --conf | --con | --co | --c )
21803 $as_echo "$ac_cs_config"; exit ;;
21804 --debug | --debu | --deb | --de | --d | -d )
21805 debug=: ;;
21806 --file | --fil | --fi | --f )
21807 $ac_shift
21808 case $ac_optarg in
21809 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21810 '') as_fn_error $? "missing file argument" ;;
21811 esac
21812 as_fn_append CONFIG_FILES " '$ac_optarg'"
21813 ac_need_defaults=false;;
21814 --header | --heade | --head | --hea )
21815 $ac_shift
21816 case $ac_optarg in
21817 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21818 esac
21819 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21820 ac_need_defaults=false;;
21821 --he | --h)
21822 # Conflict between --help and --header
21823 as_fn_error $? "ambiguous option: \`$1'
21824 Try \`$0 --help' for more information.";;
21825 --help | --hel | -h )
21826 $as_echo "$ac_cs_usage"; exit ;;
21827 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21828 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21829 ac_cs_silent=: ;;
21831 # This is an error.
21832 -*) as_fn_error $? "unrecognized option: \`$1'
21833 Try \`$0 --help' for more information." ;;
21835 *) as_fn_append ac_config_targets " $1"
21836 ac_need_defaults=false ;;
21838 esac
21839 shift
21840 done
21842 ac_configure_extra_args=
21844 if $ac_cs_silent; then
21845 exec 6>/dev/null
21846 ac_configure_extra_args="$ac_configure_extra_args --silent"
21849 _ACEOF
21850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21851 if \$ac_cs_recheck; then
21852 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21853 shift
21854 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21855 CONFIG_SHELL='$SHELL'
21856 export CONFIG_SHELL
21857 exec "\$@"
21860 _ACEOF
21861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21862 exec 5>>config.log
21864 echo
21865 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21866 ## Running $as_me. ##
21867 _ASBOX
21868 $as_echo "$ac_log"
21869 } >&5
21871 _ACEOF
21872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21874 # INIT-COMMANDS
21876 wine_fn_output_makedep ()
21878 as_dir=tools; as_fn_mkdir_p
21879 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21881 wine_fn_output_makefile ()
21883 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
21884 `cat $wine_rules_file`
21885 _WINE_EOF
21886 as_fn_error $? "could not create Makefile" "$LINENO" 5
21889 _ACEOF
21891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21893 # Handling of arguments.
21894 for ac_config_target in $ac_config_targets
21896 case $ac_config_target in
21897 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21898 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21899 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21900 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21901 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21902 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21903 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21905 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21906 esac
21907 done
21910 # If the user did not use the arguments to specify the items to instantiate,
21911 # then the envvar interface is used. Set only those that are not.
21912 # We use the long form for the default assignment because of an extremely
21913 # bizarre bug on SunOS 4.1.3.
21914 if $ac_need_defaults; then
21915 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21916 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21917 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21918 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21921 # Have a temporary directory for convenience. Make it in the build tree
21922 # simply because there is no reason against having it here, and in addition,
21923 # creating and moving files from /tmp can sometimes cause problems.
21924 # Hook for its removal unless debugging.
21925 # Note that there is a small window in which the directory will not be cleaned:
21926 # after its creation but before its name has been assigned to `$tmp'.
21927 $debug ||
21929 tmp= ac_tmp=
21930 trap 'exit_status=$?
21931 : "${ac_tmp:=$tmp}"
21932 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21934 trap 'as_fn_exit 1' 1 2 13 15
21936 # Create a (secure) tmp directory for tmp files.
21939 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21940 test -d "$tmp"
21941 } ||
21943 tmp=./conf$$-$RANDOM
21944 (umask 077 && mkdir "$tmp")
21945 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21946 ac_tmp=$tmp
21948 # Set up the scripts for CONFIG_FILES section.
21949 # No need to generate them if there are no CONFIG_FILES.
21950 # This happens for instance with `./config.status config.h'.
21951 if test -n "$CONFIG_FILES"; then
21954 ac_cr=`echo X | tr X '\015'`
21955 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21956 # But we know of no other shell where ac_cr would be empty at this
21957 # point, so we can use a bashism as a fallback.
21958 if test "x$ac_cr" = x; then
21959 eval ac_cr=\$\'\\r\'
21961 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21962 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21963 ac_cs_awk_cr='\\r'
21964 else
21965 ac_cs_awk_cr=$ac_cr
21968 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21969 _ACEOF
21973 echo "cat >conf$$subs.awk <<_ACEOF" &&
21974 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21975 echo "_ACEOF"
21976 } >conf$$subs.sh ||
21977 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21978 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21979 ac_delim='%!_!# '
21980 for ac_last_try in false false false false false :; do
21981 . ./conf$$subs.sh ||
21982 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21984 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21985 if test $ac_delim_n = $ac_delim_num; then
21986 break
21987 elif $ac_last_try; then
21988 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21989 else
21990 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21992 done
21993 rm -f conf$$subs.sh
21995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21996 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21997 _ACEOF
21998 sed -n '
22000 s/^/S["/; s/!.*/"]=/
22003 s/^[^!]*!//
22004 :repl
22005 t repl
22006 s/'"$ac_delim"'$//
22007 t delim
22010 s/\(.\{148\}\)..*/\1/
22011 t more1
22012 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22015 b repl
22016 :more1
22017 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22020 s/.\{148\}//
22021 t nl
22022 :delim
22024 s/\(.\{148\}\)..*/\1/
22025 t more2
22026 s/["\\]/\\&/g; s/^/"/; s/$/"/
22029 :more2
22030 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22033 s/.\{148\}//
22034 t delim
22035 ' <conf$$subs.awk | sed '
22036 /^[^""]/{
22038 s/\n//
22040 ' >>$CONFIG_STATUS || ac_write_fail=1
22041 rm -f conf$$subs.awk
22042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22043 _ACAWK
22044 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22045 for (key in S) S_is_set[key] = 1
22046 FS = "\a"
22050 line = $ 0
22051 nfields = split(line, field, "@")
22052 substed = 0
22053 len = length(field[1])
22054 for (i = 2; i < nfields; i++) {
22055 key = field[i]
22056 keylen = length(key)
22057 if (S_is_set[key]) {
22058 value = S[key]
22059 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22060 len += length(value) + length(field[++i])
22061 substed = 1
22062 } else
22063 len += 1 + keylen
22066 print line
22069 _ACAWK
22070 _ACEOF
22071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22072 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22073 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22074 else
22076 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22077 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22078 _ACEOF
22080 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22081 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22082 # trailing colons and then remove the whole line if VPATH becomes empty
22083 # (actually we leave an empty line to preserve line numbers).
22084 if test "x$srcdir" = x.; then
22085 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22087 s///
22088 s/^/:/
22089 s/[ ]*$/:/
22090 s/:\$(srcdir):/:/g
22091 s/:\${srcdir}:/:/g
22092 s/:@srcdir@:/:/g
22093 s/^:*//
22094 s/:*$//
22096 s/\(=[ ]*\).*/\1/
22098 s/\n//
22099 s/^[^=]*=[ ]*$//
22103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22104 fi # test -n "$CONFIG_FILES"
22106 # Set up the scripts for CONFIG_HEADERS section.
22107 # No need to generate them if there are no CONFIG_HEADERS.
22108 # This happens for instance with `./config.status Makefile'.
22109 if test -n "$CONFIG_HEADERS"; then
22110 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22111 BEGIN {
22112 _ACEOF
22114 # Transform confdefs.h into an awk script `defines.awk', embedded as
22115 # here-document in config.status, that substitutes the proper values into
22116 # config.h.in to produce config.h.
22118 # Create a delimiter string that does not exist in confdefs.h, to ease
22119 # handling of long lines.
22120 ac_delim='%!_!# '
22121 for ac_last_try in false false :; do
22122 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22123 if test -z "$ac_tt"; then
22124 break
22125 elif $ac_last_try; then
22126 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22127 else
22128 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22130 done
22132 # For the awk script, D is an array of macro values keyed by name,
22133 # likewise P contains macro parameters if any. Preserve backslash
22134 # newline sequences.
22136 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22137 sed -n '
22138 s/.\{148\}/&'"$ac_delim"'/g
22139 t rset
22140 :rset
22141 s/^[ ]*#[ ]*define[ ][ ]*/ /
22142 t def
22144 :def
22145 s/\\$//
22146 t bsnl
22147 s/["\\]/\\&/g
22148 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22149 D["\1"]=" \3"/p
22150 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22152 :bsnl
22153 s/["\\]/\\&/g
22154 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22155 D["\1"]=" \3\\\\\\n"\\/p
22156 t cont
22157 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22158 t cont
22160 :cont
22162 s/.\{148\}/&'"$ac_delim"'/g
22163 t clear
22164 :clear
22165 s/\\$//
22166 t bsnlc
22167 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22169 :bsnlc
22170 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22171 b cont
22172 ' <confdefs.h | sed '
22173 s/'"$ac_delim"'/"\\\
22174 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22177 for (key in D) D_is_set[key] = 1
22178 FS = "\a"
22180 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22181 line = \$ 0
22182 split(line, arg, " ")
22183 if (arg[1] == "#") {
22184 defundef = arg[2]
22185 mac1 = arg[3]
22186 } else {
22187 defundef = substr(arg[1], 2)
22188 mac1 = arg[2]
22190 split(mac1, mac2, "(") #)
22191 macro = mac2[1]
22192 prefix = substr(line, 1, index(line, defundef) - 1)
22193 if (D_is_set[macro]) {
22194 # Preserve the white space surrounding the "#".
22195 print prefix "define", macro P[macro] D[macro]
22196 next
22197 } else {
22198 # Replace #undef with comments. This is necessary, for example,
22199 # in the case of _POSIX_SOURCE, which is predefined and required
22200 # on some systems where configure will not decide to define it.
22201 if (defundef == "undef") {
22202 print "/*", prefix defundef, macro, "*/"
22203 next
22207 { print }
22208 _ACAWK
22209 _ACEOF
22210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22211 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22212 fi # test -n "$CONFIG_HEADERS"
22215 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22216 shift
22217 for ac_tag
22219 case $ac_tag in
22220 :[FHLC]) ac_mode=$ac_tag; continue;;
22221 esac
22222 case $ac_mode$ac_tag in
22223 :[FHL]*:*);;
22224 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22225 :[FH]-) ac_tag=-:-;;
22226 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22227 esac
22228 ac_save_IFS=$IFS
22229 IFS=:
22230 set x $ac_tag
22231 IFS=$ac_save_IFS
22232 shift
22233 ac_file=$1
22234 shift
22236 case $ac_mode in
22237 :L) ac_source=$1;;
22238 :[FH])
22239 ac_file_inputs=
22240 for ac_f
22242 case $ac_f in
22243 -) ac_f="$ac_tmp/stdin";;
22244 *) # Look for the file first in the build tree, then in the source tree
22245 # (if the path is not absolute). The absolute path cannot be DOS-style,
22246 # because $ac_f cannot contain `:'.
22247 test -f "$ac_f" ||
22248 case $ac_f in
22249 [\\/$]*) false;;
22250 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22251 esac ||
22252 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22253 esac
22254 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22255 as_fn_append ac_file_inputs " '$ac_f'"
22256 done
22258 # Let's still pretend it is `configure' which instantiates (i.e., don't
22259 # use $as_me), people would be surprised to read:
22260 # /* config.h. Generated by config.status. */
22261 configure_input='Generated from '`
22262 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22263 `' by configure.'
22264 if test x"$ac_file" != x-; then
22265 configure_input="$ac_file. $configure_input"
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22267 $as_echo "$as_me: creating $ac_file" >&6;}
22269 # Neutralize special characters interpreted by sed in replacement strings.
22270 case $configure_input in #(
22271 *\&* | *\|* | *\\* )
22272 ac_sed_conf_input=`$as_echo "$configure_input" |
22273 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22274 *) ac_sed_conf_input=$configure_input;;
22275 esac
22277 case $ac_tag in
22278 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22279 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22280 esac
22282 esac
22284 ac_dir=`$as_dirname -- "$ac_file" ||
22285 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22286 X"$ac_file" : 'X\(//\)[^/]' \| \
22287 X"$ac_file" : 'X\(//\)$' \| \
22288 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22289 $as_echo X"$ac_file" |
22290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22291 s//\1/
22294 /^X\(\/\/\)[^/].*/{
22295 s//\1/
22298 /^X\(\/\/\)$/{
22299 s//\1/
22302 /^X\(\/\).*/{
22303 s//\1/
22306 s/.*/./; q'`
22307 as_dir="$ac_dir"; as_fn_mkdir_p
22308 ac_builddir=.
22310 case "$ac_dir" in
22311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22313 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22314 # A ".." for each directory in $ac_dir_suffix.
22315 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22316 case $ac_top_builddir_sub in
22317 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22318 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22319 esac ;;
22320 esac
22321 ac_abs_top_builddir=$ac_pwd
22322 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22323 # for backward compatibility:
22324 ac_top_builddir=$ac_top_build_prefix
22326 case $srcdir in
22327 .) # We are building in place.
22328 ac_srcdir=.
22329 ac_top_srcdir=$ac_top_builddir_sub
22330 ac_abs_top_srcdir=$ac_pwd ;;
22331 [\\/]* | ?:[\\/]* ) # Absolute name.
22332 ac_srcdir=$srcdir$ac_dir_suffix;
22333 ac_top_srcdir=$srcdir
22334 ac_abs_top_srcdir=$srcdir ;;
22335 *) # Relative name.
22336 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22337 ac_top_srcdir=$ac_top_build_prefix$srcdir
22338 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22339 esac
22340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22343 case $ac_mode in
22346 # CONFIG_FILE
22349 _ACEOF
22351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22352 # If the template does not know about datarootdir, expand it.
22353 # FIXME: This hack should be removed a few years after 2.60.
22354 ac_datarootdir_hack=; ac_datarootdir_seen=
22355 ac_sed_dataroot='
22356 /datarootdir/ {
22360 /@datadir@/p
22361 /@docdir@/p
22362 /@infodir@/p
22363 /@localedir@/p
22364 /@mandir@/p'
22365 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22366 *datarootdir*) ac_datarootdir_seen=yes;;
22367 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22369 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22370 _ACEOF
22371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22372 ac_datarootdir_hack='
22373 s&@datadir@&$datadir&g
22374 s&@docdir@&$docdir&g
22375 s&@infodir@&$infodir&g
22376 s&@localedir@&$localedir&g
22377 s&@mandir@&$mandir&g
22378 s&\\\${datarootdir}&$datarootdir&g' ;;
22379 esac
22380 _ACEOF
22382 # Neutralize VPATH when `$srcdir' = `.'.
22383 # Shell code in configure.ac might set extrasub.
22384 # FIXME: do we really want to maintain this feature?
22385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22386 ac_sed_extra="$ac_vpsub
22387 $extrasub
22388 _ACEOF
22389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22392 s|@configure_input@|$ac_sed_conf_input|;t t
22393 s&@top_builddir@&$ac_top_builddir_sub&;t t
22394 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22395 s&@srcdir@&$ac_srcdir&;t t
22396 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22397 s&@top_srcdir@&$ac_top_srcdir&;t t
22398 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22399 s&@builddir@&$ac_builddir&;t t
22400 s&@abs_builddir@&$ac_abs_builddir&;t t
22401 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22402 $ac_datarootdir_hack
22404 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22405 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22407 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22408 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22409 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22410 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22412 which seems to be undefined. Please make sure it is defined" >&5
22413 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22414 which seems to be undefined. Please make sure it is defined" >&2;}
22416 rm -f "$ac_tmp/stdin"
22417 case $ac_file in
22418 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22419 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22420 esac \
22421 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22425 # CONFIG_HEADER
22427 if test x"$ac_file" != x-; then
22429 $as_echo "/* $configure_input */" \
22430 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22431 } >"$ac_tmp/config.h" \
22432 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22433 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22435 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22436 else
22437 rm -f "$ac_file"
22438 mv "$ac_tmp/config.h" "$ac_file" \
22439 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22441 else
22442 $as_echo "/* $configure_input */" \
22443 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22444 || as_fn_error $? "could not create -" "$LINENO" 5
22449 # CONFIG_LINK
22452 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22454 else
22455 # Prefer the file from the source tree if names are identical.
22456 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22457 ac_source=$srcdir/$ac_source
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22461 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22463 if test ! -r "$ac_source"; then
22464 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22466 rm -f "$ac_file"
22468 # Try a relative symlink, then a hard link, then a copy.
22469 case $ac_source in
22470 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22471 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22472 esac
22473 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22474 ln "$ac_source" "$ac_file" 2>/dev/null ||
22475 cp -p "$ac_source" "$ac_file" ||
22476 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22479 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22480 $as_echo "$as_me: executing $ac_file commands" >&6;}
22482 esac
22485 case $ac_file$ac_mode in
22486 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22487 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22488 "Makefile":C) wine_fn_output_makefile Makefile ;;
22490 esac
22491 done # for ac_tag
22494 as_fn_exit 0
22495 _ACEOF
22496 ac_clean_files=$ac_clean_files_save
22498 test $ac_write_fail = 0 ||
22499 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22502 # configure is writing to config.log, and then calls config.status.
22503 # config.status does its own redirection, appending to config.log.
22504 # Unfortunately, on DOS this fails, as config.log is still kept open
22505 # by configure, so config.status won't be able to write to it; its
22506 # output is simply discarded. So we exec the FD to /dev/null,
22507 # effectively closing config.log, so it can be properly (re)opened and
22508 # appended to by config.status. When coming back to configure, we
22509 # need to make the FD available again.
22510 if test "$no_create" != yes; then
22511 ac_cs_success=:
22512 ac_config_status_args=
22513 test "$silent" = yes &&
22514 ac_config_status_args="$ac_config_status_args --quiet"
22515 exec 5>/dev/null
22516 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22517 exec 5>>config.log
22518 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22519 # would make configure fail if this is the last instruction.
22520 $ac_cs_success || as_fn_exit 1
22522 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22524 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22528 if test "$no_create" = "yes"
22529 then
22530 exit 0
22533 ac_save_IFS="$IFS"
22534 if test "x$wine_notices" != x; then
22535 echo >&6
22536 IFS="|"
22537 for msg in $wine_notices; do
22538 IFS="$ac_save_IFS"
22539 if ${msg:+false} :; then :
22541 else
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22543 $as_echo "$as_me: $msg" >&6;}
22545 done
22547 IFS="|"
22548 for msg in $wine_warnings; do
22549 IFS="$ac_save_IFS"
22550 if ${msg:+false} :; then :
22552 else
22553 echo >&2
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22555 $as_echo "$as_me: WARNING: $msg" >&2;}
22557 done
22558 IFS="$ac_save_IFS"
22560 $as_echo "
22561 $as_me: Finished. Do '${ac_make}' to compile Wine.
22562 " >&6