Release 6.0-rc4.
[wine.git] / configure
blob471d651717892ae1110e2ea5a571541bec01c2e5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.0-rc4.
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-rc4'
584 PACKAGE_STRING='Wine 6.0-rc4'
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-rc4 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-rc4:";;
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-rc4
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-rc4, 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 case $host in
5627 x86_64*|amd64*)
5628 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5629 then
5630 CC="$CC -m32"
5631 CXX="$CXX -m32"
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5634 $as_echo_n "checking whether $CC works... " >&6; }
5635 if ${wine_cv_cc_m32+:} false; then :
5636 $as_echo_n "(cached) " >&6
5637 else
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5642 main ()
5646 return 0;
5648 _ACEOF
5649 if ac_fn_c_try_link "$LINENO"; then :
5650 wine_cv_cc_m32=yes
5651 else
5652 wine_cv_cc_m32=no
5654 rm -f core conftest.err conftest.$ac_objext \
5655 conftest$ac_exeext conftest.$ac_ext
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5658 $as_echo "$wine_cv_cc_m32" >&6; }
5659 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
5660 host_cpu="i386"
5661 notice_platform="32-bit "
5662 TARGETFLAGS="-m32"
5664 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5665 export PKG_CONFIG_PATH
5666 enable_win16=${enable_win16:-yes}
5667 with_unwind=${with_unwind:-no}
5668 else
5669 if test "x${GCC}" = "xyes"
5670 then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5672 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5673 if ${wine_cv_builtin_ms_va_list+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5678 #include <stdarg.h>
5680 main ()
5682 void func(__builtin_ms_va_list *args);
5684 return 0;
5686 _ACEOF
5687 if ac_fn_c_try_compile "$LINENO"; then :
5688 wine_cv_builtin_ms_va_list=yes
5689 else
5690 wine_cv_builtin_ms_va_list=no
5692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5695 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5696 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
5698 CC="$CC -m64"
5699 CXX="$CXX -m64"
5700 host_cpu="x86_64"
5701 notice_platform="64-bit "
5702 TARGETFLAGS="-m64"
5706 arm*)
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5708 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5709 if ${wine_cv_thumb+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5714 int ac_test(int i) { return i; }
5716 main ()
5718 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_link "$LINENO"; then :
5724 wine_cv_thumb=yes
5725 else
5726 wine_cv_thumb=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_thumb" >&5
5732 $as_echo "$wine_cv_thumb" >&6; }
5733 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5734 case $with_float_abi in
5735 soft|softfp|hard)
5736 float_abi=$with_float_abi ;;
5738 case $host_os in
5739 *eabihf)
5740 float_abi=hard ;;
5742 float_abi=softfp
5743 saved_CFLAGS=$CFLAGS
5744 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5746 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5747 if ${wine_cv_float_abi+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5754 main ()
5756 asm("vmrs r2,fpscr");
5758 return 0;
5760 _ACEOF
5761 if ac_fn_c_try_link "$LINENO"; then :
5762 wine_cv_float_abi=yes
5763 else
5764 wine_cv_float_abi=no
5766 rm -f core conftest.err conftest.$ac_objext \
5767 conftest$ac_exeext conftest.$ac_ext
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5770 $as_echo "$wine_cv_float_abi" >&6; }
5771 if test $wine_cv_float_abi = no
5772 then
5773 float_abi=soft
5774 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5776 CFLAGS=$saved_CFLAGS
5777 esac
5779 esac
5780 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5781 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5784 aarch64*)
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5786 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5787 if ${wine_cv_builtin_ms_va_list+:} false; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791 /* end confdefs.h. */
5792 #include <stdarg.h>
5794 main ()
5796 void func(__builtin_ms_va_list *args);
5798 return 0;
5800 _ACEOF
5801 if ac_fn_c_try_compile "$LINENO"; then :
5802 wine_cv_builtin_ms_va_list=yes
5803 else
5804 wine_cv_builtin_ms_va_list=no
5806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5809 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5810 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5812 i[3456789]86*)
5813 enable_win16=${enable_win16:-yes}
5814 with_unwind=${with_unwind:-no}
5816 esac
5818 enable_win16=${enable_win16:-no}
5819 enable_win64=${enable_win64:-no}
5821 enable_winetest=${enable_winetest:-$enable_tests}
5823 if test "x$enable_win64" = "xyes"
5824 then
5825 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5826 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5827 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5831 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5832 if ${wine_cv_toolsdir+:} false; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 wine_cv_toolsdir="$with_wine_tools"
5836 if test -z "$with_wine_tools"; then
5837 if test "$cross_compiling" = "yes"; then
5838 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5839 elif test -n "$with_wine64"; then
5840 wine_cv_toolsdir="$with_wine64"
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5845 $as_echo "$wine_cv_toolsdir" >&6; }
5846 if test -z "$wine_cv_toolsdir"; then
5847 wine_makedep=tools/makedep
5848 TOOLSDIR="."
5850 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5851 wine_makedep=$wine_cv_toolsdir/tools/makedep
5852 TOOLSDIR=$wine_cv_toolsdir
5854 enable_tools=${enable_tools:-no}
5855 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5856 else
5857 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5859 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5860 then
5861 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5865 for ac_prog in flex
5867 # Extract the first word of "$ac_prog", so it can be a program name with args.
5868 set dummy $ac_prog; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if ${ac_cv_prog_FLEX+:} false; then :
5872 $as_echo_n "(cached) " >&6
5873 else
5874 if test -n "$FLEX"; then
5875 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5876 else
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH
5880 IFS=$as_save_IFS
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_FLEX="$ac_prog"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 break 2
5888 done
5889 done
5890 IFS=$as_save_IFS
5894 FLEX=$ac_cv_prog_FLEX
5895 if test -n "$FLEX"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5897 $as_echo "$FLEX" >&6; }
5898 else
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5904 test -n "$FLEX" && break
5905 done
5906 test -n "$FLEX" || FLEX="none"
5908 if test "$FLEX" = "none"
5909 then
5910 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5913 $as_echo_n "checking whether flex is recent enough... " >&6; }
5914 if ${wine_cv_recent_flex+:} false; then :
5915 $as_echo_n "(cached) " >&6
5916 else
5917 cat >conftest.l <<EOF
5918 %top{
5919 #include "prediluvian.h"
5923 if $FLEX -t conftest.l >/dev/null 2>&5
5924 then
5925 wine_cv_recent_flex=yes
5926 else
5927 wine_cv_recent_flex=no
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5931 $as_echo "$wine_cv_recent_flex" >&6; }
5932 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
5934 for ac_prog in bison
5936 # Extract the first word of "$ac_prog", so it can be a program name with args.
5937 set dummy $ac_prog; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if ${ac_cv_prog_BISON+:} false; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 if test -n "$BISON"; then
5944 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5945 else
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 for as_dir in $PATH
5949 IFS=$as_save_IFS
5950 test -z "$as_dir" && as_dir=.
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5953 ac_cv_prog_BISON="$ac_prog"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955 break 2
5957 done
5958 done
5959 IFS=$as_save_IFS
5963 BISON=$ac_cv_prog_BISON
5964 if test -n "$BISON"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5966 $as_echo "$BISON" >&6; }
5967 else
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5973 test -n "$BISON" && break
5974 done
5975 test -n "$BISON" || BISON="none"
5977 if test "$BISON" = "none"
5978 then
5979 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5982 $as_echo_n "checking whether bison is recent enough... " >&6; }
5983 if ${wine_cv_recent_bison+:} false; then :
5984 $as_echo_n "(cached) " >&6
5985 else
5986 cat >conftest.y <<EOF
5987 %define parse.error verbose
5989 empty: ;
5991 if $BISON conftest.y >/dev/null 2>&5
5992 then
5993 wine_cv_recent_bison=yes
5994 else
5995 wine_cv_recent_bison=no
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5999 $as_echo "$wine_cv_recent_bison" >&6; }
6000 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
6002 if test -n "$ac_tool_prefix"; then
6003 for ac_prog in ar gar
6005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6006 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_AR+:} false; then :
6010 $as_echo_n "(cached) " >&6
6011 else
6012 if test -n "$AR"; then
6013 ac_cv_prog_AR="$AR" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 IFS=$as_save_IFS
6032 AR=$ac_cv_prog_AR
6033 if test -n "$AR"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6035 $as_echo "$AR" >&6; }
6036 else
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6042 test -n "$AR" && break
6043 done
6045 if test -z "$AR"; then
6046 ac_ct_AR=$AR
6047 for ac_prog in ar gar
6049 # Extract the first word of "$ac_prog", so it can be a program name with args.
6050 set dummy $ac_prog; ac_word=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 $as_echo_n "checking for $ac_word... " >&6; }
6053 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6054 $as_echo_n "(cached) " >&6
6055 else
6056 if test -n "$ac_ct_AR"; then
6057 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6058 else
6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 for as_dir in $PATH
6062 IFS=$as_save_IFS
6063 test -z "$as_dir" && as_dir=.
6064 for ac_exec_ext in '' $ac_executable_extensions; do
6065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6066 ac_cv_prog_ac_ct_AR="$ac_prog"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 break 2
6070 done
6071 done
6072 IFS=$as_save_IFS
6076 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6077 if test -n "$ac_ct_AR"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6079 $as_echo "$ac_ct_AR" >&6; }
6080 else
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 $as_echo "no" >&6; }
6086 test -n "$ac_ct_AR" && break
6087 done
6089 if test "x$ac_ct_AR" = x; then
6090 AR="ar"
6091 else
6092 case $cross_compiling:$ac_tool_warned in
6093 yes:)
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6096 ac_tool_warned=yes ;;
6097 esac
6098 AR=$ac_ct_AR
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}strip; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_STRIP+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if test -n "$STRIP"; then
6111 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6116 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122 break 2
6124 done
6125 done
6126 IFS=$as_save_IFS
6130 STRIP=$ac_cv_prog_STRIP
6131 if test -n "$STRIP"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6133 $as_echo "$STRIP" >&6; }
6134 else
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6141 if test -z "$ac_cv_prog_STRIP"; then
6142 ac_ct_STRIP=$STRIP
6143 # Extract the first word of "strip", so it can be a program name with args.
6144 set dummy strip; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6148 $as_echo_n "(cached) " >&6
6149 else
6150 if test -n "$ac_ct_STRIP"; then
6151 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6152 else
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 for as_dir in $PATH
6156 IFS=$as_save_IFS
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ac_ct_STRIP="strip"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 break 2
6164 done
6165 done
6166 IFS=$as_save_IFS
6170 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6171 if test -n "$ac_ct_STRIP"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6173 $as_echo "$ac_ct_STRIP" >&6; }
6174 else
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6179 if test "x$ac_ct_STRIP" = x; then
6180 STRIP="strip"
6181 else
6182 case $cross_compiling:$ac_tool_warned in
6183 yes:)
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186 ac_tool_warned=yes ;;
6187 esac
6188 STRIP=$ac_ct_STRIP
6190 else
6191 STRIP="$ac_cv_prog_STRIP"
6194 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; }
6199 if ${ac_cv_prog_RANLIB+:} false; then :
6200 $as_echo_n "(cached) " >&6
6201 else
6202 if test -n "$RANLIB"; then
6203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6204 else
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 for as_dir in $PATH
6208 IFS=$as_save_IFS
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6214 break 2
6216 done
6217 done
6218 IFS=$as_save_IFS
6222 RANLIB=$ac_cv_prog_RANLIB
6223 if test -n "$RANLIB"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6225 $as_echo "$RANLIB" >&6; }
6226 else
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6233 if test -z "$ac_cv_prog_RANLIB"; then
6234 ac_ct_RANLIB=$RANLIB
6235 # Extract the first word of "ranlib", so it can be a program name with args.
6236 set dummy ranlib; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6240 $as_echo_n "(cached) " >&6
6241 else
6242 if test -n "$ac_ct_RANLIB"; then
6243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6244 else
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 for as_dir in $PATH
6248 IFS=$as_save_IFS
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_ac_ct_RANLIB="ranlib"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254 break 2
6256 done
6257 done
6258 IFS=$as_save_IFS
6262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6263 if test -n "$ac_ct_RANLIB"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6265 $as_echo "$ac_ct_RANLIB" >&6; }
6266 else
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6271 if test "x$ac_ct_RANLIB" = x; then
6272 RANLIB=":"
6273 else
6274 case $cross_compiling:$ac_tool_warned in
6275 yes:)
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6278 ac_tool_warned=yes ;;
6279 esac
6280 RANLIB=$ac_ct_RANLIB
6282 else
6283 RANLIB="$ac_cv_prog_RANLIB"
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6287 $as_echo_n "checking whether ln -s works... " >&6; }
6288 LN_S=$as_ln_s
6289 if test "$LN_S" = "ln -s"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6291 $as_echo "yes" >&6; }
6292 else
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6294 $as_echo "no, using $LN_S" >&6; }
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6298 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6299 if ${ac_cv_path_GREP+:} false; then :
6300 $as_echo_n "(cached) " >&6
6301 else
6302 if test -z "$GREP"; then
6303 ac_path_GREP_found=false
6304 # Loop through the user's path and test for each of PROGNAME-LIST
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6308 IFS=$as_save_IFS
6309 test -z "$as_dir" && as_dir=.
6310 for ac_prog in grep ggrep; do
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6313 as_fn_executable_p "$ac_path_GREP" || continue
6314 # Check for GNU ac_path_GREP and select it if it is found.
6315 # Check for GNU $ac_path_GREP
6316 case `"$ac_path_GREP" --version 2>&1` in
6317 *GNU*)
6318 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6320 ac_count=0
6321 $as_echo_n 0123456789 >"conftest.in"
6322 while :
6324 cat "conftest.in" "conftest.in" >"conftest.tmp"
6325 mv "conftest.tmp" "conftest.in"
6326 cp "conftest.in" "conftest.nl"
6327 $as_echo 'GREP' >> "conftest.nl"
6328 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6330 as_fn_arith $ac_count + 1 && ac_count=$as_val
6331 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6332 # Best one so far, save it but keep looking for a better one
6333 ac_cv_path_GREP="$ac_path_GREP"
6334 ac_path_GREP_max=$ac_count
6336 # 10*(2^10) chars as input seems more than enough
6337 test $ac_count -gt 10 && break
6338 done
6339 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6340 esac
6342 $ac_path_GREP_found && break 3
6343 done
6344 done
6345 done
6346 IFS=$as_save_IFS
6347 if test -z "$ac_cv_path_GREP"; then
6348 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6350 else
6351 ac_cv_path_GREP=$GREP
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6356 $as_echo "$ac_cv_path_GREP" >&6; }
6357 GREP="$ac_cv_path_GREP"
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6361 $as_echo_n "checking for egrep... " >&6; }
6362 if ${ac_cv_path_EGREP+:} false; then :
6363 $as_echo_n "(cached) " >&6
6364 else
6365 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6366 then ac_cv_path_EGREP="$GREP -E"
6367 else
6368 if test -z "$EGREP"; then
6369 ac_path_EGREP_found=false
6370 # Loop through the user's path and test for each of PROGNAME-LIST
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6374 IFS=$as_save_IFS
6375 test -z "$as_dir" && as_dir=.
6376 for ac_prog in egrep; do
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6379 as_fn_executable_p "$ac_path_EGREP" || continue
6380 # Check for GNU ac_path_EGREP and select it if it is found.
6381 # Check for GNU $ac_path_EGREP
6382 case `"$ac_path_EGREP" --version 2>&1` in
6383 *GNU*)
6384 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6386 ac_count=0
6387 $as_echo_n 0123456789 >"conftest.in"
6388 while :
6390 cat "conftest.in" "conftest.in" >"conftest.tmp"
6391 mv "conftest.tmp" "conftest.in"
6392 cp "conftest.in" "conftest.nl"
6393 $as_echo 'EGREP' >> "conftest.nl"
6394 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6396 as_fn_arith $ac_count + 1 && ac_count=$as_val
6397 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6398 # Best one so far, save it but keep looking for a better one
6399 ac_cv_path_EGREP="$ac_path_EGREP"
6400 ac_path_EGREP_max=$ac_count
6402 # 10*(2^10) chars as input seems more than enough
6403 test $ac_count -gt 10 && break
6404 done
6405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6406 esac
6408 $ac_path_EGREP_found && break 3
6409 done
6410 done
6411 done
6412 IFS=$as_save_IFS
6413 if test -z "$ac_cv_path_EGREP"; then
6414 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6416 else
6417 ac_cv_path_EGREP=$EGREP
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6423 $as_echo "$ac_cv_path_EGREP" >&6; }
6424 EGREP="$ac_cv_path_EGREP"
6427 # Extract the first word of "ldconfig", so it can be a program name with args.
6428 set dummy ldconfig; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if ${ac_cv_path_LDCONFIG+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434 case $LDCONFIG in
6435 [\\/]* | ?:[\\/]*)
6436 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 for as_dir in /sbin /usr/sbin $PATH
6442 IFS=$as_save_IFS
6443 test -z "$as_dir" && as_dir=.
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6446 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6448 break 2
6450 done
6451 done
6452 IFS=$as_save_IFS
6454 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6456 esac
6458 LDCONFIG=$ac_cv_path_LDCONFIG
6459 if test -n "$LDCONFIG"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6461 $as_echo "$LDCONFIG" >&6; }
6462 else
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6468 for ac_prog in msgfmt
6470 # Extract the first word of "$ac_prog", so it can be a program name with args.
6471 set dummy $ac_prog; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_MSGFMT+:} false; then :
6475 $as_echo_n "(cached) " >&6
6476 else
6477 if test -n "$MSGFMT"; then
6478 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6479 else
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 for as_dir in $PATH
6483 IFS=$as_save_IFS
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487 ac_cv_prog_MSGFMT="$ac_prog"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 break 2
6491 done
6492 done
6493 IFS=$as_save_IFS
6497 MSGFMT=$ac_cv_prog_MSGFMT
6498 if test -n "$MSGFMT"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6500 $as_echo "$MSGFMT" >&6; }
6501 else
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6507 test -n "$MSGFMT" && break
6508 done
6509 test -n "$MSGFMT" || MSGFMT="false"
6511 if ${ac_tool_prefix+:} false; then :
6512 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6513 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6517 $as_echo_n "(cached) " >&6
6518 else
6519 if test -n "$PKG_CONFIG"; then
6520 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6521 else
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 for as_dir in $PATH
6525 IFS=$as_save_IFS
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6529 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 break 2
6533 done
6534 done
6535 IFS=$as_save_IFS
6539 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6540 if test -n "$PKG_CONFIG"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6542 $as_echo "$PKG_CONFIG" >&6; }
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6550 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6551 if test "x$cross_compiling" = xyes; then :
6553 else
6554 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6555 # Extract the first word of "pkg-config", so it can be a program name with args.
6556 set dummy pkg-config; ac_word=$2
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558 $as_echo_n "checking for $ac_word... " >&6; }
6559 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6560 $as_echo_n "(cached) " >&6
6561 else
6562 if test -n "$PKG_CONFIG"; then
6563 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6564 else
6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6566 for as_dir in $PATH
6568 IFS=$as_save_IFS
6569 test -z "$as_dir" && as_dir=.
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_PKG_CONFIG="pkg-config"
6573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6574 break 2
6576 done
6577 done
6578 IFS=$as_save_IFS
6582 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6583 if test -n "$PKG_CONFIG"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6585 $as_echo "$PKG_CONFIG" >&6; }
6586 else
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; }
6593 else
6594 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6597 if test "x$enable_maintainer_mode" != "xyes"
6598 then
6599 FONTFORGE=""
6600 RSVG=""
6601 CONVERT=""
6602 ICOTOOL=""
6603 else
6604 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6605 for ac_prog in fontforge
6607 # Extract the first word of "$ac_prog", so it can be a program name with args.
6608 set dummy $ac_prog; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if ${ac_cv_prog_FONTFORGE+:} false; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$FONTFORGE"; then
6615 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_FONTFORGE="$ac_prog"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 FONTFORGE=$ac_cv_prog_FONTFORGE
6635 if test -n "$FONTFORGE"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6637 $as_echo "$FONTFORGE" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6644 test -n "$FONTFORGE" && break
6645 done
6646 test -n "$FONTFORGE" || FONTFORGE="false"
6648 for ac_prog in rsvg-convert rsvg
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy $ac_prog; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if ${ac_cv_prog_RSVG+:} false; then :
6655 $as_echo_n "(cached) " >&6
6656 else
6657 if test -n "$RSVG"; then
6658 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6659 else
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 for as_dir in $PATH
6663 IFS=$as_save_IFS
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6667 ac_cv_prog_RSVG="$ac_prog"
6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 break 2
6671 done
6672 done
6673 IFS=$as_save_IFS
6677 RSVG=$ac_cv_prog_RSVG
6678 if test -n "$RSVG"; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6680 $as_echo "$RSVG" >&6; }
6681 else
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6687 test -n "$RSVG" && break
6688 done
6689 test -n "$RSVG" || RSVG="false"
6691 for ac_prog in convert
6693 # Extract the first word of "$ac_prog", so it can be a program name with args.
6694 set dummy $ac_prog; ac_word=$2
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696 $as_echo_n "checking for $ac_word... " >&6; }
6697 if ${ac_cv_prog_CONVERT+:} false; then :
6698 $as_echo_n "(cached) " >&6
6699 else
6700 if test -n "$CONVERT"; then
6701 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6702 else
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704 for as_dir in $PATH
6706 IFS=$as_save_IFS
6707 test -z "$as_dir" && as_dir=.
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_CONVERT="$ac_prog"
6711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6712 break 2
6714 done
6715 done
6716 IFS=$as_save_IFS
6720 CONVERT=$ac_cv_prog_CONVERT
6721 if test -n "$CONVERT"; then
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6723 $as_echo "$CONVERT" >&6; }
6724 else
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 $as_echo "no" >&6; }
6730 test -n "$CONVERT" && break
6731 done
6732 test -n "$CONVERT" || CONVERT="false"
6734 for ac_prog in icotool
6736 # Extract the first word of "$ac_prog", so it can be a program name with args.
6737 set dummy $ac_prog; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if ${ac_cv_prog_ICOTOOL+:} false; then :
6741 $as_echo_n "(cached) " >&6
6742 else
6743 if test -n "$ICOTOOL"; then
6744 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6745 else
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 for as_dir in $PATH
6749 IFS=$as_save_IFS
6750 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6753 ac_cv_prog_ICOTOOL="$ac_prog"
6754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755 break 2
6757 done
6758 done
6759 IFS=$as_save_IFS
6763 ICOTOOL=$ac_cv_prog_ICOTOOL
6764 if test -n "$ICOTOOL"; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6766 $as_echo "$ICOTOOL" >&6; }
6767 else
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 $as_echo "no" >&6; }
6773 test -n "$ICOTOOL" && break
6774 done
6775 test -n "$ICOTOOL" || ICOTOOL="false"
6777 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6778 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6780 if test "$CONVERT" = false
6781 then
6782 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6783 else
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6785 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6786 convert_version=`convert --version | head -n1`
6787 if test "x$convert_version" != "x"
6788 then
6789 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6790 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6791 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6792 then
6793 CONVERT=false
6796 if test "$CONVERT" = false
6797 then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6799 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6800 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6801 else
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6803 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6807 if test "$ICOTOOL" = false
6808 then
6809 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6810 else
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6812 $as_echo_n "checking for recent enough icotool... " >&6; }
6813 icotool_version=`icotool --version | head -n1`
6814 if test "x$icotool_version" != "x"
6815 then
6816 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6817 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6818 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6819 then
6820 ICOTOOL=false
6821 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6824 if test "$ICOTOOL" = false
6825 then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6827 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6828 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6829 else
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6831 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6835 with_gettext=yes
6836 with_gettextpo=yes
6838 enable_werror=yes
6841 test "x$with_gettext" != xno || MSGFMT=false
6842 if test "$MSGFMT" != "false"
6843 then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6845 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6846 if ${wine_cv_msgfmt_contexts+:} false; then :
6847 $as_echo_n "(cached) " >&6
6848 else
6849 cat >conftest.po <<EOF
6850 # comment
6851 msgctxt "ctxt"
6852 msgid "id"
6853 msgstr "str"
6855 if $MSGFMT -o /dev/null conftest.po 2>&5
6856 then
6857 wine_cv_msgfmt_contexts=yes
6858 else
6859 wine_cv_msgfmt_contexts=no
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6863 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6864 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6866 if test "$MSGFMT" = false; then :
6867 case "x$with_gettext" in
6868 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6869 xno) ;;
6870 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6871 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6872 esac
6873 enable_po=${enable_po:-no}
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6878 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6879 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882 ac_check_lib_save_LIBS=$LIBS
6883 LIBS="-li386 $LIBS"
6884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6885 /* end confdefs.h. */
6887 /* Override any GCC internal prototype to avoid an error.
6888 Use char because int might match the return type of a GCC
6889 builtin and then its argument prototype would still apply. */
6890 #ifdef __cplusplus
6891 extern "C"
6892 #endif
6893 char i386_set_ldt ();
6895 main ()
6897 return i386_set_ldt ();
6899 return 0;
6901 _ACEOF
6902 if ac_fn_c_try_link "$LINENO"; then :
6903 ac_cv_lib_i386_i386_set_ldt=yes
6904 else
6905 ac_cv_lib_i386_i386_set_ldt=no
6907 rm -f core conftest.err conftest.$ac_objext \
6908 conftest$ac_exeext conftest.$ac_ext
6909 LIBS=$ac_check_lib_save_LIBS
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6912 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6913 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6914 I386_LIBS="-li386"
6919 OPENGL_LIBS=""
6923 # Check whether --enable-largefile was given.
6924 if test "${enable_largefile+set}" = set; then :
6925 enableval=$enable_largefile;
6928 if test "$enable_largefile" != no; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6931 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6932 if ${ac_cv_sys_largefile_CC+:} false; then :
6933 $as_echo_n "(cached) " >&6
6934 else
6935 ac_cv_sys_largefile_CC=no
6936 if test "$GCC" != yes; then
6937 ac_save_CC=$CC
6938 while :; do
6939 # IRIX 6.2 and later do not support large files by default,
6940 # so use the C compiler's -n32 option if that helps.
6941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6942 /* end confdefs.h. */
6943 #include <sys/types.h>
6944 /* Check that off_t can represent 2**63 - 1 correctly.
6945 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6946 since some C++ compilers masquerading as C compilers
6947 incorrectly reject 9223372036854775807. */
6948 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6949 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6950 && LARGE_OFF_T % 2147483647 == 1)
6951 ? 1 : -1];
6953 main ()
6957 return 0;
6959 _ACEOF
6960 if ac_fn_c_try_compile "$LINENO"; then :
6961 break
6963 rm -f core conftest.err conftest.$ac_objext
6964 CC="$CC -n32"
6965 if ac_fn_c_try_compile "$LINENO"; then :
6966 ac_cv_sys_largefile_CC=' -n32'; break
6968 rm -f core conftest.err conftest.$ac_objext
6969 break
6970 done
6971 CC=$ac_save_CC
6972 rm -f conftest.$ac_ext
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6976 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6977 if test "$ac_cv_sys_largefile_CC" != no; then
6978 CC=$CC$ac_cv_sys_largefile_CC
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6982 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6983 if ${ac_cv_sys_file_offset_bits+:} false; then :
6984 $as_echo_n "(cached) " >&6
6985 else
6986 while :; do
6987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6988 /* end confdefs.h. */
6989 #include <sys/types.h>
6990 /* Check that off_t can represent 2**63 - 1 correctly.
6991 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6992 since some C++ compilers masquerading as C compilers
6993 incorrectly reject 9223372036854775807. */
6994 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6995 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6996 && LARGE_OFF_T % 2147483647 == 1)
6997 ? 1 : -1];
6999 main ()
7003 return 0;
7005 _ACEOF
7006 if ac_fn_c_try_compile "$LINENO"; then :
7007 ac_cv_sys_file_offset_bits=no; break
7009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7012 #define _FILE_OFFSET_BITS 64
7013 #include <sys/types.h>
7014 /* Check that off_t can represent 2**63 - 1 correctly.
7015 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7016 since some C++ compilers masquerading as C compilers
7017 incorrectly reject 9223372036854775807. */
7018 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7019 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7020 && LARGE_OFF_T % 2147483647 == 1)
7021 ? 1 : -1];
7023 main ()
7027 return 0;
7029 _ACEOF
7030 if ac_fn_c_try_compile "$LINENO"; then :
7031 ac_cv_sys_file_offset_bits=64; break
7033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7034 ac_cv_sys_file_offset_bits=unknown
7035 break
7036 done
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7039 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7040 case $ac_cv_sys_file_offset_bits in #(
7041 no | unknown) ;;
7043 cat >>confdefs.h <<_ACEOF
7044 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7045 _ACEOF
7047 esac
7048 rm -rf conftest*
7049 if test $ac_cv_sys_file_offset_bits = unknown; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7051 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7052 if ${ac_cv_sys_large_files+:} false; then :
7053 $as_echo_n "(cached) " >&6
7054 else
7055 while :; do
7056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h. */
7058 #include <sys/types.h>
7059 /* Check that off_t can represent 2**63 - 1 correctly.
7060 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7061 since some C++ compilers masquerading as C compilers
7062 incorrectly reject 9223372036854775807. */
7063 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7064 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7065 && LARGE_OFF_T % 2147483647 == 1)
7066 ? 1 : -1];
7068 main ()
7072 return 0;
7074 _ACEOF
7075 if ac_fn_c_try_compile "$LINENO"; then :
7076 ac_cv_sys_large_files=no; break
7078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7080 /* end confdefs.h. */
7081 #define _LARGE_FILES 1
7082 #include <sys/types.h>
7083 /* Check that off_t can represent 2**63 - 1 correctly.
7084 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7085 since some C++ compilers masquerading as C compilers
7086 incorrectly reject 9223372036854775807. */
7087 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7088 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7089 && LARGE_OFF_T % 2147483647 == 1)
7090 ? 1 : -1];
7092 main ()
7096 return 0;
7098 _ACEOF
7099 if ac_fn_c_try_compile "$LINENO"; then :
7100 ac_cv_sys_large_files=1; break
7102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7103 ac_cv_sys_large_files=unknown
7104 break
7105 done
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7108 $as_echo "$ac_cv_sys_large_files" >&6; }
7109 case $ac_cv_sys_large_files in #(
7110 no | unknown) ;;
7112 cat >>confdefs.h <<_ACEOF
7113 #define _LARGE_FILES $ac_cv_sys_large_files
7114 _ACEOF
7116 esac
7117 rm -rf conftest*
7124 ac_ext=c
7125 ac_cpp='$CPP $CPPFLAGS'
7126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7130 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7131 # On Suns, sometimes $CPP names a directory.
7132 if test -n "$CPP" && test -d "$CPP"; then
7133 CPP=
7135 if test -z "$CPP"; then
7136 if ${ac_cv_prog_CPP+:} false; then :
7137 $as_echo_n "(cached) " >&6
7138 else
7139 # Double quotes because CPP needs to be expanded
7140 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7142 ac_preproc_ok=false
7143 for ac_c_preproc_warn_flag in '' yes
7145 # Use a header file that comes with gcc, so configuring glibc
7146 # with a fresh cross-compiler works.
7147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7148 # <limits.h> exists even on freestanding compilers.
7149 # On the NeXT, cc -E runs the code through the compiler's parser,
7150 # not just through cpp. "Syntax error" is here to catch this case.
7151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153 #ifdef __STDC__
7154 # include <limits.h>
7155 #else
7156 # include <assert.h>
7157 #endif
7158 Syntax error
7159 _ACEOF
7160 if ac_fn_c_try_cpp "$LINENO"; then :
7162 else
7163 # Broken: fails on valid input.
7164 continue
7166 rm -f conftest.err conftest.i conftest.$ac_ext
7168 # OK, works on sane cases. Now check whether nonexistent headers
7169 # can be detected and how.
7170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7171 /* end confdefs.h. */
7172 #include <ac_nonexistent.h>
7173 _ACEOF
7174 if ac_fn_c_try_cpp "$LINENO"; then :
7175 # Broken: success on invalid input.
7176 continue
7177 else
7178 # Passes both tests.
7179 ac_preproc_ok=:
7180 break
7182 rm -f conftest.err conftest.i conftest.$ac_ext
7184 done
7185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7186 rm -f conftest.i conftest.err conftest.$ac_ext
7187 if $ac_preproc_ok; then :
7188 break
7191 done
7192 ac_cv_prog_CPP=$CPP
7195 CPP=$ac_cv_prog_CPP
7196 else
7197 ac_cv_prog_CPP=$CPP
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7200 $as_echo "$CPP" >&6; }
7201 ac_preproc_ok=false
7202 for ac_c_preproc_warn_flag in '' yes
7204 # Use a header file that comes with gcc, so configuring glibc
7205 # with a fresh cross-compiler works.
7206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7207 # <limits.h> exists even on freestanding compilers.
7208 # On the NeXT, cc -E runs the code through the compiler's parser,
7209 # not just through cpp. "Syntax error" is here to catch this case.
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7212 #ifdef __STDC__
7213 # include <limits.h>
7214 #else
7215 # include <assert.h>
7216 #endif
7217 Syntax error
7218 _ACEOF
7219 if ac_fn_c_try_cpp "$LINENO"; then :
7221 else
7222 # Broken: fails on valid input.
7223 continue
7225 rm -f conftest.err conftest.i conftest.$ac_ext
7227 # OK, works on sane cases. Now check whether nonexistent headers
7228 # can be detected and how.
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230 /* end confdefs.h. */
7231 #include <ac_nonexistent.h>
7232 _ACEOF
7233 if ac_fn_c_try_cpp "$LINENO"; then :
7234 # Broken: success on invalid input.
7235 continue
7236 else
7237 # Passes both tests.
7238 ac_preproc_ok=:
7239 break
7241 rm -f conftest.err conftest.i conftest.$ac_ext
7243 done
7244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7245 rm -f conftest.i conftest.err conftest.$ac_ext
7246 if $ac_preproc_ok; then :
7248 else
7249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7251 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7252 See \`config.log' for more details" "$LINENO" 5; }
7255 ac_ext=c
7256 ac_cpp='$CPP $CPPFLAGS'
7257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7263 $as_echo_n "checking for ANSI C header files... " >&6; }
7264 if ${ac_cv_header_stdc+:} false; then :
7265 $as_echo_n "(cached) " >&6
7266 else
7267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268 /* end confdefs.h. */
7269 #include <stdlib.h>
7270 #include <stdarg.h>
7271 #include <string.h>
7272 #include <float.h>
7275 main ()
7279 return 0;
7281 _ACEOF
7282 if ac_fn_c_try_compile "$LINENO"; then :
7283 ac_cv_header_stdc=yes
7284 else
7285 ac_cv_header_stdc=no
7287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7289 if test $ac_cv_header_stdc = yes; then
7290 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7292 /* end confdefs.h. */
7293 #include <string.h>
7295 _ACEOF
7296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7297 $EGREP "memchr" >/dev/null 2>&1; then :
7299 else
7300 ac_cv_header_stdc=no
7302 rm -f conftest*
7306 if test $ac_cv_header_stdc = yes; then
7307 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7310 #include <stdlib.h>
7312 _ACEOF
7313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7314 $EGREP "free" >/dev/null 2>&1; then :
7316 else
7317 ac_cv_header_stdc=no
7319 rm -f conftest*
7323 if test $ac_cv_header_stdc = yes; then
7324 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7325 if test "$cross_compiling" = yes; then :
7327 else
7328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7330 #include <ctype.h>
7331 #include <stdlib.h>
7332 #if ((' ' & 0x0FF) == 0x020)
7333 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7334 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7335 #else
7336 # define ISLOWER(c) \
7337 (('a' <= (c) && (c) <= 'i') \
7338 || ('j' <= (c) && (c) <= 'r') \
7339 || ('s' <= (c) && (c) <= 'z'))
7340 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7341 #endif
7343 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7345 main ()
7347 int i;
7348 for (i = 0; i < 256; i++)
7349 if (XOR (islower (i), ISLOWER (i))
7350 || toupper (i) != TOUPPER (i))
7351 return 2;
7352 return 0;
7354 _ACEOF
7355 if ac_fn_c_try_run "$LINENO"; then :
7357 else
7358 ac_cv_header_stdc=no
7360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7361 conftest.$ac_objext conftest.beam conftest.$ac_ext
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7367 $as_echo "$ac_cv_header_stdc" >&6; }
7368 if test $ac_cv_header_stdc = yes; then
7370 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7374 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7375 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7376 inttypes.h stdint.h unistd.h
7377 do :
7378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7379 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7382 cat >>confdefs.h <<_ACEOF
7383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7384 _ACEOF
7388 done
7391 for ac_header in \
7392 AL/al.h \
7393 ApplicationServices/ApplicationServices.h \
7394 AudioToolbox/AudioConverter.h \
7395 AudioUnit/AudioUnit.h \
7396 AudioUnit/AudioComponent.h \
7397 CL/cl.h \
7398 Carbon/Carbon.h \
7399 CommonCrypto/CommonCryptor.h \
7400 CoreAudio/CoreAudio.h \
7401 DiskArbitration/DiskArbitration.h \
7402 EGL/egl.h \
7403 IOKit/IOKitLib.h \
7404 IOKit/hid/IOHIDLib.h \
7405 OpenAL/al.h \
7406 OpenCL/opencl.h \
7407 QuickTime/ImageCompression.h \
7408 Security/Security.h \
7409 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7410 SystemConfiguration/SCNetworkConfiguration.h \
7411 alias.h \
7412 arpa/inet.h \
7413 arpa/nameser.h \
7414 asm/types.h \
7415 asm/user.h \
7416 dirent.h \
7417 dlfcn.h \
7418 elf.h \
7419 float.h \
7420 fnmatch.h \
7421 getopt.h \
7422 gettext-po.h \
7423 grp.h \
7424 gsm.h \
7425 gsm/gsm.h \
7426 ieeefp.h \
7427 inet/mib2.h \
7428 kstat.h \
7429 libproc.h \
7430 link.h \
7431 linux/cdrom.h \
7432 linux/filter.h \
7433 linux/hdreg.h \
7434 linux/hidraw.h \
7435 linux/input.h \
7436 linux/ioctl.h \
7437 linux/joystick.h \
7438 linux/major.h \
7439 linux/param.h \
7440 linux/serial.h \
7441 linux/types.h \
7442 linux/ucdrom.h \
7443 lwp.h \
7444 mach-o/loader.h \
7445 mach/mach.h \
7446 machine/cpu.h \
7447 machine/sysarch.h \
7448 mntent.h \
7449 netdb.h \
7450 netinet/in.h \
7451 netinet/in_systm.h \
7452 netinet/tcp.h \
7453 netinet/tcp_fsm.h \
7454 pcap/pcap.h \
7455 poll.h \
7456 port.h \
7457 pthread.h \
7458 pwd.h \
7459 sasl/sasl.h \
7460 sched.h \
7461 scsi/scsi.h \
7462 scsi/scsi_ioctl.h \
7463 scsi/sg.h \
7464 stdint.h \
7465 stropts.h \
7466 sys/attr.h \
7467 sys/auxv.h \
7468 sys/cdio.h \
7469 sys/epoll.h \
7470 sys/event.h \
7471 sys/filio.h \
7472 sys/ioctl.h \
7473 sys/ipc.h \
7474 sys/link.h \
7475 sys/mman.h \
7476 sys/modem.h \
7477 sys/msg.h \
7478 sys/mtio.h \
7479 sys/param.h \
7480 sys/poll.h \
7481 sys/prctl.h \
7482 sys/protosw.h \
7483 sys/ptrace.h \
7484 sys/queue.h \
7485 sys/random.h \
7486 sys/resource.h \
7487 sys/scsiio.h \
7488 sys/shm.h \
7489 sys/signal.h \
7490 sys/socket.h \
7491 sys/socketvar.h \
7492 sys/sockio.h \
7493 sys/statvfs.h \
7494 sys/strtio.h \
7495 sys/syscall.h \
7496 sys/sysinfo.h \
7497 sys/tihdr.h \
7498 sys/time.h \
7499 sys/timeout.h \
7500 sys/times.h \
7501 sys/uio.h \
7502 sys/user.h \
7503 sys/utsname.h \
7504 sys/vnode.h \
7505 sys/wait.h \
7506 syscall.h \
7507 termios.h \
7508 unistd.h \
7509 utime.h \
7510 valgrind/memcheck.h \
7511 valgrind/valgrind.h
7513 do :
7514 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7515 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7516 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7517 cat >>confdefs.h <<_ACEOF
7518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7519 _ACEOF
7523 done
7525 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7526 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7528 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7533 if test $ac_cv_header_sys_mkdev_h = no; then
7534 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7535 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7537 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7544 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7545 if ${ac_cv_header_stat_broken+:} false; then :
7546 $as_echo_n "(cached) " >&6
7547 else
7548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7549 /* end confdefs.h. */
7550 #include <sys/types.h>
7551 #include <sys/stat.h>
7553 #if defined S_ISBLK && defined S_IFDIR
7554 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7555 #endif
7557 #if defined S_ISBLK && defined S_IFCHR
7558 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7559 #endif
7561 #if defined S_ISLNK && defined S_IFREG
7562 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7563 #endif
7565 #if defined S_ISSOCK && defined S_IFREG
7566 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7567 #endif
7569 _ACEOF
7570 if ac_fn_c_try_compile "$LINENO"; then :
7571 ac_cv_header_stat_broken=no
7572 else
7573 ac_cv_header_stat_broken=yes
7575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7578 $as_echo "$ac_cv_header_stat_broken" >&6; }
7579 if test $ac_cv_header_stat_broken = yes; then
7581 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7587 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7588 do :
7589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7590 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7591 #ifdef HAVE_SYS_PARAM_H
7592 # include <sys/param.h>
7593 #endif
7595 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7596 cat >>confdefs.h <<_ACEOF
7597 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7598 _ACEOF
7602 done
7605 saved_sysctl_h_CFLAGS=$CFLAGS
7606 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7607 for ac_header in sys/sysctl.h
7608 do :
7609 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7610 #ifdef HAVE_SYS_PARAM_H
7611 # include <sys/param.h>
7612 #endif
7614 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7615 cat >>confdefs.h <<_ACEOF
7616 #define HAVE_SYS_SYSCTL_H 1
7617 _ACEOF
7621 done
7623 CFLAGS=$saved_sysctl_h_CFLAGS
7625 for ac_header in \
7626 netinet/ip.h \
7627 net/if.h \
7628 net/if_arp.h \
7629 net/if_dl.h \
7630 net/if_types.h \
7631 net/route.h \
7632 netinet/if_ether.h \
7633 netinet/if_inarp.h \
7634 netinet/in_pcb.h \
7635 netinet/ip_icmp.h \
7636 netinet/ip_var.h \
7637 netinet/udp.h \
7638 netipx/ipx.h \
7639 sys/un.h \
7641 do :
7642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7643 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7644 #ifdef HAVE_SYS_SOCKET_H
7645 # include <sys/socket.h>
7646 #endif
7647 #ifdef HAVE_SYS_SOCKETVAR_H
7648 # include <sys/socketvar.h>
7649 #endif
7650 #ifdef HAVE_NET_ROUTE_H
7651 # include <net/route.h>
7652 #endif
7653 #ifdef HAVE_NETINET_IN_H
7654 # include <netinet/in.h>
7655 #endif
7656 #ifdef HAVE_NETINET_IN_SYSTM_H
7657 # include <netinet/in_systm.h>
7658 #endif
7659 #ifdef HAVE_NET_IF_H
7660 # include <net/if.h>
7661 #endif
7662 #ifdef HAVE_NETINET_IP_H
7663 # include <netinet/ip.h>
7664 #endif
7666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 _ACEOF
7673 done
7676 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7677 do :
7678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7680 #ifdef HAVE_ALIAS_H
7681 # include <alias.h>
7682 #endif
7683 #ifdef HAVE_SYS_SOCKET_H
7684 # include <sys/socket.h>
7685 #endif
7686 #ifdef HAVE_SYS_SOCKETVAR_H
7687 # include <sys/socketvar.h>
7688 #endif
7689 #ifdef HAVE_SYS_TIMEOUT_H
7690 # include <sys/timeout.h>
7691 #endif
7692 #ifdef HAVE_NETINET_IN_H
7693 # include <netinet/in.h>
7694 #endif
7695 #ifdef HAVE_NETINET_IN_SYSTM_H
7696 # include <netinet/in_systm.h>
7697 #endif
7698 #ifdef HAVE_NETINET_IP_H
7699 # include <netinet/ip.h>
7700 #endif
7701 #ifdef HAVE_NETINET_IP_VAR_H
7702 # include <netinet/ip_var.h>
7703 #endif
7704 #ifdef HAVE_NETINET_IP_ICMP_H
7705 # include <netinet/ip_icmp.h>
7706 #endif
7707 #ifdef HAVE_NETINET_UDP_H
7708 # include <netinet/udp.h>
7709 #endif
7710 #ifdef HAVE_NETINET_TCP_H
7711 # include <netinet/tcp.h>
7712 #endif
7713 #ifdef HAVE_NETINET_TCP_TIMER_H
7714 #include <netinet/tcp_timer.h>
7715 #endif
7717 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7720 _ACEOF
7724 done
7727 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7728 do :
7729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7730 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7731 #ifdef HAVE_ASM_TYPES_H
7732 # include <asm/types.h>
7733 #endif
7734 #ifdef HAVE_SYS_SOCKET_H
7735 # include <sys/socket.h>
7736 #endif
7737 #ifdef HAVE_LINUX_TYPES_H
7738 # include <linux/types.h>
7739 #endif
7741 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7744 _ACEOF
7748 done
7751 for ac_header in resolv.h
7752 do :
7753 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7754 #ifdef HAVE_SYS_SOCKET_H
7755 # include <sys/socket.h>
7756 #endif
7757 #ifdef HAVE_NETINET_IN_H
7758 # include <netinet/in.h>
7759 #endif
7760 #ifdef HAVE_ARPA_NAMESER_H
7761 # include <arpa/nameser.h>
7762 #endif
7764 if test "x$ac_cv_header_resolv_h" = xyes; then :
7765 cat >>confdefs.h <<_ACEOF
7766 #define HAVE_RESOLV_H 1
7767 _ACEOF
7771 done
7774 for ac_header in ifaddrs.h
7775 do :
7776 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7778 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_IFADDRS_H 1
7781 _ACEOF
7785 done
7788 for ac_header in sys/ucontext.h
7789 do :
7790 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7792 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7793 cat >>confdefs.h <<_ACEOF
7794 #define HAVE_SYS_UCONTEXT_H 1
7795 _ACEOF
7799 done
7802 for ac_header in sys/thr.h
7803 do :
7804 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7805 #ifdef HAVE_SYS_UCONTEXT_H
7806 #include <sys/ucontext.h>
7807 #endif
7809 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7810 cat >>confdefs.h <<_ACEOF
7811 #define HAVE_SYS_THR_H 1
7812 _ACEOF
7816 done
7819 for ac_header in pthread_np.h
7820 do :
7821 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7822 #include <pthread.h>
7823 #endif
7825 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7826 cat >>confdefs.h <<_ACEOF
7827 #define HAVE_PTHREAD_NP_H 1
7828 _ACEOF
7832 done
7835 for ac_header in linux/videodev2.h
7836 do :
7837 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7838 #include <sys/time.h>
7839 #endif
7840 #include <sys/types.h>
7841 #ifdef HAVE_ASM_TYPES_H
7842 #include <asm/types.h>
7843 #endif
7845 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7846 cat >>confdefs.h <<_ACEOF
7847 #define HAVE_LINUX_VIDEODEV2_H 1
7848 _ACEOF
7852 done
7855 for ac_header in libprocstat.h
7856 do :
7857 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7858 #include <sys/param.h>
7859 #endif
7860 #ifdef HAVE_SYS_QUEUE_H
7861 #include <sys/queue.h>
7862 #endif
7863 #ifdef HAVE_SYS_SOCKET_H
7864 #include <sys/socket.h>
7865 #endif
7867 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7868 cat >>confdefs.h <<_ACEOF
7869 #define HAVE_LIBPROCSTAT_H 1
7870 _ACEOF
7874 done
7878 DLLFLAGS="-D_REENTRANT"
7880 LDDLLFLAGS=""
7882 LDEXECFLAGS=""
7884 TOP_INSTALL_LIB=""
7886 TOP_INSTALL_DEV=""
7888 WINELOADER_LDFLAGS=""
7890 WINEPRELOADER_LDFLAGS=""
7892 LIBEXT="so"
7893 DLLEXT=".so"
7894 # Extract the first word of "ldd", so it can be a program name with args.
7895 set dummy ldd; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if ${ac_cv_path_LDD+:} false; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 case $LDD in
7902 [\\/]* | ?:[\\/]*)
7903 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907 as_dummy="/sbin:/usr/sbin:$PATH"
7908 for as_dir in $as_dummy
7910 IFS=$as_save_IFS
7911 test -z "$as_dir" && as_dir=.
7912 for ac_exec_ext in '' $ac_executable_extensions; do
7913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7914 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7916 break 2
7918 done
7919 done
7920 IFS=$as_save_IFS
7922 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7924 esac
7926 LDD=$ac_cv_path_LDD
7927 if test -n "$LDD"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7929 $as_echo "$LDD" >&6; }
7930 else
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7936 if test -n "$ac_tool_prefix"; then
7937 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7938 set dummy ${ac_tool_prefix}otool; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_OTOOL+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 if test -n "$OTOOL"; then
7945 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7946 else
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 for as_dir in $PATH
7950 IFS=$as_save_IFS
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 break 2
7958 done
7959 done
7960 IFS=$as_save_IFS
7964 OTOOL=$ac_cv_prog_OTOOL
7965 if test -n "$OTOOL"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7967 $as_echo "$OTOOL" >&6; }
7968 else
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7975 if test -z "$ac_cv_prog_OTOOL"; then
7976 ac_ct_OTOOL=$OTOOL
7977 # Extract the first word of "otool", so it can be a program name with args.
7978 set dummy otool; ac_word=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7982 $as_echo_n "(cached) " >&6
7983 else
7984 if test -n "$ac_ct_OTOOL"; then
7985 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7986 else
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 for as_dir in $PATH
7990 IFS=$as_save_IFS
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_ac_ct_OTOOL="otool"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7996 break 2
7998 done
7999 done
8000 IFS=$as_save_IFS
8004 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8005 if test -n "$ac_ct_OTOOL"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8007 $as_echo "$ac_ct_OTOOL" >&6; }
8008 else
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8013 if test "x$ac_ct_OTOOL" = x; then
8014 OTOOL="otool"
8015 else
8016 case $cross_compiling:$ac_tool_warned in
8017 yes:)
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned=yes ;;
8021 esac
8022 OTOOL=$ac_ct_OTOOL
8024 else
8025 OTOOL="$ac_cv_prog_OTOOL"
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8030 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_prog_READELF+:} false; then :
8034 $as_echo_n "(cached) " >&6
8035 else
8036 if test -n "$READELF"; then
8037 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8038 else
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8040 for as_dir in $PATH
8042 IFS=$as_save_IFS
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048 break 2
8050 done
8051 done
8052 IFS=$as_save_IFS
8056 READELF=$ac_cv_prog_READELF
8057 if test -n "$READELF"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8059 $as_echo "$READELF" >&6; }
8060 else
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8067 if test -z "$ac_cv_prog_READELF"; then
8068 ac_ct_READELF=$READELF
8069 # Extract the first word of "readelf", so it can be a program name with args.
8070 set dummy readelf; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 if test -n "$ac_ct_READELF"; then
8077 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8078 else
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8080 for as_dir in $PATH
8082 IFS=$as_save_IFS
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_ac_ct_READELF="readelf"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 break 2
8090 done
8091 done
8092 IFS=$as_save_IFS
8096 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8097 if test -n "$ac_ct_READELF"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8099 $as_echo "$ac_ct_READELF" >&6; }
8100 else
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8105 if test "x$ac_ct_READELF" = x; then
8106 READELF="true"
8107 else
8108 case $cross_compiling:$ac_tool_warned in
8109 yes:)
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8113 esac
8114 READELF=$ac_ct_READELF
8116 else
8117 READELF="$ac_cv_prog_READELF"
8120 wine_rules_file=conf$$rules.make
8121 rm -f $wine_rules_file
8122 SUBDIRS=""
8124 DISABLED_SUBDIRS=""
8126 CONFIGURE_TARGETS=""
8129 wine_fn_append_file ()
8131 as_fn_append $1 " \\$as_nl $2"
8134 wine_fn_append_rule ()
8136 $as_echo "$1" >>$wine_rules_file
8139 wine_fn_config_makefile ()
8141 wine_fn_append_file SUBDIRS $1
8142 if eval test \"x\$"$2"\" = x"no"; then :
8143 wine_fn_append_file DISABLED_SUBDIRS $1
8147 wine_fn_config_symlink ()
8149 ac_links=$@
8150 wine_fn_append_rule \
8151 "$ac_links:
8152 @./config.status \$@"
8153 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8156 wine_binary="wine"
8157 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8158 WINELOADER_PROGRAMS="$wine_binary"
8160 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8162 case $host_os in
8163 cygwin*|mingw32*)
8164 if test -n "$ac_tool_prefix"; then
8165 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8166 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8168 $as_echo_n "checking for $ac_word... " >&6; }
8169 if ${ac_cv_prog_DLLTOOL+:} false; then :
8170 $as_echo_n "(cached) " >&6
8171 else
8172 if test -n "$DLLTOOL"; then
8173 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8174 else
8175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 for as_dir in $PATH
8178 IFS=$as_save_IFS
8179 test -z "$as_dir" && as_dir=.
8180 for ac_exec_ext in '' $ac_executable_extensions; do
8181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8182 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8184 break 2
8186 done
8187 done
8188 IFS=$as_save_IFS
8192 DLLTOOL=$ac_cv_prog_DLLTOOL
8193 if test -n "$DLLTOOL"; then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8195 $as_echo "$DLLTOOL" >&6; }
8196 else
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8198 $as_echo "no" >&6; }
8203 if test -z "$ac_cv_prog_DLLTOOL"; then
8204 ac_ct_DLLTOOL=$DLLTOOL
8205 # Extract the first word of "dlltool", so it can be a program name with args.
8206 set dummy dlltool; ac_word=$2
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8208 $as_echo_n "checking for $ac_word... " >&6; }
8209 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8210 $as_echo_n "(cached) " >&6
8211 else
8212 if test -n "$ac_ct_DLLTOOL"; then
8213 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8214 else
8215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216 for as_dir in $PATH
8218 IFS=$as_save_IFS
8219 test -z "$as_dir" && as_dir=.
8220 for ac_exec_ext in '' $ac_executable_extensions; do
8221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8222 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8224 break 2
8226 done
8227 done
8228 IFS=$as_save_IFS
8232 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8233 if test -n "$ac_ct_DLLTOOL"; then
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8235 $as_echo "$ac_ct_DLLTOOL" >&6; }
8236 else
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8238 $as_echo "no" >&6; }
8241 if test "x$ac_ct_DLLTOOL" = x; then
8242 DLLTOOL="false"
8243 else
8244 case $cross_compiling:$ac_tool_warned in
8245 yes:)
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8248 ac_tool_warned=yes ;;
8249 esac
8250 DLLTOOL=$ac_ct_DLLTOOL
8252 else
8253 DLLTOOL="$ac_cv_prog_DLLTOOL"
8256 LIBEXT="dll"
8257 DLLEXT=""
8258 case $host_cpu in
8259 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8260 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8261 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8262 $as_echo_n "(cached) " >&6
8263 else
8264 ac_wine_try_cflags_saved=$CFLAGS
8265 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8268 int main(int argc, char **argv) { return 0; }
8269 _ACEOF
8270 if ac_fn_c_try_link "$LINENO"; then :
8271 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8272 else
8273 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8275 rm -f core conftest.err conftest.$ac_objext \
8276 conftest$ac_exeext conftest.$ac_ext
8277 CFLAGS=$ac_wine_try_cflags_saved
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8280 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8281 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8282 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8283 fi ;;
8284 esac
8285 enable_iphlpapi=${enable_iphlpapi:-no}
8286 enable_ws2_32=${enable_ws2_32:-no}
8287 enable_loader=${enable_loader:-no}
8288 enable_server=${enable_server:-no}
8289 with_x=${with_x:-no}
8290 with_pthread=${with_pthread:-no}
8293 darwin*|macosx*)
8294 ac_ext=m
8295 ac_cpp='$OBJCPP $CPPFLAGS'
8296 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8297 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8298 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8300 ac_ext=m
8301 ac_cpp='$OBJCPP $CPPFLAGS'
8302 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8303 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8304 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8305 if test -n "$ac_tool_prefix"; then
8306 for ac_prog in gcc objcc objc cc CC
8308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8311 $as_echo_n "checking for $ac_word... " >&6; }
8312 if ${ac_cv_prog_OBJC+:} false; then :
8313 $as_echo_n "(cached) " >&6
8314 else
8315 if test -n "$OBJC"; then
8316 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8317 else
8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 for as_dir in $PATH
8321 IFS=$as_save_IFS
8322 test -z "$as_dir" && as_dir=.
8323 for ac_exec_ext in '' $ac_executable_extensions; do
8324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8325 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8327 break 2
8329 done
8330 done
8331 IFS=$as_save_IFS
8335 OBJC=$ac_cv_prog_OBJC
8336 if test -n "$OBJC"; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8338 $as_echo "$OBJC" >&6; }
8339 else
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8341 $as_echo "no" >&6; }
8345 test -n "$OBJC" && break
8346 done
8348 if test -z "$OBJC"; then
8349 ac_ct_OBJC=$OBJC
8350 for ac_prog in gcc objcc objc cc CC
8352 # Extract the first word of "$ac_prog", so it can be a program name with args.
8353 set dummy $ac_prog; ac_word=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8355 $as_echo_n "checking for $ac_word... " >&6; }
8356 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 if test -n "$ac_ct_OBJC"; then
8360 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8361 else
8362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8363 for as_dir in $PATH
8365 IFS=$as_save_IFS
8366 test -z "$as_dir" && as_dir=.
8367 for ac_exec_ext in '' $ac_executable_extensions; do
8368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8369 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8371 break 2
8373 done
8374 done
8375 IFS=$as_save_IFS
8379 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8380 if test -n "$ac_ct_OBJC"; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8382 $as_echo "$ac_ct_OBJC" >&6; }
8383 else
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385 $as_echo "no" >&6; }
8389 test -n "$ac_ct_OBJC" && break
8390 done
8392 if test "x$ac_ct_OBJC" = x; then
8393 OBJC="gcc"
8394 else
8395 case $cross_compiling:$ac_tool_warned in
8396 yes:)
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8399 ac_tool_warned=yes ;;
8400 esac
8401 OBJC=$ac_ct_OBJC
8405 # Provide some information about the compiler.
8406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8407 set X $ac_compile
8408 ac_compiler=$2
8409 for ac_option in --version -v -V -qversion; do
8410 { { ac_try="$ac_compiler $ac_option >&5"
8411 case "(($ac_try" in
8412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8413 *) ac_try_echo=$ac_try;;
8414 esac
8415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8416 $as_echo "$ac_try_echo"; } >&5
8417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8418 ac_status=$?
8419 if test -s conftest.err; then
8420 sed '10a\
8421 ... rest of stderr output deleted ...
8422 10q' conftest.err >conftest.er1
8423 cat conftest.er1 >&5
8425 rm -f conftest.er1 conftest.err
8426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8427 test $ac_status = 0; }
8428 done
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8431 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8432 if ${ac_cv_objc_compiler_gnu+:} false; then :
8433 $as_echo_n "(cached) " >&6
8434 else
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8439 main ()
8441 #ifndef __GNUC__
8442 choke me
8443 #endif
8446 return 0;
8448 _ACEOF
8449 if ac_fn_objc_try_compile "$LINENO"; then :
8450 ac_compiler_gnu=yes
8451 else
8452 ac_compiler_gnu=no
8454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8455 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8459 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8460 if test $ac_compiler_gnu = yes; then
8461 GOBJC=yes
8462 else
8463 GOBJC=
8465 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8466 ac_save_OBJCFLAGS=$OBJCFLAGS
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8468 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8469 if ${ac_cv_prog_objc_g+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 ac_save_objc_werror_flag=$ac_objc_werror_flag
8473 ac_objc_werror_flag=yes
8474 ac_cv_prog_objc_g=no
8475 OBJCFLAGS="-g"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8480 main ()
8484 return 0;
8486 _ACEOF
8487 if ac_fn_objc_try_compile "$LINENO"; then :
8488 ac_cv_prog_objc_g=yes
8489 else
8490 OBJCFLAGS=""
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8495 main ()
8499 return 0;
8501 _ACEOF
8502 if ac_fn_objc_try_compile "$LINENO"; then :
8504 else
8505 ac_objc_werror_flag=$ac_save_objc_werror_flag
8506 OBJCFLAGS="-g"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8511 main ()
8515 return 0;
8517 _ACEOF
8518 if ac_fn_objc_try_compile "$LINENO"; then :
8519 ac_cv_prog_objc_g=yes
8521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8526 ac_objc_werror_flag=$ac_save_objc_werror_flag
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8529 $as_echo "$ac_cv_prog_objc_g" >&6; }
8530 if test "$ac_test_OBJCFLAGS" = set; then
8531 OBJCFLAGS=$ac_save_OBJCFLAGS
8532 elif test $ac_cv_prog_objc_g = yes; then
8533 if test "$GOBJC" = yes; then
8534 OBJCFLAGS="-g -O2"
8535 else
8536 OBJCFLAGS="-g"
8538 else
8539 if test "$GOBJC" = yes; then
8540 OBJCFLAGS="-O2"
8541 else
8542 OBJCFLAGS=
8545 ac_ext=m
8546 ac_cpp='$OBJCPP $CPPFLAGS'
8547 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8548 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8549 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8552 ac_ext=m
8553 ac_cpp='$OBJCPP $CPPFLAGS'
8554 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8555 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8556 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8558 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8559 if test -z "$OBJCPP"; then
8560 if ${ac_cv_prog_OBJCPP+:} false; then :
8561 $as_echo_n "(cached) " >&6
8562 else
8563 # Double quotes because OBJCPP needs to be expanded
8564 for OBJCPP in "$OBJC -E" "/lib/cpp"
8566 ac_preproc_ok=false
8567 for ac_objc_preproc_warn_flag in '' yes
8569 # Use a header file that comes with gcc, so configuring glibc
8570 # with a fresh cross-compiler works.
8571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8572 # <limits.h> exists even on freestanding compilers.
8573 # On the NeXT, cc -E runs the code through the compiler's parser,
8574 # not just through cpp. "Syntax error" is here to catch this case.
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 #ifdef __STDC__
8578 # include <limits.h>
8579 #else
8580 # include <assert.h>
8581 #endif
8582 Syntax error
8583 _ACEOF
8584 if ac_fn_objc_try_cpp "$LINENO"; then :
8586 else
8587 # Broken: fails on valid input.
8588 continue
8590 rm -f conftest.err conftest.i conftest.$ac_ext
8592 # OK, works on sane cases. Now check whether nonexistent headers
8593 # can be detected and how.
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8596 #include <ac_nonexistent.h>
8597 _ACEOF
8598 if ac_fn_objc_try_cpp "$LINENO"; then :
8599 # Broken: success on invalid input.
8600 continue
8601 else
8602 # Passes both tests.
8603 ac_preproc_ok=:
8604 break
8606 rm -f conftest.err conftest.i conftest.$ac_ext
8608 done
8609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8610 rm -f conftest.i conftest.err conftest.$ac_ext
8611 if $ac_preproc_ok; then :
8612 break
8615 done
8616 ac_cv_prog_OBJCPP=$OBJCPP
8619 OBJCPP=$ac_cv_prog_OBJCPP
8620 else
8621 ac_cv_prog_OBJCPP=$OBJCPP
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8624 $as_echo "$OBJCPP" >&6; }
8625 ac_preproc_ok=false
8626 for ac_objc_preproc_warn_flag in '' yes
8628 # Use a header file that comes with gcc, so configuring glibc
8629 # with a fresh cross-compiler works.
8630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8631 # <limits.h> exists even on freestanding compilers.
8632 # On the NeXT, cc -E runs the code through the compiler's parser,
8633 # not just through cpp. "Syntax error" is here to catch this case.
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8636 #ifdef __STDC__
8637 # include <limits.h>
8638 #else
8639 # include <assert.h>
8640 #endif
8641 Syntax error
8642 _ACEOF
8643 if ac_fn_objc_try_cpp "$LINENO"; then :
8645 else
8646 # Broken: fails on valid input.
8647 continue
8649 rm -f conftest.err conftest.i conftest.$ac_ext
8651 # OK, works on sane cases. Now check whether nonexistent headers
8652 # can be detected and how.
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 #include <ac_nonexistent.h>
8656 _ACEOF
8657 if ac_fn_objc_try_cpp "$LINENO"; then :
8658 # Broken: success on invalid input.
8659 continue
8660 else
8661 # Passes both tests.
8662 ac_preproc_ok=:
8663 break
8665 rm -f conftest.err conftest.i conftest.$ac_ext
8667 done
8668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8669 rm -f conftest.i conftest.err conftest.$ac_ext
8670 if $ac_preproc_ok; then :
8672 else
8673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8675 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8676 See \`config.log' for more details" "$LINENO" 5; }
8679 ac_ext=m
8680 ac_cpp='$OBJCPP $CPPFLAGS'
8681 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8682 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8683 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8686 for ac_header in Metal/Metal.h
8687 do :
8688 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8689 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8690 cat >>confdefs.h <<_ACEOF
8691 #define HAVE_METAL_METAL_H 1
8692 _ACEOF
8696 done
8698 ac_ext=c
8699 ac_cpp='$CPP $CPPFLAGS'
8700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8704 LIBEXT="dylib"
8705 DLLFLAGS="$DLLFLAGS -fPIC"
8706 LDDLLFLAGS="-fPIC"
8707 COREFOUNDATION_LIBS="-framework CoreFoundation"
8709 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8711 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8713 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8715 CORESERVICES_LIBS="-framework CoreServices"
8717 APPKIT_LIBS="-framework AppKit"
8719 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8722 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8724 wine_can_build_preloader=yes
8725 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8727 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8728 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 ac_wine_try_cflags_saved=$CFLAGS
8732 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 int main(int argc, char **argv) { return 0; }
8736 _ACEOF
8737 if ac_fn_c_try_link "$LINENO"; then :
8738 ac_cv_cflags__Wl__no_new_main__e__main=yes
8739 else
8740 ac_cv_cflags__Wl__no_new_main__e__main=no
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 CFLAGS=$ac_wine_try_cflags_saved
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8747 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8748 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8749 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8751 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8752 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 ac_wine_try_cflags_saved=$CFLAGS
8756 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int main(int argc, char **argv) { return 0; }
8760 _ACEOF
8761 if ac_fn_c_try_link "$LINENO"; then :
8762 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8763 else
8764 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8766 rm -f core conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8771 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8772 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8773 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8774 else
8775 { $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
8776 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8777 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 ac_wine_try_cflags_saved=$CFLAGS
8781 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8783 /* end confdefs.h. */
8784 int main(int argc, char **argv) { return 0; }
8785 _ACEOF
8786 if ac_fn_c_try_link "$LINENO"; then :
8787 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8788 else
8789 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 CFLAGS=$ac_wine_try_cflags_saved
8795 { $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
8796 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8797 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8798 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8799 else
8800 wine_can_build_preloader=no
8803 else
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8805 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8806 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 ac_wine_try_cflags_saved=$CFLAGS
8810 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8813 int main(int argc, char **argv) { return 0; }
8814 _ACEOF
8815 if ac_fn_c_try_link "$LINENO"; then :
8816 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8817 else
8818 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8820 rm -f core conftest.err conftest.$ac_objext \
8821 conftest$ac_exeext conftest.$ac_ext
8822 CFLAGS=$ac_wine_try_cflags_saved
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8825 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8826 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8827 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8828 else
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8830 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8831 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 ac_wine_try_cflags_saved=$CFLAGS
8835 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8838 int main(int argc, char **argv) { return 0; }
8839 _ACEOF
8840 if ac_fn_c_try_link "$LINENO"; then :
8841 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8842 else
8843 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8845 rm -f core conftest.err conftest.$ac_objext \
8846 conftest$ac_exeext conftest.$ac_ext
8847 CFLAGS=$ac_wine_try_cflags_saved
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8850 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8851 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8852 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8853 else
8854 wine_can_build_preloader=no
8858 if test "$wine_can_build_preloader" = "yes"
8859 then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8861 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8862 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_wine_try_cflags_saved=$CFLAGS
8866 CFLAGS="$CFLAGS -Wl,-no_pie"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8869 int main(int argc, char **argv) { return 0; }
8870 _ACEOF
8871 if ac_fn_c_try_link "$LINENO"; then :
8872 ac_cv_cflags__Wl__no_pie=yes
8873 else
8874 ac_cv_cflags__Wl__no_pie=no
8876 rm -f core conftest.err conftest.$ac_objext \
8877 conftest$ac_exeext conftest.$ac_ext
8878 CFLAGS=$ac_wine_try_cflags_saved
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8881 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8882 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8883 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8885 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8886 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8887 else
8888 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8891 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8892 then
8893 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8896 if test "$ac_cv_header_Security_Security_h" = "yes"
8897 then
8898 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8900 ac_save_LIBS="$LIBS"
8901 LIBS="$LIBS $SECURITY_LIBS"
8902 for ac_func in SSLCopyPeerCertificates
8903 do :
8904 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8905 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8906 cat >>confdefs.h <<_ACEOF
8907 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8908 _ACEOF
8911 done
8913 LIBS="$ac_save_LIBS"
8915 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8916 then
8917 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8918 then
8919 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8921 else
8922 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8925 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8926 ac_save_LIBS="$LIBS"
8927 LIBS="$LIBS $COREAUDIO_LIBS"
8928 for ac_func in AUGraphAddNode
8929 do :
8930 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8931 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8932 cat >>confdefs.h <<_ACEOF
8933 #define HAVE_AUGRAPHADDNODE 1
8934 _ACEOF
8937 done
8939 LIBS="$ac_save_LIBS"
8941 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8942 then
8943 OPENAL_LIBS="-framework OpenAL"
8946 cat >>confdefs.h <<_ACEOF
8947 #define HAVE_OPENAL 1
8948 _ACEOF
8950 ac_cv_lib_openal=yes
8952 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8953 then
8954 OPENCL_LIBS="-framework OpenCL"
8956 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8958 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8959 then
8960 ac_save_LIBS="$LIBS"
8961 LIBS="$LIBS $IOKIT_LIBS"
8962 for ac_func in IOHIDManagerCreate
8963 do :
8964 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8965 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8966 cat >>confdefs.h <<_ACEOF
8967 #define HAVE_IOHIDMANAGERCREATE 1
8968 _ACEOF
8971 done
8973 LIBS="$ac_save_LIBS"
8976 if test "x$with_quicktime" != "xno"
8977 then
8978 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8979 then
8980 ac_save_LIBS="$LIBS"
8981 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8983 $as_echo_n "checking for the QuickTime framework... " >&6; }
8984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8985 /* end confdefs.h. */
8986 #include <QuickTime/ImageCompression.h>
8988 main ()
8990 CodecManagerVersion(NULL);
8992 return 0;
8994 _ACEOF
8995 if ac_fn_c_try_link "$LINENO"; then :
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8997 $as_echo "yes" >&6; }
8998 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9000 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9001 else
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003 $as_echo "no" >&6; }
9004 ac_cv_header_QuickTime_ImageCompression_h=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS="$ac_save_LIBS"
9011 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9012 case "x$with_quicktime" in
9013 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9014 xno) ;;
9015 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9016 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9017 esac
9021 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9022 then
9023 CARBON_LIBS="-framework Carbon"
9026 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9027 then
9028 METAL_LIBS="-framework Metal -framework QuartzCore"
9032 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9033 then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9035 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9036 ac_ext=m
9037 ac_cpp='$OBJCPP $CPPFLAGS'
9038 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9039 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9040 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 #include <Metal/Metal.h>
9046 main ()
9048 id<MTLDevice> device; device.registryID;
9050 return 0;
9052 _ACEOF
9053 if ac_fn_objc_try_compile "$LINENO"; then :
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9055 $as_echo "yes" >&6; }
9057 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9059 else
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 $as_echo "no" >&6; }
9063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9064 ac_ext=c
9065 ac_cpp='$CPP $CPPFLAGS'
9066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9072 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9073 then
9074 ac_save_LIBS="$LIBS"
9075 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9076 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9077 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9078 enable_winemac_drv=${enable_winemac_drv:-yes}
9081 LIBS="$ac_save_LIBS"
9084 if test "x$enable_win16" = "xyes"
9085 then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9087 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9088 if test "$cross_compiling" = yes; then :
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9090 $as_echo "cross-compiling, assuming yes" >&6; }
9091 else
9092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9094 asm(".text\n"
9095 "bad:\tnop;nop\n"
9096 "good:\tnop;nop\n\t"
9097 ".globl _testfunc\n"
9098 "_testfunc:\tcallw good");
9099 extern void testfunc();
9101 main ()
9103 unsigned short *p = (unsigned short *)testfunc;
9104 return p[0] != 0xe866 || p[1] != 0xfffa
9106 return 0;
9108 _ACEOF
9109 if ac_fn_c_try_run "$LINENO"; then :
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9111 $as_echo "yes" >&6; }
9112 else
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114 $as_echo "no" >&6; }
9115 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
9117 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9118 conftest.$ac_objext conftest.beam conftest.$ac_ext
9123 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9125 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9127 WINELOADER_DEPENDS="wine_info.plist"
9129 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9132 linux-android*)
9133 DLLFLAGS="$DLLFLAGS -fPIC"
9134 LDDLLFLAGS="-fPIC"
9135 LDEXECFLAGS="-Wl,-pie"
9136 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9138 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9139 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 int main(int argc, char **argv) { return 0; }
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9150 else
9151 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9153 rm -f core conftest.err conftest.$ac_objext \
9154 conftest$ac_exeext conftest.$ac_ext
9155 CFLAGS=$ac_wine_try_cflags_saved
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9158 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9159 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9160 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9162 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9164 LIBWINE_SHAREDLIB="libwine.so"
9166 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9168 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9171 $as_echo_n "checking for -lEGL... " >&6; }
9172 if ${ac_cv_lib_soname_EGL+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_check_soname_save_LIBS=$LIBS
9176 LIBS="-lEGL $LIBS"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 char eglGetProcAddress ();
9188 main ()
9190 return eglGetProcAddress ();
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 case "$LIBEXT" in
9197 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9198 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'` ;;
9199 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9200 if ${ac_cv_lib_soname_EGL:+false} :; then :
9201 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9202 fi ;;
9203 esac
9204 else
9205 ac_cv_lib_soname_EGL=
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 LIBS=$ac_check_soname_save_LIBS
9211 if ${ac_cv_lib_soname_EGL:+false} :; then :
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9213 $as_echo "not found" >&6; }
9215 else
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9217 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9219 cat >>confdefs.h <<_ACEOF
9220 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9221 _ACEOF
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9226 $as_echo_n "checking for -lGLESv2... " >&6; }
9227 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9228 $as_echo_n "(cached) " >&6
9229 else
9230 ac_check_soname_save_LIBS=$LIBS
9231 LIBS="-lGLESv2 $LIBS"
9232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9233 /* end confdefs.h. */
9235 /* Override any GCC internal prototype to avoid an error.
9236 Use char because int might match the return type of a GCC
9237 builtin and then its argument prototype would still apply. */
9238 #ifdef __cplusplus
9239 extern "C"
9240 #endif
9241 char glFlush ();
9243 main ()
9245 return glFlush ();
9247 return 0;
9249 _ACEOF
9250 if ac_fn_c_try_link "$LINENO"; then :
9251 case "$LIBEXT" in
9252 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9253 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'` ;;
9254 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9255 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9256 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9257 fi ;;
9258 esac
9259 else
9260 ac_cv_lib_soname_GLESv2=
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 LIBS=$ac_check_soname_save_LIBS
9266 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9268 $as_echo "not found" >&6; }
9270 else
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9272 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9274 cat >>confdefs.h <<_ACEOF
9275 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9276 _ACEOF
9281 if test "x$exec_prefix" = xNONE
9282 then
9283 case $host_cpu in
9284 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9285 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9286 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9287 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9288 esac
9293 case $host_cpu in
9294 *i[3456789]86*)
9295 DLLFLAGS="$DLLFLAGS -fno-PIC"
9296 LDDLLFLAGS="-fno-PIC" ;;
9298 DLLFLAGS="$DLLFLAGS -fPIC"
9299 LDDLLFLAGS="-fPIC" ;;
9300 esac
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9302 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9303 if ${ac_cv_c_dll_gnuelf+:} false; then :
9304 $as_echo_n "(cached) " >&6
9305 else
9306 ac_wine_try_cflags_saved=$CFLAGS
9307 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9310 void myfunc() {}
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9314 else
9315 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 CFLAGS=$ac_wine_try_cflags_saved
9320 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9321 ac_cv_c_dll_gnuelf="yes"
9322 else
9323 ac_cv_c_dll_gnuelf="no"
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9327 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9328 if test "$ac_cv_c_dll_gnuelf" = "yes"
9329 then
9330 LIBWINE_LDFLAGS="-shared"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9332 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9333 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_wine_try_cflags_saved=$CFLAGS
9337 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9340 int main(int argc, char **argv) { return 0; }
9341 _ACEOF
9342 if ac_fn_c_try_link "$LINENO"; then :
9343 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9344 else
9345 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9347 rm -f core conftest.err conftest.$ac_objext \
9348 conftest$ac_exeext conftest.$ac_ext
9349 CFLAGS=$ac_wine_try_cflags_saved
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9352 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9353 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9354 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9355 else
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9357 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9358 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360 else
9361 ac_wine_try_cflags_saved=$CFLAGS
9362 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9365 int main(int argc, char **argv) { return 0; }
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9369 else
9370 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 CFLAGS=$ac_wine_try_cflags_saved
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9377 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9378 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9379 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9383 echo '{ global: *; };' >conftest.map
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9385 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9386 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9387 $as_echo_n "(cached) " >&6
9388 else
9389 ac_wine_try_cflags_saved=$CFLAGS
9390 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9393 int main(int argc, char **argv) { return 0; }
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9397 else
9398 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 CFLAGS=$ac_wine_try_cflags_saved
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9405 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9406 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9407 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9409 rm -f conftest.map
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9412 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9413 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9414 $as_echo_n "(cached) " >&6
9415 else
9416 ac_wine_try_cflags_saved=$CFLAGS
9417 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9420 int main(int argc, char **argv) { return 0; }
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"; then :
9423 ac_cv_cflags__Wl___export_dynamic=yes
9424 else
9425 ac_cv_cflags__Wl___export_dynamic=no
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 CFLAGS=$ac_wine_try_cflags_saved
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9432 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9433 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9434 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9436 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9438 case $host_cpu in
9439 *i[3456789]86* | x86_64 | *aarch64*)
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9441 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9442 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9443 $as_echo_n "(cached) " >&6
9444 else
9445 ac_wine_try_cflags_saved=$CFLAGS
9446 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9449 int main(int argc, char **argv) { return 0; }
9450 _ACEOF
9451 if ac_fn_c_try_link "$LINENO"; then :
9452 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9453 else
9454 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 CFLAGS=$ac_wine_try_cflags_saved
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9461 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9462 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9463 case $host_os in
9464 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9465 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9466 esac
9467 else
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9469 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9470 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9471 $as_echo_n "(cached) " >&6
9472 else
9473 ac_wine_try_cflags_saved=$CFLAGS
9474 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9477 int main(int argc, char **argv) { return 0; }
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9481 else
9482 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 CFLAGS=$ac_wine_try_cflags_saved
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9489 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9490 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9491 case $host_os in
9492 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9493 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9494 esac
9496 # Extract the first word of "prelink", so it can be a program name with args.
9497 set dummy prelink; ac_word=$2
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9499 $as_echo_n "checking for $ac_word... " >&6; }
9500 if ${ac_cv_path_PRELINK+:} false; then :
9501 $as_echo_n "(cached) " >&6
9502 else
9503 case $PRELINK in
9504 [\\/]* | ?:[\\/]*)
9505 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9509 for as_dir in /sbin /usr/sbin $PATH
9511 IFS=$as_save_IFS
9512 test -z "$as_dir" && as_dir=.
9513 for ac_exec_ext in '' $ac_executable_extensions; do
9514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9515 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9517 break 2
9519 done
9520 done
9521 IFS=$as_save_IFS
9523 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9525 esac
9527 PRELINK=$ac_cv_path_PRELINK
9528 if test -n "$PRELINK"; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9530 $as_echo "$PRELINK" >&6; }
9531 else
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9533 $as_echo "no" >&6; }
9537 if test "x$PRELINK" = xfalse
9538 then
9539 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9543 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9544 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_wine_try_cflags_saved=$CFLAGS
9548 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551 int main(int argc, char **argv) { return 0; }
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9555 else
9556 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 CFLAGS=$ac_wine_try_cflags_saved
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9563 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9564 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9565 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9568 esac
9570 else
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9572 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9573 if ${ac_cv_c_dll_unixware+:} false; then :
9574 $as_echo_n "(cached) " >&6
9575 else
9576 ac_wine_try_cflags_saved=$CFLAGS
9577 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9580 void myfunc() {}
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9584 else
9585 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 CFLAGS=$ac_wine_try_cflags_saved
9590 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9591 ac_cv_c_dll_unixware="yes"
9592 else
9593 ac_cv_c_dll_unixware="no"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9597 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9598 if test "$ac_cv_c_dll_unixware" = "yes"
9599 then
9600 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9603 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9605 LIBWINE_DEPENDS="wine.map"
9607 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9609 esac
9611 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9612 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9613 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9614 enable_winemac_drv=${enable_winemac_drv:-no}
9615 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9618 if test "x$with_mingw" != xno
9619 then
9620 case "x$with_mingw" in
9621 x|xyes) case "$host_cpu" in
9622 aarch64*)
9623 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9624 arm*)
9625 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9626 i[3456789]86*)
9627 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
9628 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9629 mingw32-gcc" ;;
9630 x86_64)
9631 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
9632 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9634 ac_prefix_list="" ;;
9635 esac
9636 for ac_prog in $ac_prefix_list
9638 # Extract the first word of "$ac_prog", so it can be a program name with args.
9639 set dummy $ac_prog; ac_word=$2
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9641 $as_echo_n "checking for $ac_word... " >&6; }
9642 if ${ac_cv_prog_CROSSCC+:} false; then :
9643 $as_echo_n "(cached) " >&6
9644 else
9645 if test -n "$CROSSCC"; then
9646 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9647 else
9648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9649 for as_dir in $PATH
9651 IFS=$as_save_IFS
9652 test -z "$as_dir" && as_dir=.
9653 for ac_exec_ext in '' $ac_executable_extensions; do
9654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9655 ac_cv_prog_CROSSCC="$ac_prog"
9656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9657 break 2
9659 done
9660 done
9661 IFS=$as_save_IFS
9665 CROSSCC=$ac_cv_prog_CROSSCC
9666 if test -n "$CROSSCC"; then
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9668 $as_echo "$CROSSCC" >&6; }
9669 else
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9671 $as_echo "no" >&6; }
9675 test -n "$CROSSCC" && break
9676 done
9677 test -n "$CROSSCC" || CROSSCC="false"
9679 *) CROSSCC=$with_mingw ;;
9680 esac
9681 if test "$CROSSCC" != "false"
9682 then
9683 ac_save_CC="$CC"
9684 saved_CFLAGS=$CFLAGS
9685 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9687 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9691 CC="$CROSSCC"
9692 CFLAGS=$CROSSCFLAGS
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9694 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9695 if ${wine_cv_crosscc+:} false; then :
9696 $as_echo_n "(cached) " >&6
9697 else
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9702 main ()
9706 return 0;
9708 _ACEOF
9709 if ac_fn_c_try_compile "$LINENO"; then :
9710 wine_cv_crosscc=yes
9711 else
9712 wine_cv_crosscc=no
9714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9717 $as_echo "$wine_cv_crosscc" >&6; }
9718 if test $wine_cv_crosscc = yes
9719 then
9720 set x $CROSSCC
9721 shift
9722 while test $# -ge 1
9724 case "$1" in
9725 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9726 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9727 esac
9728 shift
9729 done
9731 llvm_target=$CROSSTARGET
9732 llvm_cflags="-fuse-ld=lld"
9733 if test -z "$llvm_target"
9734 then
9735 case $host_cpu in
9736 *i[3456789]86*) llvm_target=i686-windows ;;
9737 *) llvm_target=$host_cpu-windows ;;
9738 esac
9740 case $llvm_target in
9741 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9742 esac
9743 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9745 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9746 if eval \${$as_ac_var+:} false; then :
9747 $as_echo_n "(cached) " >&6
9748 else
9749 ac_wine_try_cflags_saved=$CFLAGS
9750 ac_wine_try_cflags_saved_cc=$CC
9751 ac_wine_try_cflags_saved_exeext=$ac_exeext
9752 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9753 CC="$CROSSCC"
9754 ac_exeext=".exe"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9757 int __cdecl mainCRTStartup(void) { return 0; }
9758 _ACEOF
9759 if ac_fn_c_try_link "$LINENO"; then :
9760 eval "$as_ac_var=yes"
9761 else
9762 eval "$as_ac_var=no"
9764 rm -f core conftest.err conftest.$ac_objext \
9765 conftest$ac_exeext conftest.$ac_ext
9766 CFLAGS=$ac_wine_try_cflags_saved
9767 CC=$ac_wine_try_cflags_saved_cc
9768 ac_exeext=$ac_wine_try_cflags_saved_exeext
9770 eval ac_res=\$$as_ac_var
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9772 $as_echo "$ac_res" >&6; }
9773 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9774 CROSSTARGET=$llvm_target
9775 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9776 DELAYLOADFLAG="-Wl,-delayload,"
9778 CFLAGS="$CFLAGS $llvm_cflags"
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9782 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9783 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9784 $as_echo_n "(cached) " >&6
9785 else
9786 ac_wine_try_cflags_saved=$CFLAGS
9787 ac_wine_try_cflags_saved_cc=$CC
9788 ac_wine_try_cflags_saved_exeext=$ac_exeext
9789 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9790 CC="$CROSSCC"
9791 ac_exeext=".exe"
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9794 int __cdecl mainCRTStartup(void) { return 0; }
9795 _ACEOF
9796 if ac_fn_c_try_link "$LINENO"; then :
9797 ac_cv_crosscflags__fno_strict_aliasing=yes
9798 else
9799 ac_cv_crosscflags__fno_strict_aliasing=no
9801 rm -f core conftest.err conftest.$ac_objext \
9802 conftest$ac_exeext conftest.$ac_ext
9803 CFLAGS=$ac_wine_try_cflags_saved
9804 CC=$ac_wine_try_cflags_saved_cc
9805 ac_exeext=$ac_wine_try_cflags_saved_exeext
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9808 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9809 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9810 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9813 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9814 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 ac_wine_try_cflags_saved=$CFLAGS
9818 ac_wine_try_cflags_saved_cc=$CC
9819 ac_wine_try_cflags_saved_exeext=$ac_exeext
9820 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9821 CC="$CROSSCC"
9822 ac_exeext=".exe"
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9825 int __cdecl mainCRTStartup(void) { return 0; }
9826 _ACEOF
9827 if ac_fn_c_try_link "$LINENO"; then :
9828 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9829 else
9830 ac_cv_crosscflags__Werror_unknown_warning_option=no
9832 rm -f core conftest.err conftest.$ac_objext \
9833 conftest$ac_exeext conftest.$ac_ext
9834 CFLAGS=$ac_wine_try_cflags_saved
9835 CC=$ac_wine_try_cflags_saved_cc
9836 ac_exeext=$ac_wine_try_cflags_saved_exeext
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9839 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9840 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9841 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9844 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9845 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9846 $as_echo_n "(cached) " >&6
9847 else
9848 ac_wine_try_cflags_saved=$CFLAGS
9849 ac_wine_try_cflags_saved_cc=$CC
9850 ac_wine_try_cflags_saved_exeext=$ac_exeext
9851 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9852 CC="$CROSSCC"
9853 ac_exeext=".exe"
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9856 int __cdecl mainCRTStartup(void) { return 0; }
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9860 else
9861 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9863 rm -f core conftest.err conftest.$ac_objext \
9864 conftest$ac_exeext conftest.$ac_ext
9865 CFLAGS=$ac_wine_try_cflags_saved
9866 CC=$ac_wine_try_cflags_saved_cc
9867 ac_exeext=$ac_wine_try_cflags_saved_exeext
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9870 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9871 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9872 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9875 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9876 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9877 $as_echo_n "(cached) " >&6
9878 else
9879 ac_wine_try_cflags_saved=$CFLAGS
9880 ac_wine_try_cflags_saved_cc=$CC
9881 ac_wine_try_cflags_saved_exeext=$ac_exeext
9882 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9883 CC="$CROSSCC"
9884 ac_exeext=".exe"
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9887 int __cdecl mainCRTStartup(void) { return 0; }
9888 _ACEOF
9889 if ac_fn_c_try_link "$LINENO"; then :
9890 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9891 else
9892 ac_cv_crosscflags__Wdeclaration_after_statement=no
9894 rm -f core conftest.err conftest.$ac_objext \
9895 conftest$ac_exeext conftest.$ac_ext
9896 CFLAGS=$ac_wine_try_cflags_saved
9897 CC=$ac_wine_try_cflags_saved_cc
9898 ac_exeext=$ac_wine_try_cflags_saved_exeext
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9901 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9902 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9903 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9906 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9907 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9908 $as_echo_n "(cached) " >&6
9909 else
9910 ac_wine_try_cflags_saved=$CFLAGS
9911 ac_wine_try_cflags_saved_cc=$CC
9912 ac_wine_try_cflags_saved_exeext=$ac_exeext
9913 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9914 CC="$CROSSCC"
9915 ac_exeext=".exe"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9918 int __cdecl mainCRTStartup(void) { return 0; }
9919 _ACEOF
9920 if ac_fn_c_try_link "$LINENO"; then :
9921 ac_cv_crosscflags__Wempty_body=yes
9922 else
9923 ac_cv_crosscflags__Wempty_body=no
9925 rm -f core conftest.err conftest.$ac_objext \
9926 conftest$ac_exeext conftest.$ac_ext
9927 CFLAGS=$ac_wine_try_cflags_saved
9928 CC=$ac_wine_try_cflags_saved_cc
9929 ac_exeext=$ac_wine_try_cflags_saved_exeext
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9932 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9933 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9934 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9937 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9938 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_wine_try_cflags_saved=$CFLAGS
9942 ac_wine_try_cflags_saved_cc=$CC
9943 ac_wine_try_cflags_saved_exeext=$ac_exeext
9944 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9945 CC="$CROSSCC"
9946 ac_exeext=".exe"
9947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9948 /* end confdefs.h. */
9949 int __cdecl mainCRTStartup(void) { return 0; }
9950 _ACEOF
9951 if ac_fn_c_try_link "$LINENO"; then :
9952 ac_cv_crosscflags__Wignored_qualifiers=yes
9953 else
9954 ac_cv_crosscflags__Wignored_qualifiers=no
9956 rm -f core conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 CFLAGS=$ac_wine_try_cflags_saved
9959 CC=$ac_wine_try_cflags_saved_cc
9960 ac_exeext=$ac_wine_try_cflags_saved_exeext
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9963 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9964 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9965 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9968 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9969 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9970 $as_echo_n "(cached) " >&6
9971 else
9972 ac_wine_try_cflags_saved=$CFLAGS
9973 ac_wine_try_cflags_saved_cc=$CC
9974 ac_wine_try_cflags_saved_exeext=$ac_exeext
9975 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9976 CC="$CROSSCC"
9977 ac_exeext=".exe"
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9980 int __cdecl mainCRTStartup(void) { return 0; }
9981 _ACEOF
9982 if ac_fn_c_try_link "$LINENO"; then :
9983 ac_cv_crosscflags__Wpacked_not_aligned=yes
9984 else
9985 ac_cv_crosscflags__Wpacked_not_aligned=no
9987 rm -f core conftest.err conftest.$ac_objext \
9988 conftest$ac_exeext conftest.$ac_ext
9989 CFLAGS=$ac_wine_try_cflags_saved
9990 CC=$ac_wine_try_cflags_saved_cc
9991 ac_exeext=$ac_wine_try_cflags_saved_exeext
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9994 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9995 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9996 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9999 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10000 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10001 $as_echo_n "(cached) " >&6
10002 else
10003 ac_wine_try_cflags_saved=$CFLAGS
10004 ac_wine_try_cflags_saved_cc=$CC
10005 ac_wine_try_cflags_saved_exeext=$ac_exeext
10006 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10007 CC="$CROSSCC"
10008 ac_exeext=".exe"
10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10011 int __cdecl mainCRTStartup(void) { return 0; }
10012 _ACEOF
10013 if ac_fn_c_try_link "$LINENO"; then :
10014 ac_cv_crosscflags__Wpragma_pack=yes
10015 else
10016 ac_cv_crosscflags__Wpragma_pack=no
10018 rm -f core conftest.err conftest.$ac_objext \
10019 conftest$ac_exeext conftest.$ac_ext
10020 CFLAGS=$ac_wine_try_cflags_saved
10021 CC=$ac_wine_try_cflags_saved_cc
10022 ac_exeext=$ac_wine_try_cflags_saved_exeext
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10025 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10026 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10027 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10030 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10031 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10032 $as_echo_n "(cached) " >&6
10033 else
10034 ac_wine_try_cflags_saved=$CFLAGS
10035 ac_wine_try_cflags_saved_cc=$CC
10036 ac_wine_try_cflags_saved_exeext=$ac_exeext
10037 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10038 CC="$CROSSCC"
10039 ac_exeext=".exe"
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10042 int __cdecl mainCRTStartup(void) { return 0; }
10043 _ACEOF
10044 if ac_fn_c_try_link "$LINENO"; then :
10045 ac_cv_crosscflags__Wshift_overflow_2=yes
10046 else
10047 ac_cv_crosscflags__Wshift_overflow_2=no
10049 rm -f core conftest.err conftest.$ac_objext \
10050 conftest$ac_exeext conftest.$ac_ext
10051 CFLAGS=$ac_wine_try_cflags_saved
10052 CC=$ac_wine_try_cflags_saved_cc
10053 ac_exeext=$ac_wine_try_cflags_saved_exeext
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10056 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10057 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10058 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10061 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10062 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10063 $as_echo_n "(cached) " >&6
10064 else
10065 ac_wine_try_cflags_saved=$CFLAGS
10066 ac_wine_try_cflags_saved_cc=$CC
10067 ac_wine_try_cflags_saved_exeext=$ac_exeext
10068 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10069 CC="$CROSSCC"
10070 ac_exeext=".exe"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10073 int __cdecl mainCRTStartup(void) { return 0; }
10074 _ACEOF
10075 if ac_fn_c_try_link "$LINENO"; then :
10076 ac_cv_crosscflags__Wstrict_prototypes=yes
10077 else
10078 ac_cv_crosscflags__Wstrict_prototypes=no
10080 rm -f core conftest.err conftest.$ac_objext \
10081 conftest$ac_exeext conftest.$ac_ext
10082 CFLAGS=$ac_wine_try_cflags_saved
10083 CC=$ac_wine_try_cflags_saved_cc
10084 ac_exeext=$ac_wine_try_cflags_saved_exeext
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10087 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10088 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10089 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10092 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10093 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10094 $as_echo_n "(cached) " >&6
10095 else
10096 ac_wine_try_cflags_saved=$CFLAGS
10097 ac_wine_try_cflags_saved_cc=$CC
10098 ac_wine_try_cflags_saved_exeext=$ac_exeext
10099 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10100 CC="$CROSSCC"
10101 ac_exeext=".exe"
10102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h. */
10104 int __cdecl mainCRTStartup(void) { return 0; }
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10107 ac_cv_crosscflags__Wtype_limits=yes
10108 else
10109 ac_cv_crosscflags__Wtype_limits=no
10111 rm -f core conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 CFLAGS=$ac_wine_try_cflags_saved
10114 CC=$ac_wine_try_cflags_saved_cc
10115 ac_exeext=$ac_wine_try_cflags_saved_exeext
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10118 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10119 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10120 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10123 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10124 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10125 $as_echo_n "(cached) " >&6
10126 else
10127 ac_wine_try_cflags_saved=$CFLAGS
10128 ac_wine_try_cflags_saved_cc=$CC
10129 ac_wine_try_cflags_saved_exeext=$ac_exeext
10130 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10131 CC="$CROSSCC"
10132 ac_exeext=".exe"
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10135 int __cdecl mainCRTStartup(void) { return 0; }
10136 _ACEOF
10137 if ac_fn_c_try_link "$LINENO"; then :
10138 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10139 else
10140 ac_cv_crosscflags__Wunused_but_set_parameter=no
10142 rm -f core conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144 CFLAGS=$ac_wine_try_cflags_saved
10145 CC=$ac_wine_try_cflags_saved_cc
10146 ac_exeext=$ac_wine_try_cflags_saved_exeext
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10149 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10150 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10151 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10154 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10155 if ${ac_cv_crosscflags__Wvla+:} false; then :
10156 $as_echo_n "(cached) " >&6
10157 else
10158 ac_wine_try_cflags_saved=$CFLAGS
10159 ac_wine_try_cflags_saved_cc=$CC
10160 ac_wine_try_cflags_saved_exeext=$ac_exeext
10161 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10162 CC="$CROSSCC"
10163 ac_exeext=".exe"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10166 int __cdecl mainCRTStartup(void) { return 0; }
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"; then :
10169 ac_cv_crosscflags__Wvla=yes
10170 else
10171 ac_cv_crosscflags__Wvla=no
10173 rm -f core conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10175 CFLAGS=$ac_wine_try_cflags_saved
10176 CC=$ac_wine_try_cflags_saved_cc
10177 ac_exeext=$ac_wine_try_cflags_saved_exeext
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10180 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10181 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10182 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10185 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10186 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10187 $as_echo_n "(cached) " >&6
10188 else
10189 ac_wine_try_cflags_saved=$CFLAGS
10190 ac_wine_try_cflags_saved_cc=$CC
10191 ac_wine_try_cflags_saved_exeext=$ac_exeext
10192 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10193 CC="$CROSSCC"
10194 ac_exeext=".exe"
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10197 int __cdecl mainCRTStartup(void) { return 0; }
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"; then :
10200 ac_cv_crosscflags__Wwrite_strings=yes
10201 else
10202 ac_cv_crosscflags__Wwrite_strings=no
10204 rm -f core conftest.err conftest.$ac_objext \
10205 conftest$ac_exeext conftest.$ac_ext
10206 CFLAGS=$ac_wine_try_cflags_saved
10207 CC=$ac_wine_try_cflags_saved_cc
10208 ac_exeext=$ac_wine_try_cflags_saved_exeext
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10211 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10212 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10213 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10216 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10217 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10218 $as_echo_n "(cached) " >&6
10219 else
10220 ac_wine_try_cflags_saved=$CFLAGS
10221 ac_wine_try_cflags_saved_cc=$CC
10222 ac_wine_try_cflags_saved_exeext=$ac_exeext
10223 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10224 CC="$CROSSCC"
10225 ac_exeext=".exe"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228 int __cdecl mainCRTStartup(void) { return 0; }
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"; then :
10231 ac_cv_crosscflags__Wpointer_arith=yes
10232 else
10233 ac_cv_crosscflags__Wpointer_arith=no
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 CFLAGS=$ac_wine_try_cflags_saved
10238 CC=$ac_wine_try_cflags_saved_cc
10239 ac_exeext=$ac_wine_try_cflags_saved_exeext
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10242 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10243 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10244 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10247 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10248 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10249 $as_echo_n "(cached) " >&6
10250 else
10251 ac_wine_try_cflags_saved=$CFLAGS
10252 ac_wine_try_cflags_saved_cc=$CC
10253 ac_wine_try_cflags_saved_exeext=$ac_exeext
10254 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10255 CC="$CROSSCC"
10256 ac_exeext=".exe"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10259 int __cdecl mainCRTStartup(void) { return 0; }
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 ac_cv_crosscflags__Wlogical_op=yes
10263 else
10264 ac_cv_crosscflags__Wlogical_op=no
10266 rm -f core conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10269 CC=$ac_wine_try_cflags_saved_cc
10270 ac_exeext=$ac_wine_try_cflags_saved_exeext
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10273 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10274 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10275 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10278 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10279 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10280 $as_echo_n "(cached) " >&6
10281 else
10282 ac_wine_try_cflags_saved=$CFLAGS
10283 ac_wine_try_cflags_saved_cc=$CC
10284 ac_wine_try_cflags_saved_exeext=$ac_exeext
10285 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10286 CC="$CROSSCC"
10287 ac_exeext=".exe"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10290 int __cdecl mainCRTStartup(void) { return 0; }
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_crosscflags__Wabsolute_value=yes
10294 else
10295 ac_cv_crosscflags__Wabsolute_value=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 CFLAGS=$ac_wine_try_cflags_saved
10300 CC=$ac_wine_try_cflags_saved_cc
10301 ac_exeext=$ac_wine_try_cflags_saved_exeext
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10304 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10305 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10306 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10309 case $host_cpu in
10310 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10311 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10312 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_wine_try_cflags_saved=$CFLAGS
10316 ac_wine_try_cflags_saved_cc=$CC
10317 ac_wine_try_cflags_saved_exeext=$ac_exeext
10318 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10319 CC="$CROSSCC"
10320 ac_exeext=".exe"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 int __cdecl mainCRTStartup(void) { return 0; }
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10327 else
10328 ac_cv_crosscflags__fno_omit_frame_pointer=no
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 CFLAGS=$ac_wine_try_cflags_saved
10333 CC=$ac_wine_try_cflags_saved_cc
10334 ac_exeext=$ac_wine_try_cflags_saved_exeext
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10337 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10338 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10339 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10340 fi ;;
10341 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10342 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10343 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_wine_try_cflags_saved=$CFLAGS
10347 ac_wine_try_cflags_saved_cc=$CC
10348 ac_wine_try_cflags_saved_exeext=$ac_exeext
10349 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10350 CC="$CROSSCC"
10351 ac_exeext=".exe"
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 int __cdecl mainCRTStartup(void) { return 0; }
10355 _ACEOF
10356 if ac_fn_c_try_link "$LINENO"; then :
10357 ac_cv_crosscflags__Wno_format=yes
10358 else
10359 ac_cv_crosscflags__Wno_format=no
10361 rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
10363 CFLAGS=$ac_wine_try_cflags_saved
10364 CC=$ac_wine_try_cflags_saved_cc
10365 ac_exeext=$ac_wine_try_cflags_saved_exeext
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10368 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10369 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10370 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10373 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10374 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10375 $as_echo_n "(cached) " >&6
10376 else
10377 ac_wine_try_cflags_saved=$CFLAGS
10378 ac_wine_try_cflags_saved_cc=$CC
10379 ac_wine_try_cflags_saved_exeext=$ac_exeext
10380 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10381 CC="$CROSSCC"
10382 ac_exeext=".exe"
10383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10385 int __cdecl mainCRTStartup(void) { return 0; }
10386 _ACEOF
10387 if ac_fn_c_try_link "$LINENO"; then :
10388 ac_cv_crosscflags__Wformat_overflow=yes
10389 else
10390 ac_cv_crosscflags__Wformat_overflow=no
10392 rm -f core conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 CFLAGS=$ac_wine_try_cflags_saved
10395 CC=$ac_wine_try_cflags_saved_cc
10396 ac_exeext=$ac_wine_try_cflags_saved_exeext
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10399 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10400 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10401 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10404 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10405 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10406 $as_echo_n "(cached) " >&6
10407 else
10408 ac_wine_try_cflags_saved=$CFLAGS
10409 ac_wine_try_cflags_saved_cc=$CC
10410 ac_wine_try_cflags_saved_exeext=$ac_exeext
10411 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10412 CC="$CROSSCC"
10413 ac_exeext=".exe"
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10416 int __cdecl mainCRTStartup(void) { return 0; }
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 ac_cv_crosscflags__Wnonnull=yes
10420 else
10421 ac_cv_crosscflags__Wnonnull=no
10423 rm -f core conftest.err conftest.$ac_objext \
10424 conftest$ac_exeext conftest.$ac_ext
10425 CFLAGS=$ac_wine_try_cflags_saved
10426 CC=$ac_wine_try_cflags_saved_cc
10427 ac_exeext=$ac_wine_try_cflags_saved_exeext
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10430 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10431 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10432 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10435 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10436 if ${ac_cv_crosscflags__mcx16+:} false; then :
10437 $as_echo_n "(cached) " >&6
10438 else
10439 ac_wine_try_cflags_saved=$CFLAGS
10440 ac_wine_try_cflags_saved_cc=$CC
10441 ac_wine_try_cflags_saved_exeext=$ac_exeext
10442 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10443 CC="$CROSSCC"
10444 ac_exeext=".exe"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10447 int __cdecl mainCRTStartup(void) { return 0; }
10448 _ACEOF
10449 if ac_fn_c_try_link "$LINENO"; then :
10450 ac_cv_crosscflags__mcx16=yes
10451 else
10452 ac_cv_crosscflags__mcx16=no
10454 rm -f core conftest.err conftest.$ac_objext \
10455 conftest$ac_exeext conftest.$ac_ext
10456 CFLAGS=$ac_wine_try_cflags_saved
10457 CC=$ac_wine_try_cflags_saved_cc
10458 ac_exeext=$ac_wine_try_cflags_saved_exeext
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10461 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10462 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10463 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10464 fi ;;
10465 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10466 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10467 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 ac_wine_try_cflags_saved=$CFLAGS
10471 ac_wine_try_cflags_saved_cc=$CC
10472 ac_wine_try_cflags_saved_exeext=$ac_exeext
10473 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10474 CC="$CROSSCC"
10475 ac_exeext=".exe"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10478 int __cdecl mainCRTStartup(void) { return 0; }
10479 _ACEOF
10480 if ac_fn_c_try_link "$LINENO"; then :
10481 ac_cv_crosscflags__Wno_format=yes
10482 else
10483 ac_cv_crosscflags__Wno_format=no
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 CFLAGS=$ac_wine_try_cflags_saved
10488 CC=$ac_wine_try_cflags_saved_cc
10489 ac_exeext=$ac_wine_try_cflags_saved_exeext
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10492 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10493 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10494 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10495 fi ;;
10496 esac
10499 if test -z "$CROSSDEBUG"
10500 then
10501 for ac_flag in $CROSSCFLAGS; do
10502 case $ac_flag in
10503 -gdwarf*) CROSSDEBUG=dwarf ;;
10504 -gcodeview) CROSSDEBUG=pdb ;;
10505 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10506 esac
10507 done
10509 case $CROSSDEBUG in
10510 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10511 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10512 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10513 $as_echo_n "(cached) " >&6
10514 else
10515 ac_wine_try_cflags_saved=$CFLAGS
10516 ac_wine_try_cflags_saved_cc=$CC
10517 ac_wine_try_cflags_saved_exeext=$ac_exeext
10518 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10519 CC="$CROSSCC"
10520 ac_exeext=".exe"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10523 int __cdecl mainCRTStartup(void) { return 0; }
10524 _ACEOF
10525 if ac_fn_c_try_link "$LINENO"; then :
10526 ac_cv_crosscflags__gdwarf_2=yes
10527 else
10528 ac_cv_crosscflags__gdwarf_2=no
10530 rm -f core conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 CFLAGS=$ac_wine_try_cflags_saved
10533 CC=$ac_wine_try_cflags_saved_cc
10534 ac_exeext=$ac_wine_try_cflags_saved_exeext
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10537 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10538 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10539 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10542 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10543 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10544 $as_echo_n "(cached) " >&6
10545 else
10546 ac_wine_try_cflags_saved=$CFLAGS
10547 ac_wine_try_cflags_saved_cc=$CC
10548 ac_wine_try_cflags_saved_exeext=$ac_exeext
10549 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10550 CC="$CROSSCC"
10551 ac_exeext=".exe"
10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10554 int __cdecl mainCRTStartup(void) { return 0; }
10555 _ACEOF
10556 if ac_fn_c_try_link "$LINENO"; then :
10557 ac_cv_crosscflags__gstrict_dwarf=yes
10558 else
10559 ac_cv_crosscflags__gstrict_dwarf=no
10561 rm -f core conftest.err conftest.$ac_objext \
10562 conftest$ac_exeext conftest.$ac_ext
10563 CFLAGS=$ac_wine_try_cflags_saved
10564 CC=$ac_wine_try_cflags_saved_cc
10565 ac_exeext=$ac_wine_try_cflags_saved_exeext
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10568 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10569 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10570 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10571 fi ;;
10572 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10573 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10574 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10575 $as_echo_n "(cached) " >&6
10576 else
10577 ac_wine_try_cflags_saved=$CFLAGS
10578 ac_wine_try_cflags_saved_cc=$CC
10579 ac_wine_try_cflags_saved_exeext=$ac_exeext
10580 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10581 CC="$CROSSCC"
10582 ac_exeext=".exe"
10583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10585 int __cdecl mainCRTStartup(void) { return 0; }
10586 _ACEOF
10587 if ac_fn_c_try_link "$LINENO"; then :
10588 ac_cv_crosscflags__gcodeview=yes
10589 else
10590 ac_cv_crosscflags__gcodeview=no
10592 rm -f core conftest.err conftest.$ac_objext \
10593 conftest$ac_exeext conftest.$ac_ext
10594 CFLAGS=$ac_wine_try_cflags_saved
10595 CC=$ac_wine_try_cflags_saved_cc
10596 ac_exeext=$ac_wine_try_cflags_saved_exeext
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10599 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10600 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10601 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10602 fi ;;
10603 esac
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10606 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10607 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10608 $as_echo_n "(cached) " >&6
10609 else
10610 ac_wine_try_cflags_saved=$CFLAGS
10611 ac_wine_try_cflags_saved_cc=$CC
10612 ac_wine_try_cflags_saved_exeext=$ac_exeext
10613 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10614 CC="$CROSSCC"
10615 ac_exeext=".exe"
10616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10617 /* end confdefs.h. */
10618 int __cdecl mainCRTStartup(void) { return 0; }
10619 _ACEOF
10620 if ac_fn_c_try_link "$LINENO"; then :
10621 ac_cv_crosscflags__fexcess_precision_standard=yes
10622 else
10623 ac_cv_crosscflags__fexcess_precision_standard=no
10625 rm -f core conftest.err conftest.$ac_objext \
10626 conftest$ac_exeext conftest.$ac_ext
10627 CFLAGS=$ac_wine_try_cflags_saved
10628 CC=$ac_wine_try_cflags_saved_cc
10629 ac_exeext=$ac_wine_try_cflags_saved_exeext
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10632 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10633 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10634 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10638 if test "x$enable_werror" = "xyes"
10639 then
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10641 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10642 if ${ac_cv_crosscflags__Werror+:} false; then :
10643 $as_echo_n "(cached) " >&6
10644 else
10645 ac_wine_try_cflags_saved=$CFLAGS
10646 ac_wine_try_cflags_saved_cc=$CC
10647 ac_wine_try_cflags_saved_exeext=$ac_exeext
10648 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10649 CC="$CROSSCC"
10650 ac_exeext=".exe"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10653 int __cdecl mainCRTStartup(void) { return 0; }
10654 _ACEOF
10655 if ac_fn_c_try_link "$LINENO"; then :
10656 ac_cv_crosscflags__Werror=yes
10657 else
10658 ac_cv_crosscflags__Werror=no
10660 rm -f core conftest.err conftest.$ac_objext \
10661 conftest$ac_exeext conftest.$ac_ext
10662 CFLAGS=$ac_wine_try_cflags_saved
10663 CC=$ac_wine_try_cflags_saved_cc
10664 ac_exeext=$ac_wine_try_cflags_saved_exeext
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10667 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10668 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10669 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10673 CFLAGS=$saved_CFLAGS
10674 CC="$ac_save_CC"
10677 if test "x$CROSSTARGET" = "x"; then :
10678 case "x$with_mingw" in
10679 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10680 xno) ;;
10681 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10682 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10683 esac
10688 if test "$ac_cv_header_pthread_h" = "yes"
10689 then
10690 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10691 if test "x$ac_cv_func_pthread_create" = xyes; then :
10693 else
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10695 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10696 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10697 $as_echo_n "(cached) " >&6
10698 else
10699 ac_check_lib_save_LIBS=$LIBS
10700 LIBS="-lpthread $LIBS"
10701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 /* end confdefs.h. */
10704 /* Override any GCC internal prototype to avoid an error.
10705 Use char because int might match the return type of a GCC
10706 builtin and then its argument prototype would still apply. */
10707 #ifdef __cplusplus
10708 extern "C"
10709 #endif
10710 char pthread_create ();
10712 main ()
10714 return pthread_create ();
10716 return 0;
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"; then :
10720 ac_cv_lib_pthread_pthread_create=yes
10721 else
10722 ac_cv_lib_pthread_pthread_create=no
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_lib_save_LIBS
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10729 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10730 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10731 PTHREAD_LIBS="-lpthread"
10738 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10739 case "x$with_pthread" in
10740 xno) ;;
10741 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10742 Wine cannot support threads without libpthread.
10743 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10744 esac
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10750 $as_echo_n "checking for X... " >&6; }
10753 # Check whether --with-x was given.
10754 if test "${with_x+set}" = set; then :
10755 withval=$with_x;
10758 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10759 if test "x$with_x" = xno; then
10760 # The user explicitly disabled X.
10761 have_x=disabled
10762 else
10763 case $x_includes,$x_libraries in #(
10764 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10765 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10766 $as_echo_n "(cached) " >&6
10767 else
10768 # One or both of the vars are not set, and there is no cached value.
10769 ac_x_includes=no ac_x_libraries=no
10770 rm -f -r conftest.dir
10771 if mkdir conftest.dir; then
10772 cd conftest.dir
10773 cat >Imakefile <<'_ACEOF'
10774 incroot:
10775 @echo incroot='${INCROOT}'
10776 usrlibdir:
10777 @echo usrlibdir='${USRLIBDIR}'
10778 libdir:
10779 @echo libdir='${LIBDIR}'
10780 _ACEOF
10781 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10782 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10783 for ac_var in incroot usrlibdir libdir; do
10784 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10785 done
10786 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10787 for ac_extension in a so sl dylib la dll; do
10788 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10789 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10790 ac_im_usrlibdir=$ac_im_libdir; break
10792 done
10793 # Screen out bogus values from the imake configuration. They are
10794 # bogus both because they are the default anyway, and because
10795 # using them would break gcc on systems where it needs fixed includes.
10796 case $ac_im_incroot in
10797 /usr/include) ac_x_includes= ;;
10798 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10799 esac
10800 case $ac_im_usrlibdir in
10801 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10802 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10803 esac
10805 cd ..
10806 rm -f -r conftest.dir
10809 # Standard set of common directories for X headers.
10810 # Check X11 before X11Rn because it is often a symlink to the current release.
10811 ac_x_header_dirs='
10812 /usr/X11/include
10813 /usr/X11R7/include
10814 /usr/X11R6/include
10815 /usr/X11R5/include
10816 /usr/X11R4/include
10818 /usr/include/X11
10819 /usr/include/X11R7
10820 /usr/include/X11R6
10821 /usr/include/X11R5
10822 /usr/include/X11R4
10824 /usr/local/X11/include
10825 /usr/local/X11R7/include
10826 /usr/local/X11R6/include
10827 /usr/local/X11R5/include
10828 /usr/local/X11R4/include
10830 /usr/local/include/X11
10831 /usr/local/include/X11R7
10832 /usr/local/include/X11R6
10833 /usr/local/include/X11R5
10834 /usr/local/include/X11R4
10836 /usr/X386/include
10837 /usr/x386/include
10838 /usr/XFree86/include/X11
10840 /usr/include
10841 /usr/local/include
10842 /usr/unsupported/include
10843 /usr/athena/include
10844 /usr/local/x11r5/include
10845 /usr/lpp/Xamples/include
10847 /usr/openwin/include
10848 /usr/openwin/share/include'
10850 if test "$ac_x_includes" = no; then
10851 # Guess where to find include files, by looking for Xlib.h.
10852 # First, try using that file with no special directory specified.
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10855 #include <X11/Xlib.h>
10856 _ACEOF
10857 if ac_fn_c_try_cpp "$LINENO"; then :
10858 # We can compile using X headers with no special include directory.
10859 ac_x_includes=
10860 else
10861 for ac_dir in $ac_x_header_dirs; do
10862 if test -r "$ac_dir/X11/Xlib.h"; then
10863 ac_x_includes=$ac_dir
10864 break
10866 done
10868 rm -f conftest.err conftest.i conftest.$ac_ext
10869 fi # $ac_x_includes = no
10871 if test "$ac_x_libraries" = no; then
10872 # Check for the libraries.
10873 # See if we find them without any special options.
10874 # Don't add to $LIBS permanently.
10875 ac_save_LIBS=$LIBS
10876 LIBS="-lX11 $LIBS"
10877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10879 #include <X11/Xlib.h>
10881 main ()
10883 XrmInitialize ()
10885 return 0;
10887 _ACEOF
10888 if ac_fn_c_try_link "$LINENO"; then :
10889 LIBS=$ac_save_LIBS
10890 # We can link X programs with no special library path.
10891 ac_x_libraries=
10892 else
10893 LIBS=$ac_save_LIBS
10894 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10896 # Don't even attempt the hair of trying to link an X program!
10897 for ac_extension in a so sl dylib la dll; do
10898 if test -r "$ac_dir/libX11.$ac_extension"; then
10899 ac_x_libraries=$ac_dir
10900 break 2
10902 done
10903 done
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 fi # $ac_x_libraries = no
10909 case $ac_x_includes,$ac_x_libraries in #(
10910 no,* | *,no | *\'*)
10911 # Didn't find X, or a directory has "'" in its name.
10912 ac_cv_have_x="have_x=no";; #(
10914 # Record where we found X for the cache.
10915 ac_cv_have_x="have_x=yes\
10916 ac_x_includes='$ac_x_includes'\
10917 ac_x_libraries='$ac_x_libraries'"
10918 esac
10920 ;; #(
10921 *) have_x=yes;;
10922 esac
10923 eval "$ac_cv_have_x"
10924 fi # $with_x != no
10926 if test "$have_x" != yes; then
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10928 $as_echo "$have_x" >&6; }
10929 no_x=yes
10930 else
10931 # If each of the values was on the command line, it overrides each guess.
10932 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10933 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10934 # Update the cache value to reflect the command line values.
10935 ac_cv_have_x="have_x=yes\
10936 ac_x_includes='$x_includes'\
10937 ac_x_libraries='$x_libraries'"
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10939 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10942 if test "$no_x" = yes; then
10943 # Not all programs may use this symbol, but it does not hurt to define it.
10945 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10947 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10948 else
10949 if test -n "$x_includes"; then
10950 X_CFLAGS="$X_CFLAGS -I$x_includes"
10953 # It would also be nice to do this for all -L options, not just this one.
10954 if test -n "$x_libraries"; then
10955 X_LIBS="$X_LIBS -L$x_libraries"
10956 # For Solaris; some versions of Sun CC require a space after -R and
10957 # others require no space. Words are not sufficient . . . .
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10959 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10960 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10961 ac_xsave_c_werror_flag=$ac_c_werror_flag
10962 ac_c_werror_flag=yes
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10967 main ()
10971 return 0;
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10976 $as_echo "no" >&6; }
10977 X_LIBS="$X_LIBS -R$x_libraries"
10978 else
10979 LIBS="$ac_xsave_LIBS -R $x_libraries"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10984 main ()
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10993 $as_echo "yes" >&6; }
10994 X_LIBS="$X_LIBS -R $x_libraries"
10995 else
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10997 $as_echo "neither works" >&6; }
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11002 rm -f core conftest.err conftest.$ac_objext \
11003 conftest$ac_exeext conftest.$ac_ext
11004 ac_c_werror_flag=$ac_xsave_c_werror_flag
11005 LIBS=$ac_xsave_LIBS
11008 # Check for system-dependent libraries X programs must link with.
11009 # Do this before checking for the system-independent R6 libraries
11010 # (-lICE), since we may need -lsocket or whatever for X linking.
11012 if test "$ISC" = yes; then
11013 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11014 else
11015 # Martyn Johnson says this is needed for Ultrix, if the X
11016 # libraries were built with DECnet support. And Karl Berry says
11017 # the Alpha needs dnet_stub (dnet does not exist).
11018 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char XOpenDisplay ();
11030 main ()
11032 return XOpenDisplay ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11039 else
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11041 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11042 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11043 $as_echo_n "(cached) " >&6
11044 else
11045 ac_check_lib_save_LIBS=$LIBS
11046 LIBS="-ldnet $LIBS"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11050 /* Override any GCC internal prototype to avoid an error.
11051 Use char because int might match the return type of a GCC
11052 builtin and then its argument prototype would still apply. */
11053 #ifdef __cplusplus
11054 extern "C"
11055 #endif
11056 char dnet_ntoa ();
11058 main ()
11060 return dnet_ntoa ();
11062 return 0;
11064 _ACEOF
11065 if ac_fn_c_try_link "$LINENO"; then :
11066 ac_cv_lib_dnet_dnet_ntoa=yes
11067 else
11068 ac_cv_lib_dnet_dnet_ntoa=no
11070 rm -f core conftest.err conftest.$ac_objext \
11071 conftest$ac_exeext conftest.$ac_ext
11072 LIBS=$ac_check_lib_save_LIBS
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11075 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11076 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11077 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11080 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11082 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11083 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11084 $as_echo_n "(cached) " >&6
11085 else
11086 ac_check_lib_save_LIBS=$LIBS
11087 LIBS="-ldnet_stub $LIBS"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11091 /* Override any GCC internal prototype to avoid an error.
11092 Use char because int might match the return type of a GCC
11093 builtin and then its argument prototype would still apply. */
11094 #ifdef __cplusplus
11095 extern "C"
11096 #endif
11097 char dnet_ntoa ();
11099 main ()
11101 return dnet_ntoa ();
11103 return 0;
11105 _ACEOF
11106 if ac_fn_c_try_link "$LINENO"; then :
11107 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11108 else
11109 ac_cv_lib_dnet_stub_dnet_ntoa=no
11111 rm -f core conftest.err conftest.$ac_objext \
11112 conftest$ac_exeext conftest.$ac_ext
11113 LIBS=$ac_check_lib_save_LIBS
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11116 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11117 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11118 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS="$ac_xsave_LIBS"
11127 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11128 # to get the SysV transport functions.
11129 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11130 # needs -lnsl.
11131 # The nsl library prevents programs from opening the X display
11132 # on Irix 5.2, according to T.E. Dickey.
11133 # The functions gethostbyname, getservbyname, and inet_addr are
11134 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11135 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11136 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11140 if test $ac_cv_func_gethostbyname = no; then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11142 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11143 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11144 $as_echo_n "(cached) " >&6
11145 else
11146 ac_check_lib_save_LIBS=$LIBS
11147 LIBS="-lnsl $LIBS"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11154 #ifdef __cplusplus
11155 extern "C"
11156 #endif
11157 char gethostbyname ();
11159 main ()
11161 return gethostbyname ();
11163 return 0;
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 ac_cv_lib_nsl_gethostbyname=yes
11168 else
11169 ac_cv_lib_nsl_gethostbyname=no
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_lib_save_LIBS
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11176 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11177 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11178 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11181 if test $ac_cv_lib_nsl_gethostbyname = no; then
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11183 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11184 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11185 $as_echo_n "(cached) " >&6
11186 else
11187 ac_check_lib_save_LIBS=$LIBS
11188 LIBS="-lbsd $LIBS"
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11192 /* Override any GCC internal prototype to avoid an error.
11193 Use char because int might match the return type of a GCC
11194 builtin and then its argument prototype would still apply. */
11195 #ifdef __cplusplus
11196 extern "C"
11197 #endif
11198 char gethostbyname ();
11200 main ()
11202 return gethostbyname ();
11204 return 0;
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"; then :
11208 ac_cv_lib_bsd_gethostbyname=yes
11209 else
11210 ac_cv_lib_bsd_gethostbyname=no
11212 rm -f core conftest.err conftest.$ac_objext \
11213 conftest$ac_exeext conftest.$ac_ext
11214 LIBS=$ac_check_lib_save_LIBS
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11217 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11218 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11219 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11225 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11226 # socket/setsockopt and other routines are undefined under SCO ODT
11227 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11228 # on later versions), says Simon Leinen: it contains gethostby*
11229 # variants that don't use the name server (or something). -lsocket
11230 # must be given before -lnsl if both are needed. We assume that
11231 # if connect needs -lnsl, so does gethostbyname.
11232 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11233 if test "x$ac_cv_func_connect" = xyes; then :
11237 if test $ac_cv_func_connect = no; then
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11239 $as_echo_n "checking for connect in -lsocket... " >&6; }
11240 if ${ac_cv_lib_socket_connect+:} false; then :
11241 $as_echo_n "(cached) " >&6
11242 else
11243 ac_check_lib_save_LIBS=$LIBS
11244 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11251 #ifdef __cplusplus
11252 extern "C"
11253 #endif
11254 char connect ();
11256 main ()
11258 return connect ();
11260 return 0;
11262 _ACEOF
11263 if ac_fn_c_try_link "$LINENO"; then :
11264 ac_cv_lib_socket_connect=yes
11265 else
11266 ac_cv_lib_socket_connect=no
11268 rm -f core conftest.err conftest.$ac_objext \
11269 conftest$ac_exeext conftest.$ac_ext
11270 LIBS=$ac_check_lib_save_LIBS
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11273 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11274 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11275 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11280 # Guillermo Gomez says -lposix is necessary on A/UX.
11281 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11282 if test "x$ac_cv_func_remove" = xyes; then :
11286 if test $ac_cv_func_remove = no; then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11288 $as_echo_n "checking for remove in -lposix... " >&6; }
11289 if ${ac_cv_lib_posix_remove+:} false; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-lposix $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char remove ();
11305 main ()
11307 return remove ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_posix_remove=yes
11314 else
11315 ac_cv_lib_posix_remove=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11322 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11323 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11324 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11329 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11330 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11331 if test "x$ac_cv_func_shmat" = xyes; then :
11335 if test $ac_cv_func_shmat = no; then
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11337 $as_echo_n "checking for shmat in -lipc... " >&6; }
11338 if ${ac_cv_lib_ipc_shmat+:} false; then :
11339 $as_echo_n "(cached) " >&6
11340 else
11341 ac_check_lib_save_LIBS=$LIBS
11342 LIBS="-lipc $LIBS"
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11349 #ifdef __cplusplus
11350 extern "C"
11351 #endif
11352 char shmat ();
11354 main ()
11356 return shmat ();
11358 return 0;
11360 _ACEOF
11361 if ac_fn_c_try_link "$LINENO"; then :
11362 ac_cv_lib_ipc_shmat=yes
11363 else
11364 ac_cv_lib_ipc_shmat=no
11366 rm -f core conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 LIBS=$ac_check_lib_save_LIBS
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11371 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11372 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11373 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11379 # Check for libraries that X11R6 Xt/Xaw programs need.
11380 ac_save_LDFLAGS=$LDFLAGS
11381 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11382 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11383 # check for ICE first), but we must link in the order -lSM -lICE or
11384 # we get undefined symbols. So assume we have SM if we have ICE.
11385 # These have to be linked with before -lX11, unlike the other
11386 # libraries we check for below, so use a different variable.
11387 # John Interrante, Karl Berry
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11389 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11390 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11391 $as_echo_n "(cached) " >&6
11392 else
11393 ac_check_lib_save_LIBS=$LIBS
11394 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char IceConnectionNumber ();
11406 main ()
11408 return IceConnectionNumber ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_ICE_IceConnectionNumber=yes
11415 else
11416 ac_cv_lib_ICE_IceConnectionNumber=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11423 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11424 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11425 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11428 LDFLAGS=$ac_save_LDFLAGS
11433 if test "$have_x" = "yes"
11434 then
11435 ac_save_CPPFLAGS="$CPPFLAGS"
11436 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11439 $as_echo_n "checking for -lX11... " >&6; }
11440 if ${ac_cv_lib_soname_X11+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_soname_save_LIBS=$LIBS
11444 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char XCreateWindow ();
11456 main ()
11458 return XCreateWindow ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 case "$LIBEXT" in
11465 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11466 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'` ;;
11467 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11468 if ${ac_cv_lib_soname_X11:+false} :; then :
11469 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11470 fi ;;
11471 esac
11472 else
11473 ac_cv_lib_soname_X11=
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_soname_save_LIBS
11479 if ${ac_cv_lib_soname_X11:+false} :; then :
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11481 $as_echo "not found" >&6; }
11483 else
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11485 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11487 cat >>confdefs.h <<_ACEOF
11488 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11489 _ACEOF
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11494 $as_echo_n "checking for -lXext... " >&6; }
11495 if ${ac_cv_lib_soname_Xext+:} false; then :
11496 $as_echo_n "(cached) " >&6
11497 else
11498 ac_check_soname_save_LIBS=$LIBS
11499 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11506 #ifdef __cplusplus
11507 extern "C"
11508 #endif
11509 char XextCreateExtension ();
11511 main ()
11513 return XextCreateExtension ();
11515 return 0;
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"; then :
11519 case "$LIBEXT" in
11520 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11521 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'` ;;
11522 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11523 if ${ac_cv_lib_soname_Xext:+false} :; then :
11524 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11525 fi ;;
11526 esac
11527 else
11528 ac_cv_lib_soname_Xext=
11530 rm -f core conftest.err conftest.$ac_objext \
11531 conftest$ac_exeext conftest.$ac_ext
11532 LIBS=$ac_check_soname_save_LIBS
11534 if ${ac_cv_lib_soname_Xext:+false} :; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11536 $as_echo "not found" >&6; }
11538 else
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11540 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11542 cat >>confdefs.h <<_ACEOF
11543 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11544 _ACEOF
11546 X_LIBS="$X_LIBS -lXext"
11548 X_LIBS="$X_LIBS -lX11"
11550 for ac_header in X11/Xlib.h \
11551 X11/XKBlib.h \
11552 X11/Xutil.h \
11553 X11/Xcursor/Xcursor.h \
11554 X11/extensions/shape.h \
11555 X11/extensions/XInput.h \
11556 X11/extensions/XInput2.h \
11557 X11/extensions/XShm.h \
11558 X11/extensions/Xcomposite.h \
11559 X11/extensions/Xfixes.h \
11560 X11/extensions/Xinerama.h \
11561 X11/extensions/Xrandr.h \
11562 X11/extensions/Xrender.h \
11563 X11/extensions/xf86vmode.h \
11564 X11/extensions/xf86vmproto.h
11565 do :
11566 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11567 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11568 # include <X11/Xlib.h>
11569 #endif
11570 #ifdef HAVE_X11_XUTIL_H
11571 # include <X11/Xutil.h>
11572 #endif
11574 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11575 cat >>confdefs.h <<_ACEOF
11576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11577 _ACEOF
11581 done
11584 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11585 then
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11587 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11588 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 ac_check_lib_save_LIBS=$LIBS
11592 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11594 /* end confdefs.h. */
11596 /* Override any GCC internal prototype to avoid an error.
11597 Use char because int might match the return type of a GCC
11598 builtin and then its argument prototype would still apply. */
11599 #ifdef __cplusplus
11600 extern "C"
11601 #endif
11602 char XkbQueryExtension ();
11604 main ()
11606 return XkbQueryExtension ();
11608 return 0;
11610 _ACEOF
11611 if ac_fn_c_try_link "$LINENO"; then :
11612 ac_cv_lib_X11_XkbQueryExtension=yes
11613 else
11614 ac_cv_lib_X11_XkbQueryExtension=no
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_lib_save_LIBS
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11621 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11622 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11624 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11630 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11631 then
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11633 $as_echo_n "checking for -lXcursor... " >&6; }
11634 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11635 $as_echo_n "(cached) " >&6
11636 else
11637 ac_check_soname_save_LIBS=$LIBS
11638 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11645 #ifdef __cplusplus
11646 extern "C"
11647 #endif
11648 char XcursorImageLoadCursor ();
11650 main ()
11652 return XcursorImageLoadCursor ();
11654 return 0;
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 case "$LIBEXT" in
11659 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11660 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'` ;;
11661 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11662 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11663 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11664 fi ;;
11665 esac
11666 else
11667 ac_cv_lib_soname_Xcursor=
11669 rm -f core conftest.err conftest.$ac_objext \
11670 conftest$ac_exeext conftest.$ac_ext
11671 LIBS=$ac_check_soname_save_LIBS
11673 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11675 $as_echo "not found" >&6; }
11677 else
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11679 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11681 cat >>confdefs.h <<_ACEOF
11682 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11683 _ACEOF
11688 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11689 case "x$with_xcursor" in
11690 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11691 xno) ;;
11692 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11693 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11694 esac
11698 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11699 then
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11701 $as_echo_n "checking for -lXi... " >&6; }
11702 if ${ac_cv_lib_soname_Xi+:} false; then :
11703 $as_echo_n "(cached) " >&6
11704 else
11705 ac_check_soname_save_LIBS=$LIBS
11706 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11710 /* Override any GCC internal prototype to avoid an error.
11711 Use char because int might match the return type of a GCC
11712 builtin and then its argument prototype would still apply. */
11713 #ifdef __cplusplus
11714 extern "C"
11715 #endif
11716 char XOpenDevice ();
11718 main ()
11720 return XOpenDevice ();
11722 return 0;
11724 _ACEOF
11725 if ac_fn_c_try_link "$LINENO"; then :
11726 case "$LIBEXT" in
11727 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11728 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'` ;;
11729 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11730 if ${ac_cv_lib_soname_Xi:+false} :; then :
11731 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11732 fi ;;
11733 esac
11734 else
11735 ac_cv_lib_soname_Xi=
11737 rm -f core conftest.err conftest.$ac_objext \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_soname_save_LIBS
11741 if ${ac_cv_lib_soname_Xi:+false} :; then :
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11743 $as_echo "not found" >&6; }
11745 else
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11747 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11749 cat >>confdefs.h <<_ACEOF
11750 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11751 _ACEOF
11756 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11757 case "x$with_xinput" in
11758 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11759 xno) ;;
11760 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11761 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11762 esac
11766 if test "x$ac_cv_lib_soname_Xi" != x
11767 then
11768 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11769 case "x$with_xinput2" in
11770 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11771 xno) ;;
11772 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11773 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11774 esac
11779 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11780 then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11782 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11783 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 ac_check_lib_save_LIBS=$LIBS
11787 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11791 /* Override any GCC internal prototype to avoid an error.
11792 Use char because int might match the return type of a GCC
11793 builtin and then its argument prototype would still apply. */
11794 #ifdef __cplusplus
11795 extern "C"
11796 #endif
11797 char XShmQueryExtension ();
11799 main ()
11801 return XShmQueryExtension ();
11803 return 0;
11805 _ACEOF
11806 if ac_fn_c_try_link "$LINENO"; then :
11807 ac_cv_lib_Xext_XShmQueryExtension=yes
11808 else
11809 ac_cv_lib_Xext_XShmQueryExtension=no
11811 rm -f core conftest.err conftest.$ac_objext \
11812 conftest$ac_exeext conftest.$ac_ext
11813 LIBS=$ac_check_lib_save_LIBS
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11816 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11817 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11819 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11824 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11825 case "x$with_xshm" in
11826 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11827 xno) ;;
11828 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11829 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11830 esac
11834 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11835 then
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11837 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11838 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11839 $as_echo_n "(cached) " >&6
11840 else
11841 ac_check_lib_save_LIBS=$LIBS
11842 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11849 #ifdef __cplusplus
11850 extern "C"
11851 #endif
11852 char XShapeQueryExtension ();
11854 main ()
11856 return XShapeQueryExtension ();
11858 return 0;
11860 _ACEOF
11861 if ac_fn_c_try_link "$LINENO"; then :
11862 ac_cv_lib_Xext_XShapeQueryExtension=yes
11863 else
11864 ac_cv_lib_Xext_XShapeQueryExtension=no
11866 rm -f core conftest.err conftest.$ac_objext \
11867 conftest$ac_exeext conftest.$ac_ext
11868 LIBS=$ac_check_lib_save_LIBS
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11871 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11872 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11874 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11879 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11880 case "x$with_xshape" in
11881 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11882 xno) ;;
11883 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11884 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11885 esac
11889 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11890 then
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11892 $as_echo_n "checking for -lXxf86vm... " >&6; }
11893 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11894 $as_echo_n "(cached) " >&6
11895 else
11896 ac_check_soname_save_LIBS=$LIBS
11897 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11901 /* Override any GCC internal prototype to avoid an error.
11902 Use char because int might match the return type of a GCC
11903 builtin and then its argument prototype would still apply. */
11904 #ifdef __cplusplus
11905 extern "C"
11906 #endif
11907 char XF86VidModeQueryExtension ();
11909 main ()
11911 return XF86VidModeQueryExtension ();
11913 return 0;
11915 _ACEOF
11916 if ac_fn_c_try_link "$LINENO"; then :
11917 case "$LIBEXT" in
11918 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11919 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'` ;;
11920 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11921 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11922 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11923 fi ;;
11924 esac
11925 else
11926 ac_cv_lib_soname_Xxf86vm=
11928 rm -f core conftest.err conftest.$ac_objext \
11929 conftest$ac_exeext conftest.$ac_ext
11930 LIBS=$ac_check_soname_save_LIBS
11932 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11934 $as_echo "not found" >&6; }
11936 else
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11938 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11940 cat >>confdefs.h <<_ACEOF
11941 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11942 _ACEOF
11947 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11948 case "x$with_xxf86vm" in
11949 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11950 xno) ;;
11951 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11952 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11953 esac
11957 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11958 then
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11960 $as_echo_n "checking for -lXrender... " >&6; }
11961 if ${ac_cv_lib_soname_Xrender+:} false; then :
11962 $as_echo_n "(cached) " >&6
11963 else
11964 ac_check_soname_save_LIBS=$LIBS
11965 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11972 #ifdef __cplusplus
11973 extern "C"
11974 #endif
11975 char XRenderQueryExtension ();
11977 main ()
11979 return XRenderQueryExtension ();
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_link "$LINENO"; then :
11985 case "$LIBEXT" in
11986 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11987 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'` ;;
11988 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11989 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11990 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11991 fi ;;
11992 esac
11993 else
11994 ac_cv_lib_soname_Xrender=
11996 rm -f core conftest.err conftest.$ac_objext \
11997 conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_soname_save_LIBS
12000 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12002 $as_echo "not found" >&6; }
12004 else
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12006 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12008 cat >>confdefs.h <<_ACEOF
12009 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12010 _ACEOF
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12013 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12014 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12015 $as_echo_n "(cached) " >&6
12016 else
12017 ac_check_lib_save_LIBS=$LIBS
12018 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char XRenderSetPictureTransform ();
12030 main ()
12032 return XRenderSetPictureTransform ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12039 else
12040 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 LIBS=$ac_check_lib_save_LIBS
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12047 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12048 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12050 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12055 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12056 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12057 $as_echo_n "(cached) " >&6
12058 else
12059 ac_check_lib_save_LIBS=$LIBS
12060 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12064 /* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12067 #ifdef __cplusplus
12068 extern "C"
12069 #endif
12070 char XRenderCreateLinearGradient ();
12072 main ()
12074 return XRenderCreateLinearGradient ();
12076 return 0;
12078 _ACEOF
12079 if ac_fn_c_try_link "$LINENO"; then :
12080 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12081 else
12082 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12084 rm -f core conftest.err conftest.$ac_objext \
12085 conftest$ac_exeext conftest.$ac_ext
12086 LIBS=$ac_check_lib_save_LIBS
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12089 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12090 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12092 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12099 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12100 case "x$with_xrender" in
12101 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12102 xno) ;;
12103 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12104 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12105 esac
12109 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12110 then
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12113 #include <X11/Xlib.h>
12114 #include <X11/extensions/Xrandr.h>
12116 main ()
12118 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12120 return 0;
12122 _ACEOF
12123 if ac_fn_c_try_compile "$LINENO"; then :
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12125 $as_echo_n "checking for -lXrandr... " >&6; }
12126 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 ac_check_soname_save_LIBS=$LIBS
12130 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12137 #ifdef __cplusplus
12138 extern "C"
12139 #endif
12140 char XRRQueryExtension ();
12142 main ()
12144 return XRRQueryExtension ();
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"; then :
12150 case "$LIBEXT" in
12151 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12152 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'` ;;
12153 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12154 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12155 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12156 fi ;;
12157 esac
12158 else
12159 ac_cv_lib_soname_Xrandr=
12161 rm -f core conftest.err conftest.$ac_objext \
12162 conftest$ac_exeext conftest.$ac_ext
12163 LIBS=$ac_check_soname_save_LIBS
12165 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12167 $as_echo "not found" >&6; }
12169 else
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12171 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12173 cat >>confdefs.h <<_ACEOF
12174 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12175 _ACEOF
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12179 #include <X11/Xlib.h>
12180 #include <X11/extensions/Xrandr.h>
12182 main ()
12184 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12186 return 0;
12188 _ACEOF
12189 if ac_fn_c_try_compile "$LINENO"; then :
12191 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12193 else
12194 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12201 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12202 case "x$with_xrandr" in
12203 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12204 xno) ;;
12205 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12206 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12207 esac
12211 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12212 then
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12215 #include <X11/Xlib.h>
12216 #include <X11/extensions/Xfixes.h>
12218 main ()
12220 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_compile "$LINENO"; then :
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12227 $as_echo_n "checking for -lXfixes... " >&6; }
12228 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12229 $as_echo_n "(cached) " >&6
12230 else
12231 ac_check_soname_save_LIBS=$LIBS
12232 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12234 /* end confdefs.h. */
12236 /* Override any GCC internal prototype to avoid an error.
12237 Use char because int might match the return type of a GCC
12238 builtin and then its argument prototype would still apply. */
12239 #ifdef __cplusplus
12240 extern "C"
12241 #endif
12242 char XFixesQueryVersion ();
12244 main ()
12246 return XFixesQueryVersion ();
12248 return 0;
12250 _ACEOF
12251 if ac_fn_c_try_link "$LINENO"; then :
12252 case "$LIBEXT" in
12253 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12254 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'` ;;
12255 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12256 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12257 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12258 fi ;;
12259 esac
12260 else
12261 ac_cv_lib_soname_Xfixes=
12263 rm -f core conftest.err conftest.$ac_objext \
12264 conftest$ac_exeext conftest.$ac_ext
12265 LIBS=$ac_check_soname_save_LIBS
12267 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12269 $as_echo "not found" >&6; }
12271 else
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12273 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12275 cat >>confdefs.h <<_ACEOF
12276 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12277 _ACEOF
12282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12284 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12285 case "x$with_xfixes" in
12286 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12287 xno) ;;
12288 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12289 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12290 esac
12294 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12295 then
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12298 #include <X11/Xlib.h>
12299 #include <X11/extensions/Xinerama.h>
12301 main ()
12303 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12305 return 0;
12307 _ACEOF
12308 if ac_fn_c_try_compile "$LINENO"; then :
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12310 $as_echo_n "checking for -lXinerama... " >&6; }
12311 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12312 $as_echo_n "(cached) " >&6
12313 else
12314 ac_check_soname_save_LIBS=$LIBS
12315 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12322 #ifdef __cplusplus
12323 extern "C"
12324 #endif
12325 char XineramaQueryScreens ();
12327 main ()
12329 return XineramaQueryScreens ();
12331 return 0;
12333 _ACEOF
12334 if ac_fn_c_try_link "$LINENO"; then :
12335 case "$LIBEXT" in
12336 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12337 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'` ;;
12338 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12339 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12340 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12341 fi ;;
12342 esac
12343 else
12344 ac_cv_lib_soname_Xinerama=
12346 rm -f core conftest.err conftest.$ac_objext \
12347 conftest$ac_exeext conftest.$ac_ext
12348 LIBS=$ac_check_soname_save_LIBS
12350 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12352 $as_echo "not found" >&6; }
12354 else
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12356 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12358 cat >>confdefs.h <<_ACEOF
12359 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12360 _ACEOF
12365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12367 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12368 case "x$with_xinerama" in
12369 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12370 xno) ;;
12371 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12372 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12373 esac
12377 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12378 then
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12380 $as_echo_n "checking for -lXcomposite... " >&6; }
12381 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12382 $as_echo_n "(cached) " >&6
12383 else
12384 ac_check_soname_save_LIBS=$LIBS
12385 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12389 /* Override any GCC internal prototype to avoid an error.
12390 Use char because int might match the return type of a GCC
12391 builtin and then its argument prototype would still apply. */
12392 #ifdef __cplusplus
12393 extern "C"
12394 #endif
12395 char XCompositeRedirectWindow ();
12397 main ()
12399 return XCompositeRedirectWindow ();
12401 return 0;
12403 _ACEOF
12404 if ac_fn_c_try_link "$LINENO"; then :
12405 case "$LIBEXT" in
12406 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12407 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'` ;;
12408 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12409 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12410 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12411 fi ;;
12412 esac
12413 else
12414 ac_cv_lib_soname_Xcomposite=
12416 rm -f core conftest.err conftest.$ac_objext \
12417 conftest$ac_exeext conftest.$ac_ext
12418 LIBS=$ac_check_soname_save_LIBS
12420 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12422 $as_echo "not found" >&6; }
12424 else
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12426 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12428 cat >>confdefs.h <<_ACEOF
12429 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12430 _ACEOF
12435 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12436 case "x$with_xcomposite" in
12437 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12438 xno) ;;
12439 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12440 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12441 esac
12445 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12446 #include <X11/Xlib.h>
12447 #endif
12449 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12451 cat >>confdefs.h <<_ACEOF
12452 #define HAVE_XICCALLBACK_CALLBACK 1
12453 _ACEOF
12457 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12458 #include <X11/Xlib.h>
12459 #endif
12461 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12463 cat >>confdefs.h <<_ACEOF
12464 #define HAVE_XEVENT_XCOOKIE 1
12465 _ACEOF
12472 opengl_msg=""
12473 if test "x$with_opengl" != "xno"
12474 then
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12476 $as_echo_n "checking for -lGL... " >&6; }
12477 if ${ac_cv_lib_soname_GL+:} false; then :
12478 $as_echo_n "(cached) " >&6
12479 else
12480 ac_check_soname_save_LIBS=$LIBS
12481 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 /* Override any GCC internal prototype to avoid an error.
12486 Use char because int might match the return type of a GCC
12487 builtin and then its argument prototype would still apply. */
12488 #ifdef __cplusplus
12489 extern "C"
12490 #endif
12491 char glXCreateContext ();
12493 main ()
12495 return glXCreateContext ();
12497 return 0;
12499 _ACEOF
12500 if ac_fn_c_try_link "$LINENO"; then :
12501 case "$LIBEXT" in
12502 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12503 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'` ;;
12504 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12505 if ${ac_cv_lib_soname_GL:+false} :; then :
12506 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12507 fi ;;
12508 esac
12509 else
12510 ac_cv_lib_soname_GL=
12512 rm -f core conftest.err conftest.$ac_objext \
12513 conftest$ac_exeext conftest.$ac_ext
12514 LIBS=$ac_check_soname_save_LIBS
12516 if ${ac_cv_lib_soname_GL:+false} :; then :
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12518 $as_echo "not found" >&6; }
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12520 $as_echo_n "checking for -lGL... " >&6; }
12521 if ${ac_cv_lib_soname_GL+:} false; then :
12522 $as_echo_n "(cached) " >&6
12523 else
12524 ac_check_soname_save_LIBS=$LIBS
12525 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"
12526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12529 /* Override any GCC internal prototype to avoid an error.
12530 Use char because int might match the return type of a GCC
12531 builtin and then its argument prototype would still apply. */
12532 #ifdef __cplusplus
12533 extern "C"
12534 #endif
12535 char glXCreateContext ();
12537 main ()
12539 return glXCreateContext ();
12541 return 0;
12543 _ACEOF
12544 if ac_fn_c_try_link "$LINENO"; then :
12545 case "$LIBEXT" in
12546 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12547 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'` ;;
12548 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12549 if ${ac_cv_lib_soname_GL:+false} :; then :
12550 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12551 fi ;;
12552 esac
12553 else
12554 ac_cv_lib_soname_GL=
12556 rm -f core conftest.err conftest.$ac_objext \
12557 conftest$ac_exeext conftest.$ac_ext
12558 LIBS=$ac_check_soname_save_LIBS
12560 if ${ac_cv_lib_soname_GL:+false} :; then :
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12562 $as_echo "not found" >&6; }
12563 if test -f /usr/X11R6/lib/libGL.a
12564 then
12565 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12566 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12567 else
12568 opengl_msg="No OpenGL library found on this system."
12570 else
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12572 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12574 cat >>confdefs.h <<_ACEOF
12575 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12576 _ACEOF
12578 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"
12580 else
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12582 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12584 cat >>confdefs.h <<_ACEOF
12585 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12586 _ACEOF
12588 OPENGL_LIBS="-lGL"
12590 if test "x$with_osmesa" != "xno"
12591 then
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12593 $as_echo_n "checking for -lOSMesa... " >&6; }
12594 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12595 $as_echo_n "(cached) " >&6
12596 else
12597 ac_check_soname_save_LIBS=$LIBS
12598 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12605 #ifdef __cplusplus
12606 extern "C"
12607 #endif
12608 char OSMesaGetProcAddress ();
12610 main ()
12612 return OSMesaGetProcAddress ();
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_link "$LINENO"; then :
12618 case "$LIBEXT" in
12619 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12620 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'` ;;
12621 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12622 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12623 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12624 fi ;;
12625 esac
12626 else
12627 ac_cv_lib_soname_OSMesa=
12629 rm -f core conftest.err conftest.$ac_objext \
12630 conftest$ac_exeext conftest.$ac_ext
12631 LIBS=$ac_check_soname_save_LIBS
12633 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12635 $as_echo "not found" >&6; }
12637 else
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12639 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12641 cat >>confdefs.h <<_ACEOF
12642 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12643 _ACEOF
12647 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12648 case "x$with_osmesa" in
12649 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12650 xno) ;;
12651 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12652 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12653 esac
12658 if test -n "$opengl_msg"; then :
12659 case "x$with_opengl" in
12660 x) as_fn_append wine_warnings "|$opengl_msg
12661 OpenGL and Direct3D won't be supported." ;;
12662 xno) ;;
12663 *) as_fn_error $? "$opengl_msg
12664 OpenGL and Direct3D won't be supported.
12665 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12666 esac
12670 CPPFLAGS="$ac_save_CPPFLAGS"
12671 else
12672 X_CFLAGS=""
12673 X_LIBS=""
12676 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12677 then
12678 if test "x$X_LIBS" = "x"; then :
12679 case "x$with_x" in
12680 xno) ;;
12681 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12682 without X support, which probably isn't what you want. You will need
12683 to install ${notice_platform}development packages of Xlib at the very least.
12684 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12685 esac
12686 enable_winex11_drv=${enable_winex11_drv:-no}
12688 else
12689 if test "x$X_LIBS" = "x"; then :
12690 case "x$with_x" in
12691 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12692 xno) ;;
12693 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12694 This is an error since --with-x was requested." "$LINENO" 5 ;;
12695 esac
12696 enable_winex11_drv=${enable_winex11_drv:-no}
12700 if test "$ac_cv_header_CL_cl_h" = "yes"
12701 then
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12703 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12704 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12705 $as_echo_n "(cached) " >&6
12706 else
12707 ac_check_lib_save_LIBS=$LIBS
12708 LIBS="-lOpenCL $LIBS"
12709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12710 /* end confdefs.h. */
12712 /* Override any GCC internal prototype to avoid an error.
12713 Use char because int might match the return type of a GCC
12714 builtin and then its argument prototype would still apply. */
12715 #ifdef __cplusplus
12716 extern "C"
12717 #endif
12718 char clGetPlatformInfo ();
12720 main ()
12722 return clGetPlatformInfo ();
12724 return 0;
12726 _ACEOF
12727 if ac_fn_c_try_link "$LINENO"; then :
12728 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12729 else
12730 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12732 rm -f core conftest.err conftest.$ac_objext \
12733 conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_lib_save_LIBS
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12737 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12738 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12739 OPENCL_LIBS="-lOpenCL"
12744 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12745 case "x$with_opencl" in
12746 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12747 xno) ;;
12748 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12749 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12750 esac
12751 enable_opencl=${enable_opencl:-no}
12754 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12755 then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12757 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12758 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12759 $as_echo_n "(cached) " >&6
12760 else
12761 ac_check_lib_save_LIBS=$LIBS
12762 LIBS="-lpcap $LIBS"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12769 #ifdef __cplusplus
12770 extern "C"
12771 #endif
12772 char pcap_create ();
12774 main ()
12776 return pcap_create ();
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_link "$LINENO"; then :
12782 ac_cv_lib_pcap_pcap_create=yes
12783 else
12784 ac_cv_lib_pcap_pcap_create=no
12786 rm -f core conftest.err conftest.$ac_objext \
12787 conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12791 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12792 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12793 PCAP_LIBS="-lpcap"
12798 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12799 case "x$with_pcap" in
12800 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12801 xno) ;;
12802 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12803 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12804 esac
12805 enable_wpcap=${enable_wpcap:-no}
12809 if test "x$with_xml" != "xno"
12810 then
12811 if ${XML2_CFLAGS:+false} :; then :
12812 if ${PKG_CONFIG+:} false; then :
12813 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12816 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12817 if ${XML2_LIBS:+false} :; then :
12818 if ${PKG_CONFIG+:} false; then :
12819 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12822 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12823 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12824 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12825 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12826 ac_save_CPPFLAGS=$CPPFLAGS
12827 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12828 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12829 do :
12830 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12831 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12832 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12833 cat >>confdefs.h <<_ACEOF
12834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12835 _ACEOF
12839 done
12841 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"
12842 then
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12844 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12845 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12846 $as_echo_n "(cached) " >&6
12847 else
12848 ac_check_lib_save_LIBS=$LIBS
12849 LIBS="-lxml2 $XML2_LIBS $LIBS"
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12856 #ifdef __cplusplus
12857 extern "C"
12858 #endif
12859 char xmlParseMemory ();
12861 main ()
12863 return xmlParseMemory ();
12865 return 0;
12867 _ACEOF
12868 if ac_fn_c_try_link "$LINENO"; then :
12869 ac_cv_lib_xml2_xmlParseMemory=yes
12870 else
12871 ac_cv_lib_xml2_xmlParseMemory=no
12873 rm -f core conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875 LIBS=$ac_check_lib_save_LIBS
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12878 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12879 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12881 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12883 else
12884 XML2_LIBS=""
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12888 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12889 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12890 $as_echo_n "(cached) " >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lxml2 $XML2_LIBS $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 #ifdef __cplusplus
12901 extern "C"
12902 #endif
12903 char xmlReadMemory ();
12905 main ()
12907 return xmlReadMemory ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_lib_xml2_xmlReadMemory=yes
12914 else
12915 ac_cv_lib_xml2_xmlReadMemory=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12922 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12923 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12925 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12930 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12931 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_check_lib_save_LIBS=$LIBS
12935 LIBS="-lxml2 $XML2_LIBS $LIBS"
12936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char xmlNewDocPI ();
12947 main ()
12949 return xmlNewDocPI ();
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 ac_cv_lib_xml2_xmlNewDocPI=yes
12956 else
12957 ac_cv_lib_xml2_xmlNewDocPI=no
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_lib_save_LIBS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12964 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12965 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12967 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12972 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12973 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12974 $as_echo_n "(cached) " >&6
12975 else
12976 ac_check_lib_save_LIBS=$LIBS
12977 LIBS="-lxml2 $XML2_LIBS $LIBS"
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12981 /* Override any GCC internal prototype to avoid an error.
12982 Use char because int might match the return type of a GCC
12983 builtin and then its argument prototype would still apply. */
12984 #ifdef __cplusplus
12985 extern "C"
12986 #endif
12987 char xmlSchemaSetParserStructuredErrors ();
12989 main ()
12991 return xmlSchemaSetParserStructuredErrors ();
12993 return 0;
12995 _ACEOF
12996 if ac_fn_c_try_link "$LINENO"; then :
12997 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12998 else
12999 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13001 rm -f core conftest.err conftest.$ac_objext \
13002 conftest$ac_exeext conftest.$ac_ext
13003 LIBS=$ac_check_lib_save_LIBS
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13006 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13007 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13009 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13014 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13015 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13016 $as_echo_n "(cached) " >&6
13017 else
13018 ac_check_lib_save_LIBS=$LIBS
13019 LIBS="-lxml2 $XML2_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 #ifdef __cplusplus
13027 extern "C"
13028 #endif
13029 char xmlSchemaSetValidStructuredErrors ();
13031 main ()
13033 return xmlSchemaSetValidStructuredErrors ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13040 else
13041 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 LIBS=$ac_check_lib_save_LIBS
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13048 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13049 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13051 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13056 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13057 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13058 $as_echo_n "(cached) " >&6
13059 else
13060 ac_check_lib_save_LIBS=$LIBS
13061 LIBS="-lxml2 $XML2_LIBS $LIBS"
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13068 #ifdef __cplusplus
13069 extern "C"
13070 #endif
13071 char xmlFirstElementChild ();
13073 main ()
13075 return xmlFirstElementChild ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"; then :
13081 ac_cv_lib_xml2_xmlFirstElementChild=yes
13082 else
13083 ac_cv_lib_xml2_xmlFirstElementChild=no
13085 rm -f core conftest.err conftest.$ac_objext \
13086 conftest$ac_exeext conftest.$ac_ext
13087 LIBS=$ac_check_lib_save_LIBS
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13090 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13091 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13093 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13097 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13099 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13101 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13105 else
13106 XML2_CFLAGS=""
13107 XML2_LIBS=""
13109 CPPFLAGS=$ac_save_CPPFLAGS
13112 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13113 case "x$with_xml" in
13114 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13115 xno) ;;
13116 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13117 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13118 esac
13122 if test "x$with_xslt" != "xno"
13123 then
13124 if ${XSLT_CFLAGS:+false} :; then :
13125 if ${PKG_CONFIG+:} false; then :
13126 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13129 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13130 if ${XSLT_LIBS:+false} :; then :
13131 if ${PKG_CONFIG+:} false; then :
13132 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13135 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13136 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13137 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13138 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13139 ac_save_CPPFLAGS=$CPPFLAGS
13140 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13141 for ac_header in libxslt/pattern.h libxslt/transform.h
13142 do :
13143 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13144 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13145 # include <libxslt/pattern.h>
13146 #endif
13148 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13149 cat >>confdefs.h <<_ACEOF
13150 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13151 _ACEOF
13155 done
13157 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13158 then
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13160 $as_echo_n "checking for -lxslt... " >&6; }
13161 if ${ac_cv_lib_soname_xslt+:} false; then :
13162 $as_echo_n "(cached) " >&6
13163 else
13164 ac_check_soname_save_LIBS=$LIBS
13165 LIBS="-lxslt $XSLT_LIBS $LIBS"
13166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13169 /* Override any GCC internal prototype to avoid an error.
13170 Use char because int might match the return type of a GCC
13171 builtin and then its argument prototype would still apply. */
13172 #ifdef __cplusplus
13173 extern "C"
13174 #endif
13175 char xsltCompilePattern ();
13177 main ()
13179 return xsltCompilePattern ();
13181 return 0;
13183 _ACEOF
13184 if ac_fn_c_try_link "$LINENO"; then :
13185 case "$LIBEXT" in
13186 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13187 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'` ;;
13188 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13189 if ${ac_cv_lib_soname_xslt:+false} :; then :
13190 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13191 fi ;;
13192 esac
13193 else
13194 ac_cv_lib_soname_xslt=
13196 rm -f core conftest.err conftest.$ac_objext \
13197 conftest$ac_exeext conftest.$ac_ext
13198 LIBS=$ac_check_soname_save_LIBS
13200 if ${ac_cv_lib_soname_xslt:+false} :; then :
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13202 $as_echo "not found" >&6; }
13204 else
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13206 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13208 cat >>confdefs.h <<_ACEOF
13209 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13210 _ACEOF
13214 else
13215 XSLT_CFLAGS=""
13217 CPPFLAGS=$ac_save_CPPFLAGS
13220 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13221 case "x$with_xslt" in
13222 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13223 xno) ;;
13224 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13225 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13226 esac
13230 if test "x$with_inotify" != "xno"
13231 then
13232 if ${INOTIFY_CFLAGS:+false} :; then :
13233 if ${PKG_CONFIG+:} false; then :
13234 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13238 if ${INOTIFY_LIBS:+false} :; then :
13239 if ${PKG_CONFIG+:} false; then :
13240 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13245 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13246 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13247 ac_save_CPPFLAGS=$CPPFLAGS
13248 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13249 for ac_header in sys/inotify.h
13250 do :
13251 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13252 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13253 cat >>confdefs.h <<_ACEOF
13254 #define HAVE_SYS_INOTIFY_H 1
13255 _ACEOF
13259 done
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13262 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13263 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13264 $as_echo_n "(cached) " >&6
13265 else
13266 ac_check_lib_save_LIBS=$LIBS
13267 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13274 #ifdef __cplusplus
13275 extern "C"
13276 #endif
13277 char inotify_add_watch ();
13279 main ()
13281 return inotify_add_watch ();
13283 return 0;
13285 _ACEOF
13286 if ac_fn_c_try_link "$LINENO"; then :
13287 ac_cv_lib_inotify_inotify_add_watch=yes
13288 else
13289 ac_cv_lib_inotify_inotify_add_watch=no
13291 rm -f core conftest.err conftest.$ac_objext \
13292 conftest$ac_exeext conftest.$ac_ext
13293 LIBS=$ac_check_lib_save_LIBS
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13296 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13297 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13299 else
13300 INOTIFY_LIBS=""
13303 CPPFLAGS=$ac_save_CPPFLAGS
13306 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13307 case "x$with_inotify" in
13308 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13309 xno) ;;
13310 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13311 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13312 esac
13316 if test "x$with_dbus" != "xno"
13317 then
13318 if ${DBUS_CFLAGS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13324 if ${DBUS_LIBS:+false} :; then :
13325 if ${PKG_CONFIG+:} false; then :
13326 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13331 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13332 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13333 ac_save_CPPFLAGS=$CPPFLAGS
13334 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13335 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13336 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13338 $as_echo_n "checking for -ldbus-1... " >&6; }
13339 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13340 $as_echo_n "(cached) " >&6
13341 else
13342 ac_check_soname_save_LIBS=$LIBS
13343 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13350 #ifdef __cplusplus
13351 extern "C"
13352 #endif
13353 char dbus_connection_close ();
13355 main ()
13357 return dbus_connection_close ();
13359 return 0;
13361 _ACEOF
13362 if ac_fn_c_try_link "$LINENO"; then :
13363 case "$LIBEXT" in
13364 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13365 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'` ;;
13366 *) 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'`
13367 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13368 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13369 fi ;;
13370 esac
13371 else
13372 ac_cv_lib_soname_dbus_1=
13374 rm -f core conftest.err conftest.$ac_objext \
13375 conftest$ac_exeext conftest.$ac_ext
13376 LIBS=$ac_check_soname_save_LIBS
13378 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13380 $as_echo "not found" >&6; }
13381 DBUS_CFLAGS=""
13382 else
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13384 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13386 cat >>confdefs.h <<_ACEOF
13387 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13388 _ACEOF
13392 else
13393 DBUS_CFLAGS=""
13397 CPPFLAGS=$ac_save_CPPFLAGS
13400 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13401 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13402 case "x$with_dbus" in
13403 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13404 xno) ;;
13405 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13406 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13407 esac
13411 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13412 then
13413 if ${HAL_CFLAGS:+false} :; then :
13414 if ${PKG_CONFIG+:} false; then :
13415 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13419 if ${HAL_LIBS:+false} :; then :
13420 if ${PKG_CONFIG+:} false; then :
13421 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13425 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13426 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13427 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13428 ac_save_CPPFLAGS=$CPPFLAGS
13429 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13430 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13431 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13433 $as_echo_n "checking for -lhal... " >&6; }
13434 if ${ac_cv_lib_soname_hal+:} false; then :
13435 $as_echo_n "(cached) " >&6
13436 else
13437 ac_check_soname_save_LIBS=$LIBS
13438 LIBS="-lhal $HAL_LIBS $LIBS"
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13442 /* Override any GCC internal prototype to avoid an error.
13443 Use char because int might match the return type of a GCC
13444 builtin and then its argument prototype would still apply. */
13445 #ifdef __cplusplus
13446 extern "C"
13447 #endif
13448 char libhal_ctx_new ();
13450 main ()
13452 return libhal_ctx_new ();
13454 return 0;
13456 _ACEOF
13457 if ac_fn_c_try_link "$LINENO"; then :
13458 case "$LIBEXT" in
13459 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13460 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'` ;;
13461 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13462 if ${ac_cv_lib_soname_hal:+false} :; then :
13463 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13464 fi ;;
13465 esac
13466 else
13467 ac_cv_lib_soname_hal=
13469 rm -f core conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471 LIBS=$ac_check_soname_save_LIBS
13473 if ${ac_cv_lib_soname_hal:+false} :; then :
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13475 $as_echo "not found" >&6; }
13476 HAL_CFLAGS=""
13477 else
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13479 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13481 cat >>confdefs.h <<_ACEOF
13482 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13483 _ACEOF
13487 else
13488 HAL_CFLAGS=""
13492 CPPFLAGS=$ac_save_CPPFLAGS
13494 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13495 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13496 case "x$with_hal" in
13497 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13498 xno) ;;
13499 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13500 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13501 esac
13506 if test "x$with_gnutls" != "xno"
13507 then
13508 if ${GNUTLS_CFLAGS:+false} :; then :
13509 if ${PKG_CONFIG+:} false; then :
13510 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13514 if ${GNUTLS_LIBS:+false} :; then :
13515 if ${PKG_CONFIG+:} false; then :
13516 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13520 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13521 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13522 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13523 ac_save_CPPFLAGS=$CPPFLAGS
13524 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13525 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13526 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13529 #include <gnutls/gnutls.h>
13530 #include <gnutls/crypto.h>
13532 main ()
13534 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13536 return 0;
13538 _ACEOF
13539 if ac_fn_c_try_compile "$LINENO"; then :
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13541 $as_echo_n "checking for -lgnutls... " >&6; }
13542 if ${ac_cv_lib_soname_gnutls+:} false; then :
13543 $as_echo_n "(cached) " >&6
13544 else
13545 ac_check_soname_save_LIBS=$LIBS
13546 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13550 /* Override any GCC internal prototype to avoid an error.
13551 Use char because int might match the return type of a GCC
13552 builtin and then its argument prototype would still apply. */
13553 #ifdef __cplusplus
13554 extern "C"
13555 #endif
13556 char gnutls_global_init ();
13558 main ()
13560 return gnutls_global_init ();
13562 return 0;
13564 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"; then :
13566 case "$LIBEXT" in
13567 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13568 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'` ;;
13569 *) 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'`
13570 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13571 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'`
13572 fi ;;
13573 esac
13574 else
13575 ac_cv_lib_soname_gnutls=
13577 rm -f core conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579 LIBS=$ac_check_soname_save_LIBS
13581 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13583 $as_echo "not found" >&6; }
13584 GNUTLS_CFLAGS=""
13585 else
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13587 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13589 cat >>confdefs.h <<_ACEOF
13590 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13591 _ACEOF
13595 ac_wine_check_funcs_save_LIBS="$LIBS"
13596 LIBS="$LIBS $GNUTLS_LIBS"
13597 for ac_func in gnutls_cipher_init
13598 do :
13599 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13600 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13601 cat >>confdefs.h <<_ACEOF
13602 #define HAVE_GNUTLS_CIPHER_INIT 1
13603 _ACEOF
13605 else
13606 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13608 done
13610 LIBS="$ac_wine_check_funcs_save_LIBS"
13612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13613 else
13614 GNUTLS_CFLAGS=""
13618 CPPFLAGS=$ac_save_CPPFLAGS
13621 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13622 case "x$with_gnutls" in
13623 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13624 xno) ;;
13625 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13626 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13627 esac
13631 if test "x$with_sane" != "xno"
13632 then
13633 if ${SANE_CFLAGS:+false} :; then :
13634 if ${PKG_CONFIG+:} false; then :
13635 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13638 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13639 if ${SANE_LIBS:+false} :; then :
13640 if ${PKG_CONFIG+:} false; then :
13641 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13644 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13646 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13647 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13648 ac_save_CPPFLAGS=$CPPFLAGS
13649 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13650 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13651 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13653 $as_echo_n "checking for -lsane... " >&6; }
13654 if ${ac_cv_lib_soname_sane+:} false; then :
13655 $as_echo_n "(cached) " >&6
13656 else
13657 ac_check_soname_save_LIBS=$LIBS
13658 LIBS="-lsane $SANE_LIBS $LIBS"
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13662 /* Override any GCC internal prototype to avoid an error.
13663 Use char because int might match the return type of a GCC
13664 builtin and then its argument prototype would still apply. */
13665 #ifdef __cplusplus
13666 extern "C"
13667 #endif
13668 char sane_init ();
13670 main ()
13672 return sane_init ();
13674 return 0;
13676 _ACEOF
13677 if ac_fn_c_try_link "$LINENO"; then :
13678 case "$LIBEXT" in
13679 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13680 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'` ;;
13681 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13682 if ${ac_cv_lib_soname_sane:+false} :; then :
13683 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13684 fi ;;
13685 esac
13686 else
13687 ac_cv_lib_soname_sane=
13689 rm -f core conftest.err conftest.$ac_objext \
13690 conftest$ac_exeext conftest.$ac_ext
13691 LIBS=$ac_check_soname_save_LIBS
13693 if ${ac_cv_lib_soname_sane:+false} :; then :
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13695 $as_echo "not found" >&6; }
13696 SANE_CFLAGS=""
13697 else
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13699 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13701 cat >>confdefs.h <<_ACEOF
13702 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13703 _ACEOF
13707 else
13708 SANE_CFLAGS=""
13712 CPPFLAGS=$ac_save_CPPFLAGS
13715 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13716 case "x$with_sane" in
13717 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13718 xno) ;;
13719 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13720 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13721 esac
13725 if test "x$with_usb" != "xno"
13726 then
13727 if ${USB_CFLAGS:+false} :; then :
13728 if ${PKG_CONFIG+:} false; then :
13729 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13733 if ${USB_LIBS:+false} :; then :
13734 if ${PKG_CONFIG+:} false; then :
13735 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13739 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13740 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13741 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13742 ac_save_CPPFLAGS=$CPPFLAGS
13743 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13744 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13745 if test "x$ac_cv_header_libusb_h" = xyes; then :
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13747 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13748 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13749 $as_echo_n "(cached) " >&6
13750 else
13751 ac_check_lib_save_LIBS=$LIBS
13752 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13756 /* Override any GCC internal prototype to avoid an error.
13757 Use char because int might match the return type of a GCC
13758 builtin and then its argument prototype would still apply. */
13759 #ifdef __cplusplus
13760 extern "C"
13761 #endif
13762 char libusb_interrupt_event_handler ();
13764 main ()
13766 return libusb_interrupt_event_handler ();
13768 return 0;
13770 _ACEOF
13771 if ac_fn_c_try_link "$LINENO"; then :
13772 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13773 else
13774 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13776 rm -f core conftest.err conftest.$ac_objext \
13777 conftest$ac_exeext conftest.$ac_ext
13778 LIBS=$ac_check_lib_save_LIBS
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13781 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13782 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13784 else
13785 USB_LIBS=""
13788 else
13789 USB_LIBS=""
13793 CPPFLAGS=$ac_save_CPPFLAGS
13796 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13797 case "x$with_usb" in
13798 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13799 xno) ;;
13800 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13801 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13802 esac
13803 enable_wineusb_sys=${enable_wineusb_sys:-no}
13806 if test "x$with_v4l2" != "xno"
13807 then
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13809 $as_echo_n "checking for -lv4l2... " >&6; }
13810 if ${ac_cv_lib_soname_v4l2+:} false; then :
13811 $as_echo_n "(cached) " >&6
13812 else
13813 ac_check_soname_save_LIBS=$LIBS
13814 LIBS="-lv4l2 $LIBS"
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13821 #ifdef __cplusplus
13822 extern "C"
13823 #endif
13824 char v4l2_open ();
13826 main ()
13828 return v4l2_open ();
13830 return 0;
13832 _ACEOF
13833 if ac_fn_c_try_link "$LINENO"; then :
13834 case "$LIBEXT" in
13835 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13836 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'` ;;
13837 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13838 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13839 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13840 fi ;;
13841 esac
13842 else
13843 ac_cv_lib_soname_v4l2=
13845 rm -f core conftest.err conftest.$ac_objext \
13846 conftest$ac_exeext conftest.$ac_ext
13847 LIBS=$ac_check_soname_save_LIBS
13849 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13851 $as_echo "not found" >&6; }
13853 else
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13855 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13857 cat >>confdefs.h <<_ACEOF
13858 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13859 _ACEOF
13864 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13865 case "x$with_v4l2" in
13866 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13867 xno) ;;
13868 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13869 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13870 esac
13874 if test "x$with_gphoto" != "xno"
13875 then
13876 if ${GPHOTO2_CFLAGS:+false} :; then :
13877 if ${PKG_CONFIG+:} false; then :
13878 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13881 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13882 if ${GPHOTO2_LIBS:+false} :; then :
13883 if ${PKG_CONFIG+:} false; then :
13884 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13887 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13888 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13889 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13890 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13891 ac_save_CPPFLAGS=$CPPFLAGS
13892 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13893 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13894 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13896 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13897 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13898 $as_echo_n "(cached) " >&6
13899 else
13900 ac_check_lib_save_LIBS=$LIBS
13901 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13903 /* end confdefs.h. */
13905 /* Override any GCC internal prototype to avoid an error.
13906 Use char because int might match the return type of a GCC
13907 builtin and then its argument prototype would still apply. */
13908 #ifdef __cplusplus
13909 extern "C"
13910 #endif
13911 char gp_camera_new ();
13913 main ()
13915 return gp_camera_new ();
13917 return 0;
13919 _ACEOF
13920 if ac_fn_c_try_link "$LINENO"; then :
13921 ac_cv_lib_gphoto2_gp_camera_new=yes
13922 else
13923 ac_cv_lib_gphoto2_gp_camera_new=no
13925 rm -f core conftest.err conftest.$ac_objext \
13926 conftest$ac_exeext conftest.$ac_ext
13927 LIBS=$ac_check_lib_save_LIBS
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13930 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13931 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13933 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13935 else
13936 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13939 else
13940 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13944 CPPFLAGS=$ac_save_CPPFLAGS
13946 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13947 if ${PKG_CONFIG+:} false; then :
13948 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13951 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13952 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13953 if ${PKG_CONFIG+:} false; then :
13954 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13957 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13958 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13959 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13960 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13961 ac_save_CPPFLAGS=$CPPFLAGS
13962 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13963 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13964 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13966 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13967 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13968 $as_echo_n "(cached) " >&6
13969 else
13970 ac_check_lib_save_LIBS=$LIBS
13971 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13975 /* Override any GCC internal prototype to avoid an error.
13976 Use char because int might match the return type of a GCC
13977 builtin and then its argument prototype would still apply. */
13978 #ifdef __cplusplus
13979 extern "C"
13980 #endif
13981 char gp_port_info_list_new ();
13983 main ()
13985 return gp_port_info_list_new ();
13987 return 0;
13989 _ACEOF
13990 if ac_fn_c_try_link "$LINENO"; then :
13991 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13992 else
13993 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13995 rm -f core conftest.err conftest.$ac_objext \
13996 conftest$ac_exeext conftest.$ac_ext
13997 LIBS=$ac_check_lib_save_LIBS
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14000 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14001 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14003 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14005 else
14006 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14009 else
14010 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14014 CPPFLAGS=$ac_save_CPPFLAGS
14017 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14018 case "x$with_gphoto" in
14019 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14020 xno) ;;
14021 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14022 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14023 esac
14026 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14027 case "x$with_gphoto" in
14028 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14029 xno) ;;
14030 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14031 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14032 esac
14037 if test "$ac_cv_header_resolv_h" = "yes"
14038 then
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14040 $as_echo_n "checking for resolver library... " >&6; }
14041 if ${ac_cv_have_resolv+:} false; then :
14042 $as_echo_n "(cached) " >&6
14043 else
14044 ac_save_LIBS="$LIBS"
14045 for lib in '' -lresolv
14047 LIBS="$lib $ac_save_LIBS"
14048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14050 #ifdef HAVE_NETINET_IN_H
14051 #include <netinet/in.h>
14052 #endif
14053 #include <resolv.h>
14055 main ()
14057 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14059 return 0;
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"; then :
14063 ac_cv_have_resolv=${lib:-"none required"}
14064 else
14065 ac_cv_have_resolv="not found"
14067 rm -f core conftest.err conftest.$ac_objext \
14068 conftest$ac_exeext conftest.$ac_ext
14069 test "x$ac_cv_have_resolv" = "xnot found" || break
14070 done
14071 LIBS="$ac_save_LIBS"
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14074 $as_echo "$ac_cv_have_resolv" >&6; }
14076 case "$ac_cv_have_resolv" in
14077 "not found") ;;
14078 "none required")
14080 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14083 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14085 RESOLV_LIBS=$ac_cv_have_resolv
14087 esac
14089 if test "x$ac_cv_have_resolv" != "xnot found"
14090 then
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14092 $as_echo_n "checking for res_getservers... " >&6; }
14093 if ${ac_cv_have_res_getservers+:} false; then :
14094 $as_echo_n "(cached) " >&6
14095 else
14096 ac_save_LIBS="$LIBS"
14097 LIBS="$RESOLV_LIBS $LIBS"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 #include <resolv.h>
14102 main ()
14104 res_getservers(NULL, NULL, 0);
14106 return 0;
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"; then :
14110 ac_cv_have_res_getservers=yes
14111 else
14112 ac_cv_have_res_getservers=no
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 LIBS="$ac_save_LIBS"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14119 $as_echo "$ac_cv_have_res_getservers" >&6; }
14120 if test "$ac_cv_have_res_getservers" = "yes"
14121 then
14123 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14129 if test "x$with_cms" != "xno"
14130 then
14131 if ${LCMS2_CFLAGS:+false} :; then :
14132 if ${PKG_CONFIG+:} false; then :
14133 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14137 if ${LCMS2_LIBS:+false} :; then :
14138 if ${PKG_CONFIG+:} false; then :
14139 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14143 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14144 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14145 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14146 ac_save_CPPFLAGS=$CPPFLAGS
14147 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14148 for ac_header in lcms2.h
14149 do :
14150 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14151 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14152 cat >>confdefs.h <<_ACEOF
14153 #define HAVE_LCMS2_H 1
14154 _ACEOF
14158 done
14160 if test "$ac_cv_header_lcms2_h" = "yes"
14161 then
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14163 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14164 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14165 $as_echo_n "(cached) " >&6
14166 else
14167 ac_check_lib_save_LIBS=$LIBS
14168 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14172 /* Override any GCC internal prototype to avoid an error.
14173 Use char because int might match the return type of a GCC
14174 builtin and then its argument prototype would still apply. */
14175 #ifdef __cplusplus
14176 extern "C"
14177 #endif
14178 char cmsOpenProfileFromFile ();
14180 main ()
14182 return cmsOpenProfileFromFile ();
14184 return 0;
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"; then :
14188 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14189 else
14190 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14192 rm -f core conftest.err conftest.$ac_objext \
14193 conftest$ac_exeext conftest.$ac_ext
14194 LIBS=$ac_check_lib_save_LIBS
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14197 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14198 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14200 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14202 else
14203 LCMS2_LIBS=""
14206 else
14207 LCMS2_CFLAGS=""
14208 LCMS2_LIBS=""
14210 CPPFLAGS=$ac_save_CPPFLAGS
14213 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14214 case "x$with_cms" in
14215 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14216 xno) ;;
14217 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14218 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14219 esac
14223 if test "x$with_freetype" != "xno"
14224 then
14225 if ${FREETYPE_CFLAGS:+false} :; then :
14226 if ${PKG_CONFIG+:} false; then :
14227 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14230 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14231 if ${FREETYPE_LIBS:+false} :; then :
14232 if ${PKG_CONFIG+:} false; then :
14233 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14236 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14237 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14238 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14239 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14240 ac_save_CPPFLAGS=$CPPFLAGS
14241 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14242 for ac_header in ft2build.h
14243 do :
14244 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14245 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14246 cat >>confdefs.h <<_ACEOF
14247 #define HAVE_FT2BUILD_H 1
14248 _ACEOF
14252 done
14254 if test "$ac_cv_header_ft2build_h" = "yes"
14255 then
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14257 $as_echo_n "checking for -lfreetype... " >&6; }
14258 if ${ac_cv_lib_soname_freetype+:} false; then :
14259 $as_echo_n "(cached) " >&6
14260 else
14261 ac_check_soname_save_LIBS=$LIBS
14262 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14266 /* Override any GCC internal prototype to avoid an error.
14267 Use char because int might match the return type of a GCC
14268 builtin and then its argument prototype would still apply. */
14269 #ifdef __cplusplus
14270 extern "C"
14271 #endif
14272 char FT_Init_FreeType ();
14274 main ()
14276 return FT_Init_FreeType ();
14278 return 0;
14280 _ACEOF
14281 if ac_fn_c_try_link "$LINENO"; then :
14282 case "$LIBEXT" in
14283 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14284 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'` ;;
14285 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14286 if ${ac_cv_lib_soname_freetype:+false} :; then :
14287 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14288 fi ;;
14289 esac
14290 else
14291 ac_cv_lib_soname_freetype=
14293 rm -f core conftest.err conftest.$ac_objext \
14294 conftest$ac_exeext conftest.$ac_ext
14295 LIBS=$ac_check_soname_save_LIBS
14297 if ${ac_cv_lib_soname_freetype:+false} :; then :
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14299 $as_echo "not found" >&6; }
14300 FREETYPE_LIBS=""
14301 else
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14303 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14305 cat >>confdefs.h <<_ACEOF
14306 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14307 _ACEOF
14310 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14312 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14313 #include FT_MODULE_H
14315 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14317 cat >>confdefs.h <<_ACEOF
14318 #define HAVE_FT_TRUETYPEENGINETYPE 1
14319 _ACEOF
14325 else
14326 FREETYPE_CFLAGS=""
14327 FREETYPE_LIBS=""
14329 CPPFLAGS=$ac_save_CPPFLAGS
14332 if test "x$ac_cv_lib_soname_freetype" = x; then :
14333 case "x$with_freetype" in
14334 xno) ;;
14335 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14336 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14337 esac
14338 enable_fonts=${enable_fonts:-no}
14341 ac_wine_check_funcs_save_LIBS="$LIBS"
14342 LIBS="$LIBS $PTHREAD_LIBS"
14343 for ac_func in \
14344 pthread_getthreadid_np
14345 do :
14346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14348 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14349 cat >>confdefs.h <<_ACEOF
14350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14351 _ACEOF
14354 done
14356 LIBS="$ac_wine_check_funcs_save_LIBS"
14358 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14359 then
14360 if test "$ac_cv_header_gettext_po_h" = "yes"
14361 then
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14363 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14364 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_check_lib_save_LIBS=$LIBS
14368 LIBS="-lgettextpo $LIBS"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14375 #ifdef __cplusplus
14376 extern "C"
14377 #endif
14378 char po_message_msgctxt ();
14380 main ()
14382 return po_message_msgctxt ();
14384 return 0;
14386 _ACEOF
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14389 else
14390 ac_cv_lib_gettextpo_po_message_msgctxt=no
14392 rm -f core conftest.err conftest.$ac_objext \
14393 conftest$ac_exeext conftest.$ac_ext
14394 LIBS=$ac_check_lib_save_LIBS
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14397 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14398 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14400 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14402 GETTEXTPO_LIBS="-lgettextpo"
14407 if test "x$GETTEXTPO_LIBS" = "x"; then :
14408 case "x$with_gettextpo" in
14409 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14410 xno) ;;
14411 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14412 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14413 esac
14416 if test "$srcdir" != .; then :
14417 case "x$with_gettextpo" in
14418 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14419 xno) ;;
14420 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14421 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14422 esac
14427 if test "x$with_pulse" != "xno";
14428 then
14429 if ${PULSE_CFLAGS:+false} :; then :
14430 if ${PKG_CONFIG+:} false; then :
14431 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14435 if ${PULSE_LIBS:+false} :; then :
14436 if ${PKG_CONFIG+:} false; then :
14437 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14442 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14443 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14444 ac_save_CPPFLAGS=$CPPFLAGS
14445 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14446 for ac_header in pulse/pulseaudio.h
14447 do :
14448 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14449 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14450 cat >>confdefs.h <<_ACEOF
14451 #define HAVE_PULSE_PULSEAUDIO_H 1
14452 _ACEOF
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14454 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14455 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14456 $as_echo_n "(cached) " >&6
14457 else
14458 ac_check_lib_save_LIBS=$LIBS
14459 LIBS="-lpulse $PULSE_LIBS $LIBS"
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14463 /* Override any GCC internal prototype to avoid an error.
14464 Use char because int might match the return type of a GCC
14465 builtin and then its argument prototype would still apply. */
14466 #ifdef __cplusplus
14467 extern "C"
14468 #endif
14469 char pa_stream_is_corked ();
14471 main ()
14473 return pa_stream_is_corked ();
14475 return 0;
14477 _ACEOF
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 ac_cv_lib_pulse_pa_stream_is_corked=yes
14480 else
14481 ac_cv_lib_pulse_pa_stream_is_corked=no
14483 rm -f core conftest.err conftest.$ac_objext \
14484 conftest$ac_exeext conftest.$ac_ext
14485 LIBS=$ac_check_lib_save_LIBS
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14488 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14489 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14491 else
14492 PULSE_LIBS=""
14495 else
14496 PULSE_LIBS=""
14499 done
14501 CPPFLAGS=$ac_save_CPPFLAGS
14504 if test -z "$PULSE_LIBS"; then :
14505 case "x$with_pulse" in
14506 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14507 xno) ;;
14508 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14509 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14510 esac
14511 enable_winepulse_drv=${enable_winepulse_drv:-no}
14514 if test "x$with_gstreamer" != "xno"
14515 then
14516 if ${GSTREAMER_CFLAGS:+false} :; then :
14517 if ${PKG_CONFIG+:} false; then :
14518 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14522 if ${GSTREAMER_LIBS:+false} :; then :
14523 if ${PKG_CONFIG+:} false; then :
14524 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14529 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14530 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14531 ac_save_CPPFLAGS=$CPPFLAGS
14532 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14533 ac_gst_incl=""
14534 for i in $GSTREAMER_CFLAGS
14536 case "$i" in
14537 -I*) ac_gst_incl="$ac_gst_incl $i";;
14538 esac
14539 done
14540 GSTREAMER_CFLAGS=$ac_gst_incl
14541 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14542 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14543 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14545 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 #include <gst/gst.h>
14550 main ()
14552 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14554 return 0;
14556 _ACEOF
14557 if ac_fn_c_try_compile "$LINENO"; then :
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14559 $as_echo "yes" >&6; }
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14561 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14562 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14563 $as_echo_n "(cached) " >&6
14564 else
14565 ac_check_lib_save_LIBS=$LIBS
14566 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14568 /* end confdefs.h. */
14570 /* Override any GCC internal prototype to avoid an error.
14571 Use char because int might match the return type of a GCC
14572 builtin and then its argument prototype would still apply. */
14573 #ifdef __cplusplus
14574 extern "C"
14575 #endif
14576 char gst_pad_new ();
14578 main ()
14580 return gst_pad_new ();
14582 return 0;
14584 _ACEOF
14585 if ac_fn_c_try_link "$LINENO"; then :
14586 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14587 else
14588 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14590 rm -f core conftest.err conftest.$ac_objext \
14591 conftest$ac_exeext conftest.$ac_ext
14592 LIBS=$ac_check_lib_save_LIBS
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14595 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14596 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14600 else
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14602 $as_echo "no" >&6; }
14603 ac_glib2_broken=yes
14604 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14610 CPPFLAGS=$ac_save_CPPFLAGS
14613 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 :
14614 case "x$with_gstreamer" in
14615 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14616 xno) ;;
14617 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14618 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14619 esac
14622 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14624 ALSA_LIBS=""
14626 if test "x$with_alsa" != "xno"
14627 then
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14629 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14630 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14631 $as_echo_n "(cached) " >&6
14632 else
14633 ac_check_lib_save_LIBS=$LIBS
14634 LIBS="-lasound $LIBS"
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14638 /* Override any GCC internal prototype to avoid an error.
14639 Use char because int might match the return type of a GCC
14640 builtin and then its argument prototype would still apply. */
14641 #ifdef __cplusplus
14642 extern "C"
14643 #endif
14644 char snd_pcm_hw_params_get_access_mask ();
14646 main ()
14648 return snd_pcm_hw_params_get_access_mask ();
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14655 else
14656 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14658 rm -f core conftest.err conftest.$ac_objext \
14659 conftest$ac_exeext conftest.$ac_ext
14660 LIBS=$ac_check_lib_save_LIBS
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14663 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14664 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 #include <alsa/asoundlib.h>
14669 main ()
14671 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14673 return 0;
14675 _ACEOF
14676 if ac_fn_c_try_compile "$LINENO"; then :
14677 ALSA_LIBS="-lasound"
14679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14683 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14685 if test "x$with_oss" != xno
14686 then
14687 ac_save_CPPFLAGS="$CPPFLAGS"
14688 if test -f /etc/oss.conf
14689 then
14690 . /etc/oss.conf
14692 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14693 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14694 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14695 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14696 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14698 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14700 cat >>confdefs.h <<_ACEOF
14701 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14702 _ACEOF
14704 OSS4_CFLAGS="$ac_oss_incl"
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14707 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14708 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14709 $as_echo_n "(cached) " >&6
14710 else
14711 ac_check_lib_save_LIBS=$LIBS
14712 LIBS="-lossaudio $LIBS"
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14716 /* Override any GCC internal prototype to avoid an error.
14717 Use char because int might match the return type of a GCC
14718 builtin and then its argument prototype would still apply. */
14719 #ifdef __cplusplus
14720 extern "C"
14721 #endif
14722 char _oss_ioctl ();
14724 main ()
14726 return _oss_ioctl ();
14728 return 0;
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_lib_ossaudio__oss_ioctl=yes
14733 else
14734 ac_cv_lib_ossaudio__oss_ioctl=no
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 LIBS=$ac_check_lib_save_LIBS
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14741 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14742 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14743 OSS4_LIBS="-lossaudio"
14752 CPPFLAGS="$ac_save_CPPFLAGS"
14754 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14755 case "x$with_oss" in
14756 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14757 xno) ;;
14758 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14759 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14760 esac
14761 enable_wineoss_drv=${enable_wineoss_drv:-no}
14764 if test "x$with_udev" != "xno"
14765 then
14766 if ${UDEV_CFLAGS:+false} :; then :
14767 if ${PKG_CONFIG+:} false; then :
14768 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14772 if ${UDEV_LIBS:+false} :; then :
14773 if ${PKG_CONFIG+:} false; then :
14774 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14778 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14779 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14780 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14781 ac_save_CPPFLAGS=$CPPFLAGS
14782 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14783 for ac_header in libudev.h
14784 do :
14785 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14786 if test "x$ac_cv_header_libudev_h" = xyes; then :
14787 cat >>confdefs.h <<_ACEOF
14788 #define HAVE_LIBUDEV_H 1
14789 _ACEOF
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14791 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14792 if ${ac_cv_lib_udev_udev_new+:} false; then :
14793 $as_echo_n "(cached) " >&6
14794 else
14795 ac_check_lib_save_LIBS=$LIBS
14796 LIBS="-ludev $UDEV_LIBS $LIBS"
14797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14803 #ifdef __cplusplus
14804 extern "C"
14805 #endif
14806 char udev_new ();
14808 main ()
14810 return udev_new ();
14812 return 0;
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_cv_lib_udev_udev_new=yes
14817 else
14818 ac_cv_lib_udev_udev_new=no
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14822 LIBS=$ac_check_lib_save_LIBS
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14825 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14826 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14828 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14830 else
14831 UDEV_LIBS=""
14834 else
14835 UDEV_LIBS=""
14838 done
14840 CPPFLAGS=$ac_save_CPPFLAGS
14843 if test "x$UDEV_LIBS" = "x"; then :
14844 case "x$with_udev" in
14845 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14846 xno) ;;
14847 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14848 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14849 esac
14853 if test "x$with_unwind" != xno
14854 then
14855 if ${UNWIND_CFLAGS:+false} :; then :
14856 if ${PKG_CONFIG+:} false; then :
14857 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14861 if ${UNWIND_LIBS:+false} :; then :
14862 if ${PKG_CONFIG+:} false; then :
14863 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14867 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14868 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14869 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14870 ac_save_CPPFLAGS=$CPPFLAGS
14871 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14873 $as_echo_n "checking for unw_step... " >&6; }
14874 if ${wine_cv_have_unw_step+:} false; then :
14875 $as_echo_n "(cached) " >&6
14876 else
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 #define UNW_LOCAL_ONLY
14880 #include <libunwind.h>
14882 main ()
14884 unw_cursor_t cursor; unw_step( &cursor );
14886 return 0;
14888 _ACEOF
14889 if ac_fn_c_try_link "$LINENO"; then :
14890 wine_cv_have_unw_step="yes"
14891 else
14892 wine_cv_have_unw_step="no"
14894 rm -f core conftest.err conftest.$ac_objext \
14895 conftest$ac_exeext conftest.$ac_ext
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14898 $as_echo "$wine_cv_have_unw_step" >&6; }
14899 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14900 then
14901 save_libs=$LIBS
14902 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14903 LIBS="$UNWIND_LIBS $LIBS"
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14905 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14906 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14907 $as_echo_n "(cached) " >&6
14908 else
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14911 #define UNW_LOCAL_ONLY
14912 #include <libunwind.h>
14914 main ()
14916 unw_cursor_t cursor; unw_step( &cursor );
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"; then :
14922 wine_cv_have_libunwind_unw_step="yes"
14923 else
14924 wine_cv_have_libunwind_unw_step="no"
14926 rm -f core conftest.err conftest.$ac_objext \
14927 conftest$ac_exeext conftest.$ac_ext
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14930 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14931 LIBS=$save_libs
14933 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14934 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14935 then
14937 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14940 CPPFLAGS=$ac_save_CPPFLAGS
14943 case $host in
14944 aarch64*|*-darwin*)
14945 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14946 case "x$with_unwind" in
14947 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14948 xno) ;;
14949 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14950 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14951 esac
14953 fi ;;
14954 esac
14956 if test "x$with_sdl" != "xno"
14957 then
14958 if ${SDL2_CFLAGS:+false} :; then :
14959 if ${PKG_CONFIG+:} false; then :
14960 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14964 if ${SDL2_LIBS:+false} :; then :
14965 if ${PKG_CONFIG+:} false; then :
14966 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14970 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14971 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14972 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14973 ac_save_CPPFLAGS=$CPPFLAGS
14974 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14975 for ac_header in SDL.h
14976 do :
14977 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14978 if test "x$ac_cv_header_SDL_h" = xyes; then :
14979 cat >>confdefs.h <<_ACEOF
14980 #define HAVE_SDL_H 1
14981 _ACEOF
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14983 $as_echo_n "checking for -lSDL2... " >&6; }
14984 if ${ac_cv_lib_soname_SDL2+:} false; then :
14985 $as_echo_n "(cached) " >&6
14986 else
14987 ac_check_soname_save_LIBS=$LIBS
14988 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14992 /* Override any GCC internal prototype to avoid an error.
14993 Use char because int might match the return type of a GCC
14994 builtin and then its argument prototype would still apply. */
14995 #ifdef __cplusplus
14996 extern "C"
14997 #endif
14998 char SDL_Init ();
15000 main ()
15002 return SDL_Init ();
15004 return 0;
15006 _ACEOF
15007 if ac_fn_c_try_link "$LINENO"; then :
15008 case "$LIBEXT" in
15009 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15010 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'` ;;
15011 *) 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'`
15012 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15013 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15014 fi ;;
15015 esac
15016 else
15017 ac_cv_lib_soname_SDL2=
15019 rm -f core conftest.err conftest.$ac_objext \
15020 conftest$ac_exeext conftest.$ac_ext
15021 LIBS=$ac_check_soname_save_LIBS
15023 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15025 $as_echo "not found" >&6; }
15027 else
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15029 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15031 cat >>confdefs.h <<_ACEOF
15032 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15033 _ACEOF
15039 done
15041 CPPFLAGS=$ac_save_CPPFLAGS
15044 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15045 case "x$with_sdl" in
15046 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15047 xno) ;;
15048 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15049 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15050 esac
15054 if test "x$with_faudio" != "xno"
15055 then
15056 if ${FAUDIO_CFLAGS:+false} :; then :
15057 if ${PKG_CONFIG+:} false; then :
15058 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15062 if ${FAUDIO_LIBS:+false} :; then :
15063 if ${PKG_CONFIG+:} false; then :
15064 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15068 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15069 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15070 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15071 ac_save_CPPFLAGS=$CPPFLAGS
15072 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15073 for ac_header in FAudio.h
15074 do :
15075 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15076 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15077 cat >>confdefs.h <<_ACEOF
15078 #define HAVE_FAUDIO_H 1
15079 _ACEOF
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15081 $as_echo_n "checking for -lFAudio... " >&6; }
15082 if ${ac_cv_lib_soname_FAudio+:} false; then :
15083 $as_echo_n "(cached) " >&6
15084 else
15085 ac_check_soname_save_LIBS=$LIBS
15086 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15088 /* end confdefs.h. */
15090 /* Override any GCC internal prototype to avoid an error.
15091 Use char because int might match the return type of a GCC
15092 builtin and then its argument prototype would still apply. */
15093 #ifdef __cplusplus
15094 extern "C"
15095 #endif
15096 char FAudioCreate ();
15098 main ()
15100 return FAudioCreate ();
15102 return 0;
15104 _ACEOF
15105 if ac_fn_c_try_link "$LINENO"; then :
15106 case "$LIBEXT" in
15107 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15108 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'` ;;
15109 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15110 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15111 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15112 fi ;;
15113 esac
15114 else
15115 ac_cv_lib_soname_FAudio=
15117 rm -f core conftest.err conftest.$ac_objext \
15118 conftest$ac_exeext conftest.$ac_ext
15119 LIBS=$ac_check_soname_save_LIBS
15121 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15123 $as_echo "not found" >&6; }
15125 else
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15127 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15129 cat >>confdefs.h <<_ACEOF
15130 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15131 _ACEOF
15137 done
15139 ac_wine_check_funcs_save_LIBS="$LIBS"
15140 LIBS="$LIBS $FAUDIO_LIBS"
15141 for ac_func in FAudio_CommitOperationSet \
15142 F3DAudioInitialize8 \
15143 FAudioLinkedVersion \
15144 FAudioCreateReverb9WithCustomAllocatorEXT
15145 do :
15146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15148 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15149 cat >>confdefs.h <<_ACEOF
15150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15151 _ACEOF
15154 done
15156 LIBS="$ac_wine_check_funcs_save_LIBS"
15158 CPPFLAGS=$ac_save_CPPFLAGS
15161 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15162 case "x$with_faudio" in
15163 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15164 xno) ;;
15165 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15166 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15167 esac
15171 if test "x$with_capi" != "xno"
15172 then
15173 if ${CAPI20_CFLAGS:+false} :; then :
15174 if ${PKG_CONFIG+:} false; then :
15175 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15179 if ${CAPI20_LIBS:+false} :; then :
15180 if ${PKG_CONFIG+:} false; then :
15181 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15186 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15187 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15188 ac_save_CPPFLAGS=$CPPFLAGS
15189 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15190 for ac_header in capi20.h linux/capi.h
15191 do :
15192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15193 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15195 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15196 cat >>confdefs.h <<_ACEOF
15197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15198 _ACEOF
15202 done
15204 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15205 then
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15207 $as_echo_n "checking for -lcapi20... " >&6; }
15208 if ${ac_cv_lib_soname_capi20+:} false; then :
15209 $as_echo_n "(cached) " >&6
15210 else
15211 ac_check_soname_save_LIBS=$LIBS
15212 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15216 /* Override any GCC internal prototype to avoid an error.
15217 Use char because int might match the return type of a GCC
15218 builtin and then its argument prototype would still apply. */
15219 #ifdef __cplusplus
15220 extern "C"
15221 #endif
15222 char capi20_register ();
15224 main ()
15226 return capi20_register ();
15228 return 0;
15230 _ACEOF
15231 if ac_fn_c_try_link "$LINENO"; then :
15232 case "$LIBEXT" in
15233 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15234 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'` ;;
15235 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15236 if ${ac_cv_lib_soname_capi20:+false} :; then :
15237 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15238 fi ;;
15239 esac
15240 else
15241 ac_cv_lib_soname_capi20=
15243 rm -f core conftest.err conftest.$ac_objext \
15244 conftest$ac_exeext conftest.$ac_ext
15245 LIBS=$ac_check_soname_save_LIBS
15247 if ${ac_cv_lib_soname_capi20:+false} :; then :
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15249 $as_echo "not found" >&6; }
15251 else
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15253 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15255 cat >>confdefs.h <<_ACEOF
15256 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15257 _ACEOF
15262 CPPFLAGS=$ac_save_CPPFLAGS
15265 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15266 case "x$with_capi" in
15267 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15268 xno) ;;
15269 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15270 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15271 esac
15275 if test "x$with_cups" != "xno"
15276 then
15277 if ${CUPS_CFLAGS:+false} :; then :
15278 if ${PKG_CONFIG+:} false; then :
15279 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15282 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15283 if ${CUPS_LIBS:+false} :; then :
15284 if ${PKG_CONFIG+:} false; then :
15285 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15288 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15289 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15290 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15291 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15292 ac_save_CPPFLAGS=$CPPFLAGS
15293 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15294 for ac_header in cups/cups.h cups/ppd.h
15295 do :
15296 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15297 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15298 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15299 cat >>confdefs.h <<_ACEOF
15300 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15301 _ACEOF
15305 done
15307 if test "$ac_cv_header_cups_cups_h" = "yes"
15308 then
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15310 $as_echo_n "checking for -lcups... " >&6; }
15311 if ${ac_cv_lib_soname_cups+:} false; then :
15312 $as_echo_n "(cached) " >&6
15313 else
15314 ac_check_soname_save_LIBS=$LIBS
15315 LIBS="-lcups $CUPS_LIBS $LIBS"
15316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15317 /* end confdefs.h. */
15319 /* Override any GCC internal prototype to avoid an error.
15320 Use char because int might match the return type of a GCC
15321 builtin and then its argument prototype would still apply. */
15322 #ifdef __cplusplus
15323 extern "C"
15324 #endif
15325 char cupsGetDefault ();
15327 main ()
15329 return cupsGetDefault ();
15331 return 0;
15333 _ACEOF
15334 if ac_fn_c_try_link "$LINENO"; then :
15335 case "$LIBEXT" in
15336 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15337 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'` ;;
15338 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15339 if ${ac_cv_lib_soname_cups:+false} :; then :
15340 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15341 fi ;;
15342 esac
15343 else
15344 ac_cv_lib_soname_cups=
15346 rm -f core conftest.err conftest.$ac_objext \
15347 conftest$ac_exeext conftest.$ac_ext
15348 LIBS=$ac_check_soname_save_LIBS
15350 if ${ac_cv_lib_soname_cups:+false} :; then :
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15352 $as_echo "not found" >&6; }
15353 CUPS_LIBS=""
15354 else
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15356 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15358 cat >>confdefs.h <<_ACEOF
15359 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15360 _ACEOF
15364 else
15365 CUPS_CFLAGS=""
15366 CUPS_LIBS=""
15368 CPPFLAGS=$ac_save_CPPFLAGS
15371 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15372 case "x$with_cups" in
15373 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15374 xno) ;;
15375 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15376 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15377 esac
15381 if test "x$with_fontconfig" != "xno"
15382 then
15383 if ${FONTCONFIG_CFLAGS:+false} :; then :
15384 if ${PKG_CONFIG+:} false; then :
15385 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15388 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15389 if ${FONTCONFIG_LIBS:+false} :; then :
15390 if ${PKG_CONFIG+:} false; then :
15391 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15394 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15396 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15397 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15398 ac_save_CPPFLAGS=$CPPFLAGS
15399 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15400 for ac_header in fontconfig/fontconfig.h
15401 do :
15402 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15403 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15404 cat >>confdefs.h <<_ACEOF
15405 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15406 _ACEOF
15410 done
15412 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15413 then
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15415 $as_echo_n "checking for -lfontconfig... " >&6; }
15416 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15417 $as_echo_n "(cached) " >&6
15418 else
15419 ac_check_soname_save_LIBS=$LIBS
15420 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15422 /* end confdefs.h. */
15424 /* Override any GCC internal prototype to avoid an error.
15425 Use char because int might match the return type of a GCC
15426 builtin and then its argument prototype would still apply. */
15427 #ifdef __cplusplus
15428 extern "C"
15429 #endif
15430 char FcInit ();
15432 main ()
15434 return FcInit ();
15436 return 0;
15438 _ACEOF
15439 if ac_fn_c_try_link "$LINENO"; then :
15440 case "$LIBEXT" in
15441 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15442 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'` ;;
15443 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15444 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15445 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15446 fi ;;
15447 esac
15448 else
15449 ac_cv_lib_soname_fontconfig=
15451 rm -f core conftest.err conftest.$ac_objext \
15452 conftest$ac_exeext conftest.$ac_ext
15453 LIBS=$ac_check_soname_save_LIBS
15455 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15457 $as_echo "not found" >&6; }
15458 FONTCONFIG_CFLAGS=""
15459 else
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15461 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15463 cat >>confdefs.h <<_ACEOF
15464 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15465 _ACEOF
15469 else
15470 FONTCONFIG_CFLAGS=""
15472 CPPFLAGS=$ac_save_CPPFLAGS
15475 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15476 case "x$with_fontconfig" in
15477 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15478 xno) ;;
15479 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15480 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15481 esac
15485 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15486 then
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15488 $as_echo_n "checking for -lgsm... " >&6; }
15489 if ${ac_cv_lib_soname_gsm+:} false; then :
15490 $as_echo_n "(cached) " >&6
15491 else
15492 ac_check_soname_save_LIBS=$LIBS
15493 LIBS="-lgsm $LIBS"
15494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15497 /* Override any GCC internal prototype to avoid an error.
15498 Use char because int might match the return type of a GCC
15499 builtin and then its argument prototype would still apply. */
15500 #ifdef __cplusplus
15501 extern "C"
15502 #endif
15503 char gsm_create ();
15505 main ()
15507 return gsm_create ();
15509 return 0;
15511 _ACEOF
15512 if ac_fn_c_try_link "$LINENO"; then :
15513 case "$LIBEXT" in
15514 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15515 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'` ;;
15516 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15517 if ${ac_cv_lib_soname_gsm:+false} :; then :
15518 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15519 fi ;;
15520 esac
15521 else
15522 ac_cv_lib_soname_gsm=
15524 rm -f core conftest.err conftest.$ac_objext \
15525 conftest$ac_exeext conftest.$ac_ext
15526 LIBS=$ac_check_soname_save_LIBS
15528 if ${ac_cv_lib_soname_gsm:+false} :; then :
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15530 $as_echo "not found" >&6; }
15532 else
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15534 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15536 cat >>confdefs.h <<_ACEOF
15537 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15538 _ACEOF
15543 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15544 case "x$with_gsm" in
15545 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15546 xno) ;;
15547 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15548 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15549 esac
15553 if test "x$with_krb5" != "xno"
15554 then
15555 if ${KRB5_CFLAGS:+false} :; then :
15556 if ${PKG_CONFIG+:} false; then :
15557 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15560 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15561 if ${KRB5_LIBS:+false} :; then :
15562 if ${PKG_CONFIG+:} false; then :
15563 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15566 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15568 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15569 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15570 ac_save_CPPFLAGS=$CPPFLAGS
15571 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15572 for ac_header in krb5/krb5.h
15573 do :
15574 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15575 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15576 cat >>confdefs.h <<_ACEOF
15577 #define HAVE_KRB5_KRB5_H 1
15578 _ACEOF
15582 done
15584 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15585 then
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15587 $as_echo_n "checking for -lkrb5... " >&6; }
15588 if ${ac_cv_lib_soname_krb5+:} false; then :
15589 $as_echo_n "(cached) " >&6
15590 else
15591 ac_check_soname_save_LIBS=$LIBS
15592 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15596 /* Override any GCC internal prototype to avoid an error.
15597 Use char because int might match the return type of a GCC
15598 builtin and then its argument prototype would still apply. */
15599 #ifdef __cplusplus
15600 extern "C"
15601 #endif
15602 char krb5_is_config_principal ();
15604 main ()
15606 return krb5_is_config_principal ();
15608 return 0;
15610 _ACEOF
15611 if ac_fn_c_try_link "$LINENO"; then :
15612 case "$LIBEXT" in
15613 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15614 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'` ;;
15615 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15616 if ${ac_cv_lib_soname_krb5:+false} :; then :
15617 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15618 fi ;;
15619 esac
15620 else
15621 ac_cv_lib_soname_krb5=
15623 rm -f core conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext conftest.$ac_ext
15625 LIBS=$ac_check_soname_save_LIBS
15627 if ${ac_cv_lib_soname_krb5:+false} :; then :
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15629 $as_echo "not found" >&6; }
15630 KRB5_CFLAGS=""
15631 else
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15633 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15635 cat >>confdefs.h <<_ACEOF
15636 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15637 _ACEOF
15641 else
15642 KRB5_CFLAGS=""
15644 CPPFLAGS=$ac_save_CPPFLAGS
15647 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15648 case "x$with_krb5" in
15649 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15650 xno) ;;
15651 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15652 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15653 esac
15656 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15658 if test "x$with_gssapi" != "xno"
15659 then
15660 if ${GSSAPI_CFLAGS:+false} :; then :
15661 if ${PKG_CONFIG+:} false; then :
15662 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15665 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15666 if ${GSSAPI_LIBS:+false} :; then :
15667 if ${PKG_CONFIG+:} false; then :
15668 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15671 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15673 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15674 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15675 ac_save_CPPFLAGS=$CPPFLAGS
15676 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15677 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15678 do :
15679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15680 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15682 cat >>confdefs.h <<_ACEOF
15683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15684 _ACEOF
15688 done
15690 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15691 then
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15693 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15694 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15695 $as_echo_n "(cached) " >&6
15696 else
15697 ac_check_soname_save_LIBS=$LIBS
15698 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15705 #ifdef __cplusplus
15706 extern "C"
15707 #endif
15708 char gss_init_sec_context ();
15710 main ()
15712 return gss_init_sec_context ();
15714 return 0;
15716 _ACEOF
15717 if ac_fn_c_try_link "$LINENO"; then :
15718 case "$LIBEXT" in
15719 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15720 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'` ;;
15721 *) 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'`
15722 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15723 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15724 fi ;;
15725 esac
15726 else
15727 ac_cv_lib_soname_gssapi_krb5=
15729 rm -f core conftest.err conftest.$ac_objext \
15730 conftest$ac_exeext conftest.$ac_ext
15731 LIBS=$ac_check_soname_save_LIBS
15733 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15735 $as_echo "not found" >&6; }
15736 GSSAPI_CFLAGS=""
15737 else
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15739 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15741 cat >>confdefs.h <<_ACEOF
15742 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15743 _ACEOF
15747 else
15748 GSSAPI_CFLAGS=""
15750 CPPFLAGS=$ac_save_CPPFLAGS
15753 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15754 case "x$with_gssapi" in
15755 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15756 xno) ;;
15757 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15758 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15759 esac
15763 if test "x$with_jpeg" != "xno"
15764 then
15765 if ${JPEG_CFLAGS:+false} :; then :
15766 if ${PKG_CONFIG+:} false; then :
15767 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15771 if ${JPEG_LIBS:+false} :; then :
15772 if ${PKG_CONFIG+:} false; then :
15773 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15778 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15779 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15780 ac_save_CPPFLAGS=$CPPFLAGS
15781 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15782 for ac_header in jpeglib.h
15783 do :
15784 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15785 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15786 cat >>confdefs.h <<_ACEOF
15787 #define HAVE_JPEGLIB_H 1
15788 _ACEOF
15792 done
15794 if test "$ac_cv_header_jpeglib_h" = "yes"
15795 then
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15797 $as_echo_n "checking for -ljpeg... " >&6; }
15798 if ${ac_cv_lib_soname_jpeg+:} false; then :
15799 $as_echo_n "(cached) " >&6
15800 else
15801 ac_check_soname_save_LIBS=$LIBS
15802 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15806 /* Override any GCC internal prototype to avoid an error.
15807 Use char because int might match the return type of a GCC
15808 builtin and then its argument prototype would still apply. */
15809 #ifdef __cplusplus
15810 extern "C"
15811 #endif
15812 char jpeg_start_decompress ();
15814 main ()
15816 return jpeg_start_decompress ();
15818 return 0;
15820 _ACEOF
15821 if ac_fn_c_try_link "$LINENO"; then :
15822 case "$LIBEXT" in
15823 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15824 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'` ;;
15825 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15826 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15827 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15828 fi ;;
15829 esac
15830 else
15831 ac_cv_lib_soname_jpeg=
15833 rm -f core conftest.err conftest.$ac_objext \
15834 conftest$ac_exeext conftest.$ac_ext
15835 LIBS=$ac_check_soname_save_LIBS
15837 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15839 $as_echo "not found" >&6; }
15840 JPEG_CFLAGS=""
15841 else
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15843 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15845 cat >>confdefs.h <<_ACEOF
15846 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15847 _ACEOF
15851 else
15852 JPEG_CFLAGS=""
15854 CPPFLAGS=$ac_save_CPPFLAGS
15857 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15858 case "x$with_jpeg" in
15859 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15860 xno) ;;
15861 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15862 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15863 esac
15867 if test "x$with_png" != "xno"
15868 then
15869 if ${PNG_CFLAGS:+false} :; then :
15870 if ${PKG_CONFIG+:} false; then :
15871 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15874 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15875 if ${PNG_LIBS:+false} :; then :
15876 if ${PKG_CONFIG+:} false; then :
15877 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15880 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15882 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15883 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15884 ac_save_CPPFLAGS=$CPPFLAGS
15885 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15886 for ac_header in png.h
15887 do :
15888 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15889 if test "x$ac_cv_header_png_h" = xyes; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define HAVE_PNG_H 1
15892 _ACEOF
15896 done
15898 if test "$ac_cv_header_png_h" = "yes"
15899 then
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15901 $as_echo_n "checking for -lpng... " >&6; }
15902 if ${ac_cv_lib_soname_png+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 ac_check_soname_save_LIBS=$LIBS
15906 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15913 #ifdef __cplusplus
15914 extern "C"
15915 #endif
15916 char png_create_read_struct ();
15918 main ()
15920 return png_create_read_struct ();
15922 return 0;
15924 _ACEOF
15925 if ac_fn_c_try_link "$LINENO"; then :
15926 case "$LIBEXT" in
15927 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15928 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'` ;;
15929 *) 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'`
15930 if ${ac_cv_lib_soname_png:+false} :; then :
15931 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15932 fi ;;
15933 esac
15934 else
15935 ac_cv_lib_soname_png=
15937 rm -f core conftest.err conftest.$ac_objext \
15938 conftest$ac_exeext conftest.$ac_ext
15939 LIBS=$ac_check_soname_save_LIBS
15941 if ${ac_cv_lib_soname_png:+false} :; then :
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15943 $as_echo "not found" >&6; }
15944 PNG_CFLAGS=""
15945 else
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15947 $as_echo "$ac_cv_lib_soname_png" >&6; }
15949 cat >>confdefs.h <<_ACEOF
15950 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15951 _ACEOF
15955 else
15956 PNG_CFLAGS=""
15958 CPPFLAGS=$ac_save_CPPFLAGS
15961 if test "x$ac_cv_lib_soname_png" = "x"; then :
15962 case "x$with_png" in
15963 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15964 xno) ;;
15965 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15966 This is an error since --with-png was requested." "$LINENO" 5 ;;
15967 esac
15971 if test "x$with_tiff" != "xno"
15972 then
15973 if ${TIFF_CFLAGS:+false} :; then :
15974 if ${PKG_CONFIG+:} false; then :
15975 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15979 if ${TIFF_LIBS:+false} :; then :
15980 if ${PKG_CONFIG+:} false; then :
15981 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15986 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15987 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15988 ac_save_CPPFLAGS=$CPPFLAGS
15989 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15990 for ac_header in tiffio.h
15991 do :
15992 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15993 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_TIFFIO_H 1
15996 _ACEOF
16000 done
16002 if test "$ac_cv_header_tiffio_h" = "yes"
16003 then
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16005 $as_echo_n "checking for -ltiff... " >&6; }
16006 if ${ac_cv_lib_soname_tiff+:} false; then :
16007 $as_echo_n "(cached) " >&6
16008 else
16009 ac_check_soname_save_LIBS=$LIBS
16010 LIBS="-ltiff $TIFF_LIBS $LIBS"
16011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16012 /* end confdefs.h. */
16014 /* Override any GCC internal prototype to avoid an error.
16015 Use char because int might match the return type of a GCC
16016 builtin and then its argument prototype would still apply. */
16017 #ifdef __cplusplus
16018 extern "C"
16019 #endif
16020 char TIFFClientOpen ();
16022 main ()
16024 return TIFFClientOpen ();
16026 return 0;
16028 _ACEOF
16029 if ac_fn_c_try_link "$LINENO"; then :
16030 case "$LIBEXT" in
16031 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16032 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'` ;;
16033 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16034 if ${ac_cv_lib_soname_tiff:+false} :; then :
16035 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16036 fi ;;
16037 esac
16038 else
16039 ac_cv_lib_soname_tiff=
16041 rm -f core conftest.err conftest.$ac_objext \
16042 conftest$ac_exeext conftest.$ac_ext
16043 LIBS=$ac_check_soname_save_LIBS
16045 if ${ac_cv_lib_soname_tiff:+false} :; then :
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16047 $as_echo "not found" >&6; }
16049 else
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16051 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16053 cat >>confdefs.h <<_ACEOF
16054 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16055 _ACEOF
16060 CPPFLAGS=$ac_save_CPPFLAGS
16063 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16064 case "x$with_tiff" in
16065 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16066 xno) ;;
16067 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16068 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16069 esac
16073 if test "x$with_mpg123" != "xno"
16074 then
16075 if ${MPG123_CFLAGS:+false} :; then :
16076 if ${PKG_CONFIG+:} false; then :
16077 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16081 if ${MPG123_LIBS:+false} :; then :
16082 if ${PKG_CONFIG+:} false; then :
16083 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16087 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16088 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16089 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16090 ac_save_CPPFLAGS=$CPPFLAGS
16091 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16092 for ac_header in mpg123.h
16093 do :
16094 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16095 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16096 cat >>confdefs.h <<_ACEOF
16097 #define HAVE_MPG123_H 1
16098 _ACEOF
16102 done
16104 if test "$ac_cv_header_mpg123_h" = "yes"
16105 then
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16107 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16108 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16109 $as_echo_n "(cached) " >&6
16110 else
16111 ac_check_lib_save_LIBS=$LIBS
16112 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16114 /* end confdefs.h. */
16116 /* Override any GCC internal prototype to avoid an error.
16117 Use char because int might match the return type of a GCC
16118 builtin and then its argument prototype would still apply. */
16119 #ifdef __cplusplus
16120 extern "C"
16121 #endif
16122 char mpg123_feed ();
16124 main ()
16126 return mpg123_feed ();
16128 return 0;
16130 _ACEOF
16131 if ac_fn_c_try_link "$LINENO"; then :
16132 ac_cv_lib_mpg123_mpg123_feed=yes
16133 else
16134 ac_cv_lib_mpg123_mpg123_feed=no
16136 rm -f core conftest.err conftest.$ac_objext \
16137 conftest$ac_exeext conftest.$ac_ext
16138 LIBS=$ac_check_lib_save_LIBS
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16141 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16142 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16144 else
16145 MPG123_LIBS=""
16148 else
16149 MPG123_CFLAGS=""
16150 MPG123_LIBS=""
16152 CPPFLAGS=$ac_save_CPPFLAGS
16155 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16156 case "x$with_mpg123" in
16157 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16158 xno) ;;
16159 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16160 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16161 esac
16162 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16164 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16166 if test "$ac_cv_header_AL_al_h" = "yes"
16167 then
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16169 $as_echo_n "checking for -lopenal... " >&6; }
16170 if ${ac_cv_lib_soname_openal+:} false; then :
16171 $as_echo_n "(cached) " >&6
16172 else
16173 ac_check_soname_save_LIBS=$LIBS
16174 LIBS="-lopenal $LIBS"
16175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16176 /* end confdefs.h. */
16178 /* Override any GCC internal prototype to avoid an error.
16179 Use char because int might match the return type of a GCC
16180 builtin and then its argument prototype would still apply. */
16181 #ifdef __cplusplus
16182 extern "C"
16183 #endif
16184 char alGetSource3i ();
16186 main ()
16188 return alGetSource3i ();
16190 return 0;
16192 _ACEOF
16193 if ac_fn_c_try_link "$LINENO"; then :
16194 case "$LIBEXT" in
16195 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16196 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'` ;;
16197 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16198 if ${ac_cv_lib_soname_openal:+false} :; then :
16199 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16200 fi ;;
16201 esac
16202 else
16203 ac_cv_lib_soname_openal=
16205 rm -f core conftest.err conftest.$ac_objext \
16206 conftest$ac_exeext conftest.$ac_ext
16207 LIBS=$ac_check_soname_save_LIBS
16209 if ${ac_cv_lib_soname_openal:+false} :; then :
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16211 $as_echo "not found" >&6; }
16213 else
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16215 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16217 cat >>confdefs.h <<_ACEOF
16218 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16219 _ACEOF
16221 OPENAL_LIBS="-lopenal"
16223 ac_cv_lib_openal=yes
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_OPENAL 1
16227 _ACEOF
16231 if test "x$ac_cv_lib_openal" != xyes; then :
16232 case "x$with_openal" in
16233 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16234 xno) ;;
16235 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16236 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16237 esac
16238 enable_openal32=${enable_openal32:-no}
16241 if test "x$ac_cv_lib_soname_FAudio" = "x"
16242 then
16243 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16244 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16245 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16246 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16247 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16248 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16249 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16250 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16251 enable_xactengine3_0=${enable_xactengine3_0:-no}
16252 enable_xactengine3_1=${enable_xactengine3_1:-no}
16253 enable_xactengine3_2=${enable_xactengine3_2:-no}
16254 enable_xactengine3_3=${enable_xactengine3_3:-no}
16255 enable_xactengine3_4=${enable_xactengine3_4:-no}
16256 enable_xactengine3_5=${enable_xactengine3_5:-no}
16257 enable_xactengine3_6=${enable_xactengine3_6:-no}
16258 enable_xactengine3_7=${enable_xactengine3_7:-no}
16259 enable_xapofx1_1=${enable_xapofx1_1:-no}
16260 enable_xapofx1_2=${enable_xapofx1_2:-no}
16261 enable_xapofx1_3=${enable_xapofx1_3:-no}
16262 enable_xapofx1_4=${enable_xapofx1_4:-no}
16263 enable_xapofx1_5=${enable_xapofx1_5:-no}
16264 enable_xaudio2_0=${enable_xaudio2_0:-no}
16265 enable_xaudio2_1=${enable_xaudio2_1:-no}
16266 enable_xaudio2_2=${enable_xaudio2_2:-no}
16267 enable_xaudio2_3=${enable_xaudio2_3:-no}
16268 enable_xaudio2_4=${enable_xaudio2_4:-no}
16269 enable_xaudio2_5=${enable_xaudio2_5:-no}
16270 enable_xaudio2_6=${enable_xaudio2_6:-no}
16271 enable_xaudio2_7=${enable_xaudio2_7:-no}
16272 enable_xaudio2_8=${enable_xaudio2_8:-no}
16273 enable_xaudio2_9=${enable_xaudio2_9:-no}
16276 if test "$ac_cv_header_kstat_h" = "yes"
16277 then
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16279 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16280 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16281 $as_echo_n "(cached) " >&6
16282 else
16283 ac_check_lib_save_LIBS=$LIBS
16284 LIBS="-lkstat $LIBS"
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16288 /* Override any GCC internal prototype to avoid an error.
16289 Use char because int might match the return type of a GCC
16290 builtin and then its argument prototype would still apply. */
16291 #ifdef __cplusplus
16292 extern "C"
16293 #endif
16294 char kstat_open ();
16296 main ()
16298 return kstat_open ();
16300 return 0;
16302 _ACEOF
16303 if ac_fn_c_try_link "$LINENO"; then :
16304 ac_cv_lib_kstat_kstat_open=yes
16305 else
16306 ac_cv_lib_kstat_kstat_open=no
16308 rm -f core conftest.err conftest.$ac_objext \
16309 conftest$ac_exeext conftest.$ac_ext
16310 LIBS=$ac_check_lib_save_LIBS
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16313 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16314 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16316 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16318 KSTAT_LIBS="-lkstat"
16324 if test "$ac_cv_header_libprocstat_h" = "yes"
16325 then
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16327 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16328 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16329 $as_echo_n "(cached) " >&6
16330 else
16331 ac_check_lib_save_LIBS=$LIBS
16332 LIBS="-lprocstat $LIBS"
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 #ifdef __cplusplus
16340 extern "C"
16341 #endif
16342 char procstat_open_sysctl ();
16344 main ()
16346 return procstat_open_sysctl ();
16348 return 0;
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"; then :
16352 ac_cv_lib_procstat_procstat_open_sysctl=yes
16353 else
16354 ac_cv_lib_procstat_procstat_open_sysctl=no
16356 rm -f core conftest.err conftest.$ac_objext \
16357 conftest$ac_exeext conftest.$ac_ext
16358 LIBS=$ac_check_lib_save_LIBS
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16361 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16362 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16364 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16366 PROCSTAT_LIBS="-lprocstat"
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16373 $as_echo_n "checking for -lodbc... " >&6; }
16374 if ${ac_cv_lib_soname_odbc+:} false; then :
16375 $as_echo_n "(cached) " >&6
16376 else
16377 ac_check_soname_save_LIBS=$LIBS
16378 LIBS="-lodbc $LIBS"
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16385 #ifdef __cplusplus
16386 extern "C"
16387 #endif
16388 char SQLConnect ();
16390 main ()
16392 return SQLConnect ();
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_link "$LINENO"; then :
16398 case "$LIBEXT" in
16399 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16400 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'` ;;
16401 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16402 if ${ac_cv_lib_soname_odbc:+false} :; then :
16403 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16404 fi ;;
16405 esac
16406 else
16407 ac_cv_lib_soname_odbc=
16409 rm -f core conftest.err conftest.$ac_objext \
16410 conftest$ac_exeext conftest.$ac_ext
16411 LIBS=$ac_check_soname_save_LIBS
16413 if ${ac_cv_lib_soname_odbc:+false} :; then :
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16415 $as_echo "not found" >&6; }
16416 cat >>confdefs.h <<_ACEOF
16417 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16418 _ACEOF
16420 else
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16422 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16424 cat >>confdefs.h <<_ACEOF
16425 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16426 _ACEOF
16431 if test "x$with_netapi" != "xno"
16432 then
16433 if ${NETAPI_CFLAGS:+false} :; then :
16434 if ${PKG_CONFIG+:} false; then :
16435 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16439 if ${NETAPI_LIBS:+false} :; then :
16440 if ${PKG_CONFIG+:} false; then :
16441 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16446 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16447 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16448 ac_save_CPPFLAGS=$CPPFLAGS
16449 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16451 $as_echo_n "checking for -lnetapi... " >&6; }
16452 if ${ac_cv_lib_soname_netapi+:} false; then :
16453 $as_echo_n "(cached) " >&6
16454 else
16455 ac_check_soname_save_LIBS=$LIBS
16456 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16460 /* Override any GCC internal prototype to avoid an error.
16461 Use char because int might match the return type of a GCC
16462 builtin and then its argument prototype would still apply. */
16463 #ifdef __cplusplus
16464 extern "C"
16465 #endif
16466 char libnetapi_init ();
16468 main ()
16470 return libnetapi_init ();
16472 return 0;
16474 _ACEOF
16475 if ac_fn_c_try_link "$LINENO"; then :
16476 case "$LIBEXT" in
16477 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16478 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'` ;;
16479 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16480 if ${ac_cv_lib_soname_netapi:+false} :; then :
16481 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16482 fi ;;
16483 esac
16484 else
16485 ac_cv_lib_soname_netapi=
16487 rm -f core conftest.err conftest.$ac_objext \
16488 conftest$ac_exeext conftest.$ac_ext
16489 LIBS=$ac_check_soname_save_LIBS
16491 if ${ac_cv_lib_soname_netapi:+false} :; then :
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16493 $as_echo "not found" >&6; }
16494 cat >>confdefs.h <<_ACEOF
16495 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16496 _ACEOF
16498 else
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16500 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16502 cat >>confdefs.h <<_ACEOF
16503 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16504 _ACEOF
16508 CPPFLAGS=$ac_save_CPPFLAGS
16512 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16513 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16514 then
16515 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16518 if test "x$with_vulkan" != "xno"
16519 then
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16521 $as_echo_n "checking for -lvulkan... " >&6; }
16522 if ${ac_cv_lib_soname_vulkan+:} false; then :
16523 $as_echo_n "(cached) " >&6
16524 else
16525 ac_check_soname_save_LIBS=$LIBS
16526 LIBS="-lvulkan $LIBS"
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16530 /* Override any GCC internal prototype to avoid an error.
16531 Use char because int might match the return type of a GCC
16532 builtin and then its argument prototype would still apply. */
16533 #ifdef __cplusplus
16534 extern "C"
16535 #endif
16536 char vkGetInstanceProcAddr ();
16538 main ()
16540 return vkGetInstanceProcAddr ();
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_link "$LINENO"; then :
16546 case "$LIBEXT" in
16547 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16548 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'` ;;
16549 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16550 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16551 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16552 fi ;;
16553 esac
16554 else
16555 ac_cv_lib_soname_vulkan=
16557 rm -f core conftest.err conftest.$ac_objext \
16558 conftest$ac_exeext conftest.$ac_ext
16559 LIBS=$ac_check_soname_save_LIBS
16561 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16563 $as_echo "not found" >&6; }
16565 else
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16567 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16569 cat >>confdefs.h <<_ACEOF
16570 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16571 _ACEOF
16575 if test "x$ac_cv_lib_soname_vulkan" = "x"
16576 then
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16578 $as_echo_n "checking for -lMoltenVK... " >&6; }
16579 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16580 $as_echo_n "(cached) " >&6
16581 else
16582 ac_check_soname_save_LIBS=$LIBS
16583 LIBS="-lMoltenVK $LIBS"
16584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16585 /* end confdefs.h. */
16587 /* Override any GCC internal prototype to avoid an error.
16588 Use char because int might match the return type of a GCC
16589 builtin and then its argument prototype would still apply. */
16590 #ifdef __cplusplus
16591 extern "C"
16592 #endif
16593 char vkGetInstanceProcAddr ();
16595 main ()
16597 return vkGetInstanceProcAddr ();
16599 return 0;
16601 _ACEOF
16602 if ac_fn_c_try_link "$LINENO"; then :
16603 case "$LIBEXT" in
16604 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16605 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'` ;;
16606 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16607 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16608 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16609 fi ;;
16610 esac
16611 else
16612 ac_cv_lib_soname_MoltenVK=
16614 rm -f core conftest.err conftest.$ac_objext \
16615 conftest$ac_exeext conftest.$ac_ext
16616 LIBS=$ac_check_soname_save_LIBS
16618 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16620 $as_echo "not found" >&6; }
16622 else
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16624 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16626 cat >>confdefs.h <<_ACEOF
16627 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16628 _ACEOF
16634 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16635 case "x$with_vulkan" in
16636 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16637 xno) ;;
16638 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16639 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16640 esac
16644 if test "x$with_vkd3d" != "xno"
16645 then
16646 if ${VKD3D_CFLAGS:+false} :; then :
16647 if ${PKG_CONFIG+:} false; then :
16648 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16652 if ${VKD3D_LIBS:+false} :; then :
16653 if ${PKG_CONFIG+:} false; then :
16654 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16659 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16660 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16661 ac_save_CPPFLAGS=$CPPFLAGS
16662 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16664 $as_echo_n "checking for -lvkd3d... " >&6; }
16665 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16666 $as_echo_n "(cached) " >&6
16667 else
16668 ac_check_soname_save_LIBS=$LIBS
16669 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16673 /* Override any GCC internal prototype to avoid an error.
16674 Use char because int might match the return type of a GCC
16675 builtin and then its argument prototype would still apply. */
16676 #ifdef __cplusplus
16677 extern "C"
16678 #endif
16679 char vkd3d_get_dxgi_format ();
16681 main ()
16683 return vkd3d_get_dxgi_format ();
16685 return 0;
16687 _ACEOF
16688 if ac_fn_c_try_link "$LINENO"; then :
16689 case "$LIBEXT" in
16690 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16691 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'` ;;
16692 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16693 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16694 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16695 fi ;;
16696 esac
16697 else
16698 ac_cv_lib_soname_vkd3d=
16700 rm -f core conftest.err conftest.$ac_objext \
16701 conftest$ac_exeext conftest.$ac_ext
16702 LIBS=$ac_check_soname_save_LIBS
16704 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16706 $as_echo "not found" >&6; }
16708 else
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16710 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16712 cat >>confdefs.h <<_ACEOF
16713 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16714 _ACEOF
16718 CPPFLAGS=$ac_save_CPPFLAGS
16720 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16721 if ${PKG_CONFIG+:} false; then :
16722 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16726 if ${VKD3D_SHADER_LIBS:+false} :; then :
16727 if ${PKG_CONFIG+:} false; then :
16728 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16733 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16734 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16735 ac_save_CPPFLAGS=$CPPFLAGS
16736 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16738 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16739 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16740 $as_echo_n "(cached) " >&6
16741 else
16742 ac_check_soname_save_LIBS=$LIBS
16743 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16747 /* Override any GCC internal prototype to avoid an error.
16748 Use char because int might match the return type of a GCC
16749 builtin and then its argument prototype would still apply. */
16750 #ifdef __cplusplus
16751 extern "C"
16752 #endif
16753 char vkd3d_shader_compile ();
16755 main ()
16757 return vkd3d_shader_compile ();
16759 return 0;
16761 _ACEOF
16762 if ac_fn_c_try_link "$LINENO"; then :
16763 case "$LIBEXT" in
16764 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16765 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'` ;;
16766 *) 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'`
16767 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16768 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16769 fi ;;
16770 esac
16771 else
16772 ac_cv_lib_soname_vkd3d_shader=
16774 rm -f core conftest.err conftest.$ac_objext \
16775 conftest$ac_exeext conftest.$ac_ext
16776 LIBS=$ac_check_soname_save_LIBS
16778 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16780 $as_echo "not found" >&6; }
16782 else
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16784 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16786 cat >>confdefs.h <<_ACEOF
16787 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16788 _ACEOF
16792 CPPFLAGS=$ac_save_CPPFLAGS
16795 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16796 case "x$with_vkd3d" in
16797 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16798 xno) ;;
16799 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16800 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16801 esac
16804 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16807 EXTRACFLAGS=""
16809 if test "x${GCC}" = "xyes"
16810 then
16811 EXTRACFLAGS="-Wall -pipe"
16813 saved_CFLAGS=$CFLAGS
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16815 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16816 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16817 $as_echo_n "(cached) " >&6
16818 else
16819 ac_wine_try_cflags_saved=$CFLAGS
16820 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16823 int main(int argc, char **argv) { return 0; }
16824 _ACEOF
16825 if ac_fn_c_try_link "$LINENO"; then :
16826 ac_cv_cflags__Werror_unknown_warning_option=yes
16827 else
16828 ac_cv_cflags__Werror_unknown_warning_option=no
16830 rm -f core conftest.err conftest.$ac_objext \
16831 conftest$ac_exeext conftest.$ac_ext
16832 CFLAGS=$ac_wine_try_cflags_saved
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16835 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16836 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16837 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16840 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16841 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16842 $as_echo_n "(cached) " >&6
16843 else
16844 ac_wine_try_cflags_saved=$CFLAGS
16845 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16847 /* end confdefs.h. */
16848 int main(int argc, char **argv) { return 0; }
16849 _ACEOF
16850 if ac_fn_c_try_link "$LINENO"; then :
16851 ac_cv_cflags__Werror_unused_command_line_argument=yes
16852 else
16853 ac_cv_cflags__Werror_unused_command_line_argument=no
16855 rm -f core conftest.err conftest.$ac_objext \
16856 conftest$ac_exeext conftest.$ac_ext
16857 CFLAGS=$ac_wine_try_cflags_saved
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16860 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16861 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16862 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16865 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16866 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16869 ac_wine_try_cflags_saved=$CFLAGS
16870 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 int main(int argc, char **argv) { return 0; }
16874 _ACEOF
16875 if ac_fn_c_try_link "$LINENO"; then :
16876 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16877 else
16878 ac_cv_cflags__Werror_ignored_optimization_argument=no
16880 rm -f core conftest.err conftest.$ac_objext \
16881 conftest$ac_exeext conftest.$ac_ext
16882 CFLAGS=$ac_wine_try_cflags_saved
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16885 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16886 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16887 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16890 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16891 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16892 $as_echo_n "(cached) " >&6
16893 else
16894 ac_wine_try_cflags_saved=$CFLAGS
16895 CFLAGS="$CFLAGS -fcf-protection=none"
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16898 int main(int argc, char **argv) { return 0; }
16899 _ACEOF
16900 if ac_fn_c_try_link "$LINENO"; then :
16901 ac_cv_cflags__fcf_protection_none=yes
16902 else
16903 ac_cv_cflags__fcf_protection_none=no
16905 rm -f core conftest.err conftest.$ac_objext \
16906 conftest$ac_exeext conftest.$ac_ext
16907 CFLAGS=$ac_wine_try_cflags_saved
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16910 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16911 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16912 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16915 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16916 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16917 $as_echo_n "(cached) " >&6
16918 else
16919 ac_wine_try_cflags_saved=$CFLAGS
16920 CFLAGS="$CFLAGS -fno-stack-protector"
16921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16922 /* end confdefs.h. */
16923 int main(int argc, char **argv) { return 0; }
16924 _ACEOF
16925 if ac_fn_c_try_link "$LINENO"; then :
16926 ac_cv_cflags__fno_stack_protector=yes
16927 else
16928 ac_cv_cflags__fno_stack_protector=no
16930 rm -f core conftest.err conftest.$ac_objext \
16931 conftest$ac_exeext conftest.$ac_ext
16932 CFLAGS=$ac_wine_try_cflags_saved
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16935 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16936 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16937 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16940 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16941 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16942 $as_echo_n "(cached) " >&6
16943 else
16944 ac_wine_try_cflags_saved=$CFLAGS
16945 CFLAGS="$CFLAGS -fno-strict-aliasing"
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16948 int main(int argc, char **argv) { return 0; }
16949 _ACEOF
16950 if ac_fn_c_try_link "$LINENO"; then :
16951 ac_cv_cflags__fno_strict_aliasing=yes
16952 else
16953 ac_cv_cflags__fno_strict_aliasing=no
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext conftest.$ac_ext
16957 CFLAGS=$ac_wine_try_cflags_saved
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16960 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16961 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16962 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16965 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16966 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16967 $as_echo_n "(cached) " >&6
16968 else
16969 ac_wine_try_cflags_saved=$CFLAGS
16970 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 int main(int argc, char **argv) { return 0; }
16974 _ACEOF
16975 if ac_fn_c_try_link "$LINENO"; then :
16976 ac_cv_cflags__Wdeclaration_after_statement=yes
16977 else
16978 ac_cv_cflags__Wdeclaration_after_statement=no
16980 rm -f core conftest.err conftest.$ac_objext \
16981 conftest$ac_exeext conftest.$ac_ext
16982 CFLAGS=$ac_wine_try_cflags_saved
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16985 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16986 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16987 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16990 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16991 if ${ac_cv_cflags__Wempty_body+:} false; then :
16992 $as_echo_n "(cached) " >&6
16993 else
16994 ac_wine_try_cflags_saved=$CFLAGS
16995 CFLAGS="$CFLAGS -Wempty-body"
16996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16998 int main(int argc, char **argv) { return 0; }
16999 _ACEOF
17000 if ac_fn_c_try_link "$LINENO"; then :
17001 ac_cv_cflags__Wempty_body=yes
17002 else
17003 ac_cv_cflags__Wempty_body=no
17005 rm -f core conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17007 CFLAGS=$ac_wine_try_cflags_saved
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17010 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17011 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17012 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17015 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17016 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17017 $as_echo_n "(cached) " >&6
17018 else
17019 ac_wine_try_cflags_saved=$CFLAGS
17020 CFLAGS="$CFLAGS -Wignored-qualifiers"
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 int main(int argc, char **argv) { return 0; }
17024 _ACEOF
17025 if ac_fn_c_try_link "$LINENO"; then :
17026 ac_cv_cflags__Wignored_qualifiers=yes
17027 else
17028 ac_cv_cflags__Wignored_qualifiers=no
17030 rm -f core conftest.err conftest.$ac_objext \
17031 conftest$ac_exeext conftest.$ac_ext
17032 CFLAGS=$ac_wine_try_cflags_saved
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17035 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17036 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17037 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17040 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17041 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17042 $as_echo_n "(cached) " >&6
17043 else
17044 ac_wine_try_cflags_saved=$CFLAGS
17045 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17048 int main(int argc, char **argv) { return 0; }
17049 _ACEOF
17050 if ac_fn_c_try_link "$LINENO"; then :
17051 ac_cv_cflags__Wpacked_not_aligned=yes
17052 else
17053 ac_cv_cflags__Wpacked_not_aligned=no
17055 rm -f core conftest.err conftest.$ac_objext \
17056 conftest$ac_exeext conftest.$ac_ext
17057 CFLAGS=$ac_wine_try_cflags_saved
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17060 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17061 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17062 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17065 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17066 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17067 $as_echo_n "(cached) " >&6
17068 else
17069 ac_wine_try_cflags_saved=$CFLAGS
17070 CFLAGS="$CFLAGS -Wpragma-pack"
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 int main(int argc, char **argv) { return 0; }
17074 _ACEOF
17075 if ac_fn_c_try_link "$LINENO"; then :
17076 ac_cv_cflags__Wpragma_pack=yes
17077 else
17078 ac_cv_cflags__Wpragma_pack=no
17080 rm -f core conftest.err conftest.$ac_objext \
17081 conftest$ac_exeext conftest.$ac_ext
17082 CFLAGS=$ac_wine_try_cflags_saved
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17085 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17086 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17087 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17090 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17091 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17092 $as_echo_n "(cached) " >&6
17093 else
17094 ac_wine_try_cflags_saved=$CFLAGS
17095 CFLAGS="$CFLAGS -Wshift-overflow=2"
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17098 int main(int argc, char **argv) { return 0; }
17099 _ACEOF
17100 if ac_fn_c_try_link "$LINENO"; then :
17101 ac_cv_cflags__Wshift_overflow_2=yes
17102 else
17103 ac_cv_cflags__Wshift_overflow_2=no
17105 rm -f core conftest.err conftest.$ac_objext \
17106 conftest$ac_exeext conftest.$ac_ext
17107 CFLAGS=$ac_wine_try_cflags_saved
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17110 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17111 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17112 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17115 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17116 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17117 $as_echo_n "(cached) " >&6
17118 else
17119 ac_wine_try_cflags_saved=$CFLAGS
17120 CFLAGS="$CFLAGS -Wstrict-prototypes"
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 int main(int argc, char **argv) { return 0; }
17124 _ACEOF
17125 if ac_fn_c_try_link "$LINENO"; then :
17126 ac_cv_cflags__Wstrict_prototypes=yes
17127 else
17128 ac_cv_cflags__Wstrict_prototypes=no
17130 rm -f core conftest.err conftest.$ac_objext \
17131 conftest$ac_exeext conftest.$ac_ext
17132 CFLAGS=$ac_wine_try_cflags_saved
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17135 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17136 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17137 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17140 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17141 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17142 $as_echo_n "(cached) " >&6
17143 else
17144 ac_wine_try_cflags_saved=$CFLAGS
17145 CFLAGS="$CFLAGS -Wtype-limits"
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17148 int main(int argc, char **argv) { return 0; }
17149 _ACEOF
17150 if ac_fn_c_try_link "$LINENO"; then :
17151 ac_cv_cflags__Wtype_limits=yes
17152 else
17153 ac_cv_cflags__Wtype_limits=no
17155 rm -f core conftest.err conftest.$ac_objext \
17156 conftest$ac_exeext conftest.$ac_ext
17157 CFLAGS=$ac_wine_try_cflags_saved
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17160 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17161 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17162 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17165 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17166 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17167 $as_echo_n "(cached) " >&6
17168 else
17169 ac_wine_try_cflags_saved=$CFLAGS
17170 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 int main(int argc, char **argv) { return 0; }
17174 _ACEOF
17175 if ac_fn_c_try_link "$LINENO"; then :
17176 ac_cv_cflags__Wunused_but_set_parameter=yes
17177 else
17178 ac_cv_cflags__Wunused_but_set_parameter=no
17180 rm -f core conftest.err conftest.$ac_objext \
17181 conftest$ac_exeext conftest.$ac_ext
17182 CFLAGS=$ac_wine_try_cflags_saved
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17185 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17186 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17187 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17190 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17191 if ${ac_cv_cflags__Wvla+:} false; then :
17192 $as_echo_n "(cached) " >&6
17193 else
17194 ac_wine_try_cflags_saved=$CFLAGS
17195 CFLAGS="$CFLAGS -Wvla"
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17198 int main(int argc, char **argv) { return 0; }
17199 _ACEOF
17200 if ac_fn_c_try_link "$LINENO"; then :
17201 ac_cv_cflags__Wvla=yes
17202 else
17203 ac_cv_cflags__Wvla=no
17205 rm -f core conftest.err conftest.$ac_objext \
17206 conftest$ac_exeext conftest.$ac_ext
17207 CFLAGS=$ac_wine_try_cflags_saved
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17210 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17211 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17212 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17215 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17216 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17217 $as_echo_n "(cached) " >&6
17218 else
17219 ac_wine_try_cflags_saved=$CFLAGS
17220 CFLAGS="$CFLAGS -Wwrite-strings"
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 int main(int argc, char **argv) { return 0; }
17224 _ACEOF
17225 if ac_fn_c_try_link "$LINENO"; then :
17226 ac_cv_cflags__Wwrite_strings=yes
17227 else
17228 ac_cv_cflags__Wwrite_strings=no
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17232 CFLAGS=$ac_wine_try_cflags_saved
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17235 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17236 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17237 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17240 if test -z "$CROSSTARGET"
17241 then
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17243 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17244 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17245 $as_echo_n "(cached) " >&6
17246 else
17247 ac_wine_try_cflags_saved=$CFLAGS
17248 CFLAGS="$CFLAGS -fexcess-precision=standard"
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 int main(int argc, char **argv) { return 0; }
17252 _ACEOF
17253 if ac_fn_c_try_link "$LINENO"; then :
17254 ac_cv_cflags__fexcess_precision_standard=yes
17255 else
17256 ac_cv_cflags__fexcess_precision_standard=no
17258 rm -f core conftest.err conftest.$ac_objext \
17259 conftest$ac_exeext conftest.$ac_ext
17260 CFLAGS=$ac_wine_try_cflags_saved
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17263 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17264 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17265 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17271 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17272 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 ac_wine_try_cflags_saved=$CFLAGS
17276 CFLAGS="$CFLAGS -Wpointer-arith"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 int main(int argc, char **argv) { return 0; }
17280 _ACEOF
17281 if ac_fn_c_try_link "$LINENO"; then :
17282 ac_cv_cflags__Wpointer_arith=yes
17283 else
17284 ac_cv_cflags__Wpointer_arith=no
17286 rm -f core conftest.err conftest.$ac_objext \
17287 conftest$ac_exeext conftest.$ac_ext
17288 CFLAGS=$ac_wine_try_cflags_saved
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17291 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17292 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17293 saved_string_h_CFLAGS=$CFLAGS
17294 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17296 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17297 if ${ac_cv_c_string_h_warnings+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h. */
17302 #include <string.h>
17304 main ()
17308 return 0;
17310 _ACEOF
17311 if ac_fn_c_try_compile "$LINENO"; then :
17312 ac_cv_c_string_h_warnings=no
17313 else
17314 ac_cv_c_string_h_warnings=yes
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17319 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17320 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17321 CFLAGS=$saved_string_h_CFLAGS
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17325 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17326 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 ac_wine_try_cflags_saved=$CFLAGS
17330 CFLAGS="$CFLAGS -Wlogical-op"
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 int main(int argc, char **argv) { return 0; }
17334 _ACEOF
17335 if ac_fn_c_try_link "$LINENO"; then :
17336 ac_cv_cflags__Wlogical_op=yes
17337 else
17338 ac_cv_cflags__Wlogical_op=no
17340 rm -f core conftest.err conftest.$ac_objext \
17341 conftest$ac_exeext conftest.$ac_ext
17342 CFLAGS=$ac_wine_try_cflags_saved
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17345 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17346 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17347 saved_string_h_CFLAGS=$CFLAGS
17348 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17350 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17351 if ${ac_cv_c_logicalop_noisy+:} false; then :
17352 $as_echo_n "(cached) " >&6
17353 else
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #include <string.h>
17357 char*f(const char *h,char n) {return strchr(h,n);}
17359 main ()
17363 return 0;
17365 _ACEOF
17366 if ac_fn_c_try_compile "$LINENO"; then :
17367 ac_cv_c_logicalop_noisy=no
17368 else
17369 ac_cv_c_logicalop_noisy=yes
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17374 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17375 CFLAGS=$saved_string_h_CFLAGS
17376 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17380 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17381 if ${wine_cv_64bit_compare_swap+:} false; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17387 #error no
17388 #endif
17390 main ()
17394 return 0;
17396 _ACEOF
17397 if ac_fn_c_try_compile "$LINENO"; then :
17398 wine_cv_64bit_compare_swap="none needed"
17399 else
17400 case $host_cpu in
17401 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17402 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17403 *) wine_cv_64bit_compare_swap="unknown" ;;
17404 esac
17405 if test "x$wine_cv_64bit_compare_swap" != xunknown
17406 then
17407 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17410 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17411 #error no
17412 #endif
17414 main ()
17418 return 0;
17420 _ACEOF
17421 if ac_fn_c_try_compile "$LINENO"; then :
17423 else
17424 wine_cv_64bit_compare_swap="unknown"
17426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17427 CFLAGS=$saved_CFLAGS
17430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17433 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17434 case "$wine_cv_64bit_compare_swap" in
17435 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17436 "none needed") ;;
17437 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17438 esac
17440 for ac_flag in $CFLAGS; do
17441 case $ac_flag in
17442 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17443 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17444 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 ac_wine_try_cflags_saved=$CFLAGS
17448 CFLAGS="$CFLAGS -gdwarf-2"
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 int main(int argc, char **argv) { return 0; }
17452 _ACEOF
17453 if ac_fn_c_try_link "$LINENO"; then :
17454 ac_cv_cflags__gdwarf_2=yes
17455 else
17456 ac_cv_cflags__gdwarf_2=no
17458 rm -f core conftest.err conftest.$ac_objext \
17459 conftest$ac_exeext conftest.$ac_ext
17460 CFLAGS=$ac_wine_try_cflags_saved
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17463 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17464 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17465 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17468 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17469 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17470 $as_echo_n "(cached) " >&6
17471 else
17472 ac_wine_try_cflags_saved=$CFLAGS
17473 CFLAGS="$CFLAGS -gstrict-dwarf"
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 int main(int argc, char **argv) { return 0; }
17477 _ACEOF
17478 if ac_fn_c_try_link "$LINENO"; then :
17479 ac_cv_cflags__gstrict_dwarf=yes
17480 else
17481 ac_cv_cflags__gstrict_dwarf=no
17483 rm -f core conftest.err conftest.$ac_objext \
17484 conftest$ac_exeext conftest.$ac_ext
17485 CFLAGS=$ac_wine_try_cflags_saved
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17488 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17489 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17490 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17491 fi ;;
17492 esac
17493 done
17495 MSVCRTFLAGS=""
17497 case $host_os in
17498 mingw32*) ;;
17499 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17500 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17501 if ${ac_cv_cflags__fno_builtin+:} false; then :
17502 $as_echo_n "(cached) " >&6
17503 else
17504 ac_wine_try_cflags_saved=$CFLAGS
17505 CFLAGS="$CFLAGS -fno-builtin"
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508 int main(int argc, char **argv) { return 0; }
17509 _ACEOF
17510 if ac_fn_c_try_link "$LINENO"; then :
17511 ac_cv_cflags__fno_builtin=yes
17512 else
17513 ac_cv_cflags__fno_builtin=no
17515 rm -f core conftest.err conftest.$ac_objext \
17516 conftest$ac_exeext conftest.$ac_ext
17517 CFLAGS=$ac_wine_try_cflags_saved
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17520 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17521 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17522 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17525 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17526 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17527 $as_echo_n "(cached) " >&6
17528 else
17529 ac_wine_try_cflags_saved=$CFLAGS
17530 CFLAGS="$CFLAGS -fshort-wchar"
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 int main(int argc, char **argv) { return 0; }
17534 _ACEOF
17535 if ac_fn_c_try_link "$LINENO"; then :
17536 ac_cv_cflags__fshort_wchar=yes
17537 else
17538 ac_cv_cflags__fshort_wchar=no
17540 rm -f core conftest.err conftest.$ac_objext \
17541 conftest$ac_exeext conftest.$ac_ext
17542 CFLAGS=$ac_wine_try_cflags_saved
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17545 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17546 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17547 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17548 fi ;;
17549 esac
17551 case $host_cpu in
17552 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17553 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17554 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17555 $as_echo_n "(cached) " >&6
17556 else
17557 ac_wine_try_cflags_saved=$CFLAGS
17558 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17561 int main(int argc, char **argv) { return 0; }
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"; then :
17564 ac_cv_cflags__fno_omit_frame_pointer=yes
17565 else
17566 ac_cv_cflags__fno_omit_frame_pointer=no
17568 rm -f core conftest.err conftest.$ac_objext \
17569 conftest$ac_exeext conftest.$ac_ext
17570 CFLAGS=$ac_wine_try_cflags_saved
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17573 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17574 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17575 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17576 fi ;;
17577 *x86_64*)
17578 case $host_os in
17579 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17580 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17581 if ${ac_cv_cflags__Wno_format+:} false; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584 ac_wine_try_cflags_saved=$CFLAGS
17585 CFLAGS="$CFLAGS -Wno-format"
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 int main(int argc, char **argv) { return 0; }
17589 _ACEOF
17590 if ac_fn_c_try_link "$LINENO"; then :
17591 ac_cv_cflags__Wno_format=yes
17592 else
17593 ac_cv_cflags__Wno_format=no
17595 rm -f core conftest.err conftest.$ac_objext \
17596 conftest$ac_exeext conftest.$ac_ext
17597 CFLAGS=$ac_wine_try_cflags_saved
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17600 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17601 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17602 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17603 fi ;;
17604 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17605 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17606 if ${ac_cv_cflags__mabi_ms+:} false; then :
17607 $as_echo_n "(cached) " >&6
17608 else
17609 ac_wine_try_cflags_saved=$CFLAGS
17610 CFLAGS="$CFLAGS -mabi=ms"
17611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h. */
17613 int main(int argc, char **argv) { return 0; }
17614 _ACEOF
17615 if ac_fn_c_try_link "$LINENO"; then :
17616 ac_cv_cflags__mabi_ms=yes
17617 else
17618 ac_cv_cflags__mabi_ms=no
17620 rm -f core conftest.err conftest.$ac_objext \
17621 conftest$ac_exeext conftest.$ac_ext
17622 CFLAGS=$ac_wine_try_cflags_saved
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17625 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17626 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17627 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17628 fi ;;
17629 esac ;;
17630 esac
17632 CFLAGS=$saved_CFLAGS
17634 if test "x$enable_werror" = "xyes"
17635 then
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17637 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17638 if ${ac_cv_cflags__Werror+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641 ac_wine_try_cflags_saved=$CFLAGS
17642 CFLAGS="$CFLAGS -Werror"
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 int main(int argc, char **argv) { return 0; }
17646 _ACEOF
17647 if ac_fn_c_try_link "$LINENO"; then :
17648 ac_cv_cflags__Werror=yes
17649 else
17650 ac_cv_cflags__Werror=no
17652 rm -f core conftest.err conftest.$ac_objext \
17653 conftest$ac_exeext conftest.$ac_ext
17654 CFLAGS=$ac_wine_try_cflags_saved
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17657 $as_echo "$ac_cv_cflags__Werror" >&6; }
17658 if test "x$ac_cv_cflags__Werror" = xyes; then :
17659 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17666 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17667 if ${ac_cv_c_fortify_enabled+:} false; then :
17668 $as_echo_n "(cached) " >&6
17669 else
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 #include <string.h>
17674 main ()
17676 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17677 #error Fortify enabled
17678 #endif
17680 return 0;
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 ac_cv_c_fortify_enabled=no
17685 else
17686 ac_cv_c_fortify_enabled=yes
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17691 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17692 if test "$ac_cv_c_fortify_enabled" = yes
17693 then
17694 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17699 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17700 if ${ac_cv_c_cfi_support+:} false; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17705 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17707 main ()
17711 return 0;
17713 _ACEOF
17714 if ac_fn_c_try_compile "$LINENO"; then :
17715 ac_cv_c_cfi_support="yes"
17716 else
17717 ac_cv_c_cfi_support="no"
17719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17722 $as_echo "$ac_cv_c_cfi_support" >&6; }
17723 if test "$ac_cv_c_cfi_support" = "yes"
17724 then
17725 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17726 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17727 else
17728 if test "x$enable_win64" = "xyes"
17729 then
17730 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17735 case $build_os in
17736 cygwin*|mingw32*) TOOLSEXT=".exe"
17738 esac
17740 case $host_os in
17741 linux*)
17742 case $host_cpu in
17743 *i[3456789]86*|x86_64*|*aarch64*)
17744 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17745 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17747 esac
17749 esac
17752 ac_save_CFLAGS="$CFLAGS"
17753 CFLAGS="$CFLAGS $BUILTINFLAG"
17754 for ac_func in \
17755 __res_get_state \
17756 __res_getservers \
17757 _spawnvp \
17758 epoll_create \
17759 fnmatch \
17760 fork \
17761 fstatfs \
17762 futimens \
17763 futimes \
17764 futimesat \
17765 getattrlist \
17766 getauxval \
17767 getifaddrs \
17768 getopt_long_only \
17769 getrandom \
17770 kqueue \
17771 lstat \
17772 mach_continuous_time \
17773 pipe2 \
17774 poll \
17775 port_create \
17776 prctl \
17777 pread \
17778 proc_pidinfo \
17779 pwrite \
17780 readlink \
17781 sched_yield \
17782 setproctitle \
17783 setprogname \
17784 sigprocmask \
17785 symlink \
17786 tcdrain \
17787 thr_kill2
17789 do :
17790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17793 cat >>confdefs.h <<_ACEOF
17794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17795 _ACEOF
17798 done
17800 CFLAGS="$ac_save_CFLAGS"
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17803 $as_echo_n "checking for library containing dlopen... " >&6; }
17804 if ${ac_cv_search_dlopen+:} false; then :
17805 $as_echo_n "(cached) " >&6
17806 else
17807 ac_func_search_save_LIBS=$LIBS
17808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17809 /* end confdefs.h. */
17811 /* Override any GCC internal prototype to avoid an error.
17812 Use char because int might match the return type of a GCC
17813 builtin and then its argument prototype would still apply. */
17814 #ifdef __cplusplus
17815 extern "C"
17816 #endif
17817 char dlopen ();
17819 main ()
17821 return dlopen ();
17823 return 0;
17825 _ACEOF
17826 for ac_lib in '' dl; do
17827 if test -z "$ac_lib"; then
17828 ac_res="none required"
17829 else
17830 ac_res=-l$ac_lib
17831 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17833 if ac_fn_c_try_link "$LINENO"; then :
17834 ac_cv_search_dlopen=$ac_res
17836 rm -f core conftest.err conftest.$ac_objext \
17837 conftest$ac_exeext
17838 if ${ac_cv_search_dlopen+:} false; then :
17839 break
17841 done
17842 if ${ac_cv_search_dlopen+:} false; then :
17844 else
17845 ac_cv_search_dlopen=no
17847 rm conftest.$ac_ext
17848 LIBS=$ac_func_search_save_LIBS
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17851 $as_echo "$ac_cv_search_dlopen" >&6; }
17852 ac_res=$ac_cv_search_dlopen
17853 if test "$ac_res" != no; then :
17854 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17858 ac_wine_check_funcs_save_LIBS="$LIBS"
17859 LIBS="$LIBS $DL_LIBS"
17860 for ac_func in dladdr dlinfo
17861 do :
17862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17865 cat >>confdefs.h <<_ACEOF
17866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17867 _ACEOF
17870 done
17872 LIBS="$ac_wine_check_funcs_save_LIBS"
17874 if test "$ac_cv_func_poll" = no
17875 then
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17877 $as_echo_n "checking for poll in -lpoll... " >&6; }
17878 if ${ac_cv_lib_poll_poll+:} false; then :
17879 $as_echo_n "(cached) " >&6
17880 else
17881 ac_check_lib_save_LIBS=$LIBS
17882 LIBS="-lpoll $LIBS"
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17886 /* Override any GCC internal prototype to avoid an error.
17887 Use char because int might match the return type of a GCC
17888 builtin and then its argument prototype would still apply. */
17889 #ifdef __cplusplus
17890 extern "C"
17891 #endif
17892 char poll ();
17894 main ()
17896 return poll ();
17898 return 0;
17900 _ACEOF
17901 if ac_fn_c_try_link "$LINENO"; then :
17902 ac_cv_lib_poll_poll=yes
17903 else
17904 ac_cv_lib_poll_poll=no
17906 rm -f core conftest.err conftest.$ac_objext \
17907 conftest$ac_exeext conftest.$ac_ext
17908 LIBS=$ac_check_lib_save_LIBS
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17911 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17912 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17913 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17914 POLL_LIBS="-lpoll"
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17921 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17922 if ${ac_cv_search_gethostbyname+:} false; then :
17923 $as_echo_n "(cached) " >&6
17924 else
17925 ac_func_search_save_LIBS=$LIBS
17926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17927 /* end confdefs.h. */
17929 /* Override any GCC internal prototype to avoid an error.
17930 Use char because int might match the return type of a GCC
17931 builtin and then its argument prototype would still apply. */
17932 #ifdef __cplusplus
17933 extern "C"
17934 #endif
17935 char gethostbyname ();
17937 main ()
17939 return gethostbyname ();
17941 return 0;
17943 _ACEOF
17944 for ac_lib in '' nsl; do
17945 if test -z "$ac_lib"; then
17946 ac_res="none required"
17947 else
17948 ac_res=-l$ac_lib
17949 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17951 if ac_fn_c_try_link "$LINENO"; then :
17952 ac_cv_search_gethostbyname=$ac_res
17954 rm -f core conftest.err conftest.$ac_objext \
17955 conftest$ac_exeext
17956 if ${ac_cv_search_gethostbyname+:} false; then :
17957 break
17959 done
17960 if ${ac_cv_search_gethostbyname+:} false; then :
17962 else
17963 ac_cv_search_gethostbyname=no
17965 rm conftest.$ac_ext
17966 LIBS=$ac_func_search_save_LIBS
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17969 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17970 ac_res=$ac_cv_search_gethostbyname
17971 if test "$ac_res" != no; then :
17972 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17978 $as_echo_n "checking for library containing connect... " >&6; }
17979 if ${ac_cv_search_connect+:} false; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17982 ac_func_search_save_LIBS=$LIBS
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17986 /* Override any GCC internal prototype to avoid an error.
17987 Use char because int might match the return type of a GCC
17988 builtin and then its argument prototype would still apply. */
17989 #ifdef __cplusplus
17990 extern "C"
17991 #endif
17992 char connect ();
17994 main ()
17996 return connect ();
17998 return 0;
18000 _ACEOF
18001 for ac_lib in '' socket; do
18002 if test -z "$ac_lib"; then
18003 ac_res="none required"
18004 else
18005 ac_res=-l$ac_lib
18006 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18008 if ac_fn_c_try_link "$LINENO"; then :
18009 ac_cv_search_connect=$ac_res
18011 rm -f core conftest.err conftest.$ac_objext \
18012 conftest$ac_exeext
18013 if ${ac_cv_search_connect+:} false; then :
18014 break
18016 done
18017 if ${ac_cv_search_connect+:} false; then :
18019 else
18020 ac_cv_search_connect=no
18022 rm conftest.$ac_ext
18023 LIBS=$ac_func_search_save_LIBS
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18026 $as_echo "$ac_cv_search_connect" >&6; }
18027 ac_res=$ac_cv_search_connect
18028 if test "$ac_res" != no; then :
18029 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18035 $as_echo_n "checking for library containing inet_aton... " >&6; }
18036 if ${ac_cv_search_inet_aton+:} false; then :
18037 $as_echo_n "(cached) " >&6
18038 else
18039 ac_func_search_save_LIBS=$LIBS
18040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18043 /* Override any GCC internal prototype to avoid an error.
18044 Use char because int might match the return type of a GCC
18045 builtin and then its argument prototype would still apply. */
18046 #ifdef __cplusplus
18047 extern "C"
18048 #endif
18049 char inet_aton ();
18051 main ()
18053 return inet_aton ();
18055 return 0;
18057 _ACEOF
18058 for ac_lib in '' resolv; do
18059 if test -z "$ac_lib"; then
18060 ac_res="none required"
18061 else
18062 ac_res=-l$ac_lib
18063 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18065 if ac_fn_c_try_link "$LINENO"; then :
18066 ac_cv_search_inet_aton=$ac_res
18068 rm -f core conftest.err conftest.$ac_objext \
18069 conftest$ac_exeext
18070 if ${ac_cv_search_inet_aton+:} false; then :
18071 break
18073 done
18074 if ${ac_cv_search_inet_aton+:} false; then :
18076 else
18077 ac_cv_search_inet_aton=no
18079 rm conftest.$ac_ext
18080 LIBS=$ac_func_search_save_LIBS
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18083 $as_echo "$ac_cv_search_inet_aton" >&6; }
18084 ac_res=$ac_cv_search_inet_aton
18085 if test "$ac_res" != no; then :
18086 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18091 for ac_func in \
18092 getaddrinfo \
18093 getnameinfo \
18094 getservbyport \
18096 do :
18097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18100 cat >>confdefs.h <<_ACEOF
18101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18102 _ACEOF
18105 done
18108 case $host_os in
18109 darwin*|macosx*) ;;
18110 *) ac_save_LIBS=$LIBS
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18112 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18113 if ${ac_cv_search_clock_gettime+:} false; then :
18114 $as_echo_n "(cached) " >&6
18115 else
18116 ac_func_search_save_LIBS=$LIBS
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 /* Override any GCC internal prototype to avoid an error.
18121 Use char because int might match the return type of a GCC
18122 builtin and then its argument prototype would still apply. */
18123 #ifdef __cplusplus
18124 extern "C"
18125 #endif
18126 char clock_gettime ();
18128 main ()
18130 return clock_gettime ();
18132 return 0;
18134 _ACEOF
18135 for ac_lib in '' rt; do
18136 if test -z "$ac_lib"; then
18137 ac_res="none required"
18138 else
18139 ac_res=-l$ac_lib
18140 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18142 if ac_fn_c_try_link "$LINENO"; then :
18143 ac_cv_search_clock_gettime=$ac_res
18145 rm -f core conftest.err conftest.$ac_objext \
18146 conftest$ac_exeext
18147 if ${ac_cv_search_clock_gettime+:} false; then :
18148 break
18150 done
18151 if ${ac_cv_search_clock_gettime+:} false; then :
18153 else
18154 ac_cv_search_clock_gettime=no
18156 rm conftest.$ac_ext
18157 LIBS=$ac_func_search_save_LIBS
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18160 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18161 ac_res=$ac_cv_search_clock_gettime
18162 if test "$ac_res" != no; then :
18163 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18165 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18167 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18171 LIBS=$ac_save_LIBS
18173 esac
18175 if test "x$with_ldap" != "xno"
18176 then
18177 if ${LDAP_CFLAGS:+false} :; then :
18178 if ${PKG_CONFIG+:} false; then :
18179 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18183 if ${LDAP_LIBS:+false} :; then :
18184 if ${PKG_CONFIG+:} false; then :
18185 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18189 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18190 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18191 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18192 ac_save_CPPFLAGS=$CPPFLAGS
18193 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18194 for ac_header in ldap.h lber.h
18195 do :
18196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18197 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18198 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18199 cat >>confdefs.h <<_ACEOF
18200 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18201 _ACEOF
18205 done
18207 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18208 then
18209 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18211 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18213 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18214 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18215 $as_echo_n "(cached) " >&6
18216 else
18217 ac_check_lib_save_LIBS=$LIBS
18218 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18220 /* end confdefs.h. */
18222 /* Override any GCC internal prototype to avoid an error.
18223 Use char because int might match the return type of a GCC
18224 builtin and then its argument prototype would still apply. */
18225 #ifdef __cplusplus
18226 extern "C"
18227 #endif
18228 char ldap_initialize ();
18230 main ()
18232 return ldap_initialize ();
18234 return 0;
18236 _ACEOF
18237 if ac_fn_c_try_link "$LINENO"; then :
18238 ac_cv_lib_ldap_r_ldap_initialize=yes
18239 else
18240 ac_cv_lib_ldap_r_ldap_initialize=no
18242 rm -f core conftest.err conftest.$ac_objext \
18243 conftest$ac_exeext conftest.$ac_ext
18244 LIBS=$ac_check_lib_save_LIBS
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18247 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18248 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18250 $as_echo_n "checking for ber_init in -llber... " >&6; }
18251 if ${ac_cv_lib_lber_ber_init+:} false; then :
18252 $as_echo_n "(cached) " >&6
18253 else
18254 ac_check_lib_save_LIBS=$LIBS
18255 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18259 /* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18262 #ifdef __cplusplus
18263 extern "C"
18264 #endif
18265 char ber_init ();
18267 main ()
18269 return ber_init ();
18271 return 0;
18273 _ACEOF
18274 if ac_fn_c_try_link "$LINENO"; then :
18275 ac_cv_lib_lber_ber_init=yes
18276 else
18277 ac_cv_lib_lber_ber_init=no
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext conftest.$ac_ext
18281 LIBS=$ac_check_lib_save_LIBS
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18284 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18285 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18287 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18289 else
18290 LDAP_LIBS=""
18293 else
18294 LDAP_LIBS=""
18297 else
18298 LDAP_LIBS=""
18301 ac_wine_check_funcs_save_LIBS="$LIBS"
18302 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18303 for ac_func in \
18304 ldap_count_references \
18305 ldap_first_reference \
18306 ldap_next_reference \
18307 ldap_parse_reference \
18308 ldap_parse_sort_control \
18309 ldap_parse_sortresponse_control \
18310 ldap_parse_vlv_control \
18311 ldap_parse_vlvresponse_control
18312 do :
18313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18315 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18316 cat >>confdefs.h <<_ACEOF
18317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18318 _ACEOF
18321 done
18323 LIBS="$ac_wine_check_funcs_save_LIBS"
18324 else
18325 LDAP_LIBS=""
18327 CPPFLAGS=$ac_save_CPPFLAGS
18330 if test "x$LDAP_LIBS" = "x"; then :
18331 case "x$with_ldap" in
18332 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18333 xno) ;;
18334 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18335 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18336 esac
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18341 $as_echo_n "checking for sched_setaffinity... " >&6; }
18342 if ${wine_cv_have_sched_setaffinity+:} false; then :
18343 $as_echo_n "(cached) " >&6
18344 else
18345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18346 /* end confdefs.h. */
18347 #define _GNU_SOURCE
18348 #include <sched.h>
18350 main ()
18352 sched_setaffinity(0, 0, 0);
18354 return 0;
18356 _ACEOF
18357 if ac_fn_c_try_link "$LINENO"; then :
18358 wine_cv_have_sched_setaffinity=yes
18359 else
18360 wine_cv_have_sched_setaffinity=no
18362 rm -f core conftest.err conftest.$ac_objext \
18363 conftest$ac_exeext conftest.$ac_ext
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18366 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18367 if test "$wine_cv_have_sched_setaffinity" = "yes"
18368 then
18370 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18375 $as_echo_n "checking for fallocate... " >&6; }
18376 if ${wine_cv_have_fallocate+:} false; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18380 /* end confdefs.h. */
18381 #define _GNU_SOURCE
18382 #include <fcntl.h>
18384 main ()
18386 fallocate(-1, 0, 0, 0);
18388 return 0;
18390 _ACEOF
18391 if ac_fn_c_try_link "$LINENO"; then :
18392 wine_cv_have_fallocate=yes
18393 else
18394 wine_cv_have_fallocate=no
18396 rm -f core conftest.err conftest.$ac_objext \
18397 conftest$ac_exeext conftest.$ac_ext
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18400 $as_echo "$wine_cv_have_fallocate" >&6; }
18401 if test "$wine_cv_have_fallocate" = "yes"
18402 then
18404 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18410 $as_echo_n "checking for inline... " >&6; }
18411 if ${ac_cv_c_inline+:} false; then :
18412 $as_echo_n "(cached) " >&6
18413 else
18414 ac_cv_c_inline=no
18415 for ac_kw in inline __inline__ __inline; do
18416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18417 /* end confdefs.h. */
18418 #ifndef __cplusplus
18419 typedef int foo_t;
18420 static $ac_kw foo_t static_foo () {return 0; }
18421 $ac_kw foo_t foo () {return 0; }
18422 #endif
18424 _ACEOF
18425 if ac_fn_c_try_compile "$LINENO"; then :
18426 ac_cv_c_inline=$ac_kw
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18429 test "$ac_cv_c_inline" != no && break
18430 done
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18434 $as_echo "$ac_cv_c_inline" >&6; }
18436 case $ac_cv_c_inline in
18437 inline | yes) ;;
18439 case $ac_cv_c_inline in
18440 no) ac_val=;;
18441 *) ac_val=$ac_cv_c_inline;;
18442 esac
18443 cat >>confdefs.h <<_ACEOF
18444 #ifndef __cplusplus
18445 #define inline $ac_val
18446 #endif
18447 _ACEOF
18449 esac
18451 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18452 #include <signal.h>
18454 if test "x$ac_cv_type_sigset_t" = xyes; then :
18456 cat >>confdefs.h <<_ACEOF
18457 #define HAVE_SIGSET_T 1
18458 _ACEOF
18463 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18465 if test "x$ac_cv_type_request_sense" = xyes; then :
18467 cat >>confdefs.h <<_ACEOF
18468 #define HAVE_REQUEST_SENSE 1
18469 _ACEOF
18475 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18476 #ifdef HAVE_SYS_SOCKET_H
18477 #include <sys/socket.h>
18478 #endif
18479 #ifdef HAVE_SYS_SOCKETVAR_H
18480 #include <sys/socketvar.h>
18481 #endif
18482 #ifdef HAVE_NET_ROUTE_H
18483 #include <net/route.h>
18484 #endif
18485 #ifdef HAVE_NETINET_IN_H
18486 #include <netinet/in.h>
18487 #endif
18488 #ifdef HAVE_NETINET_IN_SYSTM_H
18489 #include <netinet/in_systm.h>
18490 #endif
18491 #ifdef HAVE_NETINET_IP_H
18492 #include <netinet/ip.h>
18493 #endif
18494 #ifdef HAVE_NETINET_IN_PCB_H
18495 #include <netinet/in_pcb.h>
18496 #endif
18498 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_STRUCT_XINPGEN 1
18502 _ACEOF
18508 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18509 #include <linux/input.h>
18510 #endif
18512 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18514 cat >>confdefs.h <<_ACEOF
18515 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18516 _ACEOF
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18523 $as_echo_n "checking for if_nameindex... " >&6; }
18524 if ${wine_cv_have_if_nameindex+:} false; then :
18525 $as_echo_n "(cached) " >&6
18526 else
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 #ifdef HAVE_SYS_TYPES_H
18530 #include <sys/types.h>
18531 #endif
18532 #ifdef HAVE_SYS_SOCKET_H
18533 #include <sys/socket.h>
18534 #endif
18535 #ifdef HAVE_NET_IF_H
18536 # include <net/if.h>
18537 #endif
18539 main ()
18541 struct if_nameindex *p = if_nameindex(); return p->if_index;
18543 return 0;
18545 _ACEOF
18546 if ac_fn_c_try_link "$LINENO"; then :
18547 wine_cv_have_if_nameindex=yes
18548 else
18549 wine_cv_have_if_nameindex=no
18551 rm -f core conftest.err conftest.$ac_objext \
18552 conftest$ac_exeext conftest.$ac_ext
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18555 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18556 if test "$wine_cv_have_if_nameindex" = "yes"
18557 then
18559 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18564 $as_echo_n "checking for sigaddset... " >&6; }
18565 if ${wine_cv_have_sigaddset+:} false; then :
18566 $as_echo_n "(cached) " >&6
18567 else
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 #include <signal.h>
18572 main ()
18574 sigset_t set; sigaddset(&set,SIGTERM);
18576 return 0;
18578 _ACEOF
18579 if ac_fn_c_try_link "$LINENO"; then :
18580 wine_cv_have_sigaddset=yes
18581 else
18582 wine_cv_have_sigaddset=no
18584 rm -f core conftest.err conftest.$ac_objext \
18585 conftest$ac_exeext conftest.$ac_ext
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18588 $as_echo "$wine_cv_have_sigaddset" >&6; }
18589 if test "$wine_cv_have_sigaddset" = "yes"
18590 then
18592 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18598 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18599 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18600 $as_echo_n "(cached) " >&6
18601 else
18602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18604 #include <netdb.h>
18606 main ()
18609 char *name=0;
18610 struct hostent he;
18611 struct hostent *result;
18612 char *buf=0;
18613 int bufsize=0;
18614 int errnr;
18615 char *addr=0;
18616 int addrlen=0;
18617 int addrtype=0;
18618 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18619 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18622 return 0;
18624 _ACEOF
18625 if ac_fn_c_try_link "$LINENO"; then :
18626 wine_cv_linux_gethostbyname_r_6=yes
18627 else
18628 wine_cv_linux_gethostbyname_r_6=no
18631 rm -f core conftest.err conftest.$ac_objext \
18632 conftest$ac_exeext conftest.$ac_ext
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18636 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18637 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18638 then
18640 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18644 if test "$ac_cv_header_linux_joystick_h" = "yes"
18645 then
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18647 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18648 if ${wine_cv_linux_joystick_22_api+:} false; then :
18649 $as_echo_n "(cached) " >&6
18650 else
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18654 #include <sys/ioctl.h>
18655 #include <sys/types.h>
18656 #include <linux/joystick.h>
18658 struct js_event blub;
18659 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18660 #error "no 2.2 header"
18661 #endif
18664 main ()
18666 /*empty*/
18668 return 0;
18670 _ACEOF
18671 if ac_fn_c_try_compile "$LINENO"; then :
18672 wine_cv_linux_joystick_22_api=yes
18673 else
18674 wine_cv_linux_joystick_22_api=no
18676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18680 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18681 if test "$wine_cv_linux_joystick_22_api" = "yes"
18682 then
18684 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18689 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18690 #ifdef HAVE_SYS_SOCKET_H
18691 # include <sys/socket.h>
18692 #endif
18693 #ifdef HAVE_SYS_UN_H
18694 # include <sys/un.h>
18695 #endif
18697 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18699 cat >>confdefs.h <<_ACEOF
18700 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18701 _ACEOF
18705 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18706 #ifdef HAVE_SYS_SOCKET_H
18707 # include <sys/socket.h>
18708 #endif
18709 #ifdef HAVE_SYS_UN_H
18710 # include <sys/un.h>
18711 #endif
18713 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18715 cat >>confdefs.h <<_ACEOF
18716 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18717 _ACEOF
18721 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18722 #ifdef HAVE_SYS_SOCKET_H
18723 # include <sys/socket.h>
18724 #endif
18725 #ifdef HAVE_SYS_UN_H
18726 # include <sys/un.h>
18727 #endif
18729 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18731 cat >>confdefs.h <<_ACEOF
18732 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18733 _ACEOF
18739 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18740 #ifdef HAVE_SCSI_SG_H
18741 #include <scsi/sg.h>
18742 #endif
18744 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_SCSIREQ_T_CMD 1
18748 _ACEOF
18752 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>
18753 #ifdef HAVE_SCSI_SG_H
18754 #include <scsi/sg.h>
18755 #endif
18757 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18759 cat >>confdefs.h <<_ACEOF
18760 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18761 _ACEOF
18767 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18769 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18771 cat >>confdefs.h <<_ACEOF
18772 #define HAVE_SIGINFO_T_SI_FD 1
18773 _ACEOF
18779 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18780 #ifdef HAVE_SYS_MTIO_H
18781 #include <sys/mtio.h>
18782 #endif
18784 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18786 cat >>confdefs.h <<_ACEOF
18787 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18788 _ACEOF
18792 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18793 #ifdef HAVE_SYS_MTIO_H
18794 #include <sys/mtio.h>
18795 #endif
18797 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18801 _ACEOF
18805 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18806 #ifdef HAVE_SYS_MTIO_H
18807 #include <sys/mtio.h>
18808 #endif
18810 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18812 cat >>confdefs.h <<_ACEOF
18813 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18814 _ACEOF
18820 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18821 #include <getopt.h>
18822 #endif
18824 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_STRUCT_OPTION_NAME 1
18828 _ACEOF
18834 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18835 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18837 cat >>confdefs.h <<_ACEOF
18838 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18839 _ACEOF
18843 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18844 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18846 cat >>confdefs.h <<_ACEOF
18847 #define HAVE_STRUCT_STAT_ST_MTIM 1
18848 _ACEOF
18852 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18853 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18855 cat >>confdefs.h <<_ACEOF
18856 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18857 _ACEOF
18861 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18862 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18864 cat >>confdefs.h <<_ACEOF
18865 #define HAVE_STRUCT_STAT_ST_CTIM 1
18866 _ACEOF
18870 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18871 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18875 _ACEOF
18879 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18880 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18882 cat >>confdefs.h <<_ACEOF
18883 #define HAVE_STRUCT_STAT_ST_ATIM 1
18884 _ACEOF
18888 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18889 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18891 cat >>confdefs.h <<_ACEOF
18892 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18893 _ACEOF
18897 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18898 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18900 cat >>confdefs.h <<_ACEOF
18901 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18902 _ACEOF
18906 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18907 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18909 cat >>confdefs.h <<_ACEOF
18910 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18911 _ACEOF
18915 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18916 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18920 _ACEOF
18924 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18925 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18929 _ACEOF
18933 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18934 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18936 cat >>confdefs.h <<_ACEOF
18937 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18938 _ACEOF
18944 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
18945 #include <sys/types.h>
18946 #endif
18947 #ifdef HAVE_NETINET_IN_H
18948 #include <netinet/in.h>
18949 #endif
18951 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18953 cat >>confdefs.h <<_ACEOF
18954 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18955 _ACEOF
18961 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18962 #include <sys/types.h>
18963 #endif
18964 #ifdef HAVE_NETINET_IN_H
18965 #include <netinet/in.h>
18966 #endif
18967 #ifdef HAVE_RESOLV_H
18968 #include <resolv.h>
18969 #endif
18971 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_STRUCT___RES_STATE 1
18975 _ACEOF
18981 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
18982 #include <resolv.h>
18983 #endif
18985 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18987 cat >>confdefs.h <<_ACEOF
18988 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18989 _ACEOF
18995 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18996 #include <sys/types.h>
18997 #endif
18998 #ifdef HAVE_NETINET_IN_H
18999 # include <netinet/in.h>
19000 #endif
19001 #ifdef HAVE_ARPA_NAMESER_H
19002 # include <arpa/nameser.h>
19003 #endif
19005 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19007 cat >>confdefs.h <<_ACEOF
19008 #define HAVE_NS_MSG__MSG_PTR 1
19009 _ACEOF
19015 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19016 #include <sys/types.h>
19017 #endif
19018 #ifdef HAVE_NETINET_IN_H
19019 #include <netinet/in.h>
19020 #endif
19021 #ifdef HAVE_NETINET_IP_H
19022 #include <netinet/ip.h>
19023 #endif
19024 #ifdef HAVE_NETINET_IP_ICMP_H
19025 #include <netinet/ip_icmp.h>
19026 #endif
19027 #ifdef HAVE_NETINET_ICMP_VAR_H
19028 #include <netinet/icmp_var.h>
19029 #endif
19031 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19035 _ACEOF
19041 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19042 #include <sys/types.h>
19043 #endif
19044 #ifdef HAVE_ALIAS_H
19045 #include <alias.h>
19046 #endif
19047 #ifdef HAVE_SYS_SOCKET_H
19048 #include <sys/socket.h>
19049 #endif
19050 #ifdef HAVE_SYS_SOCKETVAR_H
19051 #include <sys/socketvar.h>
19052 #endif
19053 #ifdef HAVE_SYS_TIMEOUT_H
19054 #include <sys/timeout.h>
19055 #endif
19056 #ifdef HAVE_NETINET_IN_H
19057 #include <netinet/in.h>
19058 #endif
19059 #ifdef HAVE_NETINET_IN_SYSTM_H
19060 #include <netinet/in_systm.h>
19061 #endif
19062 #ifdef HAVE_NETINET_IP_H
19063 #include <netinet/ip.h>
19064 #endif
19065 #ifdef HAVE_NETINET_IP_VAR_H
19066 #include <netinet/ip_var.h>
19067 #endif
19068 #ifdef HAVE_NETINET_IP_ICMP_H
19069 #include <netinet/ip_icmp.h>
19070 #endif
19071 #ifdef HAVE_NETINET_ICMP_VAR_H
19072 #include <netinet/icmp_var.h>
19073 #endif
19075 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19079 _ACEOF
19085 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19086 #include <sys/types.h>
19087 #endif
19088 #ifdef HAVE_SYS_SOCKETVAR_H
19089 #include <sys/socketvar.h>
19090 #endif
19091 #ifdef HAVE_NETINET_IN_H
19092 #include <netinet/in.h>
19093 #endif
19094 #ifdef HAVE_NETINET_IP_VAR_H
19095 #include <netinet/ip_var.h>
19096 #endif
19098 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19102 _ACEOF
19108 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
19109 #include <netinet/ip_var.h>
19110 #endif
19112 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19116 _ACEOF
19122 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19123 #include <sys/types.h>
19124 #endif
19125 #ifdef HAVE_SYS_SOCKETVAR_H
19126 #include <sys/socketvar.h>
19127 #endif
19128 #ifdef HAVE_NETINET_IN_H
19129 #include <netinet/in.h>
19130 #endif
19131 #ifdef HAVE_NETINET_TCP_H
19132 #include <netinet/tcp.h>
19133 #endif
19134 #ifdef HAVE_NETINET_TCP_VAR_H
19135 #include <netinet/tcp_var.h>
19136 #endif
19138 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19142 _ACEOF
19148 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
19149 #include <netinet/tcp_var.h>
19150 #endif
19152 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19156 _ACEOF
19162 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19163 #include <sys/types.h>
19164 #endif
19165 #ifdef HAVE_NETINET_IN_H
19166 #include <netinet/in.h>
19167 #endif
19168 #ifdef HAVE_NETINET_IP_VAR_H
19169 #include <netinet/ip_var.h>
19170 #endif
19171 #ifdef HAVE_NETINET_UDP_H
19172 #include <netinet/udp.h>
19173 #endif
19174 #ifdef HAVE_NETINET_UDP_VAR_H
19175 #include <netinet/udp_var.h>
19176 #endif
19178 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19180 cat >>confdefs.h <<_ACEOF
19181 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19182 _ACEOF
19188 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19189 #include <sys/types.h>
19190 #endif
19191 #ifdef HAVE_NET_IF_H
19192 # include <net/if.h>
19193 #endif
19195 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19199 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19206 # include <sys/sysinfo.h>
19207 #endif
19209 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19213 _ACEOF
19217 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19218 # include <sys/sysinfo.h>
19219 #endif
19221 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19225 _ACEOF
19231 ac_save_LIBS="$LIBS"
19232 LIBS="$LIBS -lm"
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19234 $as_echo_n "checking for isfinite... " >&6; }
19235 if ${ac_cv_have_isfinite+:} false; then :
19236 $as_echo_n "(cached) " >&6
19237 else
19238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19240 #define _GNU_SOURCE
19241 #include <math.h>
19243 main ()
19245 float f = 0.0; return isfinite(f)
19247 return 0;
19249 _ACEOF
19250 if ac_fn_c_try_link "$LINENO"; then :
19251 ac_cv_have_isfinite="yes"
19252 else
19253 ac_cv_have_isfinite="no"
19255 rm -f core conftest.err conftest.$ac_objext \
19256 conftest$ac_exeext conftest.$ac_ext
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19259 $as_echo "$ac_cv_have_isfinite" >&6; }
19260 if test "$ac_cv_have_isfinite" = "yes"
19261 then
19263 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19268 $as_echo_n "checking for isinf... " >&6; }
19269 if ${ac_cv_have_isinf+:} false; then :
19270 $as_echo_n "(cached) " >&6
19271 else
19272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 #include <math.h>
19276 main ()
19278 float f = 0.0; return isinf(f)
19280 return 0;
19282 _ACEOF
19283 if ac_fn_c_try_link "$LINENO"; then :
19284 ac_cv_have_isinf="yes"
19285 else
19286 ac_cv_have_isinf="no"
19288 rm -f core conftest.err conftest.$ac_objext \
19289 conftest$ac_exeext conftest.$ac_ext
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19292 $as_echo "$ac_cv_have_isinf" >&6; }
19293 if test "$ac_cv_have_isinf" = "yes"
19294 then
19296 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19301 $as_echo_n "checking for isnan... " >&6; }
19302 if ${ac_cv_have_isnan+:} false; then :
19303 $as_echo_n "(cached) " >&6
19304 else
19305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19306 /* end confdefs.h. */
19307 #include <math.h>
19309 main ()
19311 float f = 0.0; return isnan(f)
19313 return 0;
19315 _ACEOF
19316 if ac_fn_c_try_link "$LINENO"; then :
19317 ac_cv_have_isnan="yes"
19318 else
19319 ac_cv_have_isnan="no"
19321 rm -f core conftest.err conftest.$ac_objext \
19322 conftest$ac_exeext conftest.$ac_ext
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19325 $as_echo "$ac_cv_have_isnan" >&6; }
19326 if test "$ac_cv_have_isnan" = "yes"
19327 then
19329 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19333 for ac_func in \
19334 acosh \
19335 acoshf \
19336 asinh \
19337 asinhf \
19338 atanh \
19339 atanhf \
19340 cbrt \
19341 cbrtf \
19342 erf \
19343 erfc \
19344 erfcf \
19345 erff \
19346 exp2 \
19347 exp2f \
19348 expm1 \
19349 expm1f \
19350 fma \
19351 fmaf \
19352 j0 \
19353 j1 \
19354 jn \
19355 lgamma \
19356 lgammaf \
19357 llrint \
19358 llrintf \
19359 llround \
19360 llroundf \
19361 log1p \
19362 log1pf \
19363 log2 \
19364 log2f \
19365 lrint \
19366 lrintf \
19367 lround \
19368 lroundf \
19369 nearbyint \
19370 nearbyintf \
19371 nexttoward \
19372 nexttowardf \
19373 remainder \
19374 remainderf \
19375 remquo \
19376 remquof \
19377 rint \
19378 rintf \
19379 round \
19380 roundf \
19381 tgamma \
19382 tgammaf \
19383 trunc \
19384 truncf \
19385 y0 \
19386 y1 \
19389 do :
19390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19392 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19393 cat >>confdefs.h <<_ACEOF
19394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19395 _ACEOF
19398 done
19400 LIBS="$ac_save_LIBS"
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19403 $as_echo_n "checking for __builtin_popcount... " >&6; }
19404 if ${ac_cv_have___builtin_popcount+:} false; then :
19405 $as_echo_n "(cached) " >&6
19406 else
19407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19411 main ()
19413 return __builtin_popcount(1)
19415 return 0;
19417 _ACEOF
19418 if ac_fn_c_try_link "$LINENO"; then :
19419 ac_cv_have___builtin_popcount="yes"
19420 else
19421 ac_cv_have___builtin_popcount="no"
19423 rm -f core conftest.err conftest.$ac_objext \
19424 conftest$ac_exeext conftest.$ac_ext
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19427 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19428 if test "$ac_cv_have___builtin_popcount" = "yes"
19429 then
19431 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19436 $as_echo_n "checking for __clear_cache... " >&6; }
19437 if ${ac_cv_have___clear_cache+:} false; then :
19438 $as_echo_n "(cached) " >&6
19439 else
19440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441 /* end confdefs.h. */
19444 main ()
19446 __clear_cache((void*)0, (void*)0); return 0;
19448 return 0;
19450 _ACEOF
19451 if ac_fn_c_try_link "$LINENO"; then :
19452 ac_cv_have___clear_cache="yes"
19453 else
19454 ac_cv_have___clear_cache="no"
19456 rm -f core conftest.err conftest.$ac_objext \
19457 conftest$ac_exeext conftest.$ac_ext
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19460 $as_echo "$ac_cv_have___clear_cache" >&6; }
19461 if test "$ac_cv_have___clear_cache" = "yes"
19462 then
19464 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19469 case $host_cpu in
19470 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19471 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19472 if ${ac_cv_cpp_def___i386__+:} false; then :
19473 $as_echo_n "(cached) " >&6
19474 else
19475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19476 /* end confdefs.h. */
19477 #ifndef __i386__
19479 #endif
19480 _ACEOF
19481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19482 $EGREP "yes" >/dev/null 2>&1; then :
19483 ac_cv_cpp_def___i386__=yes
19484 else
19485 ac_cv_cpp_def___i386__=no
19487 rm -f conftest*
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19491 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19492 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19493 CFLAGS="$CFLAGS -D__i386__"
19494 LINTFLAGS="$LINTFLAGS -D__i386__"
19495 fi ;;
19496 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19497 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19498 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19499 $as_echo_n "(cached) " >&6
19500 else
19501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h. */
19503 #ifndef __x86_64__
19505 #endif
19506 _ACEOF
19507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19508 $EGREP "yes" >/dev/null 2>&1; then :
19509 ac_cv_cpp_def___x86_64__=yes
19510 else
19511 ac_cv_cpp_def___x86_64__=no
19513 rm -f conftest*
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19517 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19518 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19519 CFLAGS="$CFLAGS -D__x86_64__"
19520 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19521 fi ;;
19522 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19523 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19524 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19525 $as_echo_n "(cached) " >&6
19526 else
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19529 #ifndef __sparc64__
19531 #endif
19532 _ACEOF
19533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19534 $EGREP "yes" >/dev/null 2>&1; then :
19535 ac_cv_cpp_def___sparc64__=yes
19536 else
19537 ac_cv_cpp_def___sparc64__=no
19539 rm -f conftest*
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19543 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19544 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19545 CFLAGS="$CFLAGS -D__sparc64__"
19546 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19547 fi ;;
19548 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19549 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19550 if ${ac_cv_cpp_def___sparc__+:} false; then :
19551 $as_echo_n "(cached) " >&6
19552 else
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 #ifndef __sparc__
19557 #endif
19558 _ACEOF
19559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19560 $EGREP "yes" >/dev/null 2>&1; then :
19561 ac_cv_cpp_def___sparc__=yes
19562 else
19563 ac_cv_cpp_def___sparc__=no
19565 rm -f conftest*
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19569 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19570 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19571 CFLAGS="$CFLAGS -D__sparc__"
19572 LINTFLAGS="$LINTFLAGS -D__sparc__"
19573 fi ;;
19574 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19575 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19576 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19577 $as_echo_n "(cached) " >&6
19578 else
19579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19580 /* end confdefs.h. */
19581 #ifndef __powerpc64__
19583 #endif
19584 _ACEOF
19585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19586 $EGREP "yes" >/dev/null 2>&1; then :
19587 ac_cv_cpp_def___powerpc64__=yes
19588 else
19589 ac_cv_cpp_def___powerpc64__=no
19591 rm -f conftest*
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19595 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19596 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19597 CFLAGS="$CFLAGS -D__powerpc64__"
19598 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19599 fi ;;
19600 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19601 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19602 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19603 $as_echo_n "(cached) " >&6
19604 else
19605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h. */
19607 #ifndef __powerpc__
19609 #endif
19610 _ACEOF
19611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19612 $EGREP "yes" >/dev/null 2>&1; then :
19613 ac_cv_cpp_def___powerpc__=yes
19614 else
19615 ac_cv_cpp_def___powerpc__=no
19617 rm -f conftest*
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19621 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19622 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19623 CFLAGS="$CFLAGS -D__powerpc__"
19624 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19625 fi ;;
19626 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19627 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19628 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19629 $as_echo_n "(cached) " >&6
19630 else
19631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19632 /* end confdefs.h. */
19633 #ifndef __aarch64__
19635 #endif
19636 _ACEOF
19637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19638 $EGREP "yes" >/dev/null 2>&1; then :
19639 ac_cv_cpp_def___aarch64__=yes
19640 else
19641 ac_cv_cpp_def___aarch64__=no
19643 rm -f conftest*
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19647 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19648 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19649 CFLAGS="$CFLAGS -D__aarch64__"
19650 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19651 fi ;;
19652 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19653 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19654 if ${ac_cv_cpp_def___arm__+:} false; then :
19655 $as_echo_n "(cached) " >&6
19656 else
19657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19658 /* end confdefs.h. */
19659 #ifndef __arm__
19661 #endif
19662 _ACEOF
19663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19664 $EGREP "yes" >/dev/null 2>&1; then :
19665 ac_cv_cpp_def___arm__=yes
19666 else
19667 ac_cv_cpp_def___arm__=no
19669 rm -f conftest*
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19673 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19674 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19675 CFLAGS="$CFLAGS -D__arm__"
19676 LINTFLAGS="$LINTFLAGS -D__arm__"
19677 fi ;;
19678 esac
19680 case $host_vendor in
19681 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19682 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19683 if ${ac_cv_cpp_def___sun__+:} false; then :
19684 $as_echo_n "(cached) " >&6
19685 else
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19688 #ifndef __sun__
19690 #endif
19691 _ACEOF
19692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19693 $EGREP "yes" >/dev/null 2>&1; then :
19694 ac_cv_cpp_def___sun__=yes
19695 else
19696 ac_cv_cpp_def___sun__=no
19698 rm -f conftest*
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19702 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19703 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19704 CFLAGS="$CFLAGS -D__sun__"
19705 LINTFLAGS="$LINTFLAGS -D__sun__"
19706 fi ;;
19707 esac
19713 ac_config_commands="$ac_config_commands include/stamp-h"
19715 $as_echo_n "creating Makefile rules..." >&6
19717 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19718 OPENGL_LIBS = $OPENGL_LIBS
19719 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19720 IOKIT_LIBS = $IOKIT_LIBS
19721 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19722 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19723 CORESERVICES_LIBS = $CORESERVICES_LIBS
19724 APPKIT_LIBS = $APPKIT_LIBS
19725 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19726 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19727 SECURITY_LIBS = $SECURITY_LIBS
19728 COREAUDIO_LIBS = $COREAUDIO_LIBS
19729 OPENAL_LIBS = $OPENAL_LIBS
19730 OPENCL_LIBS = $OPENCL_LIBS
19731 QUICKTIME_LIBS = $QUICKTIME_LIBS
19732 CARBON_LIBS = $CARBON_LIBS
19733 METAL_LIBS = $METAL_LIBS
19734 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19735 PTHREAD_LIBS = $PTHREAD_LIBS
19736 X_CFLAGS = $X_CFLAGS
19737 X_PRE_LIBS = $X_PRE_LIBS
19738 X_LIBS = $X_LIBS
19739 X_EXTRA_LIBS = $X_EXTRA_LIBS
19740 PCAP_LIBS = $PCAP_LIBS
19741 XML2_CFLAGS = $XML2_CFLAGS
19742 XML2_LIBS = $XML2_LIBS
19743 XSLT_CFLAGS = $XSLT_CFLAGS
19744 XSLT_LIBS = $XSLT_LIBS
19745 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19746 INOTIFY_LIBS = $INOTIFY_LIBS
19747 DBUS_CFLAGS = $DBUS_CFLAGS
19748 DBUS_LIBS = $DBUS_LIBS
19749 HAL_CFLAGS = $HAL_CFLAGS
19750 HAL_LIBS = $HAL_LIBS
19751 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19752 GNUTLS_LIBS = $GNUTLS_LIBS
19753 SANE_CFLAGS = $SANE_CFLAGS
19754 SANE_LIBS = $SANE_LIBS
19755 USB_CFLAGS = $USB_CFLAGS
19756 USB_LIBS = $USB_LIBS
19757 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19758 GPHOTO2_LIBS = $GPHOTO2_LIBS
19759 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19760 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19761 RESOLV_LIBS = $RESOLV_LIBS
19762 LCMS2_CFLAGS = $LCMS2_CFLAGS
19763 LCMS2_LIBS = $LCMS2_LIBS
19764 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19765 FREETYPE_LIBS = $FREETYPE_LIBS
19766 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19767 PULSE_CFLAGS = $PULSE_CFLAGS
19768 PULSE_LIBS = $PULSE_LIBS
19769 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19770 GSTREAMER_LIBS = $GSTREAMER_LIBS
19771 ALSA_LIBS = $ALSA_LIBS
19772 OSS4_CFLAGS = $OSS4_CFLAGS
19773 OSS4_LIBS = $OSS4_LIBS
19774 UDEV_CFLAGS = $UDEV_CFLAGS
19775 UDEV_LIBS = $UDEV_LIBS
19776 UNWIND_CFLAGS = $UNWIND_CFLAGS
19777 UNWIND_LIBS = $UNWIND_LIBS
19778 SDL2_CFLAGS = $SDL2_CFLAGS
19779 SDL2_LIBS = $SDL2_LIBS
19780 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19781 FAUDIO_LIBS = $FAUDIO_LIBS
19782 CAPI20_CFLAGS = $CAPI20_CFLAGS
19783 CAPI20_LIBS = $CAPI20_LIBS
19784 CUPS_CFLAGS = $CUPS_CFLAGS
19785 CUPS_LIBS = $CUPS_LIBS
19786 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19787 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19788 KRB5_CFLAGS = $KRB5_CFLAGS
19789 KRB5_LIBS = $KRB5_LIBS
19790 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19791 GSSAPI_LIBS = $GSSAPI_LIBS
19792 JPEG_CFLAGS = $JPEG_CFLAGS
19793 JPEG_LIBS = $JPEG_LIBS
19794 PNG_CFLAGS = $PNG_CFLAGS
19795 PNG_LIBS = $PNG_LIBS
19796 TIFF_CFLAGS = $TIFF_CFLAGS
19797 TIFF_LIBS = $TIFF_LIBS
19798 MPG123_CFLAGS = $MPG123_CFLAGS
19799 MPG123_LIBS = $MPG123_LIBS
19800 KSTAT_LIBS = $KSTAT_LIBS
19801 PROCSTAT_LIBS = $PROCSTAT_LIBS
19802 NETAPI_CFLAGS = $NETAPI_CFLAGS
19803 NETAPI_LIBS = $NETAPI_LIBS
19804 VKD3D_CFLAGS = $VKD3D_CFLAGS
19805 VKD3D_LIBS = $VKD3D_LIBS
19806 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19807 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19808 POLL_LIBS = $POLL_LIBS
19809 RT_LIBS = $RT_LIBS
19810 LDAP_CFLAGS = $LDAP_CFLAGS
19811 LDAP_LIBS = $LDAP_LIBS
19815 makedep_flags=""
19816 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19819 wine_fn_append_rule "
19820 # Rules automatically generated by configure
19822 .INIT: Makefile
19823 .MAKEFILEDEPS:
19824 all: Makefile
19825 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19826 @./config.status Make.tmp Makefile
19827 depend: \$(MAKEDEP)
19828 \$(MAKEDEP)$makedep_flags
19829 dummy:
19830 .PHONY: depend dummy"
19832 ac_config_links="$ac_config_links wine:tools/winewrapper"
19833 wine_fn_config_symlink wine
19834 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19835 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19836 wine_fn_config_symlink wine64
19839 wine_fn_config_makefile dlls/acledit enable_acledit
19840 wine_fn_config_makefile dlls/aclui enable_aclui
19841 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19842 wine_fn_config_makefile dlls/activeds enable_activeds
19843 wine_fn_config_makefile dlls/activeds/tests enable_tests
19844 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19845 wine_fn_config_makefile dlls/adsiid enable_adsiid
19846 wine_fn_config_makefile dlls/adsldp enable_adsldp
19847 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19848 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19849 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19850 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19851 wine_fn_config_makefile dlls/advpack enable_advpack
19852 wine_fn_config_makefile dlls/advpack/tests enable_tests
19853 wine_fn_config_makefile dlls/amsi enable_amsi
19854 wine_fn_config_makefile dlls/amstream enable_amstream
19855 wine_fn_config_makefile dlls/amstream/tests enable_tests
19856 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19858 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19859 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19861 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19866 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19874 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19875 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19876 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19878 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19880 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19881 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19882 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19884 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19888 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19889 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19890 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19892 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19893 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19896 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19897 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19900 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19901 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19902 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19903 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19904 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19906 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19907 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19909 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19910 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19912 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19913 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19916 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19917 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19918 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19919 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19920 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19922 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19923 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19926 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19927 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
19928 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
19929 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19933 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19937 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19941 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19942 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19943 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
19953 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19956 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19966 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19970 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19973 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19984 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19989 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19990 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19995 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19997 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20016 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20017 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20037 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20048 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20052 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20054 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20056 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20057 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20062 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20064 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20070 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20073 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20075 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20077 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20081 wine_fn_config_makefile dlls/apphelp enable_apphelp
20082 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20083 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20084 wine_fn_config_makefile dlls/atl enable_atl
20085 wine_fn_config_makefile dlls/atl/tests enable_tests
20086 wine_fn_config_makefile dlls/atl100 enable_atl100
20087 wine_fn_config_makefile dlls/atl100/tests enable_tests
20088 wine_fn_config_makefile dlls/atl110 enable_atl110
20089 wine_fn_config_makefile dlls/atl80 enable_atl80
20090 wine_fn_config_makefile dlls/atl80/tests enable_tests
20091 wine_fn_config_makefile dlls/atl90 enable_atl90
20092 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20093 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20094 wine_fn_config_makefile dlls/atmlib enable_atmlib
20095 wine_fn_config_makefile dlls/authz enable_authz
20096 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20097 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20098 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20099 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20100 wine_fn_config_makefile dlls/avrt enable_avrt
20101 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20102 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20103 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20104 wine_fn_config_makefile dlls/browseui enable_browseui
20105 wine_fn_config_makefile dlls/browseui/tests enable_tests
20106 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20107 wine_fn_config_makefile dlls/cabinet enable_cabinet
20108 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20109 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20110 wine_fn_config_makefile dlls/cards enable_cards
20111 wine_fn_config_makefile dlls/cdosys enable_cdosys
20112 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20113 wine_fn_config_makefile dlls/clusapi enable_clusapi
20114 wine_fn_config_makefile dlls/combase enable_combase
20115 wine_fn_config_makefile dlls/combase/tests enable_tests
20116 wine_fn_config_makefile dlls/comcat enable_comcat
20117 wine_fn_config_makefile dlls/comcat/tests enable_tests
20118 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20119 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20120 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20121 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20122 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20123 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20124 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20125 wine_fn_config_makefile dlls/compstui enable_compstui
20126 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20127 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20128 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20129 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20130 wine_fn_config_makefile dlls/connect enable_connect
20131 wine_fn_config_makefile dlls/credui enable_credui
20132 wine_fn_config_makefile dlls/credui/tests enable_tests
20133 wine_fn_config_makefile dlls/crtdll enable_crtdll
20134 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20135 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20136 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20137 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20138 wine_fn_config_makefile dlls/cryptext enable_cryptext
20139 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20140 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20141 wine_fn_config_makefile dlls/cryptui enable_cryptui
20142 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20143 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20144 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20145 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20146 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20147 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20148 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20149 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20150 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20151 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20152 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20153 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20154 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20155 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20156 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20157 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20158 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20159 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20160 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20161 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20162 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20163 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20164 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20165 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20166 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20167 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20168 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20169 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20170 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20171 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20172 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20173 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20174 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20175 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20176 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20177 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20178 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20179 wine_fn_config_makefile dlls/d3dim enable_d3dim
20180 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20181 wine_fn_config_makefile dlls/d3drm enable_d3drm
20182 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20183 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20184 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20185 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20186 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20187 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20188 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20189 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20190 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20191 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20192 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20193 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20194 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20195 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20196 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20197 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20198 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20199 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20200 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20201 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20202 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20203 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20204 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20205 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20206 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20207 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20208 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20209 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20210 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20211 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20212 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20213 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20214 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20215 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20216 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20217 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20218 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20219 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20220 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20221 wine_fn_config_makefile dlls/davclnt enable_davclnt
20222 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20223 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20224 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20225 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20226 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20227 wine_fn_config_makefile dlls/dcomp enable_dcomp
20228 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20229 wine_fn_config_makefile dlls/ddraw enable_ddraw
20230 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20231 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20232 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20233 wine_fn_config_makefile dlls/devenum enable_devenum
20234 wine_fn_config_makefile dlls/devenum/tests enable_tests
20235 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20236 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20237 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20238 wine_fn_config_makefile dlls/difxapi enable_difxapi
20239 wine_fn_config_makefile dlls/dinput enable_dinput
20240 wine_fn_config_makefile dlls/dinput/tests enable_tests
20241 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20242 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20243 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20244 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20245 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20246 wine_fn_config_makefile dlls/dispex enable_dispex
20247 wine_fn_config_makefile dlls/dispex/tests enable_tests
20248 wine_fn_config_makefile dlls/display.drv16 enable_win16
20249 wine_fn_config_makefile dlls/dmband enable_dmband
20250 wine_fn_config_makefile dlls/dmband/tests enable_tests
20251 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20252 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20253 wine_fn_config_makefile dlls/dmime enable_dmime
20254 wine_fn_config_makefile dlls/dmime/tests enable_tests
20255 wine_fn_config_makefile dlls/dmloader enable_dmloader
20256 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20257 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20258 wine_fn_config_makefile dlls/dmscript enable_dmscript
20259 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20260 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20261 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20262 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20263 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20264 wine_fn_config_makefile dlls/dmusic enable_dmusic
20265 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20266 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20267 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20268 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20269 wine_fn_config_makefile dlls/dplay enable_dplay
20270 wine_fn_config_makefile dlls/dplayx enable_dplayx
20271 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20272 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20273 wine_fn_config_makefile dlls/dpnet enable_dpnet
20274 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20275 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20276 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20277 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20278 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20279 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20280 wine_fn_config_makefile dlls/drmclien enable_drmclien
20281 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20282 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20283 wine_fn_config_makefile dlls/dsound enable_dsound
20284 wine_fn_config_makefile dlls/dsound/tests enable_tests
20285 wine_fn_config_makefile dlls/dsquery enable_dsquery
20286 wine_fn_config_makefile dlls/dssenh enable_dssenh
20287 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20288 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20289 wine_fn_config_makefile dlls/dswave enable_dswave
20290 wine_fn_config_makefile dlls/dswave/tests enable_tests
20291 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20292 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20293 wine_fn_config_makefile dlls/dwrite enable_dwrite
20294 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20295 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20296 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20297 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20298 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20299 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20300 wine_fn_config_makefile dlls/dxgi enable_dxgi
20301 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20302 wine_fn_config_makefile dlls/dxguid enable_dxguid
20303 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20304 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20305 wine_fn_config_makefile dlls/esent enable_esent
20306 wine_fn_config_makefile dlls/evr enable_evr
20307 wine_fn_config_makefile dlls/evr/tests enable_tests
20308 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20309 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20310 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20311 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20312 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20313 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20314 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20315 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20316 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20317 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20318 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20319 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20320 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20321 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20322 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20323 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20324 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20325 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20326 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20327 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20328 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20329 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20330 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20331 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20332 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20333 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20334 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20335 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20336 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20337 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20338 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20339 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20340 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20341 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20342 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20343 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20344 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20345 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20346 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20347 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20348 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20349 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20350 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
20351 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20352 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20353 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20354 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20355 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20356 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20357 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20358 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20359 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20360 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20361 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20362 wine_fn_config_makefile dlls/faultrep enable_faultrep
20363 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20364 wine_fn_config_makefile dlls/feclient enable_feclient
20365 wine_fn_config_makefile dlls/fltlib enable_fltlib
20366 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20367 wine_fn_config_makefile dlls/fntcache enable_fntcache
20368 wine_fn_config_makefile dlls/fontsub enable_fontsub
20369 wine_fn_config_makefile dlls/fusion enable_fusion
20370 wine_fn_config_makefile dlls/fusion/tests enable_tests
20371 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20372 wine_fn_config_makefile dlls/gameux enable_gameux
20373 wine_fn_config_makefile dlls/gameux/tests enable_tests
20374 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20375 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20376 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20377 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20378 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20379 wine_fn_config_makefile dlls/glu32 enable_glu32
20380 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20381 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20382 wine_fn_config_makefile dlls/hal enable_hal
20383 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20384 wine_fn_config_makefile dlls/hid enable_hid
20385 wine_fn_config_makefile dlls/hid/tests enable_tests
20386 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20387 wine_fn_config_makefile dlls/hlink enable_hlink
20388 wine_fn_config_makefile dlls/hlink/tests enable_tests
20389 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20390 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20391 wine_fn_config_makefile dlls/http.sys enable_http_sys
20392 wine_fn_config_makefile dlls/httpapi enable_httpapi
20393 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20394 wine_fn_config_makefile dlls/iccvid enable_iccvid
20395 wine_fn_config_makefile dlls/icmp enable_icmp
20396 wine_fn_config_makefile dlls/ieframe enable_ieframe
20397 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20398 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20399 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20400 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20401 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20402 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20403 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20404 wine_fn_config_makefile dlls/imm32 enable_imm32
20405 wine_fn_config_makefile dlls/imm32/tests enable_tests
20406 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20407 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20408 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20409 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20410 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20411 wine_fn_config_makefile dlls/infosoft enable_infosoft
20412 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20413 wine_fn_config_makefile dlls/initpki enable_initpki
20414 wine_fn_config_makefile dlls/inkobj enable_inkobj
20415 wine_fn_config_makefile dlls/inseng enable_inseng
20416 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20417 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20418 wine_fn_config_makefile dlls/iprop enable_iprop
20419 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20420 wine_fn_config_makefile dlls/itircl enable_itircl
20421 wine_fn_config_makefile dlls/itss enable_itss
20422 wine_fn_config_makefile dlls/itss/tests enable_tests
20423 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20424 wine_fn_config_makefile dlls/jscript enable_jscript
20425 wine_fn_config_makefile dlls/jscript/tests enable_tests
20426 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20427 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20428 wine_fn_config_makefile dlls/kerberos enable_kerberos
20429 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20430 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20431 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20432 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20433 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20434 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20435 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20436 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20437 wine_fn_config_makefile dlls/ksuser enable_ksuser
20438 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20439 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20440 wine_fn_config_makefile dlls/loadperf enable_loadperf
20441 wine_fn_config_makefile dlls/localspl enable_localspl
20442 wine_fn_config_makefile dlls/localspl/tests enable_tests
20443 wine_fn_config_makefile dlls/localui enable_localui
20444 wine_fn_config_makefile dlls/localui/tests enable_tests
20445 wine_fn_config_makefile dlls/lz32 enable_lz32
20446 wine_fn_config_makefile dlls/lz32/tests enable_tests
20447 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20448 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20449 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20450 wine_fn_config_makefile dlls/mapistub enable_mapistub
20451 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20452 wine_fn_config_makefile dlls/mcicda enable_mcicda
20453 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20454 wine_fn_config_makefile dlls/mciseq enable_mciseq
20455 wine_fn_config_makefile dlls/mciwave enable_mciwave
20456 wine_fn_config_makefile dlls/mf enable_mf
20457 wine_fn_config_makefile dlls/mf/tests enable_tests
20458 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20459 wine_fn_config_makefile dlls/mferror enable_mferror
20460 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20461 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20462 wine_fn_config_makefile dlls/mfplat enable_mfplat
20463 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20464 wine_fn_config_makefile dlls/mfplay enable_mfplay
20465 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20466 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20467 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20468 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20469 wine_fn_config_makefile dlls/midimap enable_midimap
20470 wine_fn_config_makefile dlls/mlang enable_mlang
20471 wine_fn_config_makefile dlls/mlang/tests enable_tests
20472 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20473 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20474 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20475 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20476 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20477 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20478 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20479 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20480 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20481 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20482 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20483 wine_fn_config_makefile dlls/mpr enable_mpr
20484 wine_fn_config_makefile dlls/mpr/tests enable_tests
20485 wine_fn_config_makefile dlls/mprapi enable_mprapi
20486 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20487 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20488 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20489 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20490 wine_fn_config_makefile dlls/msado15 enable_msado15
20491 wine_fn_config_makefile dlls/msado15/tests enable_tests
20492 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20493 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20494 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20495 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20496 wine_fn_config_makefile dlls/mscms enable_mscms
20497 wine_fn_config_makefile dlls/mscms/tests enable_tests
20498 wine_fn_config_makefile dlls/mscoree enable_mscoree
20499 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20500 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20501 wine_fn_config_makefile dlls/msctf enable_msctf
20502 wine_fn_config_makefile dlls/msctf/tests enable_tests
20503 wine_fn_config_makefile dlls/msctfp enable_msctfp
20504 wine_fn_config_makefile dlls/msdaps enable_msdaps
20505 wine_fn_config_makefile dlls/msdelta enable_msdelta
20506 wine_fn_config_makefile dlls/msdmo enable_msdmo
20507 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20508 wine_fn_config_makefile dlls/msdrm enable_msdrm
20509 wine_fn_config_makefile dlls/msftedit enable_msftedit
20510 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20511 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20512 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20513 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20514 wine_fn_config_makefile dlls/mshtml enable_mshtml
20515 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20516 wine_fn_config_makefile dlls/msi enable_msi
20517 wine_fn_config_makefile dlls/msi/tests enable_tests
20518 wine_fn_config_makefile dlls/msident enable_msident
20519 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20520 wine_fn_config_makefile dlls/msimsg enable_msimsg
20521 wine_fn_config_makefile dlls/msimtf enable_msimtf
20522 wine_fn_config_makefile dlls/msisip enable_msisip
20523 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20524 wine_fn_config_makefile dlls/msls31 enable_msls31
20525 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20526 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20527 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20528 wine_fn_config_makefile dlls/msports enable_msports
20529 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20530 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20531 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20532 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20533 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20534 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20535 wine_fn_config_makefile dlls/mstask enable_mstask
20536 wine_fn_config_makefile dlls/mstask/tests enable_tests
20537 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20538 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20539 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20540 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20541 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20542 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20543 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20544 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20545 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20546 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20547 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20548 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20549 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20550 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20551 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20552 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20553 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20554 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20555 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20556 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20557 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20558 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20559 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20560 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20561 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20562 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20563 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20564 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20565 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20566 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20567 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20568 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20569 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20570 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20571 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20572 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20573 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20574 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20575 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20576 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20577 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20578 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20579 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20580 wine_fn_config_makefile dlls/mswsock enable_mswsock
20581 wine_fn_config_makefile dlls/msxml enable_msxml
20582 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20583 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20584 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20585 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20586 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20587 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20588 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20589 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20590 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20591 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20592 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20593 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20594 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20595 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20596 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20597 wine_fn_config_makefile dlls/netprofm enable_netprofm
20598 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20599 wine_fn_config_makefile dlls/netutils enable_netutils
20600 wine_fn_config_makefile dlls/newdev enable_newdev
20601 wine_fn_config_makefile dlls/ninput enable_ninput
20602 wine_fn_config_makefile dlls/ninput/tests enable_tests
20603 wine_fn_config_makefile dlls/normaliz enable_normaliz
20604 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20605 wine_fn_config_makefile dlls/npptools enable_npptools
20606 wine_fn_config_makefile dlls/ntdll enable_ntdll
20607 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20608 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20609 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20610 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20611 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20612 wine_fn_config_makefile dlls/ntprint enable_ntprint
20613 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20614 wine_fn_config_makefile dlls/objsel enable_objsel
20615 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20616 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20617 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20618 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20619 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20620 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20621 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20622 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20623 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20624 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20625 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20626 wine_fn_config_makefile dlls/ole32 enable_ole32
20627 wine_fn_config_makefile dlls/ole32/tests enable_tests
20628 wine_fn_config_makefile dlls/oleacc enable_oleacc
20629 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20630 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20631 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20632 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20633 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20634 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20635 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20636 wine_fn_config_makefile dlls/oledlg enable_oledlg
20637 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20638 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20639 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20640 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20641 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20642 wine_fn_config_makefile dlls/opcservices enable_opcservices
20643 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20644 wine_fn_config_makefile dlls/openal32 enable_openal32
20645 wine_fn_config_makefile dlls/opencl enable_opencl
20646 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20647 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20648 wine_fn_config_makefile dlls/packager enable_packager
20649 wine_fn_config_makefile dlls/packager/tests enable_tests
20650 wine_fn_config_makefile dlls/pdh enable_pdh
20651 wine_fn_config_makefile dlls/pdh/tests enable_tests
20652 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20653 wine_fn_config_makefile dlls/pidgen enable_pidgen
20654 wine_fn_config_makefile dlls/powrprof enable_powrprof
20655 wine_fn_config_makefile dlls/printui enable_printui
20656 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20657 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20658 wine_fn_config_makefile dlls/propsys enable_propsys
20659 wine_fn_config_makefile dlls/propsys/tests enable_tests
20660 wine_fn_config_makefile dlls/psapi enable_psapi
20661 wine_fn_config_makefile dlls/psapi/tests enable_tests
20662 wine_fn_config_makefile dlls/pstorec enable_pstorec
20663 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20664 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20665 wine_fn_config_makefile dlls/qasf enable_qasf
20666 wine_fn_config_makefile dlls/qasf/tests enable_tests
20667 wine_fn_config_makefile dlls/qcap enable_qcap
20668 wine_fn_config_makefile dlls/qcap/tests enable_tests
20669 wine_fn_config_makefile dlls/qdvd enable_qdvd
20670 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20671 wine_fn_config_makefile dlls/qedit enable_qedit
20672 wine_fn_config_makefile dlls/qedit/tests enable_tests
20673 wine_fn_config_makefile dlls/qmgr enable_qmgr
20674 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20675 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20676 wine_fn_config_makefile dlls/quartz enable_quartz
20677 wine_fn_config_makefile dlls/quartz/tests enable_tests
20678 wine_fn_config_makefile dlls/query enable_query
20679 wine_fn_config_makefile dlls/qwave enable_qwave
20680 wine_fn_config_makefile dlls/qwave/tests enable_tests
20681 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20682 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20683 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20684 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20685 wine_fn_config_makefile dlls/regapi enable_regapi
20686 wine_fn_config_makefile dlls/resutils enable_resutils
20687 wine_fn_config_makefile dlls/riched20 enable_riched20
20688 wine_fn_config_makefile dlls/riched20/tests enable_tests
20689 wine_fn_config_makefile dlls/riched32 enable_riched32
20690 wine_fn_config_makefile dlls/riched32/tests enable_tests
20691 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20692 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20693 wine_fn_config_makefile dlls/rsabase enable_rsabase
20694 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20695 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20696 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20697 wine_fn_config_makefile dlls/rtutils enable_rtutils
20698 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20699 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20700 wine_fn_config_makefile dlls/samlib enable_samlib
20701 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20702 wine_fn_config_makefile dlls/sapi enable_sapi
20703 wine_fn_config_makefile dlls/sapi/tests enable_tests
20704 wine_fn_config_makefile dlls/sas enable_sas
20705 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20706 wine_fn_config_makefile dlls/sccbase enable_sccbase
20707 wine_fn_config_makefile dlls/schannel enable_schannel
20708 wine_fn_config_makefile dlls/schannel/tests enable_tests
20709 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20710 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20711 wine_fn_config_makefile dlls/scrobj enable_scrobj
20712 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20713 wine_fn_config_makefile dlls/scrrun enable_scrrun
20714 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20715 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20716 wine_fn_config_makefile dlls/sechost enable_sechost
20717 wine_fn_config_makefile dlls/secur32 enable_secur32
20718 wine_fn_config_makefile dlls/secur32/tests enable_tests
20719 wine_fn_config_makefile dlls/security enable_security
20720 wine_fn_config_makefile dlls/sensapi enable_sensapi
20721 wine_fn_config_makefile dlls/serialui enable_serialui
20722 wine_fn_config_makefile dlls/serialui/tests enable_tests
20723 wine_fn_config_makefile dlls/setupapi enable_setupapi
20724 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20725 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20726 wine_fn_config_makefile dlls/sfc enable_sfc
20727 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20728 wine_fn_config_makefile dlls/shcore enable_shcore
20729 wine_fn_config_makefile dlls/shcore/tests enable_tests
20730 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20731 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20732 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20733 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20734 wine_fn_config_makefile dlls/shell32 enable_shell32
20735 wine_fn_config_makefile dlls/shell32/tests enable_tests
20736 wine_fn_config_makefile dlls/shfolder enable_shfolder
20737 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20738 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20739 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20740 wine_fn_config_makefile dlls/slc enable_slc
20741 wine_fn_config_makefile dlls/slc/tests enable_tests
20742 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20743 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20744 wine_fn_config_makefile dlls/softpub enable_softpub
20745 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20746 wine_fn_config_makefile dlls/spoolss enable_spoolss
20747 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20748 wine_fn_config_makefile dlls/srclient enable_srclient
20749 wine_fn_config_makefile dlls/srvcli enable_srvcli
20750 wine_fn_config_makefile dlls/sspicli enable_sspicli
20751 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20752 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20753 wine_fn_config_makefile dlls/sti enable_sti
20754 wine_fn_config_makefile dlls/sti/tests enable_tests
20755 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20756 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20757 wine_fn_config_makefile dlls/strmbase enable_strmbase
20758 wine_fn_config_makefile dlls/strmdll enable_strmdll
20759 wine_fn_config_makefile dlls/strmiids enable_strmiids
20760 wine_fn_config_makefile dlls/svrapi enable_svrapi
20761 wine_fn_config_makefile dlls/sxs enable_sxs
20762 wine_fn_config_makefile dlls/sxs/tests enable_tests
20763 wine_fn_config_makefile dlls/system.drv16 enable_win16
20764 wine_fn_config_makefile dlls/t2embed enable_t2embed
20765 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20766 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20767 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20768 wine_fn_config_makefile dlls/taskschd enable_taskschd
20769 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20770 wine_fn_config_makefile dlls/tdh enable_tdh
20771 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20772 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20773 wine_fn_config_makefile dlls/traffic enable_traffic
20774 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20775 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20776 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20777 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20778 wine_fn_config_makefile dlls/tzres enable_tzres
20779 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20780 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20781 wine_fn_config_makefile dlls/uianimation enable_uianimation
20782 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20783 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20784 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20785 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20786 wine_fn_config_makefile dlls/unicows enable_unicows
20787 wine_fn_config_makefile dlls/updspapi enable_updspapi
20788 wine_fn_config_makefile dlls/url enable_url
20789 wine_fn_config_makefile dlls/urlmon enable_urlmon
20790 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20791 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20792 wine_fn_config_makefile dlls/user.exe16 enable_win16
20793 wine_fn_config_makefile dlls/user32 enable_user32
20794 wine_fn_config_makefile dlls/user32/tests enable_tests
20795 wine_fn_config_makefile dlls/userenv enable_userenv
20796 wine_fn_config_makefile dlls/userenv/tests enable_tests
20797 wine_fn_config_makefile dlls/usp10 enable_usp10
20798 wine_fn_config_makefile dlls/usp10/tests enable_tests
20799 wine_fn_config_makefile dlls/utildll enable_utildll
20800 wine_fn_config_makefile dlls/uuid enable_uuid
20801 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20802 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20803 wine_fn_config_makefile dlls/vbscript enable_vbscript
20804 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20805 wine_fn_config_makefile dlls/vcomp enable_vcomp
20806 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20807 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20808 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20809 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20810 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20811 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20812 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20813 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20814 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20815 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20816 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20817 wine_fn_config_makefile dlls/version enable_version
20818 wine_fn_config_makefile dlls/version/tests enable_tests
20819 wine_fn_config_makefile dlls/vga enable_vga
20820 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20821 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20822 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20823 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20824 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20825 wine_fn_config_makefile dlls/vssapi enable_vssapi
20826 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20827 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20828 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20829 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20830 wine_fn_config_makefile dlls/w32skrnl enable_win16
20831 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20832 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20833 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20834 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20835 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20836 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20837 wine_fn_config_makefile dlls/wdscore enable_wdscore
20838 wine_fn_config_makefile dlls/webservices enable_webservices
20839 wine_fn_config_makefile dlls/webservices/tests enable_tests
20840 wine_fn_config_makefile dlls/wer enable_wer
20841 wine_fn_config_makefile dlls/wer/tests enable_tests
20842 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20843 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20844 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20845 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20846 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20847 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20848 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20849 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20850 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20851 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20852 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20853 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20854 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20855 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20856 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20857 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20858 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20859 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20860 wine_fn_config_makefile dlls/wined3d enable_wined3d
20861 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20862 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20863 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20864 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20865 wine_fn_config_makefile dlls/winemapi enable_winemapi
20866 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20867 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20868 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20869 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20870 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20871 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20872 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20873 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20874 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20875 wine_fn_config_makefile dlls/wing32 enable_wing32
20876 wine_fn_config_makefile dlls/winhttp enable_winhttp
20877 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20878 wine_fn_config_makefile dlls/wininet enable_wininet
20879 wine_fn_config_makefile dlls/wininet/tests enable_tests
20880 wine_fn_config_makefile dlls/winmm enable_winmm
20881 wine_fn_config_makefile dlls/winmm/tests enable_tests
20882 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20883 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20884 wine_fn_config_makefile dlls/winscard enable_winscard
20885 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20886 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20887 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20888 wine_fn_config_makefile dlls/winsta enable_winsta
20889 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20890 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20891 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20892 wine_fn_config_makefile dlls/wintrust enable_wintrust
20893 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20894 wine_fn_config_makefile dlls/winusb enable_winusb
20895 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20896 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20897 wine_fn_config_makefile dlls/wlanui enable_wlanui
20898 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20899 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20900 wine_fn_config_makefile dlls/wmasf enable_wmasf
20901 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20902 wine_fn_config_makefile dlls/wmi enable_wmi
20903 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20904 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20905 wine_fn_config_makefile dlls/wmp enable_wmp
20906 wine_fn_config_makefile dlls/wmp/tests enable_tests
20907 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20908 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20909 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20910 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20911 wine_fn_config_makefile dlls/wow32 enable_win16
20912 wine_fn_config_makefile dlls/wpc enable_wpc
20913 wine_fn_config_makefile dlls/wpc/tests enable_tests
20914 wine_fn_config_makefile dlls/wpcap enable_wpcap
20915 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20916 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20917 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20918 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20919 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20920 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20921 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20922 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20923 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20924 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20925 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20926 wine_fn_config_makefile dlls/wuapi enable_wuapi
20927 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20928 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20929 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20930 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20931 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20932 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20933 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20934 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20935 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20936 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
20937 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
20938 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
20939 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
20940 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
20941 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
20942 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
20943 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
20944 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
20945 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20946 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20947 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20948 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20949 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20950 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20951 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20952 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20953 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20954 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20955 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20956 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20957 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20958 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20959 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20960 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20961 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20962 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20963 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20964 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20965 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20966 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20967 wine_fn_config_makefile dlls/xmllite enable_xmllite
20968 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20969 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20970 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20971 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20972 wine_fn_config_makefile fonts enable_fonts
20973 wine_fn_config_makefile include enable_include
20974 wine_fn_config_makefile libs/port enable_port
20975 wine_fn_config_makefile libs/wine enable_wine
20976 wine_fn_config_makefile libs/wpp enable_wpp
20977 wine_fn_config_makefile loader enable_loader
20978 wine_fn_config_makefile nls enable_nls
20979 wine_fn_config_makefile po enable_po
20980 wine_fn_config_makefile programs/arp enable_arp
20981 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20982 wine_fn_config_makefile programs/attrib enable_attrib
20983 wine_fn_config_makefile programs/cabarc enable_cabarc
20984 wine_fn_config_makefile programs/cacls enable_cacls
20985 wine_fn_config_makefile programs/chcp.com enable_chcp_com
20986 wine_fn_config_makefile programs/clock enable_clock
20987 wine_fn_config_makefile programs/cmd enable_cmd
20988 wine_fn_config_makefile programs/cmd/tests enable_tests
20989 wine_fn_config_makefile programs/conhost enable_conhost
20990 wine_fn_config_makefile programs/conhost/tests enable_tests
20991 wine_fn_config_makefile programs/control enable_control
20992 wine_fn_config_makefile programs/cscript enable_cscript
20993 wine_fn_config_makefile programs/dism enable_dism
20994 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
20995 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20996 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
20997 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20998 wine_fn_config_makefile programs/eject enable_eject
20999 wine_fn_config_makefile programs/expand enable_expand
21000 wine_fn_config_makefile programs/explorer enable_explorer
21001 wine_fn_config_makefile programs/extrac32 enable_extrac32
21002 wine_fn_config_makefile programs/fc enable_fc
21003 wine_fn_config_makefile programs/find enable_find
21004 wine_fn_config_makefile programs/find/tests enable_tests
21005 wine_fn_config_makefile programs/findstr enable_findstr
21006 wine_fn_config_makefile programs/fsutil enable_fsutil
21007 wine_fn_config_makefile programs/fsutil/tests enable_tests
21008 wine_fn_config_makefile programs/hh enable_hh
21009 wine_fn_config_makefile programs/hostname enable_hostname
21010 wine_fn_config_makefile programs/icacls enable_icacls
21011 wine_fn_config_makefile programs/icinfo enable_icinfo
21012 wine_fn_config_makefile programs/iexplore enable_iexplore
21013 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21014 wine_fn_config_makefile programs/lodctr enable_lodctr
21015 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21016 wine_fn_config_makefile programs/mshta enable_mshta
21017 wine_fn_config_makefile programs/msidb enable_msidb
21018 wine_fn_config_makefile programs/msiexec enable_msiexec
21019 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21020 wine_fn_config_makefile programs/net enable_net
21021 wine_fn_config_makefile programs/netsh enable_netsh
21022 wine_fn_config_makefile programs/netstat enable_netstat
21023 wine_fn_config_makefile programs/ngen enable_ngen
21024 wine_fn_config_makefile programs/notepad enable_notepad
21025 wine_fn_config_makefile programs/oleview enable_oleview
21026 wine_fn_config_makefile programs/ping enable_ping
21027 wine_fn_config_makefile programs/plugplay enable_plugplay
21028 wine_fn_config_makefile programs/powershell enable_powershell
21029 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21030 wine_fn_config_makefile programs/progman enable_progman
21031 wine_fn_config_makefile programs/reg enable_reg
21032 wine_fn_config_makefile programs/reg/tests enable_tests
21033 wine_fn_config_makefile programs/regasm enable_regasm
21034 wine_fn_config_makefile programs/regedit enable_regedit
21035 wine_fn_config_makefile programs/regedit/tests enable_tests
21036 wine_fn_config_makefile programs/regini enable_regini
21037 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21038 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21039 wine_fn_config_makefile programs/rpcss enable_rpcss
21040 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21041 wine_fn_config_makefile programs/rundll32 enable_rundll32
21042 wine_fn_config_makefile programs/sc enable_sc
21043 wine_fn_config_makefile programs/schtasks enable_schtasks
21044 wine_fn_config_makefile programs/schtasks/tests enable_tests
21045 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21046 wine_fn_config_makefile programs/secedit enable_secedit
21047 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21048 wine_fn_config_makefile programs/services enable_services
21049 wine_fn_config_makefile programs/services/tests enable_tests
21050 wine_fn_config_makefile programs/shutdown enable_shutdown
21051 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21052 wine_fn_config_makefile programs/start enable_start
21053 wine_fn_config_makefile programs/subst enable_subst
21054 wine_fn_config_makefile programs/svchost enable_svchost
21055 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21056 wine_fn_config_makefile programs/taskkill enable_taskkill
21057 wine_fn_config_makefile programs/tasklist enable_tasklist
21058 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21059 wine_fn_config_makefile programs/termsv enable_termsv
21060 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21061 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21062 wine_fn_config_makefile programs/view enable_view
21063 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21064 wine_fn_config_makefile programs/where enable_where
21065 wine_fn_config_makefile programs/whoami enable_whoami
21066 wine_fn_config_makefile programs/wineboot enable_wineboot
21067 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21068 wine_fn_config_makefile programs/winecfg enable_winecfg
21069 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21070 wine_fn_config_makefile programs/winedbg enable_winedbg
21071 wine_fn_config_makefile programs/winedevice enable_winedevice
21072 wine_fn_config_makefile programs/winefile enable_winefile
21073 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21074 wine_fn_config_makefile programs/winemine enable_winemine
21075 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21076 wine_fn_config_makefile programs/winepath enable_winepath
21077 wine_fn_config_makefile programs/winetest enable_winetest
21078 wine_fn_config_makefile programs/winevdm enable_win16
21079 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21080 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21081 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21082 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21083 wine_fn_config_makefile programs/winver enable_winver
21084 wine_fn_config_makefile programs/wmic enable_wmic
21085 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21086 wine_fn_config_makefile programs/wordpad enable_wordpad
21087 wine_fn_config_makefile programs/write enable_write
21088 wine_fn_config_makefile programs/wscript enable_wscript
21089 wine_fn_config_makefile programs/wscript/tests enable_tests
21090 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21091 wine_fn_config_makefile programs/wusa enable_wusa
21092 wine_fn_config_makefile programs/xcopy enable_xcopy
21093 wine_fn_config_makefile programs/xcopy/tests enable_tests
21094 wine_fn_config_makefile server enable_server
21095 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21096 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21097 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21098 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21099 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21100 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21101 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21102 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21103 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21106 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21107 wine_fn_append_file CONFIGURE_TARGETS "tags"
21108 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21109 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21110 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21111 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21112 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21113 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21115 if test "x$enable_tools" != xno
21116 then
21117 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21118 ac_config_commands="$ac_config_commands tools/makedep"
21122 ac_config_commands="$ac_config_commands Makefile"
21125 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21129 if test "x$enable_maintainer_mode" = xyes
21130 then
21131 wine_fn_append_rule "configure: configure.ac aclocal.m4
21132 autoconf --warnings=all
21133 include/config.h.in: include/stamp-h.in
21134 include/stamp-h.in: configure.ac aclocal.m4
21135 autoheader --warnings=all
21136 @echo timestamp > \$@"
21139 if test "x$enable_tools" != xno
21140 then
21141 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21142 @./config.status tools/makedep
21143 Makefile: tools/makedep$ac_exeext"
21144 else
21145 wine_fn_append_rule "\$(MAKEDEP):
21146 @echo \"You need to run make in $TOOLSDIR first\" && false"
21149 if test -n "$with_wine64"
21150 then
21151 case "$with_wine64" in
21152 /*) reldir="" ;;
21153 *) reldir="../" ;;
21154 esac
21155 rm -f fonts server 2>/dev/null
21156 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21157 loader/wine64 loader/wine64-preloader:
21158 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21159 $with_wine64/loader/wine:
21160 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21161 $with_wine64/loader/wine-preloader:
21162 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21163 clean::
21164 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21165 else
21166 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21167 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21168 fonts \
21169 loader/wine.inf \
21170 nls \
21171 programs/msidb/msidb \
21172 programs/msiexec/msiexec \
21173 programs/notepad/notepad \
21174 programs/regedit/regedit \
21175 programs/regsvr32/regsvr32 \
21176 programs/wineboot/wineboot \
21177 programs/winecfg/winecfg \
21178 programs/wineconsole/wineconsole \
21179 programs/winedbg/winedbg \
21180 programs/winefile/winefile \
21181 programs/winemine/winemine \
21182 programs/winepath/winepath \
21183 server/wineserver"
21185 case $host_os in
21186 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21187 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21188 esac
21191 $as_echo " done" >&6
21192 cat >confcache <<\_ACEOF
21193 # This file is a shell script that caches the results of configure
21194 # tests run on this system so they can be shared between configure
21195 # scripts and configure runs, see configure's option --config-cache.
21196 # It is not useful on other systems. If it contains results you don't
21197 # want to keep, you may remove or edit it.
21199 # config.status only pays attention to the cache file if you give it
21200 # the --recheck option to rerun configure.
21202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21204 # following values.
21206 _ACEOF
21208 # The following way of writing the cache mishandles newlines in values,
21209 # but we know of no workaround that is simple, portable, and efficient.
21210 # So, we kill variables containing newlines.
21211 # Ultrix sh set writes to stderr and can't be redirected directly,
21212 # and sets the high bit in the cache file unless we assign to the vars.
21214 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21215 eval ac_val=\$$ac_var
21216 case $ac_val in #(
21217 *${as_nl}*)
21218 case $ac_var in #(
21219 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21220 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21221 esac
21222 case $ac_var in #(
21223 _ | IFS | as_nl) ;; #(
21224 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21225 *) { eval $ac_var=; unset $ac_var;} ;;
21226 esac ;;
21227 esac
21228 done
21230 (set) 2>&1 |
21231 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21232 *${as_nl}ac_space=\ *)
21233 # `set' does not quote correctly, so add quotes: double-quote
21234 # substitution turns \\\\ into \\, and sed turns \\ into \.
21235 sed -n \
21236 "s/'/'\\\\''/g;
21237 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21238 ;; #(
21240 # `set' quotes correctly as required by POSIX, so do not add quotes.
21241 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21243 esac |
21244 sort
21246 sed '
21247 /^ac_cv_env_/b end
21248 t clear
21249 :clear
21250 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21251 t end
21252 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21253 :end' >>confcache
21254 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21255 if test -w "$cache_file"; then
21256 if test "x$cache_file" != "x/dev/null"; then
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21258 $as_echo "$as_me: updating cache $cache_file" >&6;}
21259 if test ! -f "$cache_file" || test -h "$cache_file"; then
21260 cat confcache >"$cache_file"
21261 else
21262 case $cache_file in #(
21263 */* | ?:*)
21264 mv -f confcache "$cache_file"$$ &&
21265 mv -f "$cache_file"$$ "$cache_file" ;; #(
21267 mv -f confcache "$cache_file" ;;
21268 esac
21271 else
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21273 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21276 rm -f confcache
21278 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21279 # Let make expand exec_prefix.
21280 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21282 DEFS=-DHAVE_CONFIG_H
21284 ac_libobjs=
21285 ac_ltlibobjs=
21287 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21288 # 1. Remove the extension, and $U if already installed.
21289 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21290 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21291 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21292 # will be set to the directory where LIBOBJS objects are built.
21293 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21294 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21295 done
21296 LIBOBJS=$ac_libobjs
21298 LTLIBOBJS=$ac_ltlibobjs
21302 : "${CONFIG_STATUS=./config.status}"
21303 ac_write_fail=0
21304 ac_clean_files_save=$ac_clean_files
21305 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21307 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21308 as_write_fail=0
21309 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21310 #! $SHELL
21311 # Generated by $as_me.
21312 # Run this file to recreate the current configuration.
21313 # Compiler output produced by configure, useful for debugging
21314 # configure, is in config.log if it exists.
21316 debug=false
21317 ac_cs_recheck=false
21318 ac_cs_silent=false
21320 SHELL=\${CONFIG_SHELL-$SHELL}
21321 export SHELL
21322 _ASEOF
21323 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21324 ## -------------------- ##
21325 ## M4sh Initialization. ##
21326 ## -------------------- ##
21328 # Be more Bourne compatible
21329 DUALCASE=1; export DUALCASE # for MKS sh
21330 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21331 emulate sh
21332 NULLCMD=:
21333 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21334 # is contrary to our usage. Disable this feature.
21335 alias -g '${1+"$@"}'='"$@"'
21336 setopt NO_GLOB_SUBST
21337 else
21338 case `(set -o) 2>/dev/null` in #(
21339 *posix*) :
21340 set -o posix ;; #(
21341 *) :
21343 esac
21347 as_nl='
21349 export as_nl
21350 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21351 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21352 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21353 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21354 # Prefer a ksh shell builtin over an external printf program on Solaris,
21355 # but without wasting forks for bash or zsh.
21356 if test -z "$BASH_VERSION$ZSH_VERSION" \
21357 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21358 as_echo='print -r --'
21359 as_echo_n='print -rn --'
21360 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21361 as_echo='printf %s\n'
21362 as_echo_n='printf %s'
21363 else
21364 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21365 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21366 as_echo_n='/usr/ucb/echo -n'
21367 else
21368 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21369 as_echo_n_body='eval
21370 arg=$1;
21371 case $arg in #(
21372 *"$as_nl"*)
21373 expr "X$arg" : "X\\(.*\\)$as_nl";
21374 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21375 esac;
21376 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21378 export as_echo_n_body
21379 as_echo_n='sh -c $as_echo_n_body as_echo'
21381 export as_echo_body
21382 as_echo='sh -c $as_echo_body as_echo'
21385 # The user is always right.
21386 if test "${PATH_SEPARATOR+set}" != set; then
21387 PATH_SEPARATOR=:
21388 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21389 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21390 PATH_SEPARATOR=';'
21395 # IFS
21396 # We need space, tab and new line, in precisely that order. Quoting is
21397 # there to prevent editors from complaining about space-tab.
21398 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21399 # splitting by setting IFS to empty value.)
21400 IFS=" "" $as_nl"
21402 # Find who we are. Look in the path if we contain no directory separator.
21403 as_myself=
21404 case $0 in #((
21405 *[\\/]* ) as_myself=$0 ;;
21406 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21407 for as_dir in $PATH
21409 IFS=$as_save_IFS
21410 test -z "$as_dir" && as_dir=.
21411 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21412 done
21413 IFS=$as_save_IFS
21416 esac
21417 # We did not find ourselves, most probably we were run as `sh COMMAND'
21418 # in which case we are not to be found in the path.
21419 if test "x$as_myself" = x; then
21420 as_myself=$0
21422 if test ! -f "$as_myself"; then
21423 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21424 exit 1
21427 # Unset variables that we do not need and which cause bugs (e.g. in
21428 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21429 # suppresses any "Segmentation fault" message there. '((' could
21430 # trigger a bug in pdksh 5.2.14.
21431 for as_var in BASH_ENV ENV MAIL MAILPATH
21432 do eval test x\${$as_var+set} = xset \
21433 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21434 done
21435 PS1='$ '
21436 PS2='> '
21437 PS4='+ '
21439 # NLS nuisances.
21440 LC_ALL=C
21441 export LC_ALL
21442 LANGUAGE=C
21443 export LANGUAGE
21445 # CDPATH.
21446 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21449 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21450 # ----------------------------------------
21451 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21452 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21453 # script with STATUS, using 1 if that was 0.
21454 as_fn_error ()
21456 as_status=$1; test $as_status -eq 0 && as_status=1
21457 if test "$4"; then
21458 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21459 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21461 $as_echo "$as_me: error: $2" >&2
21462 as_fn_exit $as_status
21463 } # as_fn_error
21466 # as_fn_set_status STATUS
21467 # -----------------------
21468 # Set $? to STATUS, without forking.
21469 as_fn_set_status ()
21471 return $1
21472 } # as_fn_set_status
21474 # as_fn_exit STATUS
21475 # -----------------
21476 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21477 as_fn_exit ()
21479 set +e
21480 as_fn_set_status $1
21481 exit $1
21482 } # as_fn_exit
21484 # as_fn_unset VAR
21485 # ---------------
21486 # Portably unset VAR.
21487 as_fn_unset ()
21489 { eval $1=; unset $1;}
21491 as_unset=as_fn_unset
21492 # as_fn_append VAR VALUE
21493 # ----------------------
21494 # Append the text in VALUE to the end of the definition contained in VAR. Take
21495 # advantage of any shell optimizations that allow amortized linear growth over
21496 # repeated appends, instead of the typical quadratic growth present in naive
21497 # implementations.
21498 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21499 eval 'as_fn_append ()
21501 eval $1+=\$2
21503 else
21504 as_fn_append ()
21506 eval $1=\$$1\$2
21508 fi # as_fn_append
21510 # as_fn_arith ARG...
21511 # ------------------
21512 # Perform arithmetic evaluation on the ARGs, and store the result in the
21513 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21514 # must be portable across $(()) and expr.
21515 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21516 eval 'as_fn_arith ()
21518 as_val=$(( $* ))
21520 else
21521 as_fn_arith ()
21523 as_val=`expr "$@" || test $? -eq 1`
21525 fi # as_fn_arith
21528 if expr a : '\(a\)' >/dev/null 2>&1 &&
21529 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21530 as_expr=expr
21531 else
21532 as_expr=false
21535 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21536 as_basename=basename
21537 else
21538 as_basename=false
21541 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21542 as_dirname=dirname
21543 else
21544 as_dirname=false
21547 as_me=`$as_basename -- "$0" ||
21548 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21549 X"$0" : 'X\(//\)$' \| \
21550 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21551 $as_echo X/"$0" |
21552 sed '/^.*\/\([^/][^/]*\)\/*$/{
21553 s//\1/
21556 /^X\/\(\/\/\)$/{
21557 s//\1/
21560 /^X\/\(\/\).*/{
21561 s//\1/
21564 s/.*/./; q'`
21566 # Avoid depending upon Character Ranges.
21567 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21568 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21569 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21570 as_cr_digits='0123456789'
21571 as_cr_alnum=$as_cr_Letters$as_cr_digits
21573 ECHO_C= ECHO_N= ECHO_T=
21574 case `echo -n x` in #(((((
21575 -n*)
21576 case `echo 'xy\c'` in
21577 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21578 xy) ECHO_C='\c';;
21579 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21580 ECHO_T=' ';;
21581 esac;;
21583 ECHO_N='-n';;
21584 esac
21586 rm -f conf$$ conf$$.exe conf$$.file
21587 if test -d conf$$.dir; then
21588 rm -f conf$$.dir/conf$$.file
21589 else
21590 rm -f conf$$.dir
21591 mkdir conf$$.dir 2>/dev/null
21593 if (echo >conf$$.file) 2>/dev/null; then
21594 if ln -s conf$$.file conf$$ 2>/dev/null; then
21595 as_ln_s='ln -s'
21596 # ... but there are two gotchas:
21597 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21598 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21599 # In both cases, we have to default to `cp -pR'.
21600 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21601 as_ln_s='cp -pR'
21602 elif ln conf$$.file conf$$ 2>/dev/null; then
21603 as_ln_s=ln
21604 else
21605 as_ln_s='cp -pR'
21607 else
21608 as_ln_s='cp -pR'
21610 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21611 rmdir conf$$.dir 2>/dev/null
21614 # as_fn_mkdir_p
21615 # -------------
21616 # Create "$as_dir" as a directory, including parents if necessary.
21617 as_fn_mkdir_p ()
21620 case $as_dir in #(
21621 -*) as_dir=./$as_dir;;
21622 esac
21623 test -d "$as_dir" || eval $as_mkdir_p || {
21624 as_dirs=
21625 while :; do
21626 case $as_dir in #(
21627 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21628 *) as_qdir=$as_dir;;
21629 esac
21630 as_dirs="'$as_qdir' $as_dirs"
21631 as_dir=`$as_dirname -- "$as_dir" ||
21632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21633 X"$as_dir" : 'X\(//\)[^/]' \| \
21634 X"$as_dir" : 'X\(//\)$' \| \
21635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21636 $as_echo X"$as_dir" |
21637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21638 s//\1/
21641 /^X\(\/\/\)[^/].*/{
21642 s//\1/
21645 /^X\(\/\/\)$/{
21646 s//\1/
21649 /^X\(\/\).*/{
21650 s//\1/
21653 s/.*/./; q'`
21654 test -d "$as_dir" && break
21655 done
21656 test -z "$as_dirs" || eval "mkdir $as_dirs"
21657 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21660 } # as_fn_mkdir_p
21661 if mkdir -p . 2>/dev/null; then
21662 as_mkdir_p='mkdir -p "$as_dir"'
21663 else
21664 test -d ./-p && rmdir ./-p
21665 as_mkdir_p=false
21669 # as_fn_executable_p FILE
21670 # -----------------------
21671 # Test if FILE is an executable regular file.
21672 as_fn_executable_p ()
21674 test -f "$1" && test -x "$1"
21675 } # as_fn_executable_p
21676 as_test_x='test -x'
21677 as_executable_p=as_fn_executable_p
21679 # Sed expression to map a string onto a valid CPP name.
21680 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21682 # Sed expression to map a string onto a valid variable name.
21683 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21686 exec 6>&1
21687 ## ----------------------------------- ##
21688 ## Main body of $CONFIG_STATUS script. ##
21689 ## ----------------------------------- ##
21690 _ASEOF
21691 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21694 # Save the log message, to keep $0 and so on meaningful, and to
21695 # report actual input values of CONFIG_FILES etc. instead of their
21696 # values after options handling.
21697 ac_log="
21698 This file was extended by Wine $as_me 6.0-rc4, which was
21699 generated by GNU Autoconf 2.69. Invocation command line was
21701 CONFIG_FILES = $CONFIG_FILES
21702 CONFIG_HEADERS = $CONFIG_HEADERS
21703 CONFIG_LINKS = $CONFIG_LINKS
21704 CONFIG_COMMANDS = $CONFIG_COMMANDS
21705 $ $0 $@
21707 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21710 _ACEOF
21712 case $ac_config_files in *"
21713 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21714 esac
21716 case $ac_config_headers in *"
21717 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21718 esac
21721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21722 # Files that config.status was made for.
21723 config_files="$ac_config_files"
21724 config_headers="$ac_config_headers"
21725 config_links="$ac_config_links"
21726 config_commands="$ac_config_commands"
21728 _ACEOF
21730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21731 ac_cs_usage="\
21732 \`$as_me' instantiates files and other configuration actions
21733 from templates according to the current configuration. Unless the files
21734 and actions are specified as TAGs, all are instantiated by default.
21736 Usage: $0 [OPTION]... [TAG]...
21738 -h, --help print this help, then exit
21739 -V, --version print version number and configuration settings, then exit
21740 --config print configuration, then exit
21741 -q, --quiet, --silent
21742 do not print progress messages
21743 -d, --debug don't remove temporary files
21744 --recheck update $as_me by reconfiguring in the same conditions
21745 --file=FILE[:TEMPLATE]
21746 instantiate the configuration file FILE
21747 --header=FILE[:TEMPLATE]
21748 instantiate the configuration header FILE
21750 Configuration files:
21751 $config_files
21753 Configuration headers:
21754 $config_headers
21756 Configuration links:
21757 $config_links
21759 Configuration commands:
21760 $config_commands
21762 Report bugs to <wine-devel@winehq.org>.
21763 Wine home page: <https://www.winehq.org>."
21765 _ACEOF
21766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21767 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21768 ac_cs_version="\\
21769 Wine config.status 6.0-rc4
21770 configured by $0, generated by GNU Autoconf 2.69,
21771 with options \\"\$ac_cs_config\\"
21773 Copyright (C) 2012 Free Software Foundation, Inc.
21774 This config.status script is free software; the Free Software Foundation
21775 gives unlimited permission to copy, distribute and modify it."
21777 ac_pwd='$ac_pwd'
21778 srcdir='$srcdir'
21779 test -n "\$AWK" || AWK=awk
21780 _ACEOF
21782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21783 # The default lists apply if the user does not specify any file.
21784 ac_need_defaults=:
21785 while test $# != 0
21787 case $1 in
21788 --*=?*)
21789 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21790 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21791 ac_shift=:
21793 --*=)
21794 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21795 ac_optarg=
21796 ac_shift=:
21799 ac_option=$1
21800 ac_optarg=$2
21801 ac_shift=shift
21803 esac
21805 case $ac_option in
21806 # Handling of the options.
21807 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21808 ac_cs_recheck=: ;;
21809 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21810 $as_echo "$ac_cs_version"; exit ;;
21811 --config | --confi | --conf | --con | --co | --c )
21812 $as_echo "$ac_cs_config"; exit ;;
21813 --debug | --debu | --deb | --de | --d | -d )
21814 debug=: ;;
21815 --file | --fil | --fi | --f )
21816 $ac_shift
21817 case $ac_optarg in
21818 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21819 '') as_fn_error $? "missing file argument" ;;
21820 esac
21821 as_fn_append CONFIG_FILES " '$ac_optarg'"
21822 ac_need_defaults=false;;
21823 --header | --heade | --head | --hea )
21824 $ac_shift
21825 case $ac_optarg in
21826 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21827 esac
21828 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21829 ac_need_defaults=false;;
21830 --he | --h)
21831 # Conflict between --help and --header
21832 as_fn_error $? "ambiguous option: \`$1'
21833 Try \`$0 --help' for more information.";;
21834 --help | --hel | -h )
21835 $as_echo "$ac_cs_usage"; exit ;;
21836 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21837 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21838 ac_cs_silent=: ;;
21840 # This is an error.
21841 -*) as_fn_error $? "unrecognized option: \`$1'
21842 Try \`$0 --help' for more information." ;;
21844 *) as_fn_append ac_config_targets " $1"
21845 ac_need_defaults=false ;;
21847 esac
21848 shift
21849 done
21851 ac_configure_extra_args=
21853 if $ac_cs_silent; then
21854 exec 6>/dev/null
21855 ac_configure_extra_args="$ac_configure_extra_args --silent"
21858 _ACEOF
21859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21860 if \$ac_cs_recheck; then
21861 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21862 shift
21863 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21864 CONFIG_SHELL='$SHELL'
21865 export CONFIG_SHELL
21866 exec "\$@"
21869 _ACEOF
21870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21871 exec 5>>config.log
21873 echo
21874 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21875 ## Running $as_me. ##
21876 _ASBOX
21877 $as_echo "$ac_log"
21878 } >&5
21880 _ACEOF
21881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21883 # INIT-COMMANDS
21885 wine_fn_output_makedep ()
21887 as_dir=tools; as_fn_mkdir_p
21888 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21890 wine_fn_output_makefile ()
21892 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
21893 `cat $wine_rules_file`
21894 _WINE_EOF
21895 as_fn_error $? "could not create Makefile" "$LINENO" 5
21898 _ACEOF
21900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21902 # Handling of arguments.
21903 for ac_config_target in $ac_config_targets
21905 case $ac_config_target in
21906 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21907 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21908 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21909 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21910 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21911 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21912 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21914 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21915 esac
21916 done
21919 # If the user did not use the arguments to specify the items to instantiate,
21920 # then the envvar interface is used. Set only those that are not.
21921 # We use the long form for the default assignment because of an extremely
21922 # bizarre bug on SunOS 4.1.3.
21923 if $ac_need_defaults; then
21924 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21925 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21926 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21927 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21930 # Have a temporary directory for convenience. Make it in the build tree
21931 # simply because there is no reason against having it here, and in addition,
21932 # creating and moving files from /tmp can sometimes cause problems.
21933 # Hook for its removal unless debugging.
21934 # Note that there is a small window in which the directory will not be cleaned:
21935 # after its creation but before its name has been assigned to `$tmp'.
21936 $debug ||
21938 tmp= ac_tmp=
21939 trap 'exit_status=$?
21940 : "${ac_tmp:=$tmp}"
21941 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21943 trap 'as_fn_exit 1' 1 2 13 15
21945 # Create a (secure) tmp directory for tmp files.
21948 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21949 test -d "$tmp"
21950 } ||
21952 tmp=./conf$$-$RANDOM
21953 (umask 077 && mkdir "$tmp")
21954 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21955 ac_tmp=$tmp
21957 # Set up the scripts for CONFIG_FILES section.
21958 # No need to generate them if there are no CONFIG_FILES.
21959 # This happens for instance with `./config.status config.h'.
21960 if test -n "$CONFIG_FILES"; then
21963 ac_cr=`echo X | tr X '\015'`
21964 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21965 # But we know of no other shell where ac_cr would be empty at this
21966 # point, so we can use a bashism as a fallback.
21967 if test "x$ac_cr" = x; then
21968 eval ac_cr=\$\'\\r\'
21970 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21971 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21972 ac_cs_awk_cr='\\r'
21973 else
21974 ac_cs_awk_cr=$ac_cr
21977 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21978 _ACEOF
21982 echo "cat >conf$$subs.awk <<_ACEOF" &&
21983 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21984 echo "_ACEOF"
21985 } >conf$$subs.sh ||
21986 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21987 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21988 ac_delim='%!_!# '
21989 for ac_last_try in false false false false false :; do
21990 . ./conf$$subs.sh ||
21991 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21993 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21994 if test $ac_delim_n = $ac_delim_num; then
21995 break
21996 elif $ac_last_try; then
21997 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21998 else
21999 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22001 done
22002 rm -f conf$$subs.sh
22004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22005 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22006 _ACEOF
22007 sed -n '
22009 s/^/S["/; s/!.*/"]=/
22012 s/^[^!]*!//
22013 :repl
22014 t repl
22015 s/'"$ac_delim"'$//
22016 t delim
22019 s/\(.\{148\}\)..*/\1/
22020 t more1
22021 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22024 b repl
22025 :more1
22026 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22029 s/.\{148\}//
22030 t nl
22031 :delim
22033 s/\(.\{148\}\)..*/\1/
22034 t more2
22035 s/["\\]/\\&/g; s/^/"/; s/$/"/
22038 :more2
22039 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22042 s/.\{148\}//
22043 t delim
22044 ' <conf$$subs.awk | sed '
22045 /^[^""]/{
22047 s/\n//
22049 ' >>$CONFIG_STATUS || ac_write_fail=1
22050 rm -f conf$$subs.awk
22051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22052 _ACAWK
22053 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22054 for (key in S) S_is_set[key] = 1
22055 FS = "\a"
22059 line = $ 0
22060 nfields = split(line, field, "@")
22061 substed = 0
22062 len = length(field[1])
22063 for (i = 2; i < nfields; i++) {
22064 key = field[i]
22065 keylen = length(key)
22066 if (S_is_set[key]) {
22067 value = S[key]
22068 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22069 len += length(value) + length(field[++i])
22070 substed = 1
22071 } else
22072 len += 1 + keylen
22075 print line
22078 _ACAWK
22079 _ACEOF
22080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22081 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22082 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22083 else
22085 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22086 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22087 _ACEOF
22089 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22090 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22091 # trailing colons and then remove the whole line if VPATH becomes empty
22092 # (actually we leave an empty line to preserve line numbers).
22093 if test "x$srcdir" = x.; then
22094 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22096 s///
22097 s/^/:/
22098 s/[ ]*$/:/
22099 s/:\$(srcdir):/:/g
22100 s/:\${srcdir}:/:/g
22101 s/:@srcdir@:/:/g
22102 s/^:*//
22103 s/:*$//
22105 s/\(=[ ]*\).*/\1/
22107 s/\n//
22108 s/^[^=]*=[ ]*$//
22112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22113 fi # test -n "$CONFIG_FILES"
22115 # Set up the scripts for CONFIG_HEADERS section.
22116 # No need to generate them if there are no CONFIG_HEADERS.
22117 # This happens for instance with `./config.status Makefile'.
22118 if test -n "$CONFIG_HEADERS"; then
22119 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22120 BEGIN {
22121 _ACEOF
22123 # Transform confdefs.h into an awk script `defines.awk', embedded as
22124 # here-document in config.status, that substitutes the proper values into
22125 # config.h.in to produce config.h.
22127 # Create a delimiter string that does not exist in confdefs.h, to ease
22128 # handling of long lines.
22129 ac_delim='%!_!# '
22130 for ac_last_try in false false :; do
22131 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22132 if test -z "$ac_tt"; then
22133 break
22134 elif $ac_last_try; then
22135 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22136 else
22137 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22139 done
22141 # For the awk script, D is an array of macro values keyed by name,
22142 # likewise P contains macro parameters if any. Preserve backslash
22143 # newline sequences.
22145 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22146 sed -n '
22147 s/.\{148\}/&'"$ac_delim"'/g
22148 t rset
22149 :rset
22150 s/^[ ]*#[ ]*define[ ][ ]*/ /
22151 t def
22153 :def
22154 s/\\$//
22155 t bsnl
22156 s/["\\]/\\&/g
22157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22158 D["\1"]=" \3"/p
22159 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22161 :bsnl
22162 s/["\\]/\\&/g
22163 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22164 D["\1"]=" \3\\\\\\n"\\/p
22165 t cont
22166 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22167 t cont
22169 :cont
22171 s/.\{148\}/&'"$ac_delim"'/g
22172 t clear
22173 :clear
22174 s/\\$//
22175 t bsnlc
22176 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22178 :bsnlc
22179 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22180 b cont
22181 ' <confdefs.h | sed '
22182 s/'"$ac_delim"'/"\\\
22183 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22186 for (key in D) D_is_set[key] = 1
22187 FS = "\a"
22189 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22190 line = \$ 0
22191 split(line, arg, " ")
22192 if (arg[1] == "#") {
22193 defundef = arg[2]
22194 mac1 = arg[3]
22195 } else {
22196 defundef = substr(arg[1], 2)
22197 mac1 = arg[2]
22199 split(mac1, mac2, "(") #)
22200 macro = mac2[1]
22201 prefix = substr(line, 1, index(line, defundef) - 1)
22202 if (D_is_set[macro]) {
22203 # Preserve the white space surrounding the "#".
22204 print prefix "define", macro P[macro] D[macro]
22205 next
22206 } else {
22207 # Replace #undef with comments. This is necessary, for example,
22208 # in the case of _POSIX_SOURCE, which is predefined and required
22209 # on some systems where configure will not decide to define it.
22210 if (defundef == "undef") {
22211 print "/*", prefix defundef, macro, "*/"
22212 next
22216 { print }
22217 _ACAWK
22218 _ACEOF
22219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22220 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22221 fi # test -n "$CONFIG_HEADERS"
22224 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22225 shift
22226 for ac_tag
22228 case $ac_tag in
22229 :[FHLC]) ac_mode=$ac_tag; continue;;
22230 esac
22231 case $ac_mode$ac_tag in
22232 :[FHL]*:*);;
22233 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22234 :[FH]-) ac_tag=-:-;;
22235 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22236 esac
22237 ac_save_IFS=$IFS
22238 IFS=:
22239 set x $ac_tag
22240 IFS=$ac_save_IFS
22241 shift
22242 ac_file=$1
22243 shift
22245 case $ac_mode in
22246 :L) ac_source=$1;;
22247 :[FH])
22248 ac_file_inputs=
22249 for ac_f
22251 case $ac_f in
22252 -) ac_f="$ac_tmp/stdin";;
22253 *) # Look for the file first in the build tree, then in the source tree
22254 # (if the path is not absolute). The absolute path cannot be DOS-style,
22255 # because $ac_f cannot contain `:'.
22256 test -f "$ac_f" ||
22257 case $ac_f in
22258 [\\/$]*) false;;
22259 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22260 esac ||
22261 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22262 esac
22263 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22264 as_fn_append ac_file_inputs " '$ac_f'"
22265 done
22267 # Let's still pretend it is `configure' which instantiates (i.e., don't
22268 # use $as_me), people would be surprised to read:
22269 # /* config.h. Generated by config.status. */
22270 configure_input='Generated from '`
22271 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22272 `' by configure.'
22273 if test x"$ac_file" != x-; then
22274 configure_input="$ac_file. $configure_input"
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22276 $as_echo "$as_me: creating $ac_file" >&6;}
22278 # Neutralize special characters interpreted by sed in replacement strings.
22279 case $configure_input in #(
22280 *\&* | *\|* | *\\* )
22281 ac_sed_conf_input=`$as_echo "$configure_input" |
22282 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22283 *) ac_sed_conf_input=$configure_input;;
22284 esac
22286 case $ac_tag in
22287 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22288 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22289 esac
22291 esac
22293 ac_dir=`$as_dirname -- "$ac_file" ||
22294 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22295 X"$ac_file" : 'X\(//\)[^/]' \| \
22296 X"$ac_file" : 'X\(//\)$' \| \
22297 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22298 $as_echo X"$ac_file" |
22299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22300 s//\1/
22303 /^X\(\/\/\)[^/].*/{
22304 s//\1/
22307 /^X\(\/\/\)$/{
22308 s//\1/
22311 /^X\(\/\).*/{
22312 s//\1/
22315 s/.*/./; q'`
22316 as_dir="$ac_dir"; as_fn_mkdir_p
22317 ac_builddir=.
22319 case "$ac_dir" in
22320 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22322 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22323 # A ".." for each directory in $ac_dir_suffix.
22324 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22325 case $ac_top_builddir_sub in
22326 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22327 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22328 esac ;;
22329 esac
22330 ac_abs_top_builddir=$ac_pwd
22331 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22332 # for backward compatibility:
22333 ac_top_builddir=$ac_top_build_prefix
22335 case $srcdir in
22336 .) # We are building in place.
22337 ac_srcdir=.
22338 ac_top_srcdir=$ac_top_builddir_sub
22339 ac_abs_top_srcdir=$ac_pwd ;;
22340 [\\/]* | ?:[\\/]* ) # Absolute name.
22341 ac_srcdir=$srcdir$ac_dir_suffix;
22342 ac_top_srcdir=$srcdir
22343 ac_abs_top_srcdir=$srcdir ;;
22344 *) # Relative name.
22345 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22346 ac_top_srcdir=$ac_top_build_prefix$srcdir
22347 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22348 esac
22349 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22352 case $ac_mode in
22355 # CONFIG_FILE
22358 _ACEOF
22360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22361 # If the template does not know about datarootdir, expand it.
22362 # FIXME: This hack should be removed a few years after 2.60.
22363 ac_datarootdir_hack=; ac_datarootdir_seen=
22364 ac_sed_dataroot='
22365 /datarootdir/ {
22369 /@datadir@/p
22370 /@docdir@/p
22371 /@infodir@/p
22372 /@localedir@/p
22373 /@mandir@/p'
22374 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22375 *datarootdir*) ac_datarootdir_seen=yes;;
22376 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22378 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22379 _ACEOF
22380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22381 ac_datarootdir_hack='
22382 s&@datadir@&$datadir&g
22383 s&@docdir@&$docdir&g
22384 s&@infodir@&$infodir&g
22385 s&@localedir@&$localedir&g
22386 s&@mandir@&$mandir&g
22387 s&\\\${datarootdir}&$datarootdir&g' ;;
22388 esac
22389 _ACEOF
22391 # Neutralize VPATH when `$srcdir' = `.'.
22392 # Shell code in configure.ac might set extrasub.
22393 # FIXME: do we really want to maintain this feature?
22394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22395 ac_sed_extra="$ac_vpsub
22396 $extrasub
22397 _ACEOF
22398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22400 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22401 s|@configure_input@|$ac_sed_conf_input|;t t
22402 s&@top_builddir@&$ac_top_builddir_sub&;t t
22403 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22404 s&@srcdir@&$ac_srcdir&;t t
22405 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22406 s&@top_srcdir@&$ac_top_srcdir&;t t
22407 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22408 s&@builddir@&$ac_builddir&;t t
22409 s&@abs_builddir@&$ac_abs_builddir&;t t
22410 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22411 $ac_datarootdir_hack
22413 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22414 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22416 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22417 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22418 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22419 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22421 which seems to be undefined. Please make sure it is defined" >&5
22422 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22423 which seems to be undefined. Please make sure it is defined" >&2;}
22425 rm -f "$ac_tmp/stdin"
22426 case $ac_file in
22427 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22428 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22429 esac \
22430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22434 # CONFIG_HEADER
22436 if test x"$ac_file" != x-; then
22438 $as_echo "/* $configure_input */" \
22439 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22440 } >"$ac_tmp/config.h" \
22441 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22442 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22444 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22445 else
22446 rm -f "$ac_file"
22447 mv "$ac_tmp/config.h" "$ac_file" \
22448 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22450 else
22451 $as_echo "/* $configure_input */" \
22452 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22453 || as_fn_error $? "could not create -" "$LINENO" 5
22458 # CONFIG_LINK
22461 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22463 else
22464 # Prefer the file from the source tree if names are identical.
22465 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22466 ac_source=$srcdir/$ac_source
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22470 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22472 if test ! -r "$ac_source"; then
22473 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22475 rm -f "$ac_file"
22477 # Try a relative symlink, then a hard link, then a copy.
22478 case $ac_source in
22479 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22480 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22481 esac
22482 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22483 ln "$ac_source" "$ac_file" 2>/dev/null ||
22484 cp -p "$ac_source" "$ac_file" ||
22485 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22488 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22489 $as_echo "$as_me: executing $ac_file commands" >&6;}
22491 esac
22494 case $ac_file$ac_mode in
22495 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22496 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22497 "Makefile":C) wine_fn_output_makefile Makefile ;;
22499 esac
22500 done # for ac_tag
22503 as_fn_exit 0
22504 _ACEOF
22505 ac_clean_files=$ac_clean_files_save
22507 test $ac_write_fail = 0 ||
22508 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22511 # configure is writing to config.log, and then calls config.status.
22512 # config.status does its own redirection, appending to config.log.
22513 # Unfortunately, on DOS this fails, as config.log is still kept open
22514 # by configure, so config.status won't be able to write to it; its
22515 # output is simply discarded. So we exec the FD to /dev/null,
22516 # effectively closing config.log, so it can be properly (re)opened and
22517 # appended to by config.status. When coming back to configure, we
22518 # need to make the FD available again.
22519 if test "$no_create" != yes; then
22520 ac_cs_success=:
22521 ac_config_status_args=
22522 test "$silent" = yes &&
22523 ac_config_status_args="$ac_config_status_args --quiet"
22524 exec 5>/dev/null
22525 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22526 exec 5>>config.log
22527 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22528 # would make configure fail if this is the last instruction.
22529 $ac_cs_success || as_fn_exit 1
22531 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22533 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22537 if test "$no_create" = "yes"
22538 then
22539 exit 0
22542 ac_save_IFS="$IFS"
22543 if test "x$wine_notices" != x; then
22544 echo >&6
22545 IFS="|"
22546 for msg in $wine_notices; do
22547 IFS="$ac_save_IFS"
22548 if ${msg:+false} :; then :
22550 else
22551 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22552 $as_echo "$as_me: $msg" >&6;}
22554 done
22556 IFS="|"
22557 for msg in $wine_warnings; do
22558 IFS="$ac_save_IFS"
22559 if ${msg:+false} :; then :
22561 else
22562 echo >&2
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22564 $as_echo "$as_me: WARNING: $msg" >&2;}
22566 done
22567 IFS="$ac_save_IFS"
22569 $as_echo "
22570 $as_me: Finished. Do '${ac_make}' to compile Wine.
22571 " >&6