netprofm: Set correct GUIDs for network connections.
[wine.git] / configure
blob6a0f0ad92c2108992f8543e1b7df5682d9a58587
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.0.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='6.0'
584 PACKAGE_STRING='Wine 6.0'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 FREETYPE_LIBS
678 FREETYPE_CFLAGS
679 LCMS2_LIBS
680 LCMS2_CFLAGS
681 RESOLV_LIBS
682 GPHOTO2_PORT_LIBS
683 GPHOTO2_PORT_CFLAGS
684 GPHOTO2_LIBS
685 GPHOTO2_CFLAGS
686 USB_LIBS
687 USB_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 EXCESS_PRECISION_CFLAGS
710 CROSSDEBUG
711 DELAYLOADFLAG
712 CROSSLDFLAGS
713 EXTRACROSSCFLAGS
714 CROSSCFLAGS
715 CROSSCC
716 CROSSTARGET
717 LIBWINE_DEPENDS
718 PRELINK
719 WINELOADER_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_SHAREDLIB
722 METAL_LIBS
723 CARBON_LIBS
724 QUICKTIME_LIBS
725 OPENCL_LIBS
726 OPENAL_LIBS
727 COREAUDIO_LIBS
728 SECURITY_LIBS
729 DISKARBITRATION_LIBS
730 SYSTEMCONFIGURATION_LIBS
731 APPKIT_LIBS
732 CORESERVICES_LIBS
733 APPLICATIONSERVICES_LIBS
734 FORCEFEEDBACK_LIBS
735 IOKIT_LIBS
736 COREFOUNDATION_LIBS
737 OBJCPP
738 ac_ct_OBJC
739 OBJCFLAGS
740 OBJC
741 DLLTOOL
742 WINELOADER_PROGRAMS
743 CONFIGURE_TARGETS
744 DISABLED_SUBDIRS
745 SUBDIRS
746 READELF
747 OTOOL
749 WINEPRELOADER_LDFLAGS
750 WINELOADER_LDFLAGS
751 TOP_INSTALL_DEV
752 TOP_INSTALL_LIB
753 LDEXECFLAGS
754 LDDLLFLAGS
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_silent_rules
845 enable_werror
846 with_alsa
847 with_capi
848 with_cms
849 with_coreaudio
850 with_cups
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_quicktime
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_ansi_l2_1_0
948 enable_api_ms_win_core_file_fromapp_l1_1_0
949 enable_api_ms_win_core_file_l1_1_0
950 enable_api_ms_win_core_file_l1_2_0
951 enable_api_ms_win_core_file_l1_2_1
952 enable_api_ms_win_core_file_l1_2_2
953 enable_api_ms_win_core_file_l2_1_0
954 enable_api_ms_win_core_file_l2_1_1
955 enable_api_ms_win_core_file_l2_1_2
956 enable_api_ms_win_core_handle_l1_1_0
957 enable_api_ms_win_core_heap_l1_1_0
958 enable_api_ms_win_core_heap_l1_2_0
959 enable_api_ms_win_core_heap_l2_1_0
960 enable_api_ms_win_core_heap_obsolete_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_1_0
962 enable_api_ms_win_core_interlocked_l1_2_0
963 enable_api_ms_win_core_io_l1_1_0
964 enable_api_ms_win_core_io_l1_1_1
965 enable_api_ms_win_core_job_l1_1_0
966 enable_api_ms_win_core_job_l2_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_0
968 enable_api_ms_win_core_kernel32_legacy_l1_1_1
969 enable_api_ms_win_core_kernel32_private_l1_1_1
970 enable_api_ms_win_core_largeinteger_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_0
972 enable_api_ms_win_core_libraryloader_l1_1_1
973 enable_api_ms_win_core_libraryloader_l1_2_0
974 enable_api_ms_win_core_libraryloader_l1_2_1
975 enable_api_ms_win_core_libraryloader_l1_2_2
976 enable_api_ms_win_core_libraryloader_l2_1_0
977 enable_api_ms_win_core_localization_l1_1_0
978 enable_api_ms_win_core_localization_l1_2_0
979 enable_api_ms_win_core_localization_l1_2_1
980 enable_api_ms_win_core_localization_l1_2_2
981 enable_api_ms_win_core_localization_l2_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_1_0
983 enable_api_ms_win_core_localization_obsolete_l1_2_0
984 enable_api_ms_win_core_localization_obsolete_l1_3_0
985 enable_api_ms_win_core_localization_private_l1_1_0
986 enable_api_ms_win_core_localregistry_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_0
988 enable_api_ms_win_core_memory_l1_1_1
989 enable_api_ms_win_core_memory_l1_1_2
990 enable_api_ms_win_core_memory_l1_1_3
991 enable_api_ms_win_core_memory_l1_1_4
992 enable_api_ms_win_core_misc_l1_1_0
993 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_1_0
995 enable_api_ms_win_core_namedpipe_l1_2_0
996 enable_api_ms_win_core_namespace_l1_1_0
997 enable_api_ms_win_core_normalization_l1_1_0
998 enable_api_ms_win_core_path_l1_1_0
999 enable_api_ms_win_core_privateprofile_l1_1_1
1000 enable_api_ms_win_core_processenvironment_l1_1_0
1001 enable_api_ms_win_core_processenvironment_l1_2_0
1002 enable_api_ms_win_core_processthreads_l1_1_0
1003 enable_api_ms_win_core_processthreads_l1_1_1
1004 enable_api_ms_win_core_processthreads_l1_1_2
1005 enable_api_ms_win_core_processthreads_l1_1_3
1006 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1007 enable_api_ms_win_core_profile_l1_1_0
1008 enable_api_ms_win_core_psapi_ansi_l1_1_0
1009 enable_api_ms_win_core_psapi_l1_1_0
1010 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_quirks_l1_1_0
1012 enable_api_ms_win_core_realtime_l1_1_0
1013 enable_api_ms_win_core_registry_l1_1_0
1014 enable_api_ms_win_core_registry_l2_1_0
1015 enable_api_ms_win_core_registry_l2_2_0
1016 enable_api_ms_win_core_registryuserspecific_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_1_0
1018 enable_api_ms_win_core_rtlsupport_l1_2_0
1019 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1022 enable_api_ms_win_core_shutdown_l1_1_0
1023 enable_api_ms_win_core_sidebyside_l1_1_0
1024 enable_api_ms_win_core_string_l1_1_0
1025 enable_api_ms_win_core_string_l2_1_0
1026 enable_api_ms_win_core_string_obsolete_l1_1_0
1027 enable_api_ms_win_core_stringansi_l1_1_0
1028 enable_api_ms_win_core_stringloader_l1_1_1
1029 enable_api_ms_win_core_synch_ansi_l1_1_0
1030 enable_api_ms_win_core_synch_l1_1_0
1031 enable_api_ms_win_core_synch_l1_2_0
1032 enable_api_ms_win_core_synch_l1_2_1
1033 enable_api_ms_win_core_sysinfo_l1_1_0
1034 enable_api_ms_win_core_sysinfo_l1_2_0
1035 enable_api_ms_win_core_sysinfo_l1_2_1
1036 enable_api_ms_win_core_systemtopology_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_1_0
1038 enable_api_ms_win_core_threadpool_l1_2_0
1039 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1040 enable_api_ms_win_core_threadpool_private_l1_1_0
1041 enable_api_ms_win_core_timezone_l1_1_0
1042 enable_api_ms_win_core_toolhelp_l1_1_0
1043 enable_api_ms_win_core_url_l1_1_0
1044 enable_api_ms_win_core_util_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_0
1046 enable_api_ms_win_core_version_l1_1_1
1047 enable_api_ms_win_core_version_private_l1_1_0
1048 enable_api_ms_win_core_versionansi_l1_1_0
1049 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_0
1051 enable_api_ms_win_core_winrt_error_l1_1_1
1052 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1053 enable_api_ms_win_core_winrt_l1_1_0
1054 enable_api_ms_win_core_winrt_registration_l1_1_0
1055 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_0
1057 enable_api_ms_win_core_winrt_string_l1_1_1
1058 enable_api_ms_win_core_wow64_l1_1_0
1059 enable_api_ms_win_core_wow64_l1_1_1
1060 enable_api_ms_win_core_xstate_l1_1_0
1061 enable_api_ms_win_core_xstate_l2_1_0
1062 enable_api_ms_win_crt_conio_l1_1_0
1063 enable_api_ms_win_crt_convert_l1_1_0
1064 enable_api_ms_win_crt_environment_l1_1_0
1065 enable_api_ms_win_crt_filesystem_l1_1_0
1066 enable_api_ms_win_crt_heap_l1_1_0
1067 enable_api_ms_win_crt_locale_l1_1_0
1068 enable_api_ms_win_crt_math_l1_1_0
1069 enable_api_ms_win_crt_multibyte_l1_1_0
1070 enable_api_ms_win_crt_private_l1_1_0
1071 enable_api_ms_win_crt_process_l1_1_0
1072 enable_api_ms_win_crt_runtime_l1_1_0
1073 enable_api_ms_win_crt_stdio_l1_1_0
1074 enable_api_ms_win_crt_string_l1_1_0
1075 enable_api_ms_win_crt_time_l1_1_0
1076 enable_api_ms_win_crt_utility_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_0
1078 enable_api_ms_win_devices_config_l1_1_1
1079 enable_api_ms_win_devices_query_l1_1_1
1080 enable_api_ms_win_downlevel_advapi32_l1_1_0
1081 enable_api_ms_win_downlevel_advapi32_l2_1_0
1082 enable_api_ms_win_downlevel_kernel32_l2_1_0
1083 enable_api_ms_win_downlevel_normaliz_l1_1_0
1084 enable_api_ms_win_downlevel_ole32_l1_1_0
1085 enable_api_ms_win_downlevel_shell32_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1087 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1088 enable_api_ms_win_downlevel_user32_l1_1_0
1089 enable_api_ms_win_downlevel_version_l1_1_0
1090 enable_api_ms_win_dx_d3dkmt_l1_1_0
1091 enable_api_ms_win_eventing_classicprovider_l1_1_0
1092 enable_api_ms_win_eventing_consumer_l1_1_0
1093 enable_api_ms_win_eventing_controller_l1_1_0
1094 enable_api_ms_win_eventing_legacy_l1_1_0
1095 enable_api_ms_win_eventing_provider_l1_1_0
1096 enable_api_ms_win_eventlog_legacy_l1_1_0
1097 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1098 enable_api_ms_win_mm_joystick_l1_1_0
1099 enable_api_ms_win_mm_misc_l1_1_1
1100 enable_api_ms_win_mm_mme_l1_1_0
1101 enable_api_ms_win_mm_time_l1_1_0
1102 enable_api_ms_win_ntuser_dc_access_l1_1_0
1103 enable_api_ms_win_ntuser_rectangle_l1_1_0
1104 enable_api_ms_win_ntuser_sysparams_l1_1_0
1105 enable_api_ms_win_perf_legacy_l1_1_0
1106 enable_api_ms_win_power_base_l1_1_0
1107 enable_api_ms_win_power_setting_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1111 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1115 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1116 enable_api_ms_win_security_audit_l1_1_1
1117 enable_api_ms_win_security_base_l1_1_0
1118 enable_api_ms_win_security_base_l1_2_0
1119 enable_api_ms_win_security_base_private_l1_1_1
1120 enable_api_ms_win_security_credentials_l1_1_0
1121 enable_api_ms_win_security_cryptoapi_l1_1_0
1122 enable_api_ms_win_security_grouppolicy_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_0
1124 enable_api_ms_win_security_lsalookup_l1_1_1
1125 enable_api_ms_win_security_lsalookup_l2_1_0
1126 enable_api_ms_win_security_lsalookup_l2_1_1
1127 enable_api_ms_win_security_lsapolicy_l1_1_0
1128 enable_api_ms_win_security_provider_l1_1_0
1129 enable_api_ms_win_security_sddl_l1_1_0
1130 enable_api_ms_win_security_systemfunctions_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_0
1132 enable_api_ms_win_service_core_l1_1_1
1133 enable_api_ms_win_service_management_l1_1_0
1134 enable_api_ms_win_service_management_l2_1_0
1135 enable_api_ms_win_service_private_l1_1_1
1136 enable_api_ms_win_service_winsvc_l1_1_0
1137 enable_api_ms_win_service_winsvc_l1_2_0
1138 enable_api_ms_win_shcore_obsolete_l1_1_0
1139 enable_api_ms_win_shcore_scaling_l1_1_1
1140 enable_api_ms_win_shcore_stream_l1_1_0
1141 enable_api_ms_win_shcore_thread_l1_1_0
1142 enable_api_ms_win_shell_shellcom_l1_1_0
1143 enable_api_ms_win_shell_shellfolders_l1_1_0
1144 enable_apphelp
1145 enable_appwiz_cpl
1146 enable_atl
1147 enable_atl100
1148 enable_atl110
1149 enable_atl80
1150 enable_atl90
1151 enable_atlthunk
1152 enable_atmlib
1153 enable_authz
1154 enable_avicap32
1155 enable_avifil32
1156 enable_avrt
1157 enable_bcrypt
1158 enable_bluetoothapis
1159 enable_browseui
1160 enable_bthprops_cpl
1161 enable_cabinet
1162 enable_capi2032
1163 enable_cards
1164 enable_cdosys
1165 enable_cfgmgr32
1166 enable_clusapi
1167 enable_combase
1168 enable_comcat
1169 enable_comctl32
1170 enable_comdlg32
1171 enable_compstui
1172 enable_comsvcs
1173 enable_concrt140
1174 enable_connect
1175 enable_credui
1176 enable_crtdll
1177 enable_crypt32
1178 enable_cryptdlg
1179 enable_cryptdll
1180 enable_cryptext
1181 enable_cryptnet
1182 enable_cryptui
1183 enable_ctapi32
1184 enable_ctl3d32
1185 enable_d2d1
1186 enable_d3d10
1187 enable_d3d10_1
1188 enable_d3d10core
1189 enable_d3d11
1190 enable_d3d12
1191 enable_d3d8
1192 enable_d3d8thk
1193 enable_d3d9
1194 enable_d3dcompiler_33
1195 enable_d3dcompiler_34
1196 enable_d3dcompiler_35
1197 enable_d3dcompiler_36
1198 enable_d3dcompiler_37
1199 enable_d3dcompiler_38
1200 enable_d3dcompiler_39
1201 enable_d3dcompiler_40
1202 enable_d3dcompiler_41
1203 enable_d3dcompiler_42
1204 enable_d3dcompiler_43
1205 enable_d3dcompiler_46
1206 enable_d3dcompiler_47
1207 enable_d3dim
1208 enable_d3dim700
1209 enable_d3drm
1210 enable_d3dx10_33
1211 enable_d3dx10_34
1212 enable_d3dx10_35
1213 enable_d3dx10_36
1214 enable_d3dx10_37
1215 enable_d3dx10_38
1216 enable_d3dx10_39
1217 enable_d3dx10_40
1218 enable_d3dx10_41
1219 enable_d3dx10_42
1220 enable_d3dx10_43
1221 enable_d3dx11_42
1222 enable_d3dx11_43
1223 enable_d3dx9_24
1224 enable_d3dx9_25
1225 enable_d3dx9_26
1226 enable_d3dx9_27
1227 enable_d3dx9_28
1228 enable_d3dx9_29
1229 enable_d3dx9_30
1230 enable_d3dx9_31
1231 enable_d3dx9_32
1232 enable_d3dx9_33
1233 enable_d3dx9_34
1234 enable_d3dx9_35
1235 enable_d3dx9_36
1236 enable_d3dx9_37
1237 enable_d3dx9_38
1238 enable_d3dx9_39
1239 enable_d3dx9_40
1240 enable_d3dx9_41
1241 enable_d3dx9_42
1242 enable_d3dx9_43
1243 enable_d3dxof
1244 enable_davclnt
1245 enable_dbgeng
1246 enable_dbghelp
1247 enable_dciman32
1248 enable_dcomp
1249 enable_ddraw
1250 enable_ddrawex
1251 enable_devenum
1252 enable_dhcpcsvc
1253 enable_dhtmled_ocx
1254 enable_difxapi
1255 enable_dinput
1256 enable_dinput8
1257 enable_directmanipulation
1258 enable_dispex
1259 enable_dmband
1260 enable_dmcompos
1261 enable_dmime
1262 enable_dmloader
1263 enable_dmoguids
1264 enable_dmscript
1265 enable_dmstyle
1266 enable_dmsynth
1267 enable_dmusic
1268 enable_dmusic32
1269 enable_dnsapi
1270 enable_dplay
1271 enable_dplayx
1272 enable_dpnaddr
1273 enable_dpnet
1274 enable_dpnhpast
1275 enable_dpnlobby
1276 enable_dpvoice
1277 enable_dpwsockx
1278 enable_drmclien
1279 enable_dsdmo
1280 enable_dsound
1281 enable_dsquery
1282 enable_dssenh
1283 enable_dsuiext
1284 enable_dswave
1285 enable_dwmapi
1286 enable_dwrite
1287 enable_dx8vb
1288 enable_dxdiagn
1289 enable_dxerr8
1290 enable_dxerr9
1291 enable_dxgi
1292 enable_dxguid
1293 enable_dxva2
1294 enable_esent
1295 enable_evr
1296 enable_explorerframe
1297 enable_ext_ms_win_authz_context_l1_1_0
1298 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1299 enable_ext_ms_win_dwmapi_ext_l1_1_0
1300 enable_ext_ms_win_gdi_dc_create_l1_1_0
1301 enable_ext_ms_win_gdi_dc_create_l1_1_1
1302 enable_ext_ms_win_gdi_dc_l1_2_0
1303 enable_ext_ms_win_gdi_devcaps_l1_1_0
1304 enable_ext_ms_win_gdi_draw_l1_1_0
1305 enable_ext_ms_win_gdi_draw_l1_1_1
1306 enable_ext_ms_win_gdi_font_l1_1_0
1307 enable_ext_ms_win_gdi_font_l1_1_1
1308 enable_ext_ms_win_gdi_render_l1_1_0
1309 enable_ext_ms_win_kernel32_package_current_l1_1_0
1310 enable_ext_ms_win_kernel32_package_l1_1_1
1311 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1312 enable_ext_ms_win_ntuser_draw_l1_1_0
1313 enable_ext_ms_win_ntuser_gui_l1_1_0
1314 enable_ext_ms_win_ntuser_gui_l1_3_0
1315 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1316 enable_ext_ms_win_ntuser_message_l1_1_0
1317 enable_ext_ms_win_ntuser_message_l1_1_1
1318 enable_ext_ms_win_ntuser_misc_l1_1_0
1319 enable_ext_ms_win_ntuser_misc_l1_2_0
1320 enable_ext_ms_win_ntuser_misc_l1_5_1
1321 enable_ext_ms_win_ntuser_mouse_l1_1_0
1322 enable_ext_ms_win_ntuser_private_l1_1_1
1323 enable_ext_ms_win_ntuser_private_l1_3_1
1324 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1325 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1326 enable_ext_ms_win_ntuser_window_l1_1_0
1327 enable_ext_ms_win_ntuser_window_l1_1_1
1328 enable_ext_ms_win_ntuser_window_l1_1_4
1329 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1330 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1331 enable_ext_ms_win_oleacc_l1_1_0
1332 enable_ext_ms_win_ras_rasapi32_l1_1_0
1333 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1334 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1335 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1340 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1343 enable_ext_ms_win_security_credui_l1_1_0
1344 enable_ext_ms_win_security_cryptui_l1_1_0
1345 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1346 enable_ext_ms_win_shell_comdlg32_l1_1_0
1347 enable_ext_ms_win_shell_shell32_l1_2_0
1348 enable_ext_ms_win_uxtheme_themes_l1_1_0
1349 enable_faultrep
1350 enable_feclient
1351 enable_fltlib
1352 enable_fltmgr_sys
1353 enable_fntcache
1354 enable_fontsub
1355 enable_fusion
1356 enable_fwpuclnt
1357 enable_gameux
1358 enable_gdi32
1359 enable_gdiplus
1360 enable_glu32
1361 enable_gphoto2_ds
1362 enable_gpkcsp
1363 enable_hal
1364 enable_hhctrl_ocx
1365 enable_hid
1366 enable_hidclass_sys
1367 enable_hlink
1368 enable_hnetcfg
1369 enable_http_sys
1370 enable_httpapi
1371 enable_iccvid
1372 enable_icmp
1373 enable_ieframe
1374 enable_ieproxy
1375 enable_imaadp32_acm
1376 enable_imagehlp
1377 enable_imm32
1378 enable_inetcomm
1379 enable_inetcpl_cpl
1380 enable_inetmib1
1381 enable_infosoft
1382 enable_initpki
1383 enable_inkobj
1384 enable_inseng
1385 enable_iphlpapi
1386 enable_iprop
1387 enable_irprops_cpl
1388 enable_itircl
1389 enable_itss
1390 enable_joy_cpl
1391 enable_jscript
1392 enable_jsproxy
1393 enable_kerberos
1394 enable_kernel32
1395 enable_kernelbase
1396 enable_ksecdd_sys
1397 enable_ksproxy_ax
1398 enable_ksuser
1399 enable_ktmw32
1400 enable_l3codeca_acm
1401 enable_loadperf
1402 enable_localspl
1403 enable_localui
1404 enable_lz32
1405 enable_mapi32
1406 enable_mapistub
1407 enable_mciavi32
1408 enable_mcicda
1409 enable_mciqtz32
1410 enable_mciseq
1411 enable_mciwave
1412 enable_mf
1413 enable_mf3216
1414 enable_mferror
1415 enable_mfmediaengine
1416 enable_mfplat
1417 enable_mfplay
1418 enable_mfreadwrite
1419 enable_mfuuid
1420 enable_mgmtapi
1421 enable_midimap
1422 enable_mlang
1423 enable_mmcndmgr
1424 enable_mmdevapi
1425 enable_mountmgr_sys
1426 enable_mp3dmod
1427 enable_mpr
1428 enable_mprapi
1429 enable_msacm32_drv
1430 enable_msacm32
1431 enable_msado15
1432 enable_msadp32_acm
1433 enable_msasn1
1434 enable_mscat32
1435 enable_mscms
1436 enable_mscoree
1437 enable_mscorwks
1438 enable_msctf
1439 enable_msctfp
1440 enable_msdaps
1441 enable_msdelta
1442 enable_msdmo
1443 enable_msdrm
1444 enable_msftedit
1445 enable_msg711_acm
1446 enable_msgsm32_acm
1447 enable_mshtml_tlb
1448 enable_mshtml
1449 enable_msi
1450 enable_msident
1451 enable_msimg32
1452 enable_msimsg
1453 enable_msimtf
1454 enable_msisip
1455 enable_msisys_ocx
1456 enable_msls31
1457 enable_msnet32
1458 enable_mspatcha
1459 enable_msports
1460 enable_msrle32
1461 enable_msscript_ocx
1462 enable_mssign32
1463 enable_mssip32
1464 enable_mstask
1465 enable_msvcirt
1466 enable_msvcm80
1467 enable_msvcm90
1468 enable_msvcp100
1469 enable_msvcp110
1470 enable_msvcp120
1471 enable_msvcp120_app
1472 enable_msvcp140
1473 enable_msvcp140_1
1474 enable_msvcp60
1475 enable_msvcp70
1476 enable_msvcp71
1477 enable_msvcp80
1478 enable_msvcp90
1479 enable_msvcr100
1480 enable_msvcr110
1481 enable_msvcr120
1482 enable_msvcr120_app
1483 enable_msvcr70
1484 enable_msvcr71
1485 enable_msvcr80
1486 enable_msvcr90
1487 enable_msvcrt
1488 enable_msvcrt20
1489 enable_msvcrt40
1490 enable_msvcrtd
1491 enable_msvfw32
1492 enable_msvidc32
1493 enable_mswsock
1494 enable_msxml
1495 enable_msxml2
1496 enable_msxml3
1497 enable_msxml4
1498 enable_msxml6
1499 enable_mtxdm
1500 enable_ncrypt
1501 enable_nddeapi
1502 enable_ndis_sys
1503 enable_netapi32
1504 enable_netcfgx
1505 enable_netio_sys
1506 enable_netprofm
1507 enable_netutils
1508 enable_newdev
1509 enable_ninput
1510 enable_normaliz
1511 enable_npmshtml
1512 enable_npptools
1513 enable_ntdll
1514 enable_ntdsapi
1515 enable_ntoskrnl_exe
1516 enable_ntprint
1517 enable_objsel
1518 enable_odbc32
1519 enable_odbcbcp
1520 enable_odbccp32
1521 enable_odbccu32
1522 enable_ole32
1523 enable_oleacc
1524 enable_oleaut32
1525 enable_olecli32
1526 enable_oledb32
1527 enable_oledlg
1528 enable_olepro32
1529 enable_olesvr32
1530 enable_olethk32
1531 enable_opcservices
1532 enable_openal32
1533 enable_opencl
1534 enable_opengl32
1535 enable_packager
1536 enable_pdh
1537 enable_photometadatahandler
1538 enable_pidgen
1539 enable_powrprof
1540 enable_printui
1541 enable_prntvpt
1542 enable_propsys
1543 enable_psapi
1544 enable_pstorec
1545 enable_pwrshplugin
1546 enable_qasf
1547 enable_qcap
1548 enable_qdvd
1549 enable_qedit
1550 enable_qmgr
1551 enable_qmgrprxy
1552 enable_quartz
1553 enable_query
1554 enable_qwave
1555 enable_rasapi32
1556 enable_rasdlg
1557 enable_regapi
1558 enable_resutils
1559 enable_riched20
1560 enable_riched32
1561 enable_rpcrt4
1562 enable_rsabase
1563 enable_rsaenh
1564 enable_rstrtmgr
1565 enable_rtutils
1566 enable_rtworkq
1567 enable_samlib
1568 enable_sane_ds
1569 enable_sapi
1570 enable_sas
1571 enable_scarddlg
1572 enable_sccbase
1573 enable_schannel
1574 enable_schedsvc
1575 enable_scrobj
1576 enable_scrrun
1577 enable_scsiport_sys
1578 enable_sechost
1579 enable_secur32
1580 enable_security
1581 enable_sensapi
1582 enable_serialui
1583 enable_setupapi
1584 enable_sfc
1585 enable_sfc_os
1586 enable_shcore
1587 enable_shdoclc
1588 enable_shdocvw
1589 enable_shell32
1590 enable_shfolder
1591 enable_shlwapi
1592 enable_slbcsp
1593 enable_slc
1594 enable_snmpapi
1595 enable_softpub
1596 enable_spoolss
1597 enable_srclient
1598 enable_srvcli
1599 enable_sspicli
1600 enable_stdole2_tlb
1601 enable_stdole32_tlb
1602 enable_sti
1603 enable_strmbase
1604 enable_strmdll
1605 enable_strmiids
1606 enable_svrapi
1607 enable_sxs
1608 enable_t2embed
1609 enable_tapi32
1610 enable_taskschd
1611 enable_tdh
1612 enable_tdi_sys
1613 enable_traffic
1614 enable_twain_32
1615 enable_tzres
1616 enable_ucrtbase
1617 enable_uianimation
1618 enable_uiautomationcore
1619 enable_uiribbon
1620 enable_unicows
1621 enable_updspapi
1622 enable_url
1623 enable_urlmon
1624 enable_usbd_sys
1625 enable_user32
1626 enable_userenv
1627 enable_usp10
1628 enable_utildll
1629 enable_uuid
1630 enable_uxtheme
1631 enable_vbscript
1632 enable_vcomp
1633 enable_vcomp100
1634 enable_vcomp110
1635 enable_vcomp120
1636 enable_vcomp140
1637 enable_vcomp90
1638 enable_vcruntime140
1639 enable_vcruntime140_1
1640 enable_vdmdbg
1641 enable_version
1642 enable_vga
1643 enable_virtdisk
1644 enable_vssapi
1645 enable_vulkan_1
1646 enable_wbemdisp
1647 enable_wbemprox
1648 enable_wbemuuid
1649 enable_wdscore
1650 enable_webservices
1651 enable_wer
1652 enable_wevtapi
1653 enable_wevtsvc
1654 enable_wiaservc
1655 enable_wimgapi
1656 enable_windowscodecs
1657 enable_windowscodecsext
1658 enable_winealsa_drv
1659 enable_wineandroid_drv
1660 enable_winebus_sys
1661 enable_winecoreaudio_drv
1662 enable_winecrt0
1663 enable_wined3d
1664 enable_winegstreamer
1665 enable_winehid_sys
1666 enable_winejoystick_drv
1667 enable_winemac_drv
1668 enable_winemapi
1669 enable_wineoss_drv
1670 enable_wineps_drv
1671 enable_winepulse_drv
1672 enable_wineqtdecoder
1673 enable_wineusb_sys
1674 enable_winevulkan
1675 enable_winex11_drv
1676 enable_wing32
1677 enable_winhttp
1678 enable_wininet
1679 enable_winmm
1680 enable_winnls32
1681 enable_winscard
1682 enable_winspool_drv
1683 enable_winsta
1684 enable_wintab32
1685 enable_wintrust
1686 enable_winusb
1687 enable_wlanapi
1688 enable_wlanui
1689 enable_wldap32
1690 enable_wmasf
1691 enable_wmcodecdspuuid
1692 enable_wmi
1693 enable_wmiutils
1694 enable_wmp
1695 enable_wmphoto
1696 enable_wmvcore
1697 enable_wnaspi32
1698 enable_wpc
1699 enable_wpcap
1700 enable_ws2_32
1701 enable_wsdapi
1702 enable_wshom_ocx
1703 enable_wsnmp32
1704 enable_wsock32
1705 enable_wtsapi32
1706 enable_wuapi
1707 enable_wuaueng
1708 enable_x3daudio1_0
1709 enable_x3daudio1_1
1710 enable_x3daudio1_2
1711 enable_x3daudio1_3
1712 enable_x3daudio1_4
1713 enable_x3daudio1_5
1714 enable_x3daudio1_6
1715 enable_x3daudio1_7
1716 enable_xactengine3_0
1717 enable_xactengine3_1
1718 enable_xactengine3_2
1719 enable_xactengine3_3
1720 enable_xactengine3_4
1721 enable_xactengine3_5
1722 enable_xactengine3_6
1723 enable_xactengine3_7
1724 enable_xapofx1_1
1725 enable_xapofx1_2
1726 enable_xapofx1_3
1727 enable_xapofx1_4
1728 enable_xapofx1_5
1729 enable_xaudio2_0
1730 enable_xaudio2_1
1731 enable_xaudio2_2
1732 enable_xaudio2_3
1733 enable_xaudio2_4
1734 enable_xaudio2_5
1735 enable_xaudio2_6
1736 enable_xaudio2_7
1737 enable_xaudio2_8
1738 enable_xaudio2_9
1739 enable_xinput1_1
1740 enable_xinput1_2
1741 enable_xinput1_3
1742 enable_xinput1_4
1743 enable_xinput9_1_0
1744 enable_xmllite
1745 enable_xolehlp
1746 enable_xpsprint
1747 enable_xpssvcs
1748 enable_fonts
1749 enable_include
1750 enable_port
1751 enable_wine
1752 enable_wpp
1753 enable_loader
1754 enable_nls
1755 enable_po
1756 enable_arp
1757 enable_aspnet_regiis
1758 enable_attrib
1759 enable_cabarc
1760 enable_cacls
1761 enable_chcp_com
1762 enable_clock
1763 enable_cmd
1764 enable_conhost
1765 enable_control
1766 enable_cscript
1767 enable_dism
1768 enable_dplaysvr
1769 enable_dpnsvr
1770 enable_dpvsetup
1771 enable_dxdiag
1772 enable_eject
1773 enable_expand
1774 enable_explorer
1775 enable_extrac32
1776 enable_fc
1777 enable_find
1778 enable_findstr
1779 enable_fsutil
1780 enable_hh
1781 enable_hostname
1782 enable_icacls
1783 enable_icinfo
1784 enable_iexplore
1785 enable_ipconfig
1786 enable_lodctr
1787 enable_mofcomp
1788 enable_mshta
1789 enable_msidb
1790 enable_msiexec
1791 enable_msinfo32
1792 enable_net
1793 enable_netsh
1794 enable_netstat
1795 enable_ngen
1796 enable_notepad
1797 enable_oleview
1798 enable_ping
1799 enable_plugplay
1800 enable_powershell
1801 enable_presentationfontcache
1802 enable_progman
1803 enable_reg
1804 enable_regasm
1805 enable_regedit
1806 enable_regini
1807 enable_regsvcs
1808 enable_regsvr32
1809 enable_rpcss
1810 enable_rundll32
1811 enable_sc
1812 enable_schtasks
1813 enable_sdbinst
1814 enable_secedit
1815 enable_servicemodelreg
1816 enable_services
1817 enable_shutdown
1818 enable_spoolsv
1819 enable_start
1820 enable_subst
1821 enable_svchost
1822 enable_systeminfo
1823 enable_taskkill
1824 enable_tasklist
1825 enable_taskmgr
1826 enable_termsv
1827 enable_uninstaller
1828 enable_unlodctr
1829 enable_view
1830 enable_wevtutil
1831 enable_where
1832 enable_whoami
1833 enable_wineboot
1834 enable_winebrowser
1835 enable_winecfg
1836 enable_wineconsole
1837 enable_winedbg
1838 enable_winedevice
1839 enable_winefile
1840 enable_winemenubuilder
1841 enable_winemine
1842 enable_winemsibuilder
1843 enable_winepath
1844 enable_winetest
1845 enable_winhlp32
1846 enable_winmgmt
1847 enable_winver
1848 enable_wmic
1849 enable_wmplayer
1850 enable_wordpad
1851 enable_write
1852 enable_wscript
1853 enable_wuauserv
1854 enable_wusa
1855 enable_xcopy
1856 enable_server
1857 enable_tools
1858 enable_sfnt2fon
1859 enable_widl
1860 enable_winebuild
1861 enable_winedump
1862 enable_winegcc
1863 enable_winemaker
1864 enable_wmc
1865 enable_wrc
1867 ac_precious_vars='build_alias
1868 host_alias
1869 target_alias
1871 CFLAGS
1872 LDFLAGS
1873 LIBS
1874 CPPFLAGS
1876 CXXFLAGS
1879 OBJC
1880 OBJCFLAGS
1881 OBJCPP
1882 XMKMF
1883 XML2_CFLAGS
1884 XML2_LIBS
1885 XSLT_CFLAGS
1886 XSLT_LIBS
1887 INOTIFY_CFLAGS
1888 INOTIFY_LIBS
1889 DBUS_CFLAGS
1890 DBUS_LIBS
1891 HAL_CFLAGS
1892 HAL_LIBS
1893 GNUTLS_CFLAGS
1894 GNUTLS_LIBS
1895 SANE_CFLAGS
1896 SANE_LIBS
1897 USB_CFLAGS
1898 USB_LIBS
1899 GPHOTO2_CFLAGS
1900 GPHOTO2_LIBS
1901 GPHOTO2_PORT_CFLAGS
1902 GPHOTO2_PORT_LIBS
1903 LCMS2_CFLAGS
1904 LCMS2_LIBS
1905 FREETYPE_CFLAGS
1906 FREETYPE_LIBS
1907 PULSE_CFLAGS
1908 PULSE_LIBS
1909 GSTREAMER_CFLAGS
1910 GSTREAMER_LIBS
1911 UDEV_CFLAGS
1912 UDEV_LIBS
1913 UNWIND_CFLAGS
1914 UNWIND_LIBS
1915 SDL2_CFLAGS
1916 SDL2_LIBS
1917 FAUDIO_CFLAGS
1918 FAUDIO_LIBS
1919 CAPI20_CFLAGS
1920 CAPI20_LIBS
1921 CUPS_CFLAGS
1922 CUPS_LIBS
1923 FONTCONFIG_CFLAGS
1924 FONTCONFIG_LIBS
1925 KRB5_CFLAGS
1926 KRB5_LIBS
1927 GSSAPI_CFLAGS
1928 GSSAPI_LIBS
1929 JPEG_CFLAGS
1930 JPEG_LIBS
1931 PNG_CFLAGS
1932 PNG_LIBS
1933 TIFF_CFLAGS
1934 TIFF_LIBS
1935 MPG123_CFLAGS
1936 MPG123_LIBS
1937 NETAPI_CFLAGS
1938 NETAPI_LIBS
1939 VKD3D_CFLAGS
1940 VKD3D_LIBS
1941 VKD3D_SHADER_CFLAGS
1942 VKD3D_SHADER_LIBS
1943 LDAP_CFLAGS
1944 LDAP_LIBS'
1947 # Initialize some variables set by options.
1948 ac_init_help=
1949 ac_init_version=false
1950 ac_unrecognized_opts=
1951 ac_unrecognized_sep=
1952 # The variables have the same names as the options, with
1953 # dashes changed to underlines.
1954 cache_file=/dev/null
1955 exec_prefix=NONE
1956 no_create=
1957 no_recursion=
1958 prefix=NONE
1959 program_prefix=NONE
1960 program_suffix=NONE
1961 program_transform_name=s,x,x,
1962 silent=
1963 site=
1964 srcdir=
1965 verbose=
1966 x_includes=NONE
1967 x_libraries=NONE
1969 # Installation directory options.
1970 # These are left unexpanded so users can "make install exec_prefix=/foo"
1971 # and all the variables that are supposed to be based on exec_prefix
1972 # by default will actually change.
1973 # Use braces instead of parens because sh, perl, etc. also accept them.
1974 # (The list follows the same order as the GNU Coding Standards.)
1975 bindir='${exec_prefix}/bin'
1976 sbindir='${exec_prefix}/sbin'
1977 libexecdir='${exec_prefix}/libexec'
1978 datarootdir='${prefix}/share'
1979 datadir='${datarootdir}'
1980 sysconfdir='${prefix}/etc'
1981 sharedstatedir='${prefix}/com'
1982 localstatedir='${prefix}/var'
1983 runstatedir='${localstatedir}/run'
1984 includedir='${prefix}/include'
1985 oldincludedir='/usr/include'
1986 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1987 infodir='${datarootdir}/info'
1988 htmldir='${docdir}'
1989 dvidir='${docdir}'
1990 pdfdir='${docdir}'
1991 psdir='${docdir}'
1992 libdir='${exec_prefix}/lib'
1993 localedir='${datarootdir}/locale'
1994 mandir='${datarootdir}/man'
1996 ac_prev=
1997 ac_dashdash=
1998 for ac_option
2000 # If the previous option needs an argument, assign it.
2001 if test -n "$ac_prev"; then
2002 eval $ac_prev=\$ac_option
2003 ac_prev=
2004 continue
2007 case $ac_option in
2008 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2009 *=) ac_optarg= ;;
2010 *) ac_optarg=yes ;;
2011 esac
2013 # Accept the important Cygnus configure options, so we can diagnose typos.
2015 case $ac_dashdash$ac_option in
2017 ac_dashdash=yes ;;
2019 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2020 ac_prev=bindir ;;
2021 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2022 bindir=$ac_optarg ;;
2024 -build | --build | --buil | --bui | --bu)
2025 ac_prev=build_alias ;;
2026 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2027 build_alias=$ac_optarg ;;
2029 -cache-file | --cache-file | --cache-fil | --cache-fi \
2030 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2031 ac_prev=cache_file ;;
2032 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2033 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2034 cache_file=$ac_optarg ;;
2036 --config-cache | -C)
2037 cache_file=config.cache ;;
2039 -datadir | --datadir | --datadi | --datad)
2040 ac_prev=datadir ;;
2041 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2042 datadir=$ac_optarg ;;
2044 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2045 | --dataroo | --dataro | --datar)
2046 ac_prev=datarootdir ;;
2047 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2048 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2049 datarootdir=$ac_optarg ;;
2051 -disable-* | --disable-*)
2052 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2053 # Reject names that are not valid shell variable names.
2054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2055 as_fn_error $? "invalid feature name: $ac_useropt"
2056 ac_useropt_orig=$ac_useropt
2057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2058 case $ac_user_opts in
2060 "enable_$ac_useropt"
2061 "*) ;;
2062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2063 ac_unrecognized_sep=', ';;
2064 esac
2065 eval enable_$ac_useropt=no ;;
2067 -docdir | --docdir | --docdi | --doc | --do)
2068 ac_prev=docdir ;;
2069 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2070 docdir=$ac_optarg ;;
2072 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2073 ac_prev=dvidir ;;
2074 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2075 dvidir=$ac_optarg ;;
2077 -enable-* | --enable-*)
2078 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2079 # Reject names that are not valid shell variable names.
2080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2081 as_fn_error $? "invalid feature name: $ac_useropt"
2082 ac_useropt_orig=$ac_useropt
2083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2084 case $ac_user_opts in
2086 "enable_$ac_useropt"
2087 "*) ;;
2088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2089 ac_unrecognized_sep=', ';;
2090 esac
2091 eval enable_$ac_useropt=\$ac_optarg ;;
2093 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2094 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2095 | --exec | --exe | --ex)
2096 ac_prev=exec_prefix ;;
2097 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2098 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2099 | --exec=* | --exe=* | --ex=*)
2100 exec_prefix=$ac_optarg ;;
2102 -gas | --gas | --ga | --g)
2103 # Obsolete; use --with-gas.
2104 with_gas=yes ;;
2106 -help | --help | --hel | --he | -h)
2107 ac_init_help=long ;;
2108 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2109 ac_init_help=recursive ;;
2110 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2111 ac_init_help=short ;;
2113 -host | --host | --hos | --ho)
2114 ac_prev=host_alias ;;
2115 -host=* | --host=* | --hos=* | --ho=*)
2116 host_alias=$ac_optarg ;;
2118 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2119 ac_prev=htmldir ;;
2120 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2121 | --ht=*)
2122 htmldir=$ac_optarg ;;
2124 -includedir | --includedir | --includedi | --included | --include \
2125 | --includ | --inclu | --incl | --inc)
2126 ac_prev=includedir ;;
2127 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2128 | --includ=* | --inclu=* | --incl=* | --inc=*)
2129 includedir=$ac_optarg ;;
2131 -infodir | --infodir | --infodi | --infod | --info | --inf)
2132 ac_prev=infodir ;;
2133 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2134 infodir=$ac_optarg ;;
2136 -libdir | --libdir | --libdi | --libd)
2137 ac_prev=libdir ;;
2138 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2139 libdir=$ac_optarg ;;
2141 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2142 | --libexe | --libex | --libe)
2143 ac_prev=libexecdir ;;
2144 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2145 | --libexe=* | --libex=* | --libe=*)
2146 libexecdir=$ac_optarg ;;
2148 -localedir | --localedir | --localedi | --localed | --locale)
2149 ac_prev=localedir ;;
2150 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2151 localedir=$ac_optarg ;;
2153 -localstatedir | --localstatedir | --localstatedi | --localstated \
2154 | --localstate | --localstat | --localsta | --localst | --locals)
2155 ac_prev=localstatedir ;;
2156 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2157 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2158 localstatedir=$ac_optarg ;;
2160 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2161 ac_prev=mandir ;;
2162 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2163 mandir=$ac_optarg ;;
2165 -nfp | --nfp | --nf)
2166 # Obsolete; use --without-fp.
2167 with_fp=no ;;
2169 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2170 | --no-cr | --no-c | -n)
2171 no_create=yes ;;
2173 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2174 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2175 no_recursion=yes ;;
2177 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2178 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2179 | --oldin | --oldi | --old | --ol | --o)
2180 ac_prev=oldincludedir ;;
2181 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2182 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2183 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2184 oldincludedir=$ac_optarg ;;
2186 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2187 ac_prev=prefix ;;
2188 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2189 prefix=$ac_optarg ;;
2191 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2192 | --program-pre | --program-pr | --program-p)
2193 ac_prev=program_prefix ;;
2194 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2195 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2196 program_prefix=$ac_optarg ;;
2198 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2199 | --program-suf | --program-su | --program-s)
2200 ac_prev=program_suffix ;;
2201 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2202 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2203 program_suffix=$ac_optarg ;;
2205 -program-transform-name | --program-transform-name \
2206 | --program-transform-nam | --program-transform-na \
2207 | --program-transform-n | --program-transform- \
2208 | --program-transform | --program-transfor \
2209 | --program-transfo | --program-transf \
2210 | --program-trans | --program-tran \
2211 | --progr-tra | --program-tr | --program-t)
2212 ac_prev=program_transform_name ;;
2213 -program-transform-name=* | --program-transform-name=* \
2214 | --program-transform-nam=* | --program-transform-na=* \
2215 | --program-transform-n=* | --program-transform-=* \
2216 | --program-transform=* | --program-transfor=* \
2217 | --program-transfo=* | --program-transf=* \
2218 | --program-trans=* | --program-tran=* \
2219 | --progr-tra=* | --program-tr=* | --program-t=*)
2220 program_transform_name=$ac_optarg ;;
2222 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2223 ac_prev=pdfdir ;;
2224 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2225 pdfdir=$ac_optarg ;;
2227 -psdir | --psdir | --psdi | --psd | --ps)
2228 ac_prev=psdir ;;
2229 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2230 psdir=$ac_optarg ;;
2232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2233 | -silent | --silent | --silen | --sile | --sil)
2234 silent=yes ;;
2236 -runstatedir | --runstatedir | --runstatedi | --runstated \
2237 | --runstate | --runstat | --runsta | --runst | --runs \
2238 | --run | --ru | --r)
2239 ac_prev=runstatedir ;;
2240 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2241 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2242 | --run=* | --ru=* | --r=*)
2243 runstatedir=$ac_optarg ;;
2245 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2246 ac_prev=sbindir ;;
2247 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2248 | --sbi=* | --sb=*)
2249 sbindir=$ac_optarg ;;
2251 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2252 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2253 | --sharedst | --shareds | --shared | --share | --shar \
2254 | --sha | --sh)
2255 ac_prev=sharedstatedir ;;
2256 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2257 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2258 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2259 | --sha=* | --sh=*)
2260 sharedstatedir=$ac_optarg ;;
2262 -site | --site | --sit)
2263 ac_prev=site ;;
2264 -site=* | --site=* | --sit=*)
2265 site=$ac_optarg ;;
2267 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2268 ac_prev=srcdir ;;
2269 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2270 srcdir=$ac_optarg ;;
2272 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2273 | --syscon | --sysco | --sysc | --sys | --sy)
2274 ac_prev=sysconfdir ;;
2275 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2276 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2277 sysconfdir=$ac_optarg ;;
2279 -target | --target | --targe | --targ | --tar | --ta | --t)
2280 ac_prev=target_alias ;;
2281 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2282 target_alias=$ac_optarg ;;
2284 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2285 verbose=yes ;;
2287 -version | --version | --versio | --versi | --vers | -V)
2288 ac_init_version=: ;;
2290 -with-* | --with-*)
2291 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2292 # Reject names that are not valid shell variable names.
2293 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2294 as_fn_error $? "invalid package name: $ac_useropt"
2295 ac_useropt_orig=$ac_useropt
2296 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2297 case $ac_user_opts in
2299 "with_$ac_useropt"
2300 "*) ;;
2301 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2302 ac_unrecognized_sep=', ';;
2303 esac
2304 eval with_$ac_useropt=\$ac_optarg ;;
2306 -without-* | --without-*)
2307 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2308 # Reject names that are not valid shell variable names.
2309 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2310 as_fn_error $? "invalid package name: $ac_useropt"
2311 ac_useropt_orig=$ac_useropt
2312 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2313 case $ac_user_opts in
2315 "with_$ac_useropt"
2316 "*) ;;
2317 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2318 ac_unrecognized_sep=', ';;
2319 esac
2320 eval with_$ac_useropt=no ;;
2322 --x)
2323 # Obsolete; use --with-x.
2324 with_x=yes ;;
2326 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2327 | --x-incl | --x-inc | --x-in | --x-i)
2328 ac_prev=x_includes ;;
2329 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2330 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2331 x_includes=$ac_optarg ;;
2333 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2334 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2335 ac_prev=x_libraries ;;
2336 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2337 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2338 x_libraries=$ac_optarg ;;
2340 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2341 Try \`$0 --help' for more information"
2344 *=*)
2345 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2346 # Reject names that are not valid shell variable names.
2347 case $ac_envvar in #(
2348 '' | [0-9]* | *[!_$as_cr_alnum]* )
2349 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2350 esac
2351 eval $ac_envvar=\$ac_optarg
2352 export $ac_envvar ;;
2355 # FIXME: should be removed in autoconf 3.0.
2356 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2357 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2358 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2359 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2362 esac
2363 done
2365 if test -n "$ac_prev"; then
2366 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2367 as_fn_error $? "missing argument to $ac_option"
2370 if test -n "$ac_unrecognized_opts"; then
2371 case $enable_option_checking in
2372 no) ;;
2373 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2374 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2375 esac
2378 # Check all directory arguments for consistency.
2379 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2380 datadir sysconfdir sharedstatedir localstatedir includedir \
2381 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2382 libdir localedir mandir runstatedir
2384 eval ac_val=\$$ac_var
2385 # Remove trailing slashes.
2386 case $ac_val in
2387 */ )
2388 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2389 eval $ac_var=\$ac_val;;
2390 esac
2391 # Be sure to have absolute directory names.
2392 case $ac_val in
2393 [\\/$]* | ?:[\\/]* ) continue;;
2394 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2395 esac
2396 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2397 done
2399 # There might be people who depend on the old broken behavior: `$host'
2400 # used to hold the argument of --host etc.
2401 # FIXME: To remove some day.
2402 build=$build_alias
2403 host=$host_alias
2404 target=$target_alias
2406 # FIXME: To remove some day.
2407 if test "x$host_alias" != x; then
2408 if test "x$build_alias" = x; then
2409 cross_compiling=maybe
2410 elif test "x$build_alias" != "x$host_alias"; then
2411 cross_compiling=yes
2415 ac_tool_prefix=
2416 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2418 test "$silent" = yes && exec 6>/dev/null
2421 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2422 ac_ls_di=`ls -di .` &&
2423 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2424 as_fn_error $? "working directory cannot be determined"
2425 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2426 as_fn_error $? "pwd does not report name of working directory"
2429 # Find the source files, if location was not specified.
2430 if test -z "$srcdir"; then
2431 ac_srcdir_defaulted=yes
2432 # Try the directory containing this script, then the parent directory.
2433 ac_confdir=`$as_dirname -- "$as_myself" ||
2434 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2435 X"$as_myself" : 'X\(//\)[^/]' \| \
2436 X"$as_myself" : 'X\(//\)$' \| \
2437 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2438 $as_echo X"$as_myself" |
2439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2440 s//\1/
2443 /^X\(\/\/\)[^/].*/{
2444 s//\1/
2447 /^X\(\/\/\)$/{
2448 s//\1/
2451 /^X\(\/\).*/{
2452 s//\1/
2455 s/.*/./; q'`
2456 srcdir=$ac_confdir
2457 if test ! -r "$srcdir/$ac_unique_file"; then
2458 srcdir=..
2460 else
2461 ac_srcdir_defaulted=no
2463 if test ! -r "$srcdir/$ac_unique_file"; then
2464 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2465 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2467 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2468 ac_abs_confdir=`(
2469 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2470 pwd)`
2471 # When building in place, set srcdir=.
2472 if test "$ac_abs_confdir" = "$ac_pwd"; then
2473 srcdir=.
2475 # Remove unnecessary trailing slashes from srcdir.
2476 # Double slashes in file names in object file debugging info
2477 # mess up M-x gdb in Emacs.
2478 case $srcdir in
2479 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2480 esac
2481 for ac_var in $ac_precious_vars; do
2482 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2483 eval ac_env_${ac_var}_value=\$${ac_var}
2484 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2485 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2486 done
2489 # Report the --help message.
2491 if test "$ac_init_help" = "long"; then
2492 # Omit some internal or obsolete options to make the list less imposing.
2493 # This message is too long to be a string in the A/UX 3.1 sh.
2494 cat <<_ACEOF
2495 \`configure' configures Wine 6.0 to adapt to many kinds of systems.
2497 Usage: $0 [OPTION]... [VAR=VALUE]...
2499 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2500 VAR=VALUE. See below for descriptions of some of the useful variables.
2502 Defaults for the options are specified in brackets.
2504 Configuration:
2505 -h, --help display this help and exit
2506 --help=short display options specific to this package
2507 --help=recursive display the short help of all the included packages
2508 -V, --version display version information and exit
2509 -q, --quiet, --silent do not print \`checking ...' messages
2510 --cache-file=FILE cache test results in FILE [disabled]
2511 -C, --config-cache alias for \`--cache-file=config.cache'
2512 -n, --no-create do not create output files
2513 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2515 Installation directories:
2516 --prefix=PREFIX install architecture-independent files in PREFIX
2517 [$ac_default_prefix]
2518 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2519 [PREFIX]
2521 By default, \`make install' will install all the files in
2522 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2523 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2524 for instance \`--prefix=\$HOME'.
2526 For better control, use the options below.
2528 Fine tuning of the installation directories:
2529 --bindir=DIR user executables [EPREFIX/bin]
2530 --sbindir=DIR system admin executables [EPREFIX/sbin]
2531 --libexecdir=DIR program executables [EPREFIX/libexec]
2532 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2533 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2534 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2535 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2536 --libdir=DIR object code libraries [EPREFIX/lib]
2537 --includedir=DIR C header files [PREFIX/include]
2538 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2539 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2540 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2541 --infodir=DIR info documentation [DATAROOTDIR/info]
2542 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2543 --mandir=DIR man documentation [DATAROOTDIR/man]
2544 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2545 --htmldir=DIR html documentation [DOCDIR]
2546 --dvidir=DIR dvi documentation [DOCDIR]
2547 --pdfdir=DIR pdf documentation [DOCDIR]
2548 --psdir=DIR ps documentation [DOCDIR]
2549 _ACEOF
2551 cat <<\_ACEOF
2553 X features:
2554 --x-includes=DIR X include files are in DIR
2555 --x-libraries=DIR X library files are in DIR
2557 System types:
2558 --build=BUILD configure for building on BUILD [guessed]
2559 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2560 _ACEOF
2563 if test -n "$ac_init_help"; then
2564 case $ac_init_help in
2565 short | recursive ) echo "Configuration of Wine 6.0:";;
2566 esac
2567 cat <<\_ACEOF
2569 Optional Features:
2570 --disable-option-checking ignore unrecognized --enable/--with options
2571 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2572 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2573 --disable-win16 do not include Win16 support
2574 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2575 binaries)
2576 --disable-tests do not build the regression tests
2577 --enable-maintainer-mode
2578 enable maintainer-specific build rules
2579 --enable-silent-rules use silent build rules (override: "make V=1")
2580 --enable-werror treat compilation warnings as errors
2581 --disable-largefile omit support for large files
2583 Optional Packages:
2584 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2585 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2586 --without-alsa do not use the Alsa sound support
2587 --without-capi do not use CAPI (ISDN support)
2588 --without-cms do not use CMS (color management support)
2589 --without-coreaudio do not use the CoreAudio sound support
2590 --without-cups do not use CUPS
2591 --without-dbus do not use DBus (dynamic device support)
2592 --without-faudio do not use FAudio (XAudio2 support)
2593 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2594 --without-fontconfig do not use fontconfig
2595 --without-freetype do not use the FreeType library
2596 --without-gettext do not use gettext
2597 --with-gettextpo use the GetTextPO library to rebuild po files
2598 --without-gphoto do not use gphoto (Digital Camera support)
2599 --without-gnutls do not use GnuTLS (schannel support)
2600 --without-gsm do not use libgsm (GSM 06.10 codec support)
2601 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2602 --without-gstreamer do not use GStreamer (codecs support)
2603 --without-hal do not use HAL (dynamic device support)
2604 --without-inotify do not use inotify (filesystem change notifications)
2605 --without-jpeg do not use JPEG
2606 --without-krb5 do not use krb5 (Kerberos)
2607 --without-ldap do not use LDAP
2608 --without-mingw do not use the MinGW cross-compiler
2609 --without-mpg123 do not use the mpg123 library
2610 --without-netapi do not use the Samba NetAPI library
2611 --without-openal do not use OpenAL
2612 --without-opencl do not use OpenCL
2613 --without-opengl do not use OpenGL
2614 --without-osmesa do not use the OSMesa library
2615 --without-oss do not use the OSS sound support
2616 --without-pcap do not use the Packet Capture library
2617 --without-png do not use PNG
2618 --without-pthread do not use the pthread library
2619 --without-pulse do not use PulseAudio sound support
2620 --without-quicktime do not use QuickTime support
2621 --without-sane do not use SANE (scanner support)
2622 --without-sdl do not use SDL
2623 --without-tiff do not use TIFF
2624 --without-udev do not use udev (plug and play support)
2625 --without-unwind do not use the libunwind library (exception
2626 handling)
2627 --without-usb do not use the libusb library
2628 --without-v4l2 do not use v4l2 (video capture)
2629 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2630 --without-vulkan do not use Vulkan
2631 --without-xcomposite do not use the Xcomposite extension
2632 --without-xcursor do not use the Xcursor extension
2633 --without-xfixes do not use Xfixes for clipboard change notifications
2634 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2635 --without-xinput do not use the Xinput extension
2636 --without-xinput2 do not use the Xinput 2 extension
2637 --without-xml do not use XML
2638 --without-xrandr do not use Xrandr (multi-monitor support)
2639 --without-xrender do not use the Xrender extension
2640 --without-xshape do not use the Xshape extension
2641 --without-xshm do not use XShm (shared memory extension)
2642 --without-xslt do not use XSLT
2643 --without-xxf86vm do not use XFree video mode extension
2644 --with-wine-tools=DIR use Wine tools from directory DIR
2645 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2646 --with-x use the X Window System
2648 Some influential environment variables:
2649 CC C compiler command
2650 CFLAGS C compiler flags
2651 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2652 nonstandard directory <lib dir>
2653 LIBS libraries to pass to the linker, e.g. -l<library>
2654 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2655 you have headers in a nonstandard directory <include dir>
2656 CXX C++ compiler command
2657 CXXFLAGS C++ compiler flags
2658 CPP C preprocessor
2659 OBJC Objective C compiler command
2660 OBJCFLAGS Objective C compiler flags
2661 OBJCPP Objective C preprocessor
2662 XMKMF Path to xmkmf, Makefile generator for X Window System
2663 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2664 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2665 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2666 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2667 INOTIFY_CFLAGS
2668 C compiler flags for libinotify, overriding pkg-config
2669 INOTIFY_LIBS
2670 Linker flags for libinotify, overriding pkg-config
2671 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2672 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2673 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2674 HAL_LIBS Linker flags for hal, overriding pkg-config
2675 GNUTLS_CFLAGS
2676 C compiler flags for gnutls, overriding pkg-config
2677 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2678 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2679 SANE_LIBS Linker flags for libsane, overriding pkg-config
2680 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2681 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2682 GPHOTO2_CFLAGS
2683 C compiler flags for libgphoto2, overriding pkg-config
2684 GPHOTO2_LIBS
2685 Linker flags for libgphoto2, overriding pkg-config
2686 GPHOTO2_PORT_CFLAGS
2687 C compiler flags for libgphoto2_port, overriding pkg-config
2688 GPHOTO2_PORT_LIBS
2689 Linker flags for libgphoto2_port, overriding pkg-config
2690 LCMS2_CFLAGS
2691 C compiler flags for lcms2, overriding pkg-config
2692 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2693 FREETYPE_CFLAGS
2694 C compiler flags for freetype2, overriding pkg-config
2695 FREETYPE_LIBS
2696 Linker flags for freetype2, overriding pkg-config
2697 PULSE_CFLAGS
2698 C compiler flags for libpulse, overriding pkg-config
2699 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2700 GSTREAMER_CFLAGS
2701 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2702 gstreamer-audio-1.0, overriding pkg-config
2703 GSTREAMER_LIBS
2704 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2705 gstreamer-audio-1.0, overriding pkg-config
2706 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2707 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2708 UNWIND_CFLAGS
2709 C compiler flags for libunwind, overriding pkg-config
2710 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2711 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2712 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2713 FAUDIO_CFLAGS
2714 C compiler flags for faudio, overriding pkg-config
2715 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2716 CAPI20_CFLAGS
2717 C compiler flags for capi20, overriding pkg-config
2718 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2719 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2720 CUPS_LIBS Linker flags for cups, overriding pkg-config
2721 FONTCONFIG_CFLAGS
2722 C compiler flags for fontconfig, overriding pkg-config
2723 FONTCONFIG_LIBS
2724 Linker flags for fontconfig, overriding pkg-config
2725 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2726 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2727 GSSAPI_CFLAGS
2728 C compiler flags for krb5-gssapi, overriding pkg-config
2729 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2730 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2731 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2732 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2733 PNG_LIBS Linker flags for libpng, overriding pkg-config
2734 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2735 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2736 MPG123_CFLAGS
2737 C compiler flags for libmpg123, overriding pkg-config
2738 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2739 NETAPI_CFLAGS
2740 C compiler flags for netapi, overriding pkg-config
2741 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2742 VKD3D_CFLAGS
2743 C compiler flags for libvkd3d, overriding pkg-config
2744 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2745 VKD3D_SHADER_CFLAGS
2746 C compiler flags for libvkd3d-shader, overriding pkg-config
2747 VKD3D_SHADER_LIBS
2748 Linker flags for libvkd3d-shader, overriding pkg-config
2749 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2750 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2752 Use these variables to override the choices made by `configure' or to help
2753 it to find libraries and programs with nonstandard names/locations.
2755 Report bugs to <wine-devel@winehq.org>.
2756 Wine home page: <https://www.winehq.org>.
2757 _ACEOF
2758 ac_status=$?
2761 if test "$ac_init_help" = "recursive"; then
2762 # If there are subdirs, report their specific --help.
2763 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2764 test -d "$ac_dir" ||
2765 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2766 continue
2767 ac_builddir=.
2769 case "$ac_dir" in
2770 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2772 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2773 # A ".." for each directory in $ac_dir_suffix.
2774 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2775 case $ac_top_builddir_sub in
2776 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2777 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2778 esac ;;
2779 esac
2780 ac_abs_top_builddir=$ac_pwd
2781 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2782 # for backward compatibility:
2783 ac_top_builddir=$ac_top_build_prefix
2785 case $srcdir in
2786 .) # We are building in place.
2787 ac_srcdir=.
2788 ac_top_srcdir=$ac_top_builddir_sub
2789 ac_abs_top_srcdir=$ac_pwd ;;
2790 [\\/]* | ?:[\\/]* ) # Absolute name.
2791 ac_srcdir=$srcdir$ac_dir_suffix;
2792 ac_top_srcdir=$srcdir
2793 ac_abs_top_srcdir=$srcdir ;;
2794 *) # Relative name.
2795 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2796 ac_top_srcdir=$ac_top_build_prefix$srcdir
2797 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2798 esac
2799 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2801 cd "$ac_dir" || { ac_status=$?; continue; }
2802 # Check for guested configure.
2803 if test -f "$ac_srcdir/configure.gnu"; then
2804 echo &&
2805 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2806 elif test -f "$ac_srcdir/configure"; then
2807 echo &&
2808 $SHELL "$ac_srcdir/configure" --help=recursive
2809 else
2810 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2811 fi || ac_status=$?
2812 cd "$ac_pwd" || { ac_status=$?; break; }
2813 done
2816 test -n "$ac_init_help" && exit $ac_status
2817 if $ac_init_version; then
2818 cat <<\_ACEOF
2819 Wine configure 6.0
2820 generated by GNU Autoconf 2.69
2822 Copyright (C) 2012 Free Software Foundation, Inc.
2823 This configure script is free software; the Free Software Foundation
2824 gives unlimited permission to copy, distribute and modify it.
2825 _ACEOF
2826 exit
2829 ## ------------------------ ##
2830 ## Autoconf initialization. ##
2831 ## ------------------------ ##
2833 # ac_fn_c_try_compile LINENO
2834 # --------------------------
2835 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2836 ac_fn_c_try_compile ()
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 rm -f conftest.$ac_objext
2840 if { { ac_try="$ac_compile"
2841 case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_compile") 2>conftest.err
2848 ac_status=$?
2849 if test -s conftest.err; then
2850 grep -v '^ *+' conftest.err >conftest.er1
2851 cat conftest.er1 >&5
2852 mv -f conftest.er1 conftest.err
2854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2855 test $ac_status = 0; } && {
2856 test -z "$ac_c_werror_flag" ||
2857 test ! -s conftest.err
2858 } && test -s conftest.$ac_objext; then :
2859 ac_retval=0
2860 else
2861 $as_echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.$ac_ext >&5
2864 ac_retval=1
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 as_fn_set_status $ac_retval
2869 } # ac_fn_c_try_compile
2871 # ac_fn_cxx_try_compile LINENO
2872 # ----------------------------
2873 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2874 ac_fn_cxx_try_compile ()
2876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2877 rm -f conftest.$ac_objext
2878 if { { ac_try="$ac_compile"
2879 case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882 esac
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885 (eval "$ac_compile") 2>conftest.err
2886 ac_status=$?
2887 if test -s conftest.err; then
2888 grep -v '^ *+' conftest.err >conftest.er1
2889 cat conftest.er1 >&5
2890 mv -f conftest.er1 conftest.err
2892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893 test $ac_status = 0; } && {
2894 test -z "$ac_cxx_werror_flag" ||
2895 test ! -s conftest.err
2896 } && test -s conftest.$ac_objext; then :
2897 ac_retval=0
2898 else
2899 $as_echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2902 ac_retval=1
2904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2905 as_fn_set_status $ac_retval
2907 } # ac_fn_cxx_try_compile
2909 # ac_fn_c_try_link LINENO
2910 # -----------------------
2911 # Try to link conftest.$ac_ext, and return whether this succeeded.
2912 ac_fn_c_try_link ()
2914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2915 rm -f conftest.$ac_objext conftest$ac_exeext
2916 if { { ac_try="$ac_link"
2917 case "(($ac_try" in
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2920 esac
2921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2922 $as_echo "$ac_try_echo"; } >&5
2923 (eval "$ac_link") 2>conftest.err
2924 ac_status=$?
2925 if test -s conftest.err; then
2926 grep -v '^ *+' conftest.err >conftest.er1
2927 cat conftest.er1 >&5
2928 mv -f conftest.er1 conftest.err
2930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2931 test $ac_status = 0; } && {
2932 test -z "$ac_c_werror_flag" ||
2933 test ! -s conftest.err
2934 } && test -s conftest$ac_exeext && {
2935 test "$cross_compiling" = yes ||
2936 test -x conftest$ac_exeext
2937 }; then :
2938 ac_retval=0
2939 else
2940 $as_echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2943 ac_retval=1
2945 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2946 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2947 # interfere with the next link command; also delete a directory that is
2948 # left behind by Apple's compiler. We do this before executing the actions.
2949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2951 as_fn_set_status $ac_retval
2953 } # ac_fn_c_try_link
2955 # ac_fn_c_try_cpp LINENO
2956 # ----------------------
2957 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2958 ac_fn_c_try_cpp ()
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 if { { ac_try="$ac_cpp conftest.$ac_ext"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 $as_echo "$ac_try_echo"; } >&5
2968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2969 ac_status=$?
2970 if test -s conftest.err; then
2971 grep -v '^ *+' conftest.err >conftest.er1
2972 cat conftest.er1 >&5
2973 mv -f conftest.er1 conftest.err
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; } > conftest.i && {
2977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2978 test ! -s conftest.err
2979 }; then :
2980 ac_retval=0
2981 else
2982 $as_echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 ac_retval=1
2987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2988 as_fn_set_status $ac_retval
2990 } # ac_fn_c_try_cpp
2992 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2993 # -------------------------------------------------------
2994 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2995 # the include files in INCLUDES and setting the cache variable VAR
2996 # accordingly.
2997 ac_fn_c_check_header_mongrel ()
2999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000 if eval \${$3+:} false; then :
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3002 $as_echo_n "checking for $2... " >&6; }
3003 if eval \${$3+:} false; then :
3004 $as_echo_n "(cached) " >&6
3006 eval ac_res=\$$3
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3008 $as_echo "$ac_res" >&6; }
3009 else
3010 # Is the header compilable?
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3012 $as_echo_n "checking $2 usability... " >&6; }
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3016 #include <$2>
3017 _ACEOF
3018 if ac_fn_c_try_compile "$LINENO"; then :
3019 ac_header_compiler=yes
3020 else
3021 ac_header_compiler=no
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3025 $as_echo "$ac_header_compiler" >&6; }
3027 # Is the header present?
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3029 $as_echo_n "checking $2 presence... " >&6; }
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3032 #include <$2>
3033 _ACEOF
3034 if ac_fn_c_try_cpp "$LINENO"; then :
3035 ac_header_preproc=yes
3036 else
3037 ac_header_preproc=no
3039 rm -f conftest.err conftest.i conftest.$ac_ext
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3041 $as_echo "$ac_header_preproc" >&6; }
3043 # So? What about this header?
3044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3045 yes:no: )
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3047 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3049 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3051 no:yes:* )
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3053 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3055 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3057 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3059 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3061 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3062 ( $as_echo "## ------------------------------------ ##
3063 ## Report this to wine-devel@winehq.org ##
3064 ## ------------------------------------ ##"
3065 ) | sed "s/^/$as_me: WARNING: /" >&2
3067 esac
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3069 $as_echo_n "checking for $2... " >&6; }
3070 if eval \${$3+:} false; then :
3071 $as_echo_n "(cached) " >&6
3072 else
3073 eval "$3=\$ac_header_compiler"
3075 eval ac_res=\$$3
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3077 $as_echo "$ac_res" >&6; }
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3081 } # ac_fn_c_check_header_mongrel
3083 # ac_fn_c_try_run LINENO
3084 # ----------------------
3085 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3086 # that executables *can* be run.
3087 ac_fn_c_try_run ()
3089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3090 if { { ac_try="$ac_link"
3091 case "(($ac_try" in
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3094 esac
3095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3096 $as_echo "$ac_try_echo"; } >&5
3097 (eval "$ac_link") 2>&5
3098 ac_status=$?
3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3101 { { case "(($ac_try" in
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3104 esac
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 $as_echo "$ac_try_echo"; } >&5
3107 (eval "$ac_try") 2>&5
3108 ac_status=$?
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; }; }; then :
3111 ac_retval=0
3112 else
3113 $as_echo "$as_me: program exited with status $ac_status" >&5
3114 $as_echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.$ac_ext >&5
3117 ac_retval=$ac_status
3119 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3121 as_fn_set_status $ac_retval
3123 } # ac_fn_c_try_run
3125 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3126 # -------------------------------------------------------
3127 # Tests whether HEADER exists and can be compiled using the include files in
3128 # INCLUDES, setting the cache variable VAR accordingly.
3129 ac_fn_c_check_header_compile ()
3131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3133 $as_echo_n "checking for $2... " >&6; }
3134 if eval \${$3+:} false; then :
3135 $as_echo_n "(cached) " >&6
3136 else
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3140 #include <$2>
3141 _ACEOF
3142 if ac_fn_c_try_compile "$LINENO"; then :
3143 eval "$3=yes"
3144 else
3145 eval "$3=no"
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 eval ac_res=\$$3
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3151 $as_echo "$ac_res" >&6; }
3152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3154 } # ac_fn_c_check_header_compile
3156 # ac_fn_objc_try_compile LINENO
3157 # -----------------------------
3158 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3159 ac_fn_objc_try_compile ()
3161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3162 rm -f conftest.$ac_objext
3163 if { { ac_try="$ac_compile"
3164 case "(($ac_try" in
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3167 esac
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_compile") 2>conftest.err
3171 ac_status=$?
3172 if test -s conftest.err; then
3173 grep -v '^ *+' conftest.err >conftest.er1
3174 cat conftest.er1 >&5
3175 mv -f conftest.er1 conftest.err
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; } && {
3179 test -z "$ac_objc_werror_flag" ||
3180 test ! -s conftest.err
3181 } && test -s conftest.$ac_objext; then :
3182 ac_retval=0
3183 else
3184 $as_echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 ac_retval=1
3189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3190 as_fn_set_status $ac_retval
3192 } # ac_fn_objc_try_compile
3194 # ac_fn_objc_try_cpp LINENO
3195 # -------------------------
3196 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3197 ac_fn_objc_try_cpp ()
3199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3200 if { { ac_try="$ac_cpp conftest.$ac_ext"
3201 case "(($ac_try" in
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3204 esac
3205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3208 ac_status=$?
3209 if test -s conftest.err; then
3210 grep -v '^ *+' conftest.err >conftest.er1
3211 cat conftest.er1 >&5
3212 mv -f conftest.er1 conftest.err
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; } > conftest.i && {
3216 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3217 test ! -s conftest.err
3218 }; then :
3219 ac_retval=0
3220 else
3221 $as_echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 ac_retval=1
3226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3227 as_fn_set_status $ac_retval
3229 } # ac_fn_objc_try_cpp
3231 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3232 # ----------------------------------------------------------
3233 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3234 # the include files in INCLUDES and setting the cache variable VAR
3235 # accordingly.
3236 ac_fn_objc_check_header_mongrel ()
3238 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3239 if eval \${$3+:} false; then :
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3241 $as_echo_n "checking for $2... " >&6; }
3242 if eval \${$3+:} false; then :
3243 $as_echo_n "(cached) " >&6
3245 eval ac_res=\$$3
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3247 $as_echo "$ac_res" >&6; }
3248 else
3249 # Is the header compilable?
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3251 $as_echo_n "checking $2 usability... " >&6; }
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3255 #include <$2>
3256 _ACEOF
3257 if ac_fn_objc_try_compile "$LINENO"; then :
3258 ac_header_compiler=yes
3259 else
3260 ac_header_compiler=no
3262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3264 $as_echo "$ac_header_compiler" >&6; }
3266 # Is the header present?
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3268 $as_echo_n "checking $2 presence... " >&6; }
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3271 #include <$2>
3272 _ACEOF
3273 if ac_fn_objc_try_cpp "$LINENO"; then :
3274 ac_header_preproc=yes
3275 else
3276 ac_header_preproc=no
3278 rm -f conftest.err conftest.i conftest.$ac_ext
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3280 $as_echo "$ac_header_preproc" >&6; }
3282 # So? What about this header?
3283 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3284 yes:no: )
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3286 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3288 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3290 no:yes:* )
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3292 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3294 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3296 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3298 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3300 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3301 ( $as_echo "## ------------------------------------ ##
3302 ## Report this to wine-devel@winehq.org ##
3303 ## ------------------------------------ ##"
3304 ) | sed "s/^/$as_me: WARNING: /" >&2
3306 esac
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3308 $as_echo_n "checking for $2... " >&6; }
3309 if eval \${$3+:} false; then :
3310 $as_echo_n "(cached) " >&6
3311 else
3312 eval "$3=\$ac_header_compiler"
3314 eval ac_res=\$$3
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3316 $as_echo "$ac_res" >&6; }
3318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3320 } # ac_fn_objc_check_header_mongrel
3322 # ac_fn_c_check_func LINENO FUNC VAR
3323 # ----------------------------------
3324 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3325 ac_fn_c_check_func ()
3327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3329 $as_echo_n "checking for $2... " >&6; }
3330 if eval \${$3+:} false; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3335 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3337 #define $2 innocuous_$2
3339 /* System header to define __stub macros and hopefully few prototypes,
3340 which can conflict with char $2 (); below.
3341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3342 <limits.h> exists even on freestanding compilers. */
3344 #ifdef __STDC__
3345 # include <limits.h>
3346 #else
3347 # include <assert.h>
3348 #endif
3350 #undef $2
3352 /* Override any GCC internal prototype to avoid an error.
3353 Use char because int might match the return type of a GCC
3354 builtin and then its argument prototype would still apply. */
3355 #ifdef __cplusplus
3356 extern "C"
3357 #endif
3358 char $2 ();
3359 /* The GNU C library defines this for functions which it implements
3360 to always fail with ENOSYS. Some functions are actually named
3361 something starting with __ and the normal name is an alias. */
3362 #if defined __stub_$2 || defined __stub___$2
3363 choke me
3364 #endif
3367 main ()
3369 return $2 ();
3371 return 0;
3373 _ACEOF
3374 if ac_fn_c_try_link "$LINENO"; then :
3375 eval "$3=yes"
3376 else
3377 eval "$3=no"
3379 rm -f core conftest.err conftest.$ac_objext \
3380 conftest$ac_exeext conftest.$ac_ext
3382 eval ac_res=\$$3
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3384 $as_echo "$ac_res" >&6; }
3385 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3387 } # ac_fn_c_check_func
3389 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3390 # ----------------------------------------------------
3391 # Tries to find if the field MEMBER exists in type AGGR, after including
3392 # INCLUDES, setting cache variable VAR accordingly.
3393 ac_fn_c_check_member ()
3395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3397 $as_echo_n "checking for $2.$3... " >&6; }
3398 if eval \${$4+:} false; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3405 main ()
3407 static $2 ac_aggr;
3408 if (ac_aggr.$3)
3409 return 0;
3411 return 0;
3413 _ACEOF
3414 if ac_fn_c_try_compile "$LINENO"; then :
3415 eval "$4=yes"
3416 else
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3421 main ()
3423 static $2 ac_aggr;
3424 if (sizeof ac_aggr.$3)
3425 return 0;
3427 return 0;
3429 _ACEOF
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 eval "$4=yes"
3432 else
3433 eval "$4=no"
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 eval ac_res=\$$4
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3441 $as_echo "$ac_res" >&6; }
3442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3444 } # ac_fn_c_check_member
3446 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3447 # -------------------------------------------
3448 # Tests whether TYPE exists after having included INCLUDES, setting cache
3449 # variable VAR accordingly.
3450 ac_fn_c_check_type ()
3452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3454 $as_echo_n "checking for $2... " >&6; }
3455 if eval \${$3+:} false; then :
3456 $as_echo_n "(cached) " >&6
3457 else
3458 eval "$3=no"
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460 /* end confdefs.h. */
3463 main ()
3465 if (sizeof ($2))
3466 return 0;
3468 return 0;
3470 _ACEOF
3471 if ac_fn_c_try_compile "$LINENO"; then :
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3476 main ()
3478 if (sizeof (($2)))
3479 return 0;
3481 return 0;
3483 _ACEOF
3484 if ac_fn_c_try_compile "$LINENO"; then :
3486 else
3487 eval "$3=yes"
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493 eval ac_res=\$$3
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3495 $as_echo "$ac_res" >&6; }
3496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3498 } # ac_fn_c_check_type
3499 cat >config.log <<_ACEOF
3500 This file contains any messages produced by compilers while
3501 running configure, to aid debugging if configure makes a mistake.
3503 It was created by Wine $as_me 6.0, which was
3504 generated by GNU Autoconf 2.69. Invocation command line was
3506 $ $0 $@
3508 _ACEOF
3509 exec 5>>config.log
3511 cat <<_ASUNAME
3512 ## --------- ##
3513 ## Platform. ##
3514 ## --------- ##
3516 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3517 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3518 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3519 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3520 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3522 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3523 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3525 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3526 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3527 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3528 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3529 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3530 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3531 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3533 _ASUNAME
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 for as_dir in $PATH
3538 IFS=$as_save_IFS
3539 test -z "$as_dir" && as_dir=.
3540 $as_echo "PATH: $as_dir"
3541 done
3542 IFS=$as_save_IFS
3544 } >&5
3546 cat >&5 <<_ACEOF
3549 ## ----------- ##
3550 ## Core tests. ##
3551 ## ----------- ##
3553 _ACEOF
3556 # Keep a trace of the command line.
3557 # Strip out --no-create and --no-recursion so they do not pile up.
3558 # Strip out --silent because we don't want to record it for future runs.
3559 # Also quote any args containing shell meta-characters.
3560 # Make two passes to allow for proper duplicate-argument suppression.
3561 ac_configure_args=
3562 ac_configure_args0=
3563 ac_configure_args1=
3564 ac_must_keep_next=false
3565 for ac_pass in 1 2
3567 for ac_arg
3569 case $ac_arg in
3570 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3571 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3572 | -silent | --silent | --silen | --sile | --sil)
3573 continue ;;
3574 *\'*)
3575 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3576 esac
3577 case $ac_pass in
3578 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3580 as_fn_append ac_configure_args1 " '$ac_arg'"
3581 if test $ac_must_keep_next = true; then
3582 ac_must_keep_next=false # Got value, back to normal.
3583 else
3584 case $ac_arg in
3585 *=* | --config-cache | -C | -disable-* | --disable-* \
3586 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3587 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3588 | -with-* | --with-* | -without-* | --without-* | --x)
3589 case "$ac_configure_args0 " in
3590 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3591 esac
3593 -* ) ac_must_keep_next=true ;;
3594 esac
3596 as_fn_append ac_configure_args " '$ac_arg'"
3598 esac
3599 done
3600 done
3601 { ac_configure_args0=; unset ac_configure_args0;}
3602 { ac_configure_args1=; unset ac_configure_args1;}
3604 # When interrupted or exit'd, cleanup temporary files, and complete
3605 # config.log. We remove comments because anyway the quotes in there
3606 # would cause problems or look ugly.
3607 # WARNING: Use '\'' to represent an apostrophe within the trap.
3608 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3609 trap 'exit_status=$?
3610 # Save into config.log some information that might help in debugging.
3612 echo
3614 $as_echo "## ---------------- ##
3615 ## Cache variables. ##
3616 ## ---------------- ##"
3617 echo
3618 # The following way of writing the cache mishandles newlines in values,
3620 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3621 eval ac_val=\$$ac_var
3622 case $ac_val in #(
3623 *${as_nl}*)
3624 case $ac_var in #(
3625 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3626 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3627 esac
3628 case $ac_var in #(
3629 _ | IFS | as_nl) ;; #(
3630 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3631 *) { eval $ac_var=; unset $ac_var;} ;;
3632 esac ;;
3633 esac
3634 done
3635 (set) 2>&1 |
3636 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3637 *${as_nl}ac_space=\ *)
3638 sed -n \
3639 "s/'\''/'\''\\\\'\'''\''/g;
3640 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3641 ;; #(
3643 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3645 esac |
3646 sort
3648 echo
3650 $as_echo "## ----------------- ##
3651 ## Output variables. ##
3652 ## ----------------- ##"
3653 echo
3654 for ac_var in $ac_subst_vars
3656 eval ac_val=\$$ac_var
3657 case $ac_val in
3658 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3659 esac
3660 $as_echo "$ac_var='\''$ac_val'\''"
3661 done | sort
3662 echo
3664 if test -n "$ac_subst_files"; then
3665 $as_echo "## ------------------- ##
3666 ## File substitutions. ##
3667 ## ------------------- ##"
3668 echo
3669 for ac_var in $ac_subst_files
3671 eval ac_val=\$$ac_var
3672 case $ac_val in
3673 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3674 esac
3675 $as_echo "$ac_var='\''$ac_val'\''"
3676 done | sort
3677 echo
3680 if test -s confdefs.h; then
3681 $as_echo "## ----------- ##
3682 ## confdefs.h. ##
3683 ## ----------- ##"
3684 echo
3685 cat confdefs.h
3686 echo
3688 test "$ac_signal" != 0 &&
3689 $as_echo "$as_me: caught signal $ac_signal"
3690 $as_echo "$as_me: exit $exit_status"
3691 } >&5
3692 rm -f core *.core core.conftest.* &&
3693 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3694 exit $exit_status
3696 for ac_signal in 1 2 13 15; do
3697 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3698 done
3699 ac_signal=0
3701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3702 rm -f -r conftest* confdefs.h
3704 $as_echo "/* confdefs.h */" > confdefs.h
3706 # Predefined preprocessor variables.
3708 cat >>confdefs.h <<_ACEOF
3709 #define PACKAGE_NAME "$PACKAGE_NAME"
3710 _ACEOF
3712 cat >>confdefs.h <<_ACEOF
3713 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3714 _ACEOF
3716 cat >>confdefs.h <<_ACEOF
3717 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3718 _ACEOF
3720 cat >>confdefs.h <<_ACEOF
3721 #define PACKAGE_STRING "$PACKAGE_STRING"
3722 _ACEOF
3724 cat >>confdefs.h <<_ACEOF
3725 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3726 _ACEOF
3728 cat >>confdefs.h <<_ACEOF
3729 #define PACKAGE_URL "$PACKAGE_URL"
3730 _ACEOF
3733 # Let the site file select an alternate cache file if it wants to.
3734 # Prefer an explicitly selected file to automatically selected ones.
3735 ac_site_file1=NONE
3736 ac_site_file2=NONE
3737 if test -n "$CONFIG_SITE"; then
3738 # We do not want a PATH search for config.site.
3739 case $CONFIG_SITE in #((
3740 -*) ac_site_file1=./$CONFIG_SITE;;
3741 */*) ac_site_file1=$CONFIG_SITE;;
3742 *) ac_site_file1=./$CONFIG_SITE;;
3743 esac
3744 elif test "x$prefix" != xNONE; then
3745 ac_site_file1=$prefix/share/config.site
3746 ac_site_file2=$prefix/etc/config.site
3747 else
3748 ac_site_file1=$ac_default_prefix/share/config.site
3749 ac_site_file2=$ac_default_prefix/etc/config.site
3751 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3753 test "x$ac_site_file" = xNONE && continue
3754 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3756 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3757 sed 's/^/| /' "$ac_site_file" >&5
3758 . "$ac_site_file" \
3759 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3761 as_fn_error $? "failed to load site script $ac_site_file
3762 See \`config.log' for more details" "$LINENO" 5; }
3764 done
3766 if test -r "$cache_file"; then
3767 # Some versions of bash will fail to source /dev/null (special files
3768 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3769 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3771 $as_echo "$as_me: loading cache $cache_file" >&6;}
3772 case $cache_file in
3773 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3774 *) . "./$cache_file";;
3775 esac
3777 else
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3779 $as_echo "$as_me: creating cache $cache_file" >&6;}
3780 >$cache_file
3783 # Check that the precious variables saved in the cache have kept the same
3784 # value.
3785 ac_cache_corrupted=false
3786 for ac_var in $ac_precious_vars; do
3787 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3788 eval ac_new_set=\$ac_env_${ac_var}_set
3789 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3790 eval ac_new_val=\$ac_env_${ac_var}_value
3791 case $ac_old_set,$ac_new_set in
3792 set,)
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3794 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3795 ac_cache_corrupted=: ;;
3796 ,set)
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3798 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3799 ac_cache_corrupted=: ;;
3800 ,);;
3802 if test "x$ac_old_val" != "x$ac_new_val"; then
3803 # differences in whitespace do not lead to failure.
3804 ac_old_val_w=`echo x $ac_old_val`
3805 ac_new_val_w=`echo x $ac_new_val`
3806 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3808 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3809 ac_cache_corrupted=:
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3812 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3813 eval $ac_var=\$ac_old_val
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3816 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3818 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3819 fi;;
3820 esac
3821 # Pass precious variables to config.status.
3822 if test "$ac_new_set" = set; then
3823 case $ac_new_val in
3824 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3825 *) ac_arg=$ac_var=$ac_new_val ;;
3826 esac
3827 case " $ac_configure_args " in
3828 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3829 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3830 esac
3832 done
3833 if $ac_cache_corrupted; then
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3837 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3838 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3840 ## -------------------- ##
3841 ## Main body of script. ##
3842 ## -------------------- ##
3844 ac_ext=c
3845 ac_cpp='$CPP $CPPFLAGS'
3846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3852 ac_config_headers="$ac_config_headers include/config.h"
3854 ac_aux_dir=
3855 for ac_dir in tools "$srcdir"/tools; do
3856 if test -f "$ac_dir/install-sh"; then
3857 ac_aux_dir=$ac_dir
3858 ac_install_sh="$ac_aux_dir/install-sh -c"
3859 break
3860 elif test -f "$ac_dir/install.sh"; then
3861 ac_aux_dir=$ac_dir
3862 ac_install_sh="$ac_aux_dir/install.sh -c"
3863 break
3864 elif test -f "$ac_dir/shtool"; then
3865 ac_aux_dir=$ac_dir
3866 ac_install_sh="$ac_aux_dir/shtool install -c"
3867 break
3869 done
3870 if test -z "$ac_aux_dir"; then
3871 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3874 # These three variables are undocumented and unsupported,
3875 # and are intended to be withdrawn in a future Autoconf release.
3876 # They can cause serious problems if a builder's source tree is in a directory
3877 # whose full name contains unusual characters.
3878 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3879 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3880 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3884 libwine_version="1.0"
3888 # Check whether --enable-win16 was given.
3889 if test "${enable_win16+set}" = set; then :
3890 enableval=$enable_win16;
3893 # Check whether --enable-win64 was given.
3894 if test "${enable_win64+set}" = set; then :
3895 enableval=$enable_win64;
3898 # Check whether --enable-tests was given.
3899 if test "${enable_tests+set}" = set; then :
3900 enableval=$enable_tests;
3903 # Check whether --enable-maintainer-mode was given.
3904 if test "${enable_maintainer_mode+set}" = set; then :
3905 enableval=$enable_maintainer_mode;
3908 # Check whether --enable-silent-rules was given.
3909 if test "${enable_silent_rules+set}" = set; then :
3910 enableval=$enable_silent_rules;
3913 # Check whether --enable-werror was given.
3914 if test "${enable_werror+set}" = set; then :
3915 enableval=$enable_werror;
3920 # Check whether --with-alsa was given.
3921 if test "${with_alsa+set}" = set; then :
3922 withval=$with_alsa;
3926 # Check whether --with-capi was given.
3927 if test "${with_capi+set}" = set; then :
3928 withval=$with_capi;
3932 # Check whether --with-cms was given.
3933 if test "${with_cms+set}" = set; then :
3934 withval=$with_cms;
3938 # Check whether --with-coreaudio was given.
3939 if test "${with_coreaudio+set}" = set; then :
3940 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3944 # Check whether --with-cups was given.
3945 if test "${with_cups+set}" = set; then :
3946 withval=$with_cups;
3950 # Check whether --with-dbus was given.
3951 if test "${with_dbus+set}" = set; then :
3952 withval=$with_dbus;
3956 # Check whether --with-faudio was given.
3957 if test "${with_faudio+set}" = set; then :
3958 withval=$with_faudio;
3962 # Check whether --with-float-abi was given.
3963 if test "${with_float_abi+set}" = set; then :
3964 withval=$with_float_abi;
3968 # Check whether --with-fontconfig was given.
3969 if test "${with_fontconfig+set}" = set; then :
3970 withval=$with_fontconfig;
3974 # Check whether --with-freetype was given.
3975 if test "${with_freetype+set}" = set; then :
3976 withval=$with_freetype;
3980 # Check whether --with-gettext was given.
3981 if test "${with_gettext+set}" = set; then :
3982 withval=$with_gettext;
3986 # Check whether --with-gettextpo was given.
3987 if test "${with_gettextpo+set}" = set; then :
3988 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3992 # Check whether --with-gphoto was given.
3993 if test "${with_gphoto+set}" = set; then :
3994 withval=$with_gphoto;
3998 # Check whether --with-gnutls was given.
3999 if test "${with_gnutls+set}" = set; then :
4000 withval=$with_gnutls;
4004 # Check whether --with-gsm was given.
4005 if test "${with_gsm+set}" = set; then :
4006 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4010 # Check whether --with-gssapi was given.
4011 if test "${with_gssapi+set}" = set; then :
4012 withval=$with_gssapi;
4016 # Check whether --with-gstreamer was given.
4017 if test "${with_gstreamer+set}" = set; then :
4018 withval=$with_gstreamer;
4022 # Check whether --with-hal was given.
4023 if test "${with_hal+set}" = set; then :
4024 withval=$with_hal;
4028 # Check whether --with-inotify was given.
4029 if test "${with_inotify+set}" = set; then :
4030 withval=$with_inotify;
4034 # Check whether --with-jpeg was given.
4035 if test "${with_jpeg+set}" = set; then :
4036 withval=$with_jpeg;
4040 # Check whether --with-krb5 was given.
4041 if test "${with_krb5+set}" = set; then :
4042 withval=$with_krb5;
4046 # Check whether --with-ldap was given.
4047 if test "${with_ldap+set}" = set; then :
4048 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4052 # Check whether --with-mingw was given.
4053 if test "${with_mingw+set}" = set; then :
4054 withval=$with_mingw;
4058 # Check whether --with-mpg123 was given.
4059 if test "${with_mpg123+set}" = set; then :
4060 withval=$with_mpg123;
4064 # Check whether --with-netapi was given.
4065 if test "${with_netapi+set}" = set; then :
4066 withval=$with_netapi;
4070 # Check whether --with-openal was given.
4071 if test "${with_openal+set}" = set; then :
4072 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4076 # Check whether --with-opencl was given.
4077 if test "${with_opencl+set}" = set; then :
4078 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4082 # Check whether --with-opengl was given.
4083 if test "${with_opengl+set}" = set; then :
4084 withval=$with_opengl;
4088 # Check whether --with-osmesa was given.
4089 if test "${with_osmesa+set}" = set; then :
4090 withval=$with_osmesa;
4094 # Check whether --with-oss was given.
4095 if test "${with_oss+set}" = set; then :
4096 withval=$with_oss;
4100 # Check whether --with-pcap was given.
4101 if test "${with_pcap+set}" = set; then :
4102 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4106 # Check whether --with-png was given.
4107 if test "${with_png+set}" = set; then :
4108 withval=$with_png;
4112 # Check whether --with-pthread was given.
4113 if test "${with_pthread+set}" = set; then :
4114 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4118 # Check whether --with-pulse was given.
4119 if test "${with_pulse+set}" = set; then :
4120 withval=$with_pulse;
4124 # Check whether --with-quicktime was given.
4125 if test "${with_quicktime+set}" = set; then :
4126 withval=$with_quicktime;
4130 # Check whether --with-sane was given.
4131 if test "${with_sane+set}" = set; then :
4132 withval=$with_sane;
4136 # Check whether --with-sdl was given.
4137 if test "${with_sdl+set}" = set; then :
4138 withval=$with_sdl;
4142 # Check whether --with-tiff was given.
4143 if test "${with_tiff+set}" = set; then :
4144 withval=$with_tiff;
4148 # Check whether --with-udev was given.
4149 if test "${with_udev+set}" = set; then :
4150 withval=$with_udev;
4154 # Check whether --with-unwind was given.
4155 if test "${with_unwind+set}" = set; then :
4156 withval=$with_unwind;
4160 # Check whether --with-usb was given.
4161 if test "${with_usb+set}" = set; then :
4162 withval=$with_usb;
4166 # Check whether --with-v4l2 was given.
4167 if test "${with_v4l2+set}" = set; then :
4168 withval=$with_v4l2;
4172 # Check whether --with-vkd3d was given.
4173 if test "${with_vkd3d+set}" = set; then :
4174 withval=$with_vkd3d;
4178 # Check whether --with-vulkan was given.
4179 if test "${with_vulkan+set}" = set; then :
4180 withval=$with_vulkan;
4184 # Check whether --with-xcomposite was given.
4185 if test "${with_xcomposite+set}" = set; then :
4186 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4190 # Check whether --with-xcursor was given.
4191 if test "${with_xcursor+set}" = set; then :
4192 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4196 # Check whether --with-xfixes was given.
4197 if test "${with_xfixes+set}" = set; then :
4198 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4202 # Check whether --with-xinerama was given.
4203 if test "${with_xinerama+set}" = set; then :
4204 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4208 # Check whether --with-xinput was given.
4209 if test "${with_xinput+set}" = set; then :
4210 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4214 # Check whether --with-xinput2 was given.
4215 if test "${with_xinput2+set}" = set; then :
4216 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4220 # Check whether --with-xml was given.
4221 if test "${with_xml+set}" = set; then :
4222 withval=$with_xml;
4226 # Check whether --with-xrandr was given.
4227 if test "${with_xrandr+set}" = set; then :
4228 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4232 # Check whether --with-xrender was given.
4233 if test "${with_xrender+set}" = set; then :
4234 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4238 # Check whether --with-xshape was given.
4239 if test "${with_xshape+set}" = set; then :
4240 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4244 # Check whether --with-xshm was given.
4245 if test "${with_xshm+set}" = set; then :
4246 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4250 # Check whether --with-xslt was given.
4251 if test "${with_xslt+set}" = set; then :
4252 withval=$with_xslt;
4256 # Check whether --with-xxf86vm was given.
4257 if test "${with_xxf86vm+set}" = set; then :
4258 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4263 # Check whether --with-wine-tools was given.
4264 if test "${with_wine_tools+set}" = set; then :
4265 withval=$with_wine_tools;
4269 # Check whether --with-wine64 was given.
4270 if test "${with_wine64+set}" = set; then :
4271 withval=$with_wine64;
4275 # Make sure we can run config.sub.
4276 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4277 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4280 $as_echo_n "checking build system type... " >&6; }
4281 if ${ac_cv_build+:} false; then :
4282 $as_echo_n "(cached) " >&6
4283 else
4284 ac_build_alias=$build_alias
4285 test "x$ac_build_alias" = x &&
4286 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4287 test "x$ac_build_alias" = x &&
4288 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4289 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4290 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4294 $as_echo "$ac_cv_build" >&6; }
4295 case $ac_cv_build in
4296 *-*-*) ;;
4297 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4298 esac
4299 build=$ac_cv_build
4300 ac_save_IFS=$IFS; IFS='-'
4301 set x $ac_cv_build
4302 shift
4303 build_cpu=$1
4304 build_vendor=$2
4305 shift; shift
4306 # Remember, the first character of IFS is used to create $*,
4307 # except with old shells:
4308 build_os=$*
4309 IFS=$ac_save_IFS
4310 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4314 $as_echo_n "checking host system type... " >&6; }
4315 if ${ac_cv_host+:} false; then :
4316 $as_echo_n "(cached) " >&6
4317 else
4318 if test "x$host_alias" = x; then
4319 ac_cv_host=$ac_cv_build
4320 else
4321 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4322 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4327 $as_echo "$ac_cv_host" >&6; }
4328 case $ac_cv_host in
4329 *-*-*) ;;
4330 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4331 esac
4332 host=$ac_cv_host
4333 ac_save_IFS=$IFS; IFS='-'
4334 set x $ac_cv_host
4335 shift
4336 host_cpu=$1
4337 host_vendor=$2
4338 shift; shift
4339 # Remember, the first character of IFS is used to create $*,
4340 # except with old shells:
4341 host_os=$*
4342 IFS=$ac_save_IFS
4343 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4349 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4350 set x ${MAKE-make}
4351 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4352 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 cat >conftest.make <<\_ACEOF
4356 SHELL = /bin/sh
4357 all:
4358 @echo '@@@%%%=$(MAKE)=@@@%%%'
4359 _ACEOF
4360 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4361 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4362 *@@@%%%=?*=@@@%%%*)
4363 eval ac_cv_prog_make_${ac_make}_set=yes;;
4365 eval ac_cv_prog_make_${ac_make}_set=no;;
4366 esac
4367 rm -f conftest.make
4369 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4371 $as_echo "yes" >&6; }
4372 SET_MAKE=
4373 else
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4376 SET_MAKE="MAKE=${MAKE-make}"
4379 ac_ext=c
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4384 if test -n "$ac_tool_prefix"; then
4385 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4386 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_CC+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$CC"; then
4393 ac_cv_prog_CC="$CC" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4398 IFS=$as_save_IFS
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 break 2
4406 done
4407 done
4408 IFS=$as_save_IFS
4412 CC=$ac_cv_prog_CC
4413 if test -n "$CC"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4415 $as_echo "$CC" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4423 if test -z "$ac_cv_prog_CC"; then
4424 ac_ct_CC=$CC
4425 # Extract the first word of "gcc", so it can be a program name with args.
4426 set dummy gcc; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$ac_ct_CC"; then
4433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_ac_ct_CC="gcc"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4453 if test -n "$ac_ct_CC"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4455 $as_echo "$ac_ct_CC" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4461 if test "x$ac_ct_CC" = x; then
4462 CC=""
4463 else
4464 case $cross_compiling:$ac_tool_warned in
4465 yes:)
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned=yes ;;
4469 esac
4470 CC=$ac_ct_CC
4472 else
4473 CC="$ac_cv_prog_CC"
4476 if test -z "$CC"; then
4477 if test -n "$ac_tool_prefix"; then
4478 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4479 set dummy ${ac_tool_prefix}cc; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_CC+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC="$CC" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_CC="${ac_tool_prefix}cc"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 CC=$ac_cv_prog_CC
4506 if test -n "$CC"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4508 $as_echo "$CC" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4517 if test -z "$CC"; then
4518 # Extract the first word of "cc", so it can be a program name with args.
4519 set dummy cc; ac_word=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if ${ac_cv_prog_CC+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 if test -n "$CC"; then
4526 ac_cv_prog_CC="$CC" # Let the user override the test.
4527 else
4528 ac_prog_rejected=no
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 for as_dir in $PATH
4532 IFS=$as_save_IFS
4533 test -z "$as_dir" && as_dir=.
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4536 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4537 ac_prog_rejected=yes
4538 continue
4540 ac_cv_prog_CC="cc"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 break 2
4544 done
4545 done
4546 IFS=$as_save_IFS
4548 if test $ac_prog_rejected = yes; then
4549 # We found a bogon in the path, so make sure we never use it.
4550 set dummy $ac_cv_prog_CC
4551 shift
4552 if test $# != 0; then
4553 # We chose a different compiler from the bogus one.
4554 # However, it has the same basename, so the bogon will be chosen
4555 # first if we set CC to just the basename; use the full file name.
4556 shift
4557 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4562 CC=$ac_cv_prog_CC
4563 if test -n "$CC"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4565 $as_echo "$CC" >&6; }
4566 else
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4573 if test -z "$CC"; then
4574 if test -n "$ac_tool_prefix"; then
4575 for ac_prog in cl.exe
4577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4580 $as_echo_n "checking for $ac_word... " >&6; }
4581 if ${ac_cv_prog_CC+:} false; then :
4582 $as_echo_n "(cached) " >&6
4583 else
4584 if test -n "$CC"; then
4585 ac_cv_prog_CC="$CC" # Let the user override the test.
4586 else
4587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 for as_dir in $PATH
4590 IFS=$as_save_IFS
4591 test -z "$as_dir" && as_dir=.
4592 for ac_exec_ext in '' $ac_executable_extensions; do
4593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4594 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 break 2
4598 done
4599 done
4600 IFS=$as_save_IFS
4604 CC=$ac_cv_prog_CC
4605 if test -n "$CC"; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4607 $as_echo "$CC" >&6; }
4608 else
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 $as_echo "no" >&6; }
4614 test -n "$CC" && break
4615 done
4617 if test -z "$CC"; then
4618 ac_ct_CC=$CC
4619 for ac_prog in cl.exe
4621 # Extract the first word of "$ac_prog", so it can be a program name with args.
4622 set dummy $ac_prog; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 if test -n "$ac_ct_CC"; then
4629 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4630 else
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH
4634 IFS=$as_save_IFS
4635 test -z "$as_dir" && as_dir=.
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_ac_ct_CC="$ac_prog"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 break 2
4642 done
4643 done
4644 IFS=$as_save_IFS
4648 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4649 if test -n "$ac_ct_CC"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4651 $as_echo "$ac_ct_CC" >&6; }
4652 else
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4658 test -n "$ac_ct_CC" && break
4659 done
4661 if test "x$ac_ct_CC" = x; then
4662 CC=""
4663 else
4664 case $cross_compiling:$ac_tool_warned in
4665 yes:)
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4668 ac_tool_warned=yes ;;
4669 esac
4670 CC=$ac_ct_CC
4677 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4679 as_fn_error $? "no acceptable C compiler found in \$PATH
4680 See \`config.log' for more details" "$LINENO" 5; }
4682 # Provide some information about the compiler.
4683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4684 set X $ac_compile
4685 ac_compiler=$2
4686 for ac_option in --version -v -V -qversion; do
4687 { { ac_try="$ac_compiler $ac_option >&5"
4688 case "(($ac_try" in
4689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;;
4691 esac
4692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4693 $as_echo "$ac_try_echo"; } >&5
4694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4695 ac_status=$?
4696 if test -s conftest.err; then
4697 sed '10a\
4698 ... rest of stderr output deleted ...
4699 10q' conftest.err >conftest.er1
4700 cat conftest.er1 >&5
4702 rm -f conftest.er1 conftest.err
4703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4704 test $ac_status = 0; }
4705 done
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4711 main ()
4715 return 0;
4717 _ACEOF
4718 ac_clean_files_save=$ac_clean_files
4719 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4720 # Try to create an executable without -o first, disregard a.out.
4721 # It will help us diagnose broken compilers, and finding out an intuition
4722 # of exeext.
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4724 $as_echo_n "checking whether the C compiler works... " >&6; }
4725 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4727 # The possible output files:
4728 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4730 ac_rmfiles=
4731 for ac_file in $ac_files
4733 case $ac_file in
4734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4735 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4736 esac
4737 done
4738 rm -f $ac_rmfiles
4740 if { { ac_try="$ac_link_default"
4741 case "(($ac_try" in
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4744 esac
4745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4746 $as_echo "$ac_try_echo"; } >&5
4747 (eval "$ac_link_default") 2>&5
4748 ac_status=$?
4749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4750 test $ac_status = 0; }; then :
4751 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4752 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4753 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4754 # so that the user can short-circuit this test for compilers unknown to
4755 # Autoconf.
4756 for ac_file in $ac_files ''
4758 test -f "$ac_file" || continue
4759 case $ac_file in
4760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4762 [ab].out )
4763 # We found the default executable, but exeext='' is most
4764 # certainly right.
4765 break;;
4766 *.* )
4767 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4768 then :; else
4769 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4771 # We set ac_cv_exeext here because the later test for it is not
4772 # safe: cross compilers may not add the suffix if given an `-o'
4773 # argument, so we may need to know it at that point already.
4774 # Even if this section looks crufty: it has the advantage of
4775 # actually working.
4776 break;;
4778 break;;
4779 esac
4780 done
4781 test "$ac_cv_exeext" = no && ac_cv_exeext=
4783 else
4784 ac_file=''
4786 if test -z "$ac_file"; then :
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4789 $as_echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.$ac_ext >&5
4792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4794 as_fn_error 77 "C compiler cannot create executables
4795 See \`config.log' for more details" "$LINENO" 5; }
4796 else
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4798 $as_echo "yes" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4801 $as_echo_n "checking for C compiler default output file name... " >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4803 $as_echo "$ac_file" >&6; }
4804 ac_exeext=$ac_cv_exeext
4806 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4807 ac_clean_files=$ac_clean_files_save
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4809 $as_echo_n "checking for suffix of executables... " >&6; }
4810 if { { ac_try="$ac_link"
4811 case "(($ac_try" in
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4814 esac
4815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4816 $as_echo "$ac_try_echo"; } >&5
4817 (eval "$ac_link") 2>&5
4818 ac_status=$?
4819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4820 test $ac_status = 0; }; then :
4821 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4822 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4823 # work properly (i.e., refer to `conftest.exe'), while it won't with
4824 # `rm'.
4825 for ac_file in conftest.exe conftest conftest.*; do
4826 test -f "$ac_file" || continue
4827 case $ac_file in
4828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4829 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4830 break;;
4831 * ) break;;
4832 esac
4833 done
4834 else
4835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4837 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4838 See \`config.log' for more details" "$LINENO" 5; }
4840 rm -f conftest conftest$ac_cv_exeext
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4842 $as_echo "$ac_cv_exeext" >&6; }
4844 rm -f conftest.$ac_ext
4845 EXEEXT=$ac_cv_exeext
4846 ac_exeext=$EXEEXT
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4849 #include <stdio.h>
4851 main ()
4853 FILE *f = fopen ("conftest.out", "w");
4854 return ferror (f) || fclose (f) != 0;
4857 return 0;
4859 _ACEOF
4860 ac_clean_files="$ac_clean_files conftest.out"
4861 # Check that the compiler produces executables we can run. If not, either
4862 # the compiler is broken, or we cross compile.
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4864 $as_echo_n "checking whether we are cross compiling... " >&6; }
4865 if test "$cross_compiling" != yes; then
4866 { { ac_try="$ac_link"
4867 case "(($ac_try" in
4868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869 *) ac_try_echo=$ac_try;;
4870 esac
4871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4872 $as_echo "$ac_try_echo"; } >&5
4873 (eval "$ac_link") 2>&5
4874 ac_status=$?
4875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4876 test $ac_status = 0; }
4877 if { ac_try='./conftest$ac_cv_exeext'
4878 { { case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4881 esac
4882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4883 $as_echo "$ac_try_echo"; } >&5
4884 (eval "$ac_try") 2>&5
4885 ac_status=$?
4886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4887 test $ac_status = 0; }; }; then
4888 cross_compiling=no
4889 else
4890 if test "$cross_compiling" = maybe; then
4891 cross_compiling=yes
4892 else
4893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4895 as_fn_error $? "cannot run C compiled programs.
4896 If you meant to cross compile, use \`--host'.
4897 See \`config.log' for more details" "$LINENO" 5; }
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4902 $as_echo "$cross_compiling" >&6; }
4904 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4905 ac_clean_files=$ac_clean_files_save
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4907 $as_echo_n "checking for suffix of object files... " >&6; }
4908 if ${ac_cv_objext+:} false; then :
4909 $as_echo_n "(cached) " >&6
4910 else
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4915 main ()
4919 return 0;
4921 _ACEOF
4922 rm -f conftest.o conftest.obj
4923 if { { ac_try="$ac_compile"
4924 case "(($ac_try" in
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4927 esac
4928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4929 $as_echo "$ac_try_echo"; } >&5
4930 (eval "$ac_compile") 2>&5
4931 ac_status=$?
4932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4933 test $ac_status = 0; }; then :
4934 for ac_file in conftest.o conftest.obj conftest.*; do
4935 test -f "$ac_file" || continue;
4936 case $ac_file in
4937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4939 break;;
4940 esac
4941 done
4942 else
4943 $as_echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4948 as_fn_error $? "cannot compute suffix of object files: cannot compile
4949 See \`config.log' for more details" "$LINENO" 5; }
4951 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4954 $as_echo "$ac_cv_objext" >&6; }
4955 OBJEXT=$ac_cv_objext
4956 ac_objext=$OBJEXT
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4958 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4959 if ${ac_cv_c_compiler_gnu+:} false; then :
4960 $as_echo_n "(cached) " >&6
4961 else
4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4966 main ()
4968 #ifndef __GNUC__
4969 choke me
4970 #endif
4973 return 0;
4975 _ACEOF
4976 if ac_fn_c_try_compile "$LINENO"; then :
4977 ac_compiler_gnu=yes
4978 else
4979 ac_compiler_gnu=no
4981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4986 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4987 if test $ac_compiler_gnu = yes; then
4988 GCC=yes
4989 else
4990 GCC=
4992 ac_test_CFLAGS=${CFLAGS+set}
4993 ac_save_CFLAGS=$CFLAGS
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4995 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4996 if ${ac_cv_prog_cc_g+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 ac_save_c_werror_flag=$ac_c_werror_flag
5000 ac_c_werror_flag=yes
5001 ac_cv_prog_cc_g=no
5002 CFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_c_try_compile "$LINENO"; then :
5015 ac_cv_prog_cc_g=yes
5016 else
5017 CFLAGS=""
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5026 return 0;
5028 _ACEOF
5029 if ac_fn_c_try_compile "$LINENO"; then :
5031 else
5032 ac_c_werror_flag=$ac_save_c_werror_flag
5033 CFLAGS="-g"
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5038 main ()
5042 return 0;
5044 _ACEOF
5045 if ac_fn_c_try_compile "$LINENO"; then :
5046 ac_cv_prog_cc_g=yes
5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5053 ac_c_werror_flag=$ac_save_c_werror_flag
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5056 $as_echo "$ac_cv_prog_cc_g" >&6; }
5057 if test "$ac_test_CFLAGS" = set; then
5058 CFLAGS=$ac_save_CFLAGS
5059 elif test $ac_cv_prog_cc_g = yes; then
5060 if test "$GCC" = yes; then
5061 CFLAGS="-g -O2"
5062 else
5063 CFLAGS="-g"
5065 else
5066 if test "$GCC" = yes; then
5067 CFLAGS="-O2"
5068 else
5069 CFLAGS=
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5073 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5074 if ${ac_cv_prog_cc_c89+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 ac_cv_prog_cc_c89=no
5078 ac_save_CC=$CC
5079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080 /* end confdefs.h. */
5081 #include <stdarg.h>
5082 #include <stdio.h>
5083 struct stat;
5084 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5085 struct buf { int x; };
5086 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5087 static char *e (p, i)
5088 char **p;
5089 int i;
5091 return p[i];
5093 static char *f (char * (*g) (char **, int), char **p, ...)
5095 char *s;
5096 va_list v;
5097 va_start (v,p);
5098 s = g (p, va_arg (v,int));
5099 va_end (v);
5100 return s;
5103 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5104 function prototypes and stuff, but not '\xHH' hex character constants.
5105 These don't provoke an error unfortunately, instead are silently treated
5106 as 'x'. The following induces an error, until -std is added to get
5107 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5108 array size at least. It's necessary to write '\x00'==0 to get something
5109 that's true only with -std. */
5110 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5112 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5113 inside strings and character constants. */
5114 #define FOO(x) 'x'
5115 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5117 int test (int i, double x);
5118 struct s1 {int (*f) (int a);};
5119 struct s2 {int (*f) (double a);};
5120 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5121 int argc;
5122 char **argv;
5124 main ()
5126 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5128 return 0;
5130 _ACEOF
5131 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5132 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5134 CC="$ac_save_CC $ac_arg"
5135 if ac_fn_c_try_compile "$LINENO"; then :
5136 ac_cv_prog_cc_c89=$ac_arg
5138 rm -f core conftest.err conftest.$ac_objext
5139 test "x$ac_cv_prog_cc_c89" != "xno" && break
5140 done
5141 rm -f conftest.$ac_ext
5142 CC=$ac_save_CC
5145 # AC_CACHE_VAL
5146 case "x$ac_cv_prog_cc_c89" in
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5149 $as_echo "none needed" >&6; } ;;
5150 xno)
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5152 $as_echo "unsupported" >&6; } ;;
5154 CC="$CC $ac_cv_prog_cc_c89"
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5156 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5157 esac
5158 if test "x$ac_cv_prog_cc_c89" != xno; then :
5162 ac_ext=c
5163 ac_cpp='$CPP $CPPFLAGS'
5164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5168 ac_ext=cpp
5169 ac_cpp='$CXXCPP $CPPFLAGS'
5170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5173 if test -z "$CXX"; then
5174 if test -n "$CCC"; then
5175 CXX=$CCC
5176 else
5177 if test -n "$ac_tool_prefix"; then
5178 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_CXX+:} false; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$CXX"; then
5188 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 CXX=$ac_cv_prog_CXX
5208 if test -n "$CXX"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5210 $as_echo "$CXX" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$CXX" && break
5218 done
5220 if test -z "$CXX"; then
5221 ac_ct_CXX=$CXX
5222 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5224 # Extract the first word of "$ac_prog", so it can be a program name with args.
5225 set dummy $ac_prog; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$ac_ct_CXX"; then
5232 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_ac_ct_CXX="$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5252 if test -n "$ac_ct_CXX"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5254 $as_echo "$ac_ct_CXX" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$ac_ct_CXX" && break
5262 done
5264 if test "x$ac_ct_CXX" = x; then
5265 CXX="g++"
5266 else
5267 case $cross_compiling:$ac_tool_warned in
5268 yes:)
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned=yes ;;
5272 esac
5273 CXX=$ac_ct_CXX
5279 # Provide some information about the compiler.
5280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5281 set X $ac_compile
5282 ac_compiler=$2
5283 for ac_option in --version -v -V -qversion; do
5284 { { ac_try="$ac_compiler $ac_option >&5"
5285 case "(($ac_try" in
5286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5288 esac
5289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 $as_echo "$ac_try_echo"; } >&5
5291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5292 ac_status=$?
5293 if test -s conftest.err; then
5294 sed '10a\
5295 ... rest of stderr output deleted ...
5296 10q' conftest.err >conftest.er1
5297 cat conftest.er1 >&5
5299 rm -f conftest.er1 conftest.err
5300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }
5302 done
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5305 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5306 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 main ()
5315 #ifndef __GNUC__
5316 choke me
5317 #endif
5320 return 0;
5322 _ACEOF
5323 if ac_fn_cxx_try_compile "$LINENO"; then :
5324 ac_compiler_gnu=yes
5325 else
5326 ac_compiler_gnu=no
5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5329 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5333 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5334 if test $ac_compiler_gnu = yes; then
5335 GXX=yes
5336 else
5337 GXX=
5339 ac_test_CXXFLAGS=${CXXFLAGS+set}
5340 ac_save_CXXFLAGS=$CXXFLAGS
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5342 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5343 if ${ac_cv_prog_cxx_g+:} false; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5347 ac_cxx_werror_flag=yes
5348 ac_cv_prog_cxx_g=no
5349 CXXFLAGS="-g"
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5354 main ()
5358 return 0;
5360 _ACEOF
5361 if ac_fn_cxx_try_compile "$LINENO"; then :
5362 ac_cv_prog_cxx_g=yes
5363 else
5364 CXXFLAGS=""
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main ()
5373 return 0;
5375 _ACEOF
5376 if ac_fn_cxx_try_compile "$LINENO"; then :
5378 else
5379 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5380 CXXFLAGS="-g"
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main ()
5389 return 0;
5391 _ACEOF
5392 if ac_fn_cxx_try_compile "$LINENO"; then :
5393 ac_cv_prog_cxx_g=yes
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5400 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5403 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5404 if test "$ac_test_CXXFLAGS" = set; then
5405 CXXFLAGS=$ac_save_CXXFLAGS
5406 elif test $ac_cv_prog_cxx_g = yes; then
5407 if test "$GXX" = yes; then
5408 CXXFLAGS="-g -O2"
5409 else
5410 CXXFLAGS="-g"
5412 else
5413 if test "$GXX" = yes; then
5414 CXXFLAGS="-O2"
5415 else
5416 CXXFLAGS=
5419 ac_ext=c
5420 ac_cpp='$CPP $CPPFLAGS'
5421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_CPPBIN+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$CPPBIN"; then
5434 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 CPPBIN=$ac_cv_prog_CPPBIN
5454 if test -n "$CPPBIN"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5456 $as_echo "$CPPBIN" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 if test -z "$ac_cv_prog_CPPBIN"; then
5465 ac_ct_CPPBIN=$CPPBIN
5466 # Extract the first word of "cpp", so it can be a program name with args.
5467 set dummy cpp; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if test -n "$ac_ct_CPPBIN"; then
5474 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_ac_ct_CPPBIN="cpp"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5494 if test -n "$ac_ct_CPPBIN"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5496 $as_echo "$ac_ct_CPPBIN" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5502 if test "x$ac_ct_CPPBIN" = x; then
5503 CPPBIN="cpp"
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5510 esac
5511 CPPBIN=$ac_ct_CPPBIN
5513 else
5514 CPPBIN="$ac_cv_prog_CPPBIN"
5518 cat >>confdefs.h <<_ACEOF
5519 #define EXEEXT "$ac_exeext"
5520 _ACEOF
5522 if test -n "$ac_tool_prefix"; then
5523 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5524 set dummy ${ac_tool_prefix}ld; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_LD+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$LD"; then
5531 ac_cv_prog_LD="$LD" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_LD="${ac_tool_prefix}ld"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 LD=$ac_cv_prog_LD
5551 if test -n "$LD"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5553 $as_echo "$LD" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5561 if test -z "$ac_cv_prog_LD"; then
5562 ac_ct_LD=$LD
5563 # Extract the first word of "ld", so it can be a program name with args.
5564 set dummy ld; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$ac_ct_LD"; then
5571 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_LD="ld"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5591 if test -n "$ac_ct_LD"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5593 $as_echo "$ac_ct_LD" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5599 if test "x$ac_ct_LD" = x; then
5600 LD=""
5601 else
5602 case $cross_compiling:$ac_tool_warned in
5603 yes:)
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5606 ac_tool_warned=yes ;;
5607 esac
5608 LD=$ac_ct_LD
5610 else
5611 LD="$ac_cv_prog_LD"
5615 case $host in
5616 *-darwin*)
5617 with_fontconfig=${with_fontconfig:-no}
5619 *-mingw32*|*-cygwin*)
5620 enable_win16=${enable_win16:-no}
5621 with_mingw=${with_mingw:-no}
5622 CFLAGS="$CFLAGS -D_WIN32"
5624 esac
5626 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 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9086 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9088 WINELOADER_DEPENDS="wine_info.plist"
9090 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9093 linux-android*)
9094 DLLFLAGS="$DLLFLAGS -fPIC"
9095 LDDLLFLAGS="-fPIC"
9096 LDEXECFLAGS="-Wl,-pie"
9097 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9099 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9100 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9101 $as_echo_n "(cached) " >&6
9102 else
9103 ac_wine_try_cflags_saved=$CFLAGS
9104 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9107 int main(int argc, char **argv) { return 0; }
9108 _ACEOF
9109 if ac_fn_c_try_link "$LINENO"; then :
9110 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9111 else
9112 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9114 rm -f core conftest.err conftest.$ac_objext \
9115 conftest$ac_exeext conftest.$ac_ext
9116 CFLAGS=$ac_wine_try_cflags_saved
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9119 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9120 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9121 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9123 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9125 LIBWINE_SHAREDLIB="libwine.so"
9127 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9129 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9132 $as_echo_n "checking for -lEGL... " >&6; }
9133 if ${ac_cv_lib_soname_EGL+:} false; then :
9134 $as_echo_n "(cached) " >&6
9135 else
9136 ac_check_soname_save_LIBS=$LIBS
9137 LIBS="-lEGL $LIBS"
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9144 #ifdef __cplusplus
9145 extern "C"
9146 #endif
9147 char eglGetProcAddress ();
9149 main ()
9151 return eglGetProcAddress ();
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9157 case "$LIBEXT" in
9158 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9159 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'` ;;
9160 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9161 if ${ac_cv_lib_soname_EGL:+false} :; then :
9162 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9163 fi ;;
9164 esac
9165 else
9166 ac_cv_lib_soname_EGL=
9168 rm -f core conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9170 LIBS=$ac_check_soname_save_LIBS
9172 if ${ac_cv_lib_soname_EGL:+false} :; then :
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9174 $as_echo "not found" >&6; }
9176 else
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9178 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9180 cat >>confdefs.h <<_ACEOF
9181 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9182 _ACEOF
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9187 $as_echo_n "checking for -lGLESv2... " >&6; }
9188 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9189 $as_echo_n "(cached) " >&6
9190 else
9191 ac_check_soname_save_LIBS=$LIBS
9192 LIBS="-lGLESv2 $LIBS"
9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9194 /* end confdefs.h. */
9196 /* Override any GCC internal prototype to avoid an error.
9197 Use char because int might match the return type of a GCC
9198 builtin and then its argument prototype would still apply. */
9199 #ifdef __cplusplus
9200 extern "C"
9201 #endif
9202 char glFlush ();
9204 main ()
9206 return glFlush ();
9208 return 0;
9210 _ACEOF
9211 if ac_fn_c_try_link "$LINENO"; then :
9212 case "$LIBEXT" in
9213 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9214 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'` ;;
9215 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9216 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9217 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9218 fi ;;
9219 esac
9220 else
9221 ac_cv_lib_soname_GLESv2=
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9225 LIBS=$ac_check_soname_save_LIBS
9227 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9229 $as_echo "not found" >&6; }
9231 else
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9233 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9235 cat >>confdefs.h <<_ACEOF
9236 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9237 _ACEOF
9242 if test "x$exec_prefix" = xNONE
9243 then
9244 case $host_cpu in
9245 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9246 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9247 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9248 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9249 esac
9254 case $host_cpu in
9255 *i[3456789]86*)
9256 DLLFLAGS="$DLLFLAGS -fno-PIC"
9257 LDDLLFLAGS="-fno-PIC" ;;
9259 DLLFLAGS="$DLLFLAGS -fPIC"
9260 LDDLLFLAGS="-fPIC" ;;
9261 esac
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9263 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9264 if ${ac_cv_c_dll_gnuelf+:} false; then :
9265 $as_echo_n "(cached) " >&6
9266 else
9267 ac_wine_try_cflags_saved=$CFLAGS
9268 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9271 void myfunc() {}
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9275 else
9276 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 CFLAGS=$ac_wine_try_cflags_saved
9281 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9282 ac_cv_c_dll_gnuelf="yes"
9283 else
9284 ac_cv_c_dll_gnuelf="no"
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9288 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9289 if test "$ac_cv_c_dll_gnuelf" = "yes"
9290 then
9291 LIBWINE_LDFLAGS="-shared"
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9293 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9294 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9295 $as_echo_n "(cached) " >&6
9296 else
9297 ac_wine_try_cflags_saved=$CFLAGS
9298 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9301 int main(int argc, char **argv) { return 0; }
9302 _ACEOF
9303 if ac_fn_c_try_link "$LINENO"; then :
9304 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9305 else
9306 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9310 CFLAGS=$ac_wine_try_cflags_saved
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9313 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9314 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9315 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9316 else
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9318 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9319 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9320 $as_echo_n "(cached) " >&6
9321 else
9322 ac_wine_try_cflags_saved=$CFLAGS
9323 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9326 int main(int argc, char **argv) { return 0; }
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9329 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9330 else
9331 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 CFLAGS=$ac_wine_try_cflags_saved
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9338 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9339 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9340 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9344 echo '{ global: *; };' >conftest.map
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9346 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9347 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9348 $as_echo_n "(cached) " >&6
9349 else
9350 ac_wine_try_cflags_saved=$CFLAGS
9351 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9354 int main(int argc, char **argv) { return 0; }
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9358 else
9359 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9361 rm -f core conftest.err conftest.$ac_objext \
9362 conftest$ac_exeext conftest.$ac_ext
9363 CFLAGS=$ac_wine_try_cflags_saved
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9366 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9367 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9368 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9370 rm -f conftest.map
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9373 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9374 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 ac_wine_try_cflags_saved=$CFLAGS
9378 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9381 int main(int argc, char **argv) { return 0; }
9382 _ACEOF
9383 if ac_fn_c_try_link "$LINENO"; then :
9384 ac_cv_cflags__Wl___export_dynamic=yes
9385 else
9386 ac_cv_cflags__Wl___export_dynamic=no
9388 rm -f core conftest.err conftest.$ac_objext \
9389 conftest$ac_exeext conftest.$ac_ext
9390 CFLAGS=$ac_wine_try_cflags_saved
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9393 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9394 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9395 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9397 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9399 case $host_cpu in
9400 *i[3456789]86* | x86_64 | *aarch64*)
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9402 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9403 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 ac_wine_try_cflags_saved=$CFLAGS
9407 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9410 int main(int argc, char **argv) { return 0; }
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9414 else
9415 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 CFLAGS=$ac_wine_try_cflags_saved
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9422 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9423 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9424 case $host_os in
9425 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9426 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9427 esac
9428 else
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9430 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9431 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_wine_try_cflags_saved=$CFLAGS
9435 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int main(int argc, char **argv) { return 0; }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9442 else
9443 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 CFLAGS=$ac_wine_try_cflags_saved
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9450 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9451 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9452 case $host_os in
9453 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9454 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9455 esac
9457 # Extract the first word of "prelink", so it can be a program name with args.
9458 set dummy prelink; ac_word=$2
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9460 $as_echo_n "checking for $ac_word... " >&6; }
9461 if ${ac_cv_path_PRELINK+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 case $PRELINK in
9465 [\\/]* | ?:[\\/]*)
9466 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9470 for as_dir in /sbin /usr/sbin $PATH
9472 IFS=$as_save_IFS
9473 test -z "$as_dir" && as_dir=.
9474 for ac_exec_ext in '' $ac_executable_extensions; do
9475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9476 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9478 break 2
9480 done
9481 done
9482 IFS=$as_save_IFS
9484 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9486 esac
9488 PRELINK=$ac_cv_path_PRELINK
9489 if test -n "$PRELINK"; then
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9491 $as_echo "$PRELINK" >&6; }
9492 else
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9494 $as_echo "no" >&6; }
9498 if test "x$PRELINK" = xfalse
9499 then
9500 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9504 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9505 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9506 $as_echo_n "(cached) " >&6
9507 else
9508 ac_wine_try_cflags_saved=$CFLAGS
9509 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9512 int main(int argc, char **argv) { return 0; }
9513 _ACEOF
9514 if ac_fn_c_try_link "$LINENO"; then :
9515 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9516 else
9517 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9519 rm -f core conftest.err conftest.$ac_objext \
9520 conftest$ac_exeext conftest.$ac_ext
9521 CFLAGS=$ac_wine_try_cflags_saved
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9524 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9525 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9526 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9529 esac
9531 else
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9533 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9534 if ${ac_cv_c_dll_unixware+:} false; then :
9535 $as_echo_n "(cached) " >&6
9536 else
9537 ac_wine_try_cflags_saved=$CFLAGS
9538 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9541 void myfunc() {}
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9545 else
9546 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 CFLAGS=$ac_wine_try_cflags_saved
9551 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9552 ac_cv_c_dll_unixware="yes"
9553 else
9554 ac_cv_c_dll_unixware="no"
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9558 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9559 if test "$ac_cv_c_dll_unixware" = "yes"
9560 then
9561 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9564 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9566 LIBWINE_DEPENDS="wine.map"
9568 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9570 esac
9572 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9573 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9574 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9575 enable_winemac_drv=${enable_winemac_drv:-no}
9576 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9579 if test "x$with_mingw" != xno
9580 then
9581 case "x$with_mingw" in
9582 x|xyes) case "$host_cpu" in
9583 aarch64*)
9584 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9585 arm*)
9586 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9587 i[3456789]86*)
9588 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
9589 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9590 mingw32-gcc" ;;
9591 x86_64)
9592 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
9593 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9595 ac_prefix_list="" ;;
9596 esac
9597 for ac_prog in $ac_prefix_list
9599 # Extract the first word of "$ac_prog", so it can be a program name with args.
9600 set dummy $ac_prog; ac_word=$2
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9602 $as_echo_n "checking for $ac_word... " >&6; }
9603 if ${ac_cv_prog_CROSSCC+:} false; then :
9604 $as_echo_n "(cached) " >&6
9605 else
9606 if test -n "$CROSSCC"; then
9607 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9608 else
9609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9610 for as_dir in $PATH
9612 IFS=$as_save_IFS
9613 test -z "$as_dir" && as_dir=.
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9616 ac_cv_prog_CROSSCC="$ac_prog"
9617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9618 break 2
9620 done
9621 done
9622 IFS=$as_save_IFS
9626 CROSSCC=$ac_cv_prog_CROSSCC
9627 if test -n "$CROSSCC"; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9629 $as_echo "$CROSSCC" >&6; }
9630 else
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632 $as_echo "no" >&6; }
9636 test -n "$CROSSCC" && break
9637 done
9638 test -n "$CROSSCC" || CROSSCC="false"
9640 *) CROSSCC=$with_mingw ;;
9641 esac
9642 if test "$CROSSCC" != "false"
9643 then
9644 ac_save_CC="$CC"
9645 saved_CFLAGS=$CFLAGS
9646 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9648 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9652 CC="$CROSSCC"
9653 CFLAGS=$CROSSCFLAGS
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9655 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9656 if ${wine_cv_crosscc+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9663 main ()
9667 return 0;
9669 _ACEOF
9670 if ac_fn_c_try_compile "$LINENO"; then :
9671 wine_cv_crosscc=yes
9672 else
9673 wine_cv_crosscc=no
9675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9678 $as_echo "$wine_cv_crosscc" >&6; }
9679 if test $wine_cv_crosscc = yes
9680 then
9681 set x $CROSSCC
9682 shift
9683 while test $# -ge 1
9685 case "$1" in
9686 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9687 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9688 esac
9689 shift
9690 done
9692 llvm_target=$CROSSTARGET
9693 llvm_cflags="-fuse-ld=lld"
9694 if test -z "$llvm_target"
9695 then
9696 case $host_cpu in
9697 *i[3456789]86*) llvm_target=i686-windows ;;
9698 *) llvm_target=$host_cpu-windows ;;
9699 esac
9701 case $llvm_target in
9702 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9703 esac
9704 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9706 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9707 if eval \${$as_ac_var+:} false; then :
9708 $as_echo_n "(cached) " >&6
9709 else
9710 ac_wine_try_cflags_saved=$CFLAGS
9711 ac_wine_try_cflags_saved_cc=$CC
9712 ac_wine_try_cflags_saved_exeext=$ac_exeext
9713 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9714 CC="$CROSSCC"
9715 ac_exeext=".exe"
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9718 int __cdecl mainCRTStartup(void) { return 0; }
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 eval "$as_ac_var=yes"
9722 else
9723 eval "$as_ac_var=no"
9725 rm -f core conftest.err conftest.$ac_objext \
9726 conftest$ac_exeext conftest.$ac_ext
9727 CFLAGS=$ac_wine_try_cflags_saved
9728 CC=$ac_wine_try_cflags_saved_cc
9729 ac_exeext=$ac_wine_try_cflags_saved_exeext
9731 eval ac_res=\$$as_ac_var
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9733 $as_echo "$ac_res" >&6; }
9734 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9735 CROSSTARGET=$llvm_target
9736 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9737 DELAYLOADFLAG="-Wl,-delayload,"
9739 CFLAGS="$CFLAGS $llvm_cflags"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9743 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9744 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_wine_try_cflags_saved=$CFLAGS
9748 ac_wine_try_cflags_saved_cc=$CC
9749 ac_wine_try_cflags_saved_exeext=$ac_exeext
9750 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9751 CC="$CROSSCC"
9752 ac_exeext=".exe"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9755 int __cdecl mainCRTStartup(void) { return 0; }
9756 _ACEOF
9757 if ac_fn_c_try_link "$LINENO"; then :
9758 ac_cv_crosscflags__fno_strict_aliasing=yes
9759 else
9760 ac_cv_crosscflags__fno_strict_aliasing=no
9762 rm -f core conftest.err conftest.$ac_objext \
9763 conftest$ac_exeext conftest.$ac_ext
9764 CFLAGS=$ac_wine_try_cflags_saved
9765 CC=$ac_wine_try_cflags_saved_cc
9766 ac_exeext=$ac_wine_try_cflags_saved_exeext
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9769 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9770 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9771 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9774 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9775 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_wine_try_cflags_saved=$CFLAGS
9779 ac_wine_try_cflags_saved_cc=$CC
9780 ac_wine_try_cflags_saved_exeext=$ac_exeext
9781 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9782 CC="$CROSSCC"
9783 ac_exeext=".exe"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9786 int __cdecl mainCRTStartup(void) { return 0; }
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9790 else
9791 ac_cv_crosscflags__Werror_unknown_warning_option=no
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 CFLAGS=$ac_wine_try_cflags_saved
9796 CC=$ac_wine_try_cflags_saved_cc
9797 ac_exeext=$ac_wine_try_cflags_saved_exeext
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9800 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9801 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9802 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9805 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9806 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_wine_try_cflags_saved=$CFLAGS
9810 ac_wine_try_cflags_saved_cc=$CC
9811 ac_wine_try_cflags_saved_exeext=$ac_exeext
9812 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9813 CC="$CROSSCC"
9814 ac_exeext=".exe"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int __cdecl mainCRTStartup(void) { return 0; }
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9821 else
9822 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 CFLAGS=$ac_wine_try_cflags_saved
9827 CC=$ac_wine_try_cflags_saved_cc
9828 ac_exeext=$ac_wine_try_cflags_saved_exeext
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9831 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9832 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9833 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9836 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9837 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 ac_wine_try_cflags_saved_cc=$CC
9842 ac_wine_try_cflags_saved_exeext=$ac_exeext
9843 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9844 CC="$CROSSCC"
9845 ac_exeext=".exe"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 int __cdecl mainCRTStartup(void) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9852 else
9853 ac_cv_crosscflags__Wdeclaration_after_statement=no
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 CFLAGS=$ac_wine_try_cflags_saved
9858 CC=$ac_wine_try_cflags_saved_cc
9859 ac_exeext=$ac_wine_try_cflags_saved_exeext
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9862 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9863 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9864 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9867 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9868 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9869 $as_echo_n "(cached) " >&6
9870 else
9871 ac_wine_try_cflags_saved=$CFLAGS
9872 ac_wine_try_cflags_saved_cc=$CC
9873 ac_wine_try_cflags_saved_exeext=$ac_exeext
9874 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9875 CC="$CROSSCC"
9876 ac_exeext=".exe"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int __cdecl mainCRTStartup(void) { return 0; }
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 ac_cv_crosscflags__Wempty_body=yes
9883 else
9884 ac_cv_crosscflags__Wempty_body=no
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 CFLAGS=$ac_wine_try_cflags_saved
9889 CC=$ac_wine_try_cflags_saved_cc
9890 ac_exeext=$ac_wine_try_cflags_saved_exeext
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9893 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9894 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9895 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9898 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9899 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_wine_try_cflags_saved=$CFLAGS
9903 ac_wine_try_cflags_saved_cc=$CC
9904 ac_wine_try_cflags_saved_exeext=$ac_exeext
9905 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9906 CC="$CROSSCC"
9907 ac_exeext=".exe"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int __cdecl mainCRTStartup(void) { return 0; }
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_crosscflags__Wignored_qualifiers=yes
9914 else
9915 ac_cv_crosscflags__Wignored_qualifiers=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9920 CC=$ac_wine_try_cflags_saved_cc
9921 ac_exeext=$ac_wine_try_cflags_saved_exeext
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9924 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9925 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9926 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9929 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9930 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_wine_try_cflags_saved=$CFLAGS
9934 ac_wine_try_cflags_saved_cc=$CC
9935 ac_wine_try_cflags_saved_exeext=$ac_exeext
9936 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9937 CC="$CROSSCC"
9938 ac_exeext=".exe"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int __cdecl mainCRTStartup(void) { return 0; }
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 ac_cv_crosscflags__Wpacked_not_aligned=yes
9945 else
9946 ac_cv_crosscflags__Wpacked_not_aligned=no
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 CFLAGS=$ac_wine_try_cflags_saved
9951 CC=$ac_wine_try_cflags_saved_cc
9952 ac_exeext=$ac_wine_try_cflags_saved_exeext
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9955 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9956 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9957 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9960 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9961 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_wine_try_cflags_saved=$CFLAGS
9965 ac_wine_try_cflags_saved_cc=$CC
9966 ac_wine_try_cflags_saved_exeext=$ac_exeext
9967 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9968 CC="$CROSSCC"
9969 ac_exeext=".exe"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int __cdecl mainCRTStartup(void) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_crosscflags__Wpragma_pack=yes
9976 else
9977 ac_cv_crosscflags__Wpragma_pack=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9982 CC=$ac_wine_try_cflags_saved_cc
9983 ac_exeext=$ac_wine_try_cflags_saved_exeext
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9986 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9987 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9988 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9991 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9992 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_wine_try_cflags_saved=$CFLAGS
9996 ac_wine_try_cflags_saved_cc=$CC
9997 ac_wine_try_cflags_saved_exeext=$ac_exeext
9998 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
9999 CC="$CROSSCC"
10000 ac_exeext=".exe"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 int __cdecl mainCRTStartup(void) { return 0; }
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"; then :
10006 ac_cv_crosscflags__Wshift_overflow_2=yes
10007 else
10008 ac_cv_crosscflags__Wshift_overflow_2=no
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 CFLAGS=$ac_wine_try_cflags_saved
10013 CC=$ac_wine_try_cflags_saved_cc
10014 ac_exeext=$ac_wine_try_cflags_saved_exeext
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10017 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10018 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10019 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10022 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10023 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_wine_try_cflags_saved=$CFLAGS
10027 ac_wine_try_cflags_saved_cc=$CC
10028 ac_wine_try_cflags_saved_exeext=$ac_exeext
10029 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10030 CC="$CROSSCC"
10031 ac_exeext=".exe"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 int __cdecl mainCRTStartup(void) { return 0; }
10035 _ACEOF
10036 if ac_fn_c_try_link "$LINENO"; then :
10037 ac_cv_crosscflags__Wstrict_prototypes=yes
10038 else
10039 ac_cv_crosscflags__Wstrict_prototypes=no
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 CFLAGS=$ac_wine_try_cflags_saved
10044 CC=$ac_wine_try_cflags_saved_cc
10045 ac_exeext=$ac_wine_try_cflags_saved_exeext
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10048 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10049 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10053 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10054 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_wine_try_cflags_saved=$CFLAGS
10058 ac_wine_try_cflags_saved_cc=$CC
10059 ac_wine_try_cflags_saved_exeext=$ac_exeext
10060 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10061 CC="$CROSSCC"
10062 ac_exeext=".exe"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10065 int __cdecl mainCRTStartup(void) { return 0; }
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 ac_cv_crosscflags__Wtype_limits=yes
10069 else
10070 ac_cv_crosscflags__Wtype_limits=no
10072 rm -f core conftest.err conftest.$ac_objext \
10073 conftest$ac_exeext conftest.$ac_ext
10074 CFLAGS=$ac_wine_try_cflags_saved
10075 CC=$ac_wine_try_cflags_saved_cc
10076 ac_exeext=$ac_wine_try_cflags_saved_exeext
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10079 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10080 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10081 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10084 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10085 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_wine_try_cflags_saved=$CFLAGS
10089 ac_wine_try_cflags_saved_cc=$CC
10090 ac_wine_try_cflags_saved_exeext=$ac_exeext
10091 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10092 CC="$CROSSCC"
10093 ac_exeext=".exe"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10096 int __cdecl mainCRTStartup(void) { return 0; }
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10100 else
10101 ac_cv_crosscflags__Wunused_but_set_parameter=no
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 CFLAGS=$ac_wine_try_cflags_saved
10106 CC=$ac_wine_try_cflags_saved_cc
10107 ac_exeext=$ac_wine_try_cflags_saved_exeext
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10110 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10111 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10112 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10115 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10116 if ${ac_cv_crosscflags__Wvla+:} false; then :
10117 $as_echo_n "(cached) " >&6
10118 else
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 ac_wine_try_cflags_saved_cc=$CC
10121 ac_wine_try_cflags_saved_exeext=$ac_exeext
10122 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10123 CC="$CROSSCC"
10124 ac_exeext=".exe"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10127 int __cdecl mainCRTStartup(void) { return 0; }
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_crosscflags__Wvla=yes
10131 else
10132 ac_cv_crosscflags__Wvla=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 CFLAGS=$ac_wine_try_cflags_saved
10137 CC=$ac_wine_try_cflags_saved_cc
10138 ac_exeext=$ac_wine_try_cflags_saved_exeext
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10141 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10142 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10143 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10146 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10147 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 ac_wine_try_cflags_saved_cc=$CC
10152 ac_wine_try_cflags_saved_exeext=$ac_exeext
10153 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10154 CC="$CROSSCC"
10155 ac_exeext=".exe"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 int __cdecl mainCRTStartup(void) { return 0; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 ac_cv_crosscflags__Wwrite_strings=yes
10162 else
10163 ac_cv_crosscflags__Wwrite_strings=no
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10168 CC=$ac_wine_try_cflags_saved_cc
10169 ac_exeext=$ac_wine_try_cflags_saved_exeext
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10172 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10173 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10174 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10177 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10178 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10179 $as_echo_n "(cached) " >&6
10180 else
10181 ac_wine_try_cflags_saved=$CFLAGS
10182 ac_wine_try_cflags_saved_cc=$CC
10183 ac_wine_try_cflags_saved_exeext=$ac_exeext
10184 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10185 CC="$CROSSCC"
10186 ac_exeext=".exe"
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10189 int __cdecl mainCRTStartup(void) { return 0; }
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192 ac_cv_crosscflags__Wpointer_arith=yes
10193 else
10194 ac_cv_crosscflags__Wpointer_arith=no
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 CFLAGS=$ac_wine_try_cflags_saved
10199 CC=$ac_wine_try_cflags_saved_cc
10200 ac_exeext=$ac_wine_try_cflags_saved_exeext
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10203 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10204 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10205 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10208 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10209 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 ac_wine_try_cflags_saved_cc=$CC
10214 ac_wine_try_cflags_saved_exeext=$ac_exeext
10215 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10216 CC="$CROSSCC"
10217 ac_exeext=".exe"
10218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10219 /* end confdefs.h. */
10220 int __cdecl mainCRTStartup(void) { return 0; }
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_crosscflags__Wlogical_op=yes
10224 else
10225 ac_cv_crosscflags__Wlogical_op=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 CFLAGS=$ac_wine_try_cflags_saved
10230 CC=$ac_wine_try_cflags_saved_cc
10231 ac_exeext=$ac_wine_try_cflags_saved_exeext
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10234 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10235 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10236 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10239 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10240 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 ac_wine_try_cflags_saved_cc=$CC
10245 ac_wine_try_cflags_saved_exeext=$ac_exeext
10246 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10247 CC="$CROSSCC"
10248 ac_exeext=".exe"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10251 int __cdecl mainCRTStartup(void) { return 0; }
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 ac_cv_crosscflags__Wabsolute_value=yes
10255 else
10256 ac_cv_crosscflags__Wabsolute_value=no
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 CFLAGS=$ac_wine_try_cflags_saved
10261 CC=$ac_wine_try_cflags_saved_cc
10262 ac_exeext=$ac_wine_try_cflags_saved_exeext
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10265 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10266 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10267 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10270 case $host_cpu in
10271 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10272 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10273 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_wine_try_cflags_saved=$CFLAGS
10277 ac_wine_try_cflags_saved_cc=$CC
10278 ac_wine_try_cflags_saved_exeext=$ac_exeext
10279 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10280 CC="$CROSSCC"
10281 ac_exeext=".exe"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10284 int __cdecl mainCRTStartup(void) { return 0; }
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10288 else
10289 ac_cv_crosscflags__fno_omit_frame_pointer=no
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 CFLAGS=$ac_wine_try_cflags_saved
10294 CC=$ac_wine_try_cflags_saved_cc
10295 ac_exeext=$ac_wine_try_cflags_saved_exeext
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10298 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10299 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10300 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10301 fi ;;
10302 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10303 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10304 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_wine_try_cflags_saved=$CFLAGS
10308 ac_wine_try_cflags_saved_cc=$CC
10309 ac_wine_try_cflags_saved_exeext=$ac_exeext
10310 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10311 CC="$CROSSCC"
10312 ac_exeext=".exe"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10315 int __cdecl mainCRTStartup(void) { return 0; }
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_crosscflags__Wno_format=yes
10319 else
10320 ac_cv_crosscflags__Wno_format=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 CFLAGS=$ac_wine_try_cflags_saved
10325 CC=$ac_wine_try_cflags_saved_cc
10326 ac_exeext=$ac_wine_try_cflags_saved_exeext
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10329 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10330 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10331 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10334 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10335 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_wine_try_cflags_saved=$CFLAGS
10339 ac_wine_try_cflags_saved_cc=$CC
10340 ac_wine_try_cflags_saved_exeext=$ac_exeext
10341 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10342 CC="$CROSSCC"
10343 ac_exeext=".exe"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10346 int __cdecl mainCRTStartup(void) { return 0; }
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_crosscflags__Wformat_overflow=yes
10350 else
10351 ac_cv_crosscflags__Wformat_overflow=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 CFLAGS=$ac_wine_try_cflags_saved
10356 CC=$ac_wine_try_cflags_saved_cc
10357 ac_exeext=$ac_wine_try_cflags_saved_exeext
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10360 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10361 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10362 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10365 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10366 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_wine_try_cflags_saved=$CFLAGS
10370 ac_wine_try_cflags_saved_cc=$CC
10371 ac_wine_try_cflags_saved_exeext=$ac_exeext
10372 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10373 CC="$CROSSCC"
10374 ac_exeext=".exe"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10377 int __cdecl mainCRTStartup(void) { return 0; }
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 ac_cv_crosscflags__Wnonnull=yes
10381 else
10382 ac_cv_crosscflags__Wnonnull=no
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 CFLAGS=$ac_wine_try_cflags_saved
10387 CC=$ac_wine_try_cflags_saved_cc
10388 ac_exeext=$ac_wine_try_cflags_saved_exeext
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10391 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10392 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10393 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10396 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10397 if ${ac_cv_crosscflags__mcx16+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_wine_try_cflags_saved=$CFLAGS
10401 ac_wine_try_cflags_saved_cc=$CC
10402 ac_wine_try_cflags_saved_exeext=$ac_exeext
10403 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10404 CC="$CROSSCC"
10405 ac_exeext=".exe"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10408 int __cdecl mainCRTStartup(void) { return 0; }
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 ac_cv_crosscflags__mcx16=yes
10412 else
10413 ac_cv_crosscflags__mcx16=no
10415 rm -f core conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 CFLAGS=$ac_wine_try_cflags_saved
10418 CC=$ac_wine_try_cflags_saved_cc
10419 ac_exeext=$ac_wine_try_cflags_saved_exeext
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10422 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10423 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10424 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10425 fi ;;
10426 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10427 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10428 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10429 $as_echo_n "(cached) " >&6
10430 else
10431 ac_wine_try_cflags_saved=$CFLAGS
10432 ac_wine_try_cflags_saved_cc=$CC
10433 ac_wine_try_cflags_saved_exeext=$ac_exeext
10434 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10435 CC="$CROSSCC"
10436 ac_exeext=".exe"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10439 int __cdecl mainCRTStartup(void) { return 0; }
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"; then :
10442 ac_cv_crosscflags__Wno_format=yes
10443 else
10444 ac_cv_crosscflags__Wno_format=no
10446 rm -f core conftest.err conftest.$ac_objext \
10447 conftest$ac_exeext conftest.$ac_ext
10448 CFLAGS=$ac_wine_try_cflags_saved
10449 CC=$ac_wine_try_cflags_saved_cc
10450 ac_exeext=$ac_wine_try_cflags_saved_exeext
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10453 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10454 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10455 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10456 fi ;;
10457 esac
10460 if test -z "$CROSSDEBUG"
10461 then
10462 for ac_flag in $CROSSCFLAGS; do
10463 case $ac_flag in
10464 -gdwarf*) CROSSDEBUG=dwarf ;;
10465 -gcodeview) CROSSDEBUG=pdb ;;
10466 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10467 esac
10468 done
10470 case $CROSSDEBUG in
10471 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10472 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10473 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 ac_wine_try_cflags_saved_cc=$CC
10478 ac_wine_try_cflags_saved_exeext=$ac_exeext
10479 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10480 CC="$CROSSCC"
10481 ac_exeext=".exe"
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10484 int __cdecl mainCRTStartup(void) { return 0; }
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_crosscflags__gdwarf_2=yes
10488 else
10489 ac_cv_crosscflags__gdwarf_2=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 CFLAGS=$ac_wine_try_cflags_saved
10494 CC=$ac_wine_try_cflags_saved_cc
10495 ac_exeext=$ac_wine_try_cflags_saved_exeext
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10498 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10499 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10500 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10503 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10504 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_wine_try_cflags_saved=$CFLAGS
10508 ac_wine_try_cflags_saved_cc=$CC
10509 ac_wine_try_cflags_saved_exeext=$ac_exeext
10510 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10511 CC="$CROSSCC"
10512 ac_exeext=".exe"
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10515 int __cdecl mainCRTStartup(void) { return 0; }
10516 _ACEOF
10517 if ac_fn_c_try_link "$LINENO"; then :
10518 ac_cv_crosscflags__gstrict_dwarf=yes
10519 else
10520 ac_cv_crosscflags__gstrict_dwarf=no
10522 rm -f core conftest.err conftest.$ac_objext \
10523 conftest$ac_exeext conftest.$ac_ext
10524 CFLAGS=$ac_wine_try_cflags_saved
10525 CC=$ac_wine_try_cflags_saved_cc
10526 ac_exeext=$ac_wine_try_cflags_saved_exeext
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10529 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10530 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10531 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10532 fi ;;
10533 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10534 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10535 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10536 $as_echo_n "(cached) " >&6
10537 else
10538 ac_wine_try_cflags_saved=$CFLAGS
10539 ac_wine_try_cflags_saved_cc=$CC
10540 ac_wine_try_cflags_saved_exeext=$ac_exeext
10541 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10542 CC="$CROSSCC"
10543 ac_exeext=".exe"
10544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10546 int __cdecl mainCRTStartup(void) { return 0; }
10547 _ACEOF
10548 if ac_fn_c_try_link "$LINENO"; then :
10549 ac_cv_crosscflags__gcodeview=yes
10550 else
10551 ac_cv_crosscflags__gcodeview=no
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 CFLAGS=$ac_wine_try_cflags_saved
10556 CC=$ac_wine_try_cflags_saved_cc
10557 ac_exeext=$ac_wine_try_cflags_saved_exeext
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10560 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10561 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10563 fi ;;
10564 esac
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10567 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10568 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_wine_try_cflags_saved=$CFLAGS
10572 ac_wine_try_cflags_saved_cc=$CC
10573 ac_wine_try_cflags_saved_exeext=$ac_exeext
10574 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10575 CC="$CROSSCC"
10576 ac_exeext=".exe"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10579 int __cdecl mainCRTStartup(void) { return 0; }
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 ac_cv_crosscflags__fexcess_precision_standard=yes
10583 else
10584 ac_cv_crosscflags__fexcess_precision_standard=no
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 CFLAGS=$ac_wine_try_cflags_saved
10589 CC=$ac_wine_try_cflags_saved_cc
10590 ac_exeext=$ac_wine_try_cflags_saved_exeext
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10593 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10594 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10595 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10599 if test "x$enable_werror" = "xyes"
10600 then
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10602 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10603 if ${ac_cv_crosscflags__Werror+:} false; then :
10604 $as_echo_n "(cached) " >&6
10605 else
10606 ac_wine_try_cflags_saved=$CFLAGS
10607 ac_wine_try_cflags_saved_cc=$CC
10608 ac_wine_try_cflags_saved_exeext=$ac_exeext
10609 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10610 CC="$CROSSCC"
10611 ac_exeext=".exe"
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10614 int __cdecl mainCRTStartup(void) { return 0; }
10615 _ACEOF
10616 if ac_fn_c_try_link "$LINENO"; then :
10617 ac_cv_crosscflags__Werror=yes
10618 else
10619 ac_cv_crosscflags__Werror=no
10621 rm -f core conftest.err conftest.$ac_objext \
10622 conftest$ac_exeext conftest.$ac_ext
10623 CFLAGS=$ac_wine_try_cflags_saved
10624 CC=$ac_wine_try_cflags_saved_cc
10625 ac_exeext=$ac_wine_try_cflags_saved_exeext
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10628 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10629 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10630 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10634 CFLAGS=$saved_CFLAGS
10635 CC="$ac_save_CC"
10638 if test "x$CROSSTARGET" = "x"; then :
10639 case "x$with_mingw" in
10640 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10641 xno) ;;
10642 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10643 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10644 esac
10649 if test "$ac_cv_header_pthread_h" = "yes"
10650 then
10651 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10652 if test "x$ac_cv_func_pthread_create" = xyes; then :
10654 else
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10656 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10657 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 ac_check_lib_save_LIBS=$LIBS
10661 LIBS="-lpthread $LIBS"
10662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10668 #ifdef __cplusplus
10669 extern "C"
10670 #endif
10671 char pthread_create ();
10673 main ()
10675 return pthread_create ();
10677 return 0;
10679 _ACEOF
10680 if ac_fn_c_try_link "$LINENO"; then :
10681 ac_cv_lib_pthread_pthread_create=yes
10682 else
10683 ac_cv_lib_pthread_pthread_create=no
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_lib_save_LIBS
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10690 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10691 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10692 PTHREAD_LIBS="-lpthread"
10699 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10700 case "x$with_pthread" in
10701 xno) ;;
10702 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10703 Wine cannot support threads without libpthread.
10704 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10705 esac
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10711 $as_echo_n "checking for X... " >&6; }
10714 # Check whether --with-x was given.
10715 if test "${with_x+set}" = set; then :
10716 withval=$with_x;
10719 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10720 if test "x$with_x" = xno; then
10721 # The user explicitly disabled X.
10722 have_x=disabled
10723 else
10724 case $x_includes,$x_libraries in #(
10725 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10726 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10727 $as_echo_n "(cached) " >&6
10728 else
10729 # One or both of the vars are not set, and there is no cached value.
10730 ac_x_includes=no ac_x_libraries=no
10731 rm -f -r conftest.dir
10732 if mkdir conftest.dir; then
10733 cd conftest.dir
10734 cat >Imakefile <<'_ACEOF'
10735 incroot:
10736 @echo incroot='${INCROOT}'
10737 usrlibdir:
10738 @echo usrlibdir='${USRLIBDIR}'
10739 libdir:
10740 @echo libdir='${LIBDIR}'
10741 _ACEOF
10742 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10743 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10744 for ac_var in incroot usrlibdir libdir; do
10745 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10746 done
10747 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10748 for ac_extension in a so sl dylib la dll; do
10749 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10750 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10751 ac_im_usrlibdir=$ac_im_libdir; break
10753 done
10754 # Screen out bogus values from the imake configuration. They are
10755 # bogus both because they are the default anyway, and because
10756 # using them would break gcc on systems where it needs fixed includes.
10757 case $ac_im_incroot in
10758 /usr/include) ac_x_includes= ;;
10759 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10760 esac
10761 case $ac_im_usrlibdir in
10762 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10763 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10764 esac
10766 cd ..
10767 rm -f -r conftest.dir
10770 # Standard set of common directories for X headers.
10771 # Check X11 before X11Rn because it is often a symlink to the current release.
10772 ac_x_header_dirs='
10773 /usr/X11/include
10774 /usr/X11R7/include
10775 /usr/X11R6/include
10776 /usr/X11R5/include
10777 /usr/X11R4/include
10779 /usr/include/X11
10780 /usr/include/X11R7
10781 /usr/include/X11R6
10782 /usr/include/X11R5
10783 /usr/include/X11R4
10785 /usr/local/X11/include
10786 /usr/local/X11R7/include
10787 /usr/local/X11R6/include
10788 /usr/local/X11R5/include
10789 /usr/local/X11R4/include
10791 /usr/local/include/X11
10792 /usr/local/include/X11R7
10793 /usr/local/include/X11R6
10794 /usr/local/include/X11R5
10795 /usr/local/include/X11R4
10797 /usr/X386/include
10798 /usr/x386/include
10799 /usr/XFree86/include/X11
10801 /usr/include
10802 /usr/local/include
10803 /usr/unsupported/include
10804 /usr/athena/include
10805 /usr/local/x11r5/include
10806 /usr/lpp/Xamples/include
10808 /usr/openwin/include
10809 /usr/openwin/share/include'
10811 if test "$ac_x_includes" = no; then
10812 # Guess where to find include files, by looking for Xlib.h.
10813 # First, try using that file with no special directory specified.
10814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10816 #include <X11/Xlib.h>
10817 _ACEOF
10818 if ac_fn_c_try_cpp "$LINENO"; then :
10819 # We can compile using X headers with no special include directory.
10820 ac_x_includes=
10821 else
10822 for ac_dir in $ac_x_header_dirs; do
10823 if test -r "$ac_dir/X11/Xlib.h"; then
10824 ac_x_includes=$ac_dir
10825 break
10827 done
10829 rm -f conftest.err conftest.i conftest.$ac_ext
10830 fi # $ac_x_includes = no
10832 if test "$ac_x_libraries" = no; then
10833 # Check for the libraries.
10834 # See if we find them without any special options.
10835 # Don't add to $LIBS permanently.
10836 ac_save_LIBS=$LIBS
10837 LIBS="-lX11 $LIBS"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10840 #include <X11/Xlib.h>
10842 main ()
10844 XrmInitialize ()
10846 return 0;
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 LIBS=$ac_save_LIBS
10851 # We can link X programs with no special library path.
10852 ac_x_libraries=
10853 else
10854 LIBS=$ac_save_LIBS
10855 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10857 # Don't even attempt the hair of trying to link an X program!
10858 for ac_extension in a so sl dylib la dll; do
10859 if test -r "$ac_dir/libX11.$ac_extension"; then
10860 ac_x_libraries=$ac_dir
10861 break 2
10863 done
10864 done
10866 rm -f core conftest.err conftest.$ac_objext \
10867 conftest$ac_exeext conftest.$ac_ext
10868 fi # $ac_x_libraries = no
10870 case $ac_x_includes,$ac_x_libraries in #(
10871 no,* | *,no | *\'*)
10872 # Didn't find X, or a directory has "'" in its name.
10873 ac_cv_have_x="have_x=no";; #(
10875 # Record where we found X for the cache.
10876 ac_cv_have_x="have_x=yes\
10877 ac_x_includes='$ac_x_includes'\
10878 ac_x_libraries='$ac_x_libraries'"
10879 esac
10881 ;; #(
10882 *) have_x=yes;;
10883 esac
10884 eval "$ac_cv_have_x"
10885 fi # $with_x != no
10887 if test "$have_x" != yes; then
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10889 $as_echo "$have_x" >&6; }
10890 no_x=yes
10891 else
10892 # If each of the values was on the command line, it overrides each guess.
10893 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10894 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10895 # Update the cache value to reflect the command line values.
10896 ac_cv_have_x="have_x=yes\
10897 ac_x_includes='$x_includes'\
10898 ac_x_libraries='$x_libraries'"
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10900 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10903 if test "$no_x" = yes; then
10904 # Not all programs may use this symbol, but it does not hurt to define it.
10906 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10908 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10909 else
10910 if test -n "$x_includes"; then
10911 X_CFLAGS="$X_CFLAGS -I$x_includes"
10914 # It would also be nice to do this for all -L options, not just this one.
10915 if test -n "$x_libraries"; then
10916 X_LIBS="$X_LIBS -L$x_libraries"
10917 # For Solaris; some versions of Sun CC require a space after -R and
10918 # others require no space. Words are not sufficient . . . .
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10920 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10921 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10922 ac_xsave_c_werror_flag=$ac_c_werror_flag
10923 ac_c_werror_flag=yes
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10928 main ()
10932 return 0;
10934 _ACEOF
10935 if ac_fn_c_try_link "$LINENO"; then :
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10937 $as_echo "no" >&6; }
10938 X_LIBS="$X_LIBS -R$x_libraries"
10939 else
10940 LIBS="$ac_xsave_LIBS -R $x_libraries"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10945 main ()
10949 return 0;
10951 _ACEOF
10952 if ac_fn_c_try_link "$LINENO"; then :
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10954 $as_echo "yes" >&6; }
10955 X_LIBS="$X_LIBS -R $x_libraries"
10956 else
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10958 $as_echo "neither works" >&6; }
10960 rm -f core conftest.err conftest.$ac_objext \
10961 conftest$ac_exeext conftest.$ac_ext
10963 rm -f core conftest.err conftest.$ac_objext \
10964 conftest$ac_exeext conftest.$ac_ext
10965 ac_c_werror_flag=$ac_xsave_c_werror_flag
10966 LIBS=$ac_xsave_LIBS
10969 # Check for system-dependent libraries X programs must link with.
10970 # Do this before checking for the system-independent R6 libraries
10971 # (-lICE), since we may need -lsocket or whatever for X linking.
10973 if test "$ISC" = yes; then
10974 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10975 else
10976 # Martyn Johnson says this is needed for Ultrix, if the X
10977 # libraries were built with DECnet support. And Karl Berry says
10978 # the Alpha needs dnet_stub (dnet does not exist).
10979 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10983 /* Override any GCC internal prototype to avoid an error.
10984 Use char because int might match the return type of a GCC
10985 builtin and then its argument prototype would still apply. */
10986 #ifdef __cplusplus
10987 extern "C"
10988 #endif
10989 char XOpenDisplay ();
10991 main ()
10993 return XOpenDisplay ();
10995 return 0;
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"; then :
11000 else
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11002 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11003 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11004 $as_echo_n "(cached) " >&6
11005 else
11006 ac_check_lib_save_LIBS=$LIBS
11007 LIBS="-ldnet $LIBS"
11008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11011 /* Override any GCC internal prototype to avoid an error.
11012 Use char because int might match the return type of a GCC
11013 builtin and then its argument prototype would still apply. */
11014 #ifdef __cplusplus
11015 extern "C"
11016 #endif
11017 char dnet_ntoa ();
11019 main ()
11021 return dnet_ntoa ();
11023 return 0;
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"; then :
11027 ac_cv_lib_dnet_dnet_ntoa=yes
11028 else
11029 ac_cv_lib_dnet_dnet_ntoa=no
11031 rm -f core conftest.err conftest.$ac_objext \
11032 conftest$ac_exeext conftest.$ac_ext
11033 LIBS=$ac_check_lib_save_LIBS
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11036 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11037 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11038 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11041 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11043 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11044 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11045 $as_echo_n "(cached) " >&6
11046 else
11047 ac_check_lib_save_LIBS=$LIBS
11048 LIBS="-ldnet_stub $LIBS"
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11052 /* Override any GCC internal prototype to avoid an error.
11053 Use char because int might match the return type of a GCC
11054 builtin and then its argument prototype would still apply. */
11055 #ifdef __cplusplus
11056 extern "C"
11057 #endif
11058 char dnet_ntoa ();
11060 main ()
11062 return dnet_ntoa ();
11064 return 0;
11066 _ACEOF
11067 if ac_fn_c_try_link "$LINENO"; then :
11068 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11069 else
11070 ac_cv_lib_dnet_stub_dnet_ntoa=no
11072 rm -f core conftest.err conftest.$ac_objext \
11073 conftest$ac_exeext conftest.$ac_ext
11074 LIBS=$ac_check_lib_save_LIBS
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11077 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11078 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11079 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS="$ac_xsave_LIBS"
11088 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11089 # to get the SysV transport functions.
11090 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11091 # needs -lnsl.
11092 # The nsl library prevents programs from opening the X display
11093 # on Irix 5.2, according to T.E. Dickey.
11094 # The functions gethostbyname, getservbyname, and inet_addr are
11095 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11096 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11097 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11101 if test $ac_cv_func_gethostbyname = no; then
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11103 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11104 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11105 $as_echo_n "(cached) " >&6
11106 else
11107 ac_check_lib_save_LIBS=$LIBS
11108 LIBS="-lnsl $LIBS"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char gethostbyname ();
11120 main ()
11122 return gethostbyname ();
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11128 ac_cv_lib_nsl_gethostbyname=yes
11129 else
11130 ac_cv_lib_nsl_gethostbyname=no
11132 rm -f core conftest.err conftest.$ac_objext \
11133 conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11137 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11138 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11142 if test $ac_cv_lib_nsl_gethostbyname = no; then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11144 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11145 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11146 $as_echo_n "(cached) " >&6
11147 else
11148 ac_check_lib_save_LIBS=$LIBS
11149 LIBS="-lbsd $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11156 #ifdef __cplusplus
11157 extern "C"
11158 #endif
11159 char gethostbyname ();
11161 main ()
11163 return gethostbyname ();
11165 return 0;
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 ac_cv_lib_bsd_gethostbyname=yes
11170 else
11171 ac_cv_lib_bsd_gethostbyname=no
11173 rm -f core conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11178 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11179 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11180 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11186 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11187 # socket/setsockopt and other routines are undefined under SCO ODT
11188 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11189 # on later versions), says Simon Leinen: it contains gethostby*
11190 # variants that don't use the name server (or something). -lsocket
11191 # must be given before -lnsl if both are needed. We assume that
11192 # if connect needs -lnsl, so does gethostbyname.
11193 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11194 if test "x$ac_cv_func_connect" = xyes; then :
11198 if test $ac_cv_func_connect = no; then
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11200 $as_echo_n "checking for connect in -lsocket... " >&6; }
11201 if ${ac_cv_lib_socket_connect+:} false; then :
11202 $as_echo_n "(cached) " >&6
11203 else
11204 ac_check_lib_save_LIBS=$LIBS
11205 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207 /* end confdefs.h. */
11209 /* Override any GCC internal prototype to avoid an error.
11210 Use char because int might match the return type of a GCC
11211 builtin and then its argument prototype would still apply. */
11212 #ifdef __cplusplus
11213 extern "C"
11214 #endif
11215 char connect ();
11217 main ()
11219 return connect ();
11221 return 0;
11223 _ACEOF
11224 if ac_fn_c_try_link "$LINENO"; then :
11225 ac_cv_lib_socket_connect=yes
11226 else
11227 ac_cv_lib_socket_connect=no
11229 rm -f core conftest.err conftest.$ac_objext \
11230 conftest$ac_exeext conftest.$ac_ext
11231 LIBS=$ac_check_lib_save_LIBS
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11234 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11235 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11236 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11241 # Guillermo Gomez says -lposix is necessary on A/UX.
11242 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11243 if test "x$ac_cv_func_remove" = xyes; then :
11247 if test $ac_cv_func_remove = no; then
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11249 $as_echo_n "checking for remove in -lposix... " >&6; }
11250 if ${ac_cv_lib_posix_remove+:} false; then :
11251 $as_echo_n "(cached) " >&6
11252 else
11253 ac_check_lib_save_LIBS=$LIBS
11254 LIBS="-lposix $LIBS"
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11261 #ifdef __cplusplus
11262 extern "C"
11263 #endif
11264 char remove ();
11266 main ()
11268 return remove ();
11270 return 0;
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"; then :
11274 ac_cv_lib_posix_remove=yes
11275 else
11276 ac_cv_lib_posix_remove=no
11278 rm -f core conftest.err conftest.$ac_objext \
11279 conftest$ac_exeext conftest.$ac_ext
11280 LIBS=$ac_check_lib_save_LIBS
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11283 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11284 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11290 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11291 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11292 if test "x$ac_cv_func_shmat" = xyes; then :
11296 if test $ac_cv_func_shmat = no; then
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11298 $as_echo_n "checking for shmat in -lipc... " >&6; }
11299 if ${ac_cv_lib_ipc_shmat+:} false; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-lipc $LIBS"
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h. */
11307 /* Override any GCC internal prototype to avoid an error.
11308 Use char because int might match the return type of a GCC
11309 builtin and then its argument prototype would still apply. */
11310 #ifdef __cplusplus
11311 extern "C"
11312 #endif
11313 char shmat ();
11315 main ()
11317 return shmat ();
11319 return 0;
11321 _ACEOF
11322 if ac_fn_c_try_link "$LINENO"; then :
11323 ac_cv_lib_ipc_shmat=yes
11324 else
11325 ac_cv_lib_ipc_shmat=no
11327 rm -f core conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11332 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11333 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11334 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11340 # Check for libraries that X11R6 Xt/Xaw programs need.
11341 ac_save_LDFLAGS=$LDFLAGS
11342 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11343 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11344 # check for ICE first), but we must link in the order -lSM -lICE or
11345 # we get undefined symbols. So assume we have SM if we have ICE.
11346 # These have to be linked with before -lX11, unlike the other
11347 # libraries we check for below, so use a different variable.
11348 # John Interrante, Karl Berry
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11350 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11351 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11352 $as_echo_n "(cached) " >&6
11353 else
11354 ac_check_lib_save_LIBS=$LIBS
11355 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11362 #ifdef __cplusplus
11363 extern "C"
11364 #endif
11365 char IceConnectionNumber ();
11367 main ()
11369 return IceConnectionNumber ();
11371 return 0;
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"; then :
11375 ac_cv_lib_ICE_IceConnectionNumber=yes
11376 else
11377 ac_cv_lib_ICE_IceConnectionNumber=no
11379 rm -f core conftest.err conftest.$ac_objext \
11380 conftest$ac_exeext conftest.$ac_ext
11381 LIBS=$ac_check_lib_save_LIBS
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11384 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11385 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11386 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11389 LDFLAGS=$ac_save_LDFLAGS
11394 if test "$have_x" = "yes"
11395 then
11396 ac_save_CPPFLAGS="$CPPFLAGS"
11397 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11400 $as_echo_n "checking for -lX11... " >&6; }
11401 if ${ac_cv_lib_soname_X11+:} false; then :
11402 $as_echo_n "(cached) " >&6
11403 else
11404 ac_check_soname_save_LIBS=$LIBS
11405 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11409 /* Override any GCC internal prototype to avoid an error.
11410 Use char because int might match the return type of a GCC
11411 builtin and then its argument prototype would still apply. */
11412 #ifdef __cplusplus
11413 extern "C"
11414 #endif
11415 char XCreateWindow ();
11417 main ()
11419 return XCreateWindow ();
11421 return 0;
11423 _ACEOF
11424 if ac_fn_c_try_link "$LINENO"; then :
11425 case "$LIBEXT" in
11426 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11427 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'` ;;
11428 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11429 if ${ac_cv_lib_soname_X11:+false} :; then :
11430 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11431 fi ;;
11432 esac
11433 else
11434 ac_cv_lib_soname_X11=
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_soname_save_LIBS
11440 if ${ac_cv_lib_soname_X11:+false} :; then :
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11442 $as_echo "not found" >&6; }
11444 else
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11446 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11448 cat >>confdefs.h <<_ACEOF
11449 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11450 _ACEOF
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11455 $as_echo_n "checking for -lXext... " >&6; }
11456 if ${ac_cv_lib_soname_Xext+:} false; then :
11457 $as_echo_n "(cached) " >&6
11458 else
11459 ac_check_soname_save_LIBS=$LIBS
11460 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11464 /* Override any GCC internal prototype to avoid an error.
11465 Use char because int might match the return type of a GCC
11466 builtin and then its argument prototype would still apply. */
11467 #ifdef __cplusplus
11468 extern "C"
11469 #endif
11470 char XextCreateExtension ();
11472 main ()
11474 return XextCreateExtension ();
11476 return 0;
11478 _ACEOF
11479 if ac_fn_c_try_link "$LINENO"; then :
11480 case "$LIBEXT" in
11481 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11482 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'` ;;
11483 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11484 if ${ac_cv_lib_soname_Xext:+false} :; then :
11485 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11486 fi ;;
11487 esac
11488 else
11489 ac_cv_lib_soname_Xext=
11491 rm -f core conftest.err conftest.$ac_objext \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_soname_save_LIBS
11495 if ${ac_cv_lib_soname_Xext:+false} :; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11497 $as_echo "not found" >&6; }
11499 else
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11501 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11503 cat >>confdefs.h <<_ACEOF
11504 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11505 _ACEOF
11507 X_LIBS="$X_LIBS -lXext"
11509 X_LIBS="$X_LIBS -lX11"
11511 for ac_header in X11/Xlib.h \
11512 X11/XKBlib.h \
11513 X11/Xutil.h \
11514 X11/Xcursor/Xcursor.h \
11515 X11/extensions/shape.h \
11516 X11/extensions/XInput.h \
11517 X11/extensions/XInput2.h \
11518 X11/extensions/XShm.h \
11519 X11/extensions/Xcomposite.h \
11520 X11/extensions/Xfixes.h \
11521 X11/extensions/Xinerama.h \
11522 X11/extensions/Xrandr.h \
11523 X11/extensions/Xrender.h \
11524 X11/extensions/xf86vmode.h \
11525 X11/extensions/xf86vmproto.h
11526 do :
11527 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11528 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11529 # include <X11/Xlib.h>
11530 #endif
11531 #ifdef HAVE_X11_XUTIL_H
11532 # include <X11/Xutil.h>
11533 #endif
11535 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11536 cat >>confdefs.h <<_ACEOF
11537 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11538 _ACEOF
11542 done
11545 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11546 then
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11548 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11549 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11550 $as_echo_n "(cached) " >&6
11551 else
11552 ac_check_lib_save_LIBS=$LIBS
11553 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11557 /* Override any GCC internal prototype to avoid an error.
11558 Use char because int might match the return type of a GCC
11559 builtin and then its argument prototype would still apply. */
11560 #ifdef __cplusplus
11561 extern "C"
11562 #endif
11563 char XkbQueryExtension ();
11565 main ()
11567 return XkbQueryExtension ();
11569 return 0;
11571 _ACEOF
11572 if ac_fn_c_try_link "$LINENO"; then :
11573 ac_cv_lib_X11_XkbQueryExtension=yes
11574 else
11575 ac_cv_lib_X11_XkbQueryExtension=no
11577 rm -f core conftest.err conftest.$ac_objext \
11578 conftest$ac_exeext conftest.$ac_ext
11579 LIBS=$ac_check_lib_save_LIBS
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11582 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11583 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11585 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11591 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11592 then
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11594 $as_echo_n "checking for -lXcursor... " >&6; }
11595 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11596 $as_echo_n "(cached) " >&6
11597 else
11598 ac_check_soname_save_LIBS=$LIBS
11599 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11606 #ifdef __cplusplus
11607 extern "C"
11608 #endif
11609 char XcursorImageLoadCursor ();
11611 main ()
11613 return XcursorImageLoadCursor ();
11615 return 0;
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"; then :
11619 case "$LIBEXT" in
11620 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11621 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'` ;;
11622 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11623 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11624 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11625 fi ;;
11626 esac
11627 else
11628 ac_cv_lib_soname_Xcursor=
11630 rm -f core conftest.err conftest.$ac_objext \
11631 conftest$ac_exeext conftest.$ac_ext
11632 LIBS=$ac_check_soname_save_LIBS
11634 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11636 $as_echo "not found" >&6; }
11638 else
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11640 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11642 cat >>confdefs.h <<_ACEOF
11643 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11644 _ACEOF
11649 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11650 case "x$with_xcursor" in
11651 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11652 xno) ;;
11653 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11654 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11655 esac
11659 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11660 then
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11662 $as_echo_n "checking for -lXi... " >&6; }
11663 if ${ac_cv_lib_soname_Xi+:} false; then :
11664 $as_echo_n "(cached) " >&6
11665 else
11666 ac_check_soname_save_LIBS=$LIBS
11667 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11674 #ifdef __cplusplus
11675 extern "C"
11676 #endif
11677 char XOpenDevice ();
11679 main ()
11681 return XOpenDevice ();
11683 return 0;
11685 _ACEOF
11686 if ac_fn_c_try_link "$LINENO"; then :
11687 case "$LIBEXT" in
11688 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11689 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'` ;;
11690 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11691 if ${ac_cv_lib_soname_Xi:+false} :; then :
11692 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11693 fi ;;
11694 esac
11695 else
11696 ac_cv_lib_soname_Xi=
11698 rm -f core conftest.err conftest.$ac_objext \
11699 conftest$ac_exeext conftest.$ac_ext
11700 LIBS=$ac_check_soname_save_LIBS
11702 if ${ac_cv_lib_soname_Xi:+false} :; then :
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11704 $as_echo "not found" >&6; }
11706 else
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11708 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11710 cat >>confdefs.h <<_ACEOF
11711 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11712 _ACEOF
11717 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11718 case "x$with_xinput" in
11719 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11720 xno) ;;
11721 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11722 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11723 esac
11727 if test "x$ac_cv_lib_soname_Xi" != x
11728 then
11729 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11730 case "x$with_xinput2" in
11731 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11732 xno) ;;
11733 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11734 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11735 esac
11740 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11741 then
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11743 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11744 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11745 $as_echo_n "(cached) " >&6
11746 else
11747 ac_check_lib_save_LIBS=$LIBS
11748 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11752 /* Override any GCC internal prototype to avoid an error.
11753 Use char because int might match the return type of a GCC
11754 builtin and then its argument prototype would still apply. */
11755 #ifdef __cplusplus
11756 extern "C"
11757 #endif
11758 char XShmQueryExtension ();
11760 main ()
11762 return XShmQueryExtension ();
11764 return 0;
11766 _ACEOF
11767 if ac_fn_c_try_link "$LINENO"; then :
11768 ac_cv_lib_Xext_XShmQueryExtension=yes
11769 else
11770 ac_cv_lib_Xext_XShmQueryExtension=no
11772 rm -f core conftest.err conftest.$ac_objext \
11773 conftest$ac_exeext conftest.$ac_ext
11774 LIBS=$ac_check_lib_save_LIBS
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11777 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11778 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11780 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11785 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11786 case "x$with_xshm" in
11787 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11788 xno) ;;
11789 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11790 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11791 esac
11795 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11796 then
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11798 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11799 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11800 $as_echo_n "(cached) " >&6
11801 else
11802 ac_check_lib_save_LIBS=$LIBS
11803 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11810 #ifdef __cplusplus
11811 extern "C"
11812 #endif
11813 char XShapeQueryExtension ();
11815 main ()
11817 return XShapeQueryExtension ();
11819 return 0;
11821 _ACEOF
11822 if ac_fn_c_try_link "$LINENO"; then :
11823 ac_cv_lib_Xext_XShapeQueryExtension=yes
11824 else
11825 ac_cv_lib_Xext_XShapeQueryExtension=no
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_lib_save_LIBS
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11832 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11833 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11835 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11840 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11841 case "x$with_xshape" in
11842 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11843 xno) ;;
11844 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11845 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11846 esac
11850 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11851 then
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11853 $as_echo_n "checking for -lXxf86vm... " >&6; }
11854 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11855 $as_echo_n "(cached) " >&6
11856 else
11857 ac_check_soname_save_LIBS=$LIBS
11858 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11862 /* Override any GCC internal prototype to avoid an error.
11863 Use char because int might match the return type of a GCC
11864 builtin and then its argument prototype would still apply. */
11865 #ifdef __cplusplus
11866 extern "C"
11867 #endif
11868 char XF86VidModeQueryExtension ();
11870 main ()
11872 return XF86VidModeQueryExtension ();
11874 return 0;
11876 _ACEOF
11877 if ac_fn_c_try_link "$LINENO"; then :
11878 case "$LIBEXT" in
11879 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11880 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'` ;;
11881 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11882 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11883 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11884 fi ;;
11885 esac
11886 else
11887 ac_cv_lib_soname_Xxf86vm=
11889 rm -f core conftest.err conftest.$ac_objext \
11890 conftest$ac_exeext conftest.$ac_ext
11891 LIBS=$ac_check_soname_save_LIBS
11893 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11895 $as_echo "not found" >&6; }
11897 else
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11899 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11901 cat >>confdefs.h <<_ACEOF
11902 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11903 _ACEOF
11908 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11909 case "x$with_xxf86vm" in
11910 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11911 xno) ;;
11912 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11913 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11914 esac
11918 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11919 then
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11921 $as_echo_n "checking for -lXrender... " >&6; }
11922 if ${ac_cv_lib_soname_Xrender+:} false; then :
11923 $as_echo_n "(cached) " >&6
11924 else
11925 ac_check_soname_save_LIBS=$LIBS
11926 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11933 #ifdef __cplusplus
11934 extern "C"
11935 #endif
11936 char XRenderQueryExtension ();
11938 main ()
11940 return XRenderQueryExtension ();
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_link "$LINENO"; then :
11946 case "$LIBEXT" in
11947 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11948 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'` ;;
11949 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11950 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11951 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11952 fi ;;
11953 esac
11954 else
11955 ac_cv_lib_soname_Xrender=
11957 rm -f core conftest.err conftest.$ac_objext \
11958 conftest$ac_exeext conftest.$ac_ext
11959 LIBS=$ac_check_soname_save_LIBS
11961 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11963 $as_echo "not found" >&6; }
11965 else
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11967 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11969 cat >>confdefs.h <<_ACEOF
11970 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11971 _ACEOF
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11974 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11975 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11976 $as_echo_n "(cached) " >&6
11977 else
11978 ac_check_lib_save_LIBS=$LIBS
11979 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11986 #ifdef __cplusplus
11987 extern "C"
11988 #endif
11989 char XRenderSetPictureTransform ();
11991 main ()
11993 return XRenderSetPictureTransform ();
11995 return 0;
11997 _ACEOF
11998 if ac_fn_c_try_link "$LINENO"; then :
11999 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12000 else
12001 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_lib_save_LIBS
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12008 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12009 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12011 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12016 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12017 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12018 $as_echo_n "(cached) " >&6
12019 else
12020 ac_check_lib_save_LIBS=$LIBS
12021 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12028 #ifdef __cplusplus
12029 extern "C"
12030 #endif
12031 char XRenderCreateLinearGradient ();
12033 main ()
12035 return XRenderCreateLinearGradient ();
12037 return 0;
12039 _ACEOF
12040 if ac_fn_c_try_link "$LINENO"; then :
12041 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12042 else
12043 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12045 rm -f core conftest.err conftest.$ac_objext \
12046 conftest$ac_exeext conftest.$ac_ext
12047 LIBS=$ac_check_lib_save_LIBS
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12050 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12051 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12053 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12060 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12061 case "x$with_xrender" in
12062 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12063 xno) ;;
12064 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12065 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12066 esac
12070 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12071 then
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12074 #include <X11/Xlib.h>
12075 #include <X11/extensions/Xrandr.h>
12077 main ()
12079 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12081 return 0;
12083 _ACEOF
12084 if ac_fn_c_try_compile "$LINENO"; then :
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12086 $as_echo_n "checking for -lXrandr... " >&6; }
12087 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12088 $as_echo_n "(cached) " >&6
12089 else
12090 ac_check_soname_save_LIBS=$LIBS
12091 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12098 #ifdef __cplusplus
12099 extern "C"
12100 #endif
12101 char XRRQueryExtension ();
12103 main ()
12105 return XRRQueryExtension ();
12107 return 0;
12109 _ACEOF
12110 if ac_fn_c_try_link "$LINENO"; then :
12111 case "$LIBEXT" in
12112 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12113 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'` ;;
12114 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12115 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12116 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12117 fi ;;
12118 esac
12119 else
12120 ac_cv_lib_soname_Xrandr=
12122 rm -f core conftest.err conftest.$ac_objext \
12123 conftest$ac_exeext conftest.$ac_ext
12124 LIBS=$ac_check_soname_save_LIBS
12126 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12128 $as_echo "not found" >&6; }
12130 else
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12132 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12134 cat >>confdefs.h <<_ACEOF
12135 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12136 _ACEOF
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12140 #include <X11/Xlib.h>
12141 #include <X11/extensions/Xrandr.h>
12143 main ()
12145 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12147 return 0;
12149 _ACEOF
12150 if ac_fn_c_try_compile "$LINENO"; then :
12152 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12154 else
12155 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12162 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12163 case "x$with_xrandr" in
12164 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12165 xno) ;;
12166 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12167 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12168 esac
12172 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12173 then
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12176 #include <X11/Xlib.h>
12177 #include <X11/extensions/Xfixes.h>
12179 main ()
12181 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_compile "$LINENO"; then :
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12188 $as_echo_n "checking for -lXfixes... " >&6; }
12189 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12190 $as_echo_n "(cached) " >&6
12191 else
12192 ac_check_soname_save_LIBS=$LIBS
12193 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12200 #ifdef __cplusplus
12201 extern "C"
12202 #endif
12203 char XFixesQueryVersion ();
12205 main ()
12207 return XFixesQueryVersion ();
12209 return 0;
12211 _ACEOF
12212 if ac_fn_c_try_link "$LINENO"; then :
12213 case "$LIBEXT" in
12214 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12215 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'` ;;
12216 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12217 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12218 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12219 fi ;;
12220 esac
12221 else
12222 ac_cv_lib_soname_Xfixes=
12224 rm -f core conftest.err conftest.$ac_objext \
12225 conftest$ac_exeext conftest.$ac_ext
12226 LIBS=$ac_check_soname_save_LIBS
12228 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12230 $as_echo "not found" >&6; }
12232 else
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12234 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12236 cat >>confdefs.h <<_ACEOF
12237 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12238 _ACEOF
12243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12245 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12246 case "x$with_xfixes" in
12247 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12248 xno) ;;
12249 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12250 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12251 esac
12255 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12256 then
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12259 #include <X11/Xlib.h>
12260 #include <X11/extensions/Xinerama.h>
12262 main ()
12264 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12266 return 0;
12268 _ACEOF
12269 if ac_fn_c_try_compile "$LINENO"; then :
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12271 $as_echo_n "checking for -lXinerama... " >&6; }
12272 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 ac_check_soname_save_LIBS=$LIBS
12276 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12283 #ifdef __cplusplus
12284 extern "C"
12285 #endif
12286 char XineramaQueryScreens ();
12288 main ()
12290 return XineramaQueryScreens ();
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_link "$LINENO"; then :
12296 case "$LIBEXT" in
12297 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12298 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'` ;;
12299 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12300 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12301 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12302 fi ;;
12303 esac
12304 else
12305 ac_cv_lib_soname_Xinerama=
12307 rm -f core conftest.err conftest.$ac_objext \
12308 conftest$ac_exeext conftest.$ac_ext
12309 LIBS=$ac_check_soname_save_LIBS
12311 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12313 $as_echo "not found" >&6; }
12315 else
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12317 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12319 cat >>confdefs.h <<_ACEOF
12320 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12321 _ACEOF
12326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12328 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12329 case "x$with_xinerama" in
12330 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12331 xno) ;;
12332 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12333 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12334 esac
12338 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12339 then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12341 $as_echo_n "checking for -lXcomposite... " >&6; }
12342 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12343 $as_echo_n "(cached) " >&6
12344 else
12345 ac_check_soname_save_LIBS=$LIBS
12346 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12350 /* Override any GCC internal prototype to avoid an error.
12351 Use char because int might match the return type of a GCC
12352 builtin and then its argument prototype would still apply. */
12353 #ifdef __cplusplus
12354 extern "C"
12355 #endif
12356 char XCompositeRedirectWindow ();
12358 main ()
12360 return XCompositeRedirectWindow ();
12362 return 0;
12364 _ACEOF
12365 if ac_fn_c_try_link "$LINENO"; then :
12366 case "$LIBEXT" in
12367 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12368 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'` ;;
12369 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12370 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12371 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12372 fi ;;
12373 esac
12374 else
12375 ac_cv_lib_soname_Xcomposite=
12377 rm -f core conftest.err conftest.$ac_objext \
12378 conftest$ac_exeext conftest.$ac_ext
12379 LIBS=$ac_check_soname_save_LIBS
12381 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12383 $as_echo "not found" >&6; }
12385 else
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12387 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12389 cat >>confdefs.h <<_ACEOF
12390 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12391 _ACEOF
12396 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12397 case "x$with_xcomposite" in
12398 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12399 xno) ;;
12400 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12401 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12402 esac
12406 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12407 #include <X11/Xlib.h>
12408 #endif
12410 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12412 cat >>confdefs.h <<_ACEOF
12413 #define HAVE_XICCALLBACK_CALLBACK 1
12414 _ACEOF
12418 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12419 #include <X11/Xlib.h>
12420 #endif
12422 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12424 cat >>confdefs.h <<_ACEOF
12425 #define HAVE_XEVENT_XCOOKIE 1
12426 _ACEOF
12433 opengl_msg=""
12434 if test "x$with_opengl" != "xno"
12435 then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12437 $as_echo_n "checking for -lGL... " >&6; }
12438 if ${ac_cv_lib_soname_GL+:} false; then :
12439 $as_echo_n "(cached) " >&6
12440 else
12441 ac_check_soname_save_LIBS=$LIBS
12442 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12446 /* Override any GCC internal prototype to avoid an error.
12447 Use char because int might match the return type of a GCC
12448 builtin and then its argument prototype would still apply. */
12449 #ifdef __cplusplus
12450 extern "C"
12451 #endif
12452 char glXCreateContext ();
12454 main ()
12456 return glXCreateContext ();
12458 return 0;
12460 _ACEOF
12461 if ac_fn_c_try_link "$LINENO"; then :
12462 case "$LIBEXT" in
12463 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12464 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'` ;;
12465 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12466 if ${ac_cv_lib_soname_GL:+false} :; then :
12467 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12468 fi ;;
12469 esac
12470 else
12471 ac_cv_lib_soname_GL=
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 LIBS=$ac_check_soname_save_LIBS
12477 if ${ac_cv_lib_soname_GL:+false} :; then :
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12479 $as_echo "not found" >&6; }
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12481 $as_echo_n "checking for -lGL... " >&6; }
12482 if ${ac_cv_lib_soname_GL+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484 else
12485 ac_check_soname_save_LIBS=$LIBS
12486 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"
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12490 /* Override any GCC internal prototype to avoid an error.
12491 Use char because int might match the return type of a GCC
12492 builtin and then its argument prototype would still apply. */
12493 #ifdef __cplusplus
12494 extern "C"
12495 #endif
12496 char glXCreateContext ();
12498 main ()
12500 return glXCreateContext ();
12502 return 0;
12504 _ACEOF
12505 if ac_fn_c_try_link "$LINENO"; then :
12506 case "$LIBEXT" in
12507 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12508 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'` ;;
12509 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12510 if ${ac_cv_lib_soname_GL:+false} :; then :
12511 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12512 fi ;;
12513 esac
12514 else
12515 ac_cv_lib_soname_GL=
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 LIBS=$ac_check_soname_save_LIBS
12521 if ${ac_cv_lib_soname_GL:+false} :; then :
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12523 $as_echo "not found" >&6; }
12524 if test -f /usr/X11R6/lib/libGL.a
12525 then
12526 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12527 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12528 else
12529 opengl_msg="No OpenGL library found on this system."
12531 else
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12533 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12535 cat >>confdefs.h <<_ACEOF
12536 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12537 _ACEOF
12539 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"
12541 else
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12543 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12545 cat >>confdefs.h <<_ACEOF
12546 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12547 _ACEOF
12549 OPENGL_LIBS="-lGL"
12551 if test "x$with_osmesa" != "xno"
12552 then
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12554 $as_echo_n "checking for -lOSMesa... " >&6; }
12555 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12556 $as_echo_n "(cached) " >&6
12557 else
12558 ac_check_soname_save_LIBS=$LIBS
12559 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12563 /* Override any GCC internal prototype to avoid an error.
12564 Use char because int might match the return type of a GCC
12565 builtin and then its argument prototype would still apply. */
12566 #ifdef __cplusplus
12567 extern "C"
12568 #endif
12569 char OSMesaGetProcAddress ();
12571 main ()
12573 return OSMesaGetProcAddress ();
12575 return 0;
12577 _ACEOF
12578 if ac_fn_c_try_link "$LINENO"; then :
12579 case "$LIBEXT" in
12580 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12581 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'` ;;
12582 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12583 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12584 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12585 fi ;;
12586 esac
12587 else
12588 ac_cv_lib_soname_OSMesa=
12590 rm -f core conftest.err conftest.$ac_objext \
12591 conftest$ac_exeext conftest.$ac_ext
12592 LIBS=$ac_check_soname_save_LIBS
12594 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12596 $as_echo "not found" >&6; }
12598 else
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12600 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12602 cat >>confdefs.h <<_ACEOF
12603 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12604 _ACEOF
12608 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12609 case "x$with_osmesa" in
12610 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12611 xno) ;;
12612 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12613 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12614 esac
12619 if test -n "$opengl_msg"; then :
12620 case "x$with_opengl" in
12621 x) as_fn_append wine_warnings "|$opengl_msg
12622 OpenGL and Direct3D won't be supported." ;;
12623 xno) ;;
12624 *) as_fn_error $? "$opengl_msg
12625 OpenGL and Direct3D won't be supported.
12626 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12627 esac
12631 CPPFLAGS="$ac_save_CPPFLAGS"
12632 else
12633 X_CFLAGS=""
12634 X_LIBS=""
12637 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12638 then
12639 if test "x$X_LIBS" = "x"; then :
12640 case "x$with_x" in
12641 xno) ;;
12642 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12643 without X support, which probably isn't what you want. You will need
12644 to install ${notice_platform}development packages of Xlib at the very least.
12645 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12646 esac
12647 enable_winex11_drv=${enable_winex11_drv:-no}
12649 else
12650 if test "x$X_LIBS" = "x"; then :
12651 case "x$with_x" in
12652 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12653 xno) ;;
12654 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12655 This is an error since --with-x was requested." "$LINENO" 5 ;;
12656 esac
12657 enable_winex11_drv=${enable_winex11_drv:-no}
12661 if test "$ac_cv_header_CL_cl_h" = "yes"
12662 then
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12664 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12665 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12666 $as_echo_n "(cached) " >&6
12667 else
12668 ac_check_lib_save_LIBS=$LIBS
12669 LIBS="-lOpenCL $LIBS"
12670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 /* Override any GCC internal prototype to avoid an error.
12674 Use char because int might match the return type of a GCC
12675 builtin and then its argument prototype would still apply. */
12676 #ifdef __cplusplus
12677 extern "C"
12678 #endif
12679 char clGetPlatformInfo ();
12681 main ()
12683 return clGetPlatformInfo ();
12685 return 0;
12687 _ACEOF
12688 if ac_fn_c_try_link "$LINENO"; then :
12689 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12690 else
12691 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12693 rm -f core conftest.err conftest.$ac_objext \
12694 conftest$ac_exeext conftest.$ac_ext
12695 LIBS=$ac_check_lib_save_LIBS
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12698 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12699 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12700 OPENCL_LIBS="-lOpenCL"
12705 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12706 case "x$with_opencl" in
12707 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12708 xno) ;;
12709 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12710 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12711 esac
12712 enable_opencl=${enable_opencl:-no}
12715 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12716 then
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12718 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12719 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12720 $as_echo_n "(cached) " >&6
12721 else
12722 ac_check_lib_save_LIBS=$LIBS
12723 LIBS="-lpcap $LIBS"
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12727 /* Override any GCC internal prototype to avoid an error.
12728 Use char because int might match the return type of a GCC
12729 builtin and then its argument prototype would still apply. */
12730 #ifdef __cplusplus
12731 extern "C"
12732 #endif
12733 char pcap_create ();
12735 main ()
12737 return pcap_create ();
12739 return 0;
12741 _ACEOF
12742 if ac_fn_c_try_link "$LINENO"; then :
12743 ac_cv_lib_pcap_pcap_create=yes
12744 else
12745 ac_cv_lib_pcap_pcap_create=no
12747 rm -f core conftest.err conftest.$ac_objext \
12748 conftest$ac_exeext conftest.$ac_ext
12749 LIBS=$ac_check_lib_save_LIBS
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12752 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12753 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12754 PCAP_LIBS="-lpcap"
12759 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12760 case "x$with_pcap" in
12761 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12762 xno) ;;
12763 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12764 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12765 esac
12766 enable_wpcap=${enable_wpcap:-no}
12770 if test "x$with_xml" != "xno"
12771 then
12772 if ${XML2_CFLAGS:+false} :; then :
12773 if ${PKG_CONFIG+:} false; then :
12774 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12777 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12778 if ${XML2_LIBS:+false} :; then :
12779 if ${PKG_CONFIG+:} false; then :
12780 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12783 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12784 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12785 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12786 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12787 ac_save_CPPFLAGS=$CPPFLAGS
12788 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12789 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12790 do :
12791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12792 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12794 cat >>confdefs.h <<_ACEOF
12795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12796 _ACEOF
12800 done
12802 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"
12803 then
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12805 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12806 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12807 $as_echo_n "(cached) " >&6
12808 else
12809 ac_check_lib_save_LIBS=$LIBS
12810 LIBS="-lxml2 $XML2_LIBS $LIBS"
12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12817 #ifdef __cplusplus
12818 extern "C"
12819 #endif
12820 char xmlParseMemory ();
12822 main ()
12824 return xmlParseMemory ();
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_link "$LINENO"; then :
12830 ac_cv_lib_xml2_xmlParseMemory=yes
12831 else
12832 ac_cv_lib_xml2_xmlParseMemory=no
12834 rm -f core conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12836 LIBS=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12839 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12840 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12842 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12844 else
12845 XML2_LIBS=""
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12849 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12850 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852 else
12853 ac_check_lib_save_LIBS=$LIBS
12854 LIBS="-lxml2 $XML2_LIBS $LIBS"
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char xmlReadMemory ();
12866 main ()
12868 return xmlReadMemory ();
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_link "$LINENO"; then :
12874 ac_cv_lib_xml2_xmlReadMemory=yes
12875 else
12876 ac_cv_lib_xml2_xmlReadMemory=no
12878 rm -f core conftest.err conftest.$ac_objext \
12879 conftest$ac_exeext conftest.$ac_ext
12880 LIBS=$ac_check_lib_save_LIBS
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12883 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12884 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12886 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12891 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12892 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12893 $as_echo_n "(cached) " >&6
12894 else
12895 ac_check_lib_save_LIBS=$LIBS
12896 LIBS="-lxml2 $XML2_LIBS $LIBS"
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12903 #ifdef __cplusplus
12904 extern "C"
12905 #endif
12906 char xmlNewDocPI ();
12908 main ()
12910 return xmlNewDocPI ();
12912 return 0;
12914 _ACEOF
12915 if ac_fn_c_try_link "$LINENO"; then :
12916 ac_cv_lib_xml2_xmlNewDocPI=yes
12917 else
12918 ac_cv_lib_xml2_xmlNewDocPI=no
12920 rm -f core conftest.err conftest.$ac_objext \
12921 conftest$ac_exeext conftest.$ac_ext
12922 LIBS=$ac_check_lib_save_LIBS
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12925 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12926 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12928 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12933 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12934 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_lib_save_LIBS=$LIBS
12938 LIBS="-lxml2 $XML2_LIBS $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char xmlSchemaSetParserStructuredErrors ();
12950 main ()
12952 return xmlSchemaSetParserStructuredErrors ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12959 else
12960 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12962 rm -f core conftest.err conftest.$ac_objext \
12963 conftest$ac_exeext conftest.$ac_ext
12964 LIBS=$ac_check_lib_save_LIBS
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12967 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12968 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12970 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12975 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12976 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-lxml2 $XML2_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char xmlSchemaSetValidStructuredErrors ();
12992 main ()
12994 return xmlSchemaSetValidStructuredErrors ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13001 else
13002 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 LIBS=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13009 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13010 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13012 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13017 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13018 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13019 $as_echo_n "(cached) " >&6
13020 else
13021 ac_check_lib_save_LIBS=$LIBS
13022 LIBS="-lxml2 $XML2_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 #ifdef __cplusplus
13030 extern "C"
13031 #endif
13032 char xmlFirstElementChild ();
13034 main ()
13036 return xmlFirstElementChild ();
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"; then :
13042 ac_cv_lib_xml2_xmlFirstElementChild=yes
13043 else
13044 ac_cv_lib_xml2_xmlFirstElementChild=no
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_lib_save_LIBS
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13051 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13052 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13054 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13058 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13060 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13062 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13066 else
13067 XML2_CFLAGS=""
13068 XML2_LIBS=""
13070 CPPFLAGS=$ac_save_CPPFLAGS
13073 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13074 case "x$with_xml" in
13075 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13076 xno) ;;
13077 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13078 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13079 esac
13083 if test "x$with_xslt" != "xno"
13084 then
13085 if ${XSLT_CFLAGS:+false} :; then :
13086 if ${PKG_CONFIG+:} false; then :
13087 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13090 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13091 if ${XSLT_LIBS:+false} :; then :
13092 if ${PKG_CONFIG+:} false; then :
13093 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13096 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13097 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13098 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13099 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13100 ac_save_CPPFLAGS=$CPPFLAGS
13101 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13102 for ac_header in libxslt/pattern.h libxslt/transform.h
13103 do :
13104 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13105 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13106 # include <libxslt/pattern.h>
13107 #endif
13109 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13110 cat >>confdefs.h <<_ACEOF
13111 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13112 _ACEOF
13116 done
13118 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13119 then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13121 $as_echo_n "checking for -lxslt... " >&6; }
13122 if ${ac_cv_lib_soname_xslt+:} false; then :
13123 $as_echo_n "(cached) " >&6
13124 else
13125 ac_check_soname_save_LIBS=$LIBS
13126 LIBS="-lxslt $XSLT_LIBS $LIBS"
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13133 #ifdef __cplusplus
13134 extern "C"
13135 #endif
13136 char xsltCompilePattern ();
13138 main ()
13140 return xsltCompilePattern ();
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_link "$LINENO"; then :
13146 case "$LIBEXT" in
13147 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13148 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'` ;;
13149 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13150 if ${ac_cv_lib_soname_xslt:+false} :; then :
13151 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13152 fi ;;
13153 esac
13154 else
13155 ac_cv_lib_soname_xslt=
13157 rm -f core conftest.err conftest.$ac_objext \
13158 conftest$ac_exeext conftest.$ac_ext
13159 LIBS=$ac_check_soname_save_LIBS
13161 if ${ac_cv_lib_soname_xslt:+false} :; then :
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13163 $as_echo "not found" >&6; }
13165 else
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13167 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13169 cat >>confdefs.h <<_ACEOF
13170 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13171 _ACEOF
13175 else
13176 XSLT_CFLAGS=""
13178 CPPFLAGS=$ac_save_CPPFLAGS
13181 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13182 case "x$with_xslt" in
13183 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13184 xno) ;;
13185 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13186 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13187 esac
13191 if test "x$with_inotify" != "xno"
13192 then
13193 if ${INOTIFY_CFLAGS:+false} :; then :
13194 if ${PKG_CONFIG+:} false; then :
13195 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13199 if ${INOTIFY_LIBS:+false} :; then :
13200 if ${PKG_CONFIG+:} false; then :
13201 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13206 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13207 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13208 ac_save_CPPFLAGS=$CPPFLAGS
13209 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13210 for ac_header in sys/inotify.h
13211 do :
13212 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13213 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13214 cat >>confdefs.h <<_ACEOF
13215 #define HAVE_SYS_INOTIFY_H 1
13216 _ACEOF
13220 done
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13223 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13224 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13225 $as_echo_n "(cached) " >&6
13226 else
13227 ac_check_lib_save_LIBS=$LIBS
13228 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13230 /* end confdefs.h. */
13232 /* Override any GCC internal prototype to avoid an error.
13233 Use char because int might match the return type of a GCC
13234 builtin and then its argument prototype would still apply. */
13235 #ifdef __cplusplus
13236 extern "C"
13237 #endif
13238 char inotify_add_watch ();
13240 main ()
13242 return inotify_add_watch ();
13244 return 0;
13246 _ACEOF
13247 if ac_fn_c_try_link "$LINENO"; then :
13248 ac_cv_lib_inotify_inotify_add_watch=yes
13249 else
13250 ac_cv_lib_inotify_inotify_add_watch=no
13252 rm -f core conftest.err conftest.$ac_objext \
13253 conftest$ac_exeext conftest.$ac_ext
13254 LIBS=$ac_check_lib_save_LIBS
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13257 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13258 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13260 else
13261 INOTIFY_LIBS=""
13264 CPPFLAGS=$ac_save_CPPFLAGS
13267 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13268 case "x$with_inotify" in
13269 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13270 xno) ;;
13271 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13272 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13273 esac
13277 if test "x$with_dbus" != "xno"
13278 then
13279 if ${DBUS_CFLAGS:+false} :; then :
13280 if ${PKG_CONFIG+:} false; then :
13281 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13285 if ${DBUS_LIBS:+false} :; then :
13286 if ${PKG_CONFIG+:} false; then :
13287 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13292 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13293 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13294 ac_save_CPPFLAGS=$CPPFLAGS
13295 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13296 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13297 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13299 $as_echo_n "checking for -ldbus-1... " >&6; }
13300 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13301 $as_echo_n "(cached) " >&6
13302 else
13303 ac_check_soname_save_LIBS=$LIBS
13304 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13306 /* end confdefs.h. */
13308 /* Override any GCC internal prototype to avoid an error.
13309 Use char because int might match the return type of a GCC
13310 builtin and then its argument prototype would still apply. */
13311 #ifdef __cplusplus
13312 extern "C"
13313 #endif
13314 char dbus_connection_close ();
13316 main ()
13318 return dbus_connection_close ();
13320 return 0;
13322 _ACEOF
13323 if ac_fn_c_try_link "$LINENO"; then :
13324 case "$LIBEXT" in
13325 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13326 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'` ;;
13327 *) 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'`
13328 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13329 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13330 fi ;;
13331 esac
13332 else
13333 ac_cv_lib_soname_dbus_1=
13335 rm -f core conftest.err conftest.$ac_objext \
13336 conftest$ac_exeext conftest.$ac_ext
13337 LIBS=$ac_check_soname_save_LIBS
13339 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13341 $as_echo "not found" >&6; }
13342 DBUS_CFLAGS=""
13343 else
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13345 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13347 cat >>confdefs.h <<_ACEOF
13348 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13349 _ACEOF
13353 else
13354 DBUS_CFLAGS=""
13358 CPPFLAGS=$ac_save_CPPFLAGS
13361 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13362 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13363 case "x$with_dbus" in
13364 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13365 xno) ;;
13366 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13367 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13368 esac
13372 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13373 then
13374 if ${HAL_CFLAGS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13380 if ${HAL_LIBS:+false} :; then :
13381 if ${PKG_CONFIG+:} false; then :
13382 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13386 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13387 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13388 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13389 ac_save_CPPFLAGS=$CPPFLAGS
13390 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13391 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13392 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13394 $as_echo_n "checking for -lhal... " >&6; }
13395 if ${ac_cv_lib_soname_hal+:} false; then :
13396 $as_echo_n "(cached) " >&6
13397 else
13398 ac_check_soname_save_LIBS=$LIBS
13399 LIBS="-lhal $HAL_LIBS $LIBS"
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13406 #ifdef __cplusplus
13407 extern "C"
13408 #endif
13409 char libhal_ctx_new ();
13411 main ()
13413 return libhal_ctx_new ();
13415 return 0;
13417 _ACEOF
13418 if ac_fn_c_try_link "$LINENO"; then :
13419 case "$LIBEXT" in
13420 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13421 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'` ;;
13422 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13423 if ${ac_cv_lib_soname_hal:+false} :; then :
13424 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13425 fi ;;
13426 esac
13427 else
13428 ac_cv_lib_soname_hal=
13430 rm -f core conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13432 LIBS=$ac_check_soname_save_LIBS
13434 if ${ac_cv_lib_soname_hal:+false} :; then :
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13436 $as_echo "not found" >&6; }
13437 HAL_CFLAGS=""
13438 else
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13440 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13442 cat >>confdefs.h <<_ACEOF
13443 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13444 _ACEOF
13448 else
13449 HAL_CFLAGS=""
13453 CPPFLAGS=$ac_save_CPPFLAGS
13455 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13456 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13457 case "x$with_hal" in
13458 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13459 xno) ;;
13460 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13461 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13462 esac
13467 if test "x$with_gnutls" != "xno"
13468 then
13469 if ${GNUTLS_CFLAGS:+false} :; then :
13470 if ${PKG_CONFIG+:} false; then :
13471 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13475 if ${GNUTLS_LIBS:+false} :; then :
13476 if ${PKG_CONFIG+:} false; then :
13477 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13481 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13482 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13483 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13484 ac_save_CPPFLAGS=$CPPFLAGS
13485 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13486 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13487 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13490 #include <gnutls/gnutls.h>
13491 #include <gnutls/crypto.h>
13493 main ()
13495 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13497 return 0;
13499 _ACEOF
13500 if ac_fn_c_try_compile "$LINENO"; then :
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13502 $as_echo_n "checking for -lgnutls... " >&6; }
13503 if ${ac_cv_lib_soname_gnutls+:} false; then :
13504 $as_echo_n "(cached) " >&6
13505 else
13506 ac_check_soname_save_LIBS=$LIBS
13507 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13511 /* Override any GCC internal prototype to avoid an error.
13512 Use char because int might match the return type of a GCC
13513 builtin and then its argument prototype would still apply. */
13514 #ifdef __cplusplus
13515 extern "C"
13516 #endif
13517 char gnutls_global_init ();
13519 main ()
13521 return gnutls_global_init ();
13523 return 0;
13525 _ACEOF
13526 if ac_fn_c_try_link "$LINENO"; then :
13527 case "$LIBEXT" in
13528 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13529 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'` ;;
13530 *) 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'`
13531 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13532 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'`
13533 fi ;;
13534 esac
13535 else
13536 ac_cv_lib_soname_gnutls=
13538 rm -f core conftest.err conftest.$ac_objext \
13539 conftest$ac_exeext conftest.$ac_ext
13540 LIBS=$ac_check_soname_save_LIBS
13542 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13544 $as_echo "not found" >&6; }
13545 GNUTLS_CFLAGS=""
13546 else
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13548 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13550 cat >>confdefs.h <<_ACEOF
13551 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13552 _ACEOF
13556 ac_wine_check_funcs_save_LIBS="$LIBS"
13557 LIBS="$LIBS $GNUTLS_LIBS"
13558 for ac_func in gnutls_cipher_init
13559 do :
13560 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13561 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13562 cat >>confdefs.h <<_ACEOF
13563 #define HAVE_GNUTLS_CIPHER_INIT 1
13564 _ACEOF
13566 else
13567 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13569 done
13571 LIBS="$ac_wine_check_funcs_save_LIBS"
13573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13574 else
13575 GNUTLS_CFLAGS=""
13579 CPPFLAGS=$ac_save_CPPFLAGS
13582 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13583 case "x$with_gnutls" in
13584 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13585 xno) ;;
13586 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13587 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13588 esac
13592 if test "x$with_sane" != "xno"
13593 then
13594 if ${SANE_CFLAGS:+false} :; then :
13595 if ${PKG_CONFIG+:} false; then :
13596 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13599 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13600 if ${SANE_LIBS:+false} :; then :
13601 if ${PKG_CONFIG+:} false; then :
13602 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13605 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13607 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13608 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13609 ac_save_CPPFLAGS=$CPPFLAGS
13610 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13611 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13612 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13614 $as_echo_n "checking for -lsane... " >&6; }
13615 if ${ac_cv_lib_soname_sane+:} false; then :
13616 $as_echo_n "(cached) " >&6
13617 else
13618 ac_check_soname_save_LIBS=$LIBS
13619 LIBS="-lsane $SANE_LIBS $LIBS"
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13623 /* Override any GCC internal prototype to avoid an error.
13624 Use char because int might match the return type of a GCC
13625 builtin and then its argument prototype would still apply. */
13626 #ifdef __cplusplus
13627 extern "C"
13628 #endif
13629 char sane_init ();
13631 main ()
13633 return sane_init ();
13635 return 0;
13637 _ACEOF
13638 if ac_fn_c_try_link "$LINENO"; then :
13639 case "$LIBEXT" in
13640 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13641 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'` ;;
13642 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13643 if ${ac_cv_lib_soname_sane:+false} :; then :
13644 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13645 fi ;;
13646 esac
13647 else
13648 ac_cv_lib_soname_sane=
13650 rm -f core conftest.err conftest.$ac_objext \
13651 conftest$ac_exeext conftest.$ac_ext
13652 LIBS=$ac_check_soname_save_LIBS
13654 if ${ac_cv_lib_soname_sane:+false} :; then :
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13656 $as_echo "not found" >&6; }
13657 SANE_CFLAGS=""
13658 else
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13660 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13662 cat >>confdefs.h <<_ACEOF
13663 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13664 _ACEOF
13668 else
13669 SANE_CFLAGS=""
13673 CPPFLAGS=$ac_save_CPPFLAGS
13676 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13677 case "x$with_sane" in
13678 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13679 xno) ;;
13680 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13681 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13682 esac
13686 if test "x$with_usb" != "xno"
13687 then
13688 if ${USB_CFLAGS:+false} :; then :
13689 if ${PKG_CONFIG+:} false; then :
13690 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13694 if ${USB_LIBS:+false} :; then :
13695 if ${PKG_CONFIG+:} false; then :
13696 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13700 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13701 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13702 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13703 ac_save_CPPFLAGS=$CPPFLAGS
13704 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13705 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13706 if test "x$ac_cv_header_libusb_h" = xyes; then :
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13708 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13709 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13710 $as_echo_n "(cached) " >&6
13711 else
13712 ac_check_lib_save_LIBS=$LIBS
13713 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13715 /* end confdefs.h. */
13717 /* Override any GCC internal prototype to avoid an error.
13718 Use char because int might match the return type of a GCC
13719 builtin and then its argument prototype would still apply. */
13720 #ifdef __cplusplus
13721 extern "C"
13722 #endif
13723 char libusb_interrupt_event_handler ();
13725 main ()
13727 return libusb_interrupt_event_handler ();
13729 return 0;
13731 _ACEOF
13732 if ac_fn_c_try_link "$LINENO"; then :
13733 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13734 else
13735 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13737 rm -f core conftest.err conftest.$ac_objext \
13738 conftest$ac_exeext conftest.$ac_ext
13739 LIBS=$ac_check_lib_save_LIBS
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13742 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13743 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13745 else
13746 USB_LIBS=""
13749 else
13750 USB_LIBS=""
13754 CPPFLAGS=$ac_save_CPPFLAGS
13757 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13758 case "x$with_usb" in
13759 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13760 xno) ;;
13761 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13762 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13763 esac
13764 enable_wineusb_sys=${enable_wineusb_sys:-no}
13767 if test "x$with_v4l2" != "xno"
13768 then
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13770 $as_echo_n "checking for -lv4l2... " >&6; }
13771 if ${ac_cv_lib_soname_v4l2+:} false; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 ac_check_soname_save_LIBS=$LIBS
13775 LIBS="-lv4l2 $LIBS"
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13779 /* Override any GCC internal prototype to avoid an error.
13780 Use char because int might match the return type of a GCC
13781 builtin and then its argument prototype would still apply. */
13782 #ifdef __cplusplus
13783 extern "C"
13784 #endif
13785 char v4l2_open ();
13787 main ()
13789 return v4l2_open ();
13791 return 0;
13793 _ACEOF
13794 if ac_fn_c_try_link "$LINENO"; then :
13795 case "$LIBEXT" in
13796 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13797 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'` ;;
13798 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13799 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13800 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13801 fi ;;
13802 esac
13803 else
13804 ac_cv_lib_soname_v4l2=
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 LIBS=$ac_check_soname_save_LIBS
13810 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13812 $as_echo "not found" >&6; }
13814 else
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13816 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13818 cat >>confdefs.h <<_ACEOF
13819 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13820 _ACEOF
13825 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13826 case "x$with_v4l2" in
13827 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13828 xno) ;;
13829 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13830 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13831 esac
13835 if test "x$with_gphoto" != "xno"
13836 then
13837 if ${GPHOTO2_CFLAGS:+false} :; then :
13838 if ${PKG_CONFIG+:} false; then :
13839 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13842 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13843 if ${GPHOTO2_LIBS:+false} :; then :
13844 if ${PKG_CONFIG+:} false; then :
13845 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13848 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13849 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13850 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13851 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13852 ac_save_CPPFLAGS=$CPPFLAGS
13853 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13854 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13855 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13857 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13858 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13859 $as_echo_n "(cached) " >&6
13860 else
13861 ac_check_lib_save_LIBS=$LIBS
13862 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13864 /* end confdefs.h. */
13866 /* Override any GCC internal prototype to avoid an error.
13867 Use char because int might match the return type of a GCC
13868 builtin and then its argument prototype would still apply. */
13869 #ifdef __cplusplus
13870 extern "C"
13871 #endif
13872 char gp_camera_new ();
13874 main ()
13876 return gp_camera_new ();
13878 return 0;
13880 _ACEOF
13881 if ac_fn_c_try_link "$LINENO"; then :
13882 ac_cv_lib_gphoto2_gp_camera_new=yes
13883 else
13884 ac_cv_lib_gphoto2_gp_camera_new=no
13886 rm -f core conftest.err conftest.$ac_objext \
13887 conftest$ac_exeext conftest.$ac_ext
13888 LIBS=$ac_check_lib_save_LIBS
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13891 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13892 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13894 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13896 else
13897 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13900 else
13901 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13905 CPPFLAGS=$ac_save_CPPFLAGS
13907 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13908 if ${PKG_CONFIG+:} false; then :
13909 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13912 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13913 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13914 if ${PKG_CONFIG+:} false; then :
13915 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13918 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13919 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13920 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13921 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13922 ac_save_CPPFLAGS=$CPPFLAGS
13923 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13924 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13925 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13927 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13928 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13929 $as_echo_n "(cached) " >&6
13930 else
13931 ac_check_lib_save_LIBS=$LIBS
13932 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13934 /* end confdefs.h. */
13936 /* Override any GCC internal prototype to avoid an error.
13937 Use char because int might match the return type of a GCC
13938 builtin and then its argument prototype would still apply. */
13939 #ifdef __cplusplus
13940 extern "C"
13941 #endif
13942 char gp_port_info_list_new ();
13944 main ()
13946 return gp_port_info_list_new ();
13948 return 0;
13950 _ACEOF
13951 if ac_fn_c_try_link "$LINENO"; then :
13952 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13953 else
13954 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13956 rm -f core conftest.err conftest.$ac_objext \
13957 conftest$ac_exeext conftest.$ac_ext
13958 LIBS=$ac_check_lib_save_LIBS
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13961 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13962 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13964 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13966 else
13967 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13970 else
13971 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13975 CPPFLAGS=$ac_save_CPPFLAGS
13978 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13979 case "x$with_gphoto" in
13980 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13981 xno) ;;
13982 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13983 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13984 esac
13987 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13988 case "x$with_gphoto" in
13989 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13990 xno) ;;
13991 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13992 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13993 esac
13998 if test "$ac_cv_header_resolv_h" = "yes"
13999 then
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14001 $as_echo_n "checking for resolver library... " >&6; }
14002 if ${ac_cv_have_resolv+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_save_LIBS="$LIBS"
14006 for lib in '' -lresolv
14008 LIBS="$lib $ac_save_LIBS"
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14011 #ifdef HAVE_NETINET_IN_H
14012 #include <netinet/in.h>
14013 #endif
14014 #include <resolv.h>
14016 main ()
14018 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14020 return 0;
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 ac_cv_have_resolv=${lib:-"none required"}
14025 else
14026 ac_cv_have_resolv="not found"
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 test "x$ac_cv_have_resolv" = "xnot found" || break
14031 done
14032 LIBS="$ac_save_LIBS"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14035 $as_echo "$ac_cv_have_resolv" >&6; }
14037 case "$ac_cv_have_resolv" in
14038 "not found") ;;
14039 "none required")
14041 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14044 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14046 RESOLV_LIBS=$ac_cv_have_resolv
14048 esac
14050 if test "x$ac_cv_have_resolv" != "xnot found"
14051 then
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14053 $as_echo_n "checking for res_getservers... " >&6; }
14054 if ${ac_cv_have_res_getservers+:} false; then :
14055 $as_echo_n "(cached) " >&6
14056 else
14057 ac_save_LIBS="$LIBS"
14058 LIBS="$RESOLV_LIBS $LIBS"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14061 #include <resolv.h>
14063 main ()
14065 res_getservers(NULL, NULL, 0);
14067 return 0;
14069 _ACEOF
14070 if ac_fn_c_try_link "$LINENO"; then :
14071 ac_cv_have_res_getservers=yes
14072 else
14073 ac_cv_have_res_getservers=no
14075 rm -f core conftest.err conftest.$ac_objext \
14076 conftest$ac_exeext conftest.$ac_ext
14077 LIBS="$ac_save_LIBS"
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14080 $as_echo "$ac_cv_have_res_getservers" >&6; }
14081 if test "$ac_cv_have_res_getservers" = "yes"
14082 then
14084 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14090 if test "x$with_cms" != "xno"
14091 then
14092 if ${LCMS2_CFLAGS:+false} :; then :
14093 if ${PKG_CONFIG+:} false; then :
14094 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14098 if ${LCMS2_LIBS:+false} :; then :
14099 if ${PKG_CONFIG+:} false; then :
14100 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14104 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14105 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14106 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14107 ac_save_CPPFLAGS=$CPPFLAGS
14108 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14109 for ac_header in lcms2.h
14110 do :
14111 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14112 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14113 cat >>confdefs.h <<_ACEOF
14114 #define HAVE_LCMS2_H 1
14115 _ACEOF
14119 done
14121 if test "$ac_cv_header_lcms2_h" = "yes"
14122 then
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14124 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14125 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14126 $as_echo_n "(cached) " >&6
14127 else
14128 ac_check_lib_save_LIBS=$LIBS
14129 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14133 /* Override any GCC internal prototype to avoid an error.
14134 Use char because int might match the return type of a GCC
14135 builtin and then its argument prototype would still apply. */
14136 #ifdef __cplusplus
14137 extern "C"
14138 #endif
14139 char cmsOpenProfileFromFile ();
14141 main ()
14143 return cmsOpenProfileFromFile ();
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14150 else
14151 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 LIBS=$ac_check_lib_save_LIBS
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14158 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14159 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14161 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14163 else
14164 LCMS2_LIBS=""
14167 else
14168 LCMS2_CFLAGS=""
14169 LCMS2_LIBS=""
14171 CPPFLAGS=$ac_save_CPPFLAGS
14174 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14175 case "x$with_cms" in
14176 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14177 xno) ;;
14178 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14179 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14180 esac
14184 if test "x$with_freetype" != "xno"
14185 then
14186 if ${FREETYPE_CFLAGS:+false} :; then :
14187 if ${PKG_CONFIG+:} false; then :
14188 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14191 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14192 if ${FREETYPE_LIBS:+false} :; then :
14193 if ${PKG_CONFIG+:} false; then :
14194 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14197 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14198 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14199 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14200 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14201 ac_save_CPPFLAGS=$CPPFLAGS
14202 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14203 for ac_header in ft2build.h
14204 do :
14205 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14206 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14207 cat >>confdefs.h <<_ACEOF
14208 #define HAVE_FT2BUILD_H 1
14209 _ACEOF
14213 done
14215 if test "$ac_cv_header_ft2build_h" = "yes"
14216 then
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14218 $as_echo_n "checking for -lfreetype... " >&6; }
14219 if ${ac_cv_lib_soname_freetype+:} false; then :
14220 $as_echo_n "(cached) " >&6
14221 else
14222 ac_check_soname_save_LIBS=$LIBS
14223 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14227 /* Override any GCC internal prototype to avoid an error.
14228 Use char because int might match the return type of a GCC
14229 builtin and then its argument prototype would still apply. */
14230 #ifdef __cplusplus
14231 extern "C"
14232 #endif
14233 char FT_Init_FreeType ();
14235 main ()
14237 return FT_Init_FreeType ();
14239 return 0;
14241 _ACEOF
14242 if ac_fn_c_try_link "$LINENO"; then :
14243 case "$LIBEXT" in
14244 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14245 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'` ;;
14246 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14247 if ${ac_cv_lib_soname_freetype:+false} :; then :
14248 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14249 fi ;;
14250 esac
14251 else
14252 ac_cv_lib_soname_freetype=
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14256 LIBS=$ac_check_soname_save_LIBS
14258 if ${ac_cv_lib_soname_freetype:+false} :; then :
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14260 $as_echo "not found" >&6; }
14261 FREETYPE_LIBS=""
14262 else
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14264 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14266 cat >>confdefs.h <<_ACEOF
14267 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14268 _ACEOF
14271 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14273 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14274 #include FT_MODULE_H
14276 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14278 cat >>confdefs.h <<_ACEOF
14279 #define HAVE_FT_TRUETYPEENGINETYPE 1
14280 _ACEOF
14286 else
14287 FREETYPE_CFLAGS=""
14288 FREETYPE_LIBS=""
14290 CPPFLAGS=$ac_save_CPPFLAGS
14293 if test "x$ac_cv_lib_soname_freetype" = x; then :
14294 case "x$with_freetype" in
14295 xno) ;;
14296 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14297 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14298 esac
14299 enable_fonts=${enable_fonts:-no}
14302 ac_wine_check_funcs_save_LIBS="$LIBS"
14303 LIBS="$LIBS $PTHREAD_LIBS"
14304 for ac_func in \
14305 pthread_getthreadid_np
14306 do :
14307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14309 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14310 cat >>confdefs.h <<_ACEOF
14311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14312 _ACEOF
14315 done
14317 LIBS="$ac_wine_check_funcs_save_LIBS"
14319 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14320 then
14321 if test "$ac_cv_header_gettext_po_h" = "yes"
14322 then
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14324 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14325 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14326 $as_echo_n "(cached) " >&6
14327 else
14328 ac_check_lib_save_LIBS=$LIBS
14329 LIBS="-lgettextpo $LIBS"
14330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14333 /* Override any GCC internal prototype to avoid an error.
14334 Use char because int might match the return type of a GCC
14335 builtin and then its argument prototype would still apply. */
14336 #ifdef __cplusplus
14337 extern "C"
14338 #endif
14339 char po_message_msgctxt ();
14341 main ()
14343 return po_message_msgctxt ();
14345 return 0;
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14350 else
14351 ac_cv_lib_gettextpo_po_message_msgctxt=no
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 LIBS=$ac_check_lib_save_LIBS
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14358 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14359 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14361 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14363 GETTEXTPO_LIBS="-lgettextpo"
14368 if test "x$GETTEXTPO_LIBS" = "x"; then :
14369 case "x$with_gettextpo" in
14370 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14371 xno) ;;
14372 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14373 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14374 esac
14377 if test "$srcdir" != .; then :
14378 case "x$with_gettextpo" in
14379 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14380 xno) ;;
14381 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14382 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14383 esac
14388 if test "x$with_pulse" != "xno";
14389 then
14390 if ${PULSE_CFLAGS:+false} :; then :
14391 if ${PKG_CONFIG+:} false; then :
14392 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14396 if ${PULSE_LIBS:+false} :; then :
14397 if ${PKG_CONFIG+:} false; then :
14398 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14403 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14404 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14405 ac_save_CPPFLAGS=$CPPFLAGS
14406 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14407 for ac_header in pulse/pulseaudio.h
14408 do :
14409 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14410 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14411 cat >>confdefs.h <<_ACEOF
14412 #define HAVE_PULSE_PULSEAUDIO_H 1
14413 _ACEOF
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14415 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14416 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_check_lib_save_LIBS=$LIBS
14420 LIBS="-lpulse $PULSE_LIBS $LIBS"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14424 /* Override any GCC internal prototype to avoid an error.
14425 Use char because int might match the return type of a GCC
14426 builtin and then its argument prototype would still apply. */
14427 #ifdef __cplusplus
14428 extern "C"
14429 #endif
14430 char pa_stream_is_corked ();
14432 main ()
14434 return pa_stream_is_corked ();
14436 return 0;
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 ac_cv_lib_pulse_pa_stream_is_corked=yes
14441 else
14442 ac_cv_lib_pulse_pa_stream_is_corked=no
14444 rm -f core conftest.err conftest.$ac_objext \
14445 conftest$ac_exeext conftest.$ac_ext
14446 LIBS=$ac_check_lib_save_LIBS
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14449 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14450 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14452 else
14453 PULSE_LIBS=""
14456 else
14457 PULSE_LIBS=""
14460 done
14462 CPPFLAGS=$ac_save_CPPFLAGS
14465 if test -z "$PULSE_LIBS"; then :
14466 case "x$with_pulse" in
14467 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14468 xno) ;;
14469 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14470 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14471 esac
14472 enable_winepulse_drv=${enable_winepulse_drv:-no}
14475 if test "x$with_gstreamer" != "xno"
14476 then
14477 if ${GSTREAMER_CFLAGS:+false} :; then :
14478 if ${PKG_CONFIG+:} false; then :
14479 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14483 if ${GSTREAMER_LIBS:+false} :; then :
14484 if ${PKG_CONFIG+:} false; then :
14485 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14490 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14491 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14492 ac_save_CPPFLAGS=$CPPFLAGS
14493 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14494 ac_gst_incl=""
14495 for i in $GSTREAMER_CFLAGS
14497 case "$i" in
14498 -I*) ac_gst_incl="$ac_gst_incl $i";;
14499 esac
14500 done
14501 GSTREAMER_CFLAGS=$ac_gst_incl
14502 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14503 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14504 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14506 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14509 #include <gst/gst.h>
14511 main ()
14513 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14515 return 0;
14517 _ACEOF
14518 if ac_fn_c_try_compile "$LINENO"; then :
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14520 $as_echo "yes" >&6; }
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14522 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14523 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14524 $as_echo_n "(cached) " >&6
14525 else
14526 ac_check_lib_save_LIBS=$LIBS
14527 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14531 /* Override any GCC internal prototype to avoid an error.
14532 Use char because int might match the return type of a GCC
14533 builtin and then its argument prototype would still apply. */
14534 #ifdef __cplusplus
14535 extern "C"
14536 #endif
14537 char gst_pad_new ();
14539 main ()
14541 return gst_pad_new ();
14543 return 0;
14545 _ACEOF
14546 if ac_fn_c_try_link "$LINENO"; then :
14547 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14548 else
14549 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14551 rm -f core conftest.err conftest.$ac_objext \
14552 conftest$ac_exeext conftest.$ac_ext
14553 LIBS=$ac_check_lib_save_LIBS
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14556 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14557 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14561 else
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14563 $as_echo "no" >&6; }
14564 ac_glib2_broken=yes
14565 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14571 CPPFLAGS=$ac_save_CPPFLAGS
14574 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 :
14575 case "x$with_gstreamer" in
14576 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14577 xno) ;;
14578 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14579 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14580 esac
14583 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14585 ALSA_LIBS=""
14587 if test "x$with_alsa" != "xno"
14588 then
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14590 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14591 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593 else
14594 ac_check_lib_save_LIBS=$LIBS
14595 LIBS="-lasound $LIBS"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14599 /* Override any GCC internal prototype to avoid an error.
14600 Use char because int might match the return type of a GCC
14601 builtin and then its argument prototype would still apply. */
14602 #ifdef __cplusplus
14603 extern "C"
14604 #endif
14605 char snd_pcm_hw_params_get_access_mask ();
14607 main ()
14609 return snd_pcm_hw_params_get_access_mask ();
14611 return 0;
14613 _ACEOF
14614 if ac_fn_c_try_link "$LINENO"; then :
14615 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14616 else
14617 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14619 rm -f core conftest.err conftest.$ac_objext \
14620 conftest$ac_exeext conftest.$ac_ext
14621 LIBS=$ac_check_lib_save_LIBS
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14624 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14625 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14628 #include <alsa/asoundlib.h>
14630 main ()
14632 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14634 return 0;
14636 _ACEOF
14637 if ac_fn_c_try_compile "$LINENO"; then :
14638 ALSA_LIBS="-lasound"
14640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14644 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14646 if test "x$with_oss" != xno
14647 then
14648 ac_save_CPPFLAGS="$CPPFLAGS"
14649 if test -f /etc/oss.conf
14650 then
14651 . /etc/oss.conf
14653 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14654 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14655 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14656 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14657 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14659 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14661 cat >>confdefs.h <<_ACEOF
14662 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14663 _ACEOF
14665 OSS4_CFLAGS="$ac_oss_incl"
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14668 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14669 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14670 $as_echo_n "(cached) " >&6
14671 else
14672 ac_check_lib_save_LIBS=$LIBS
14673 LIBS="-lossaudio $LIBS"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14677 /* Override any GCC internal prototype to avoid an error.
14678 Use char because int might match the return type of a GCC
14679 builtin and then its argument prototype would still apply. */
14680 #ifdef __cplusplus
14681 extern "C"
14682 #endif
14683 char _oss_ioctl ();
14685 main ()
14687 return _oss_ioctl ();
14689 return 0;
14691 _ACEOF
14692 if ac_fn_c_try_link "$LINENO"; then :
14693 ac_cv_lib_ossaudio__oss_ioctl=yes
14694 else
14695 ac_cv_lib_ossaudio__oss_ioctl=no
14697 rm -f core conftest.err conftest.$ac_objext \
14698 conftest$ac_exeext conftest.$ac_ext
14699 LIBS=$ac_check_lib_save_LIBS
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14702 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14703 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14704 OSS4_LIBS="-lossaudio"
14713 CPPFLAGS="$ac_save_CPPFLAGS"
14715 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14716 case "x$with_oss" in
14717 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14718 xno) ;;
14719 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14720 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14721 esac
14722 enable_wineoss_drv=${enable_wineoss_drv:-no}
14725 if test "x$with_udev" != "xno"
14726 then
14727 if ${UDEV_CFLAGS:+false} :; then :
14728 if ${PKG_CONFIG+:} false; then :
14729 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14733 if ${UDEV_LIBS:+false} :; then :
14734 if ${PKG_CONFIG+:} false; then :
14735 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14739 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14740 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14741 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14742 ac_save_CPPFLAGS=$CPPFLAGS
14743 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14744 for ac_header in libudev.h
14745 do :
14746 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14747 if test "x$ac_cv_header_libudev_h" = xyes; then :
14748 cat >>confdefs.h <<_ACEOF
14749 #define HAVE_LIBUDEV_H 1
14750 _ACEOF
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14752 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14753 if ${ac_cv_lib_udev_udev_new+:} false; then :
14754 $as_echo_n "(cached) " >&6
14755 else
14756 ac_check_lib_save_LIBS=$LIBS
14757 LIBS="-ludev $UDEV_LIBS $LIBS"
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14761 /* Override any GCC internal prototype to avoid an error.
14762 Use char because int might match the return type of a GCC
14763 builtin and then its argument prototype would still apply. */
14764 #ifdef __cplusplus
14765 extern "C"
14766 #endif
14767 char udev_new ();
14769 main ()
14771 return udev_new ();
14773 return 0;
14775 _ACEOF
14776 if ac_fn_c_try_link "$LINENO"; then :
14777 ac_cv_lib_udev_udev_new=yes
14778 else
14779 ac_cv_lib_udev_udev_new=no
14781 rm -f core conftest.err conftest.$ac_objext \
14782 conftest$ac_exeext conftest.$ac_ext
14783 LIBS=$ac_check_lib_save_LIBS
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14786 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14787 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14789 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14791 else
14792 UDEV_LIBS=""
14795 else
14796 UDEV_LIBS=""
14799 done
14801 CPPFLAGS=$ac_save_CPPFLAGS
14804 if test "x$UDEV_LIBS" = "x"; then :
14805 case "x$with_udev" in
14806 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14807 xno) ;;
14808 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14809 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14810 esac
14814 if test "x$with_unwind" != xno
14815 then
14816 if ${UNWIND_CFLAGS:+false} :; then :
14817 if ${PKG_CONFIG+:} false; then :
14818 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14822 if ${UNWIND_LIBS:+false} :; then :
14823 if ${PKG_CONFIG+:} false; then :
14824 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14828 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14829 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14830 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14831 ac_save_CPPFLAGS=$CPPFLAGS
14832 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14834 $as_echo_n "checking for unw_step... " >&6; }
14835 if ${wine_cv_have_unw_step+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 /* end confdefs.h. */
14840 #define UNW_LOCAL_ONLY
14841 #include <libunwind.h>
14843 main ()
14845 unw_cursor_t cursor; unw_step( &cursor );
14847 return 0;
14849 _ACEOF
14850 if ac_fn_c_try_link "$LINENO"; then :
14851 wine_cv_have_unw_step="yes"
14852 else
14853 wine_cv_have_unw_step="no"
14855 rm -f core conftest.err conftest.$ac_objext \
14856 conftest$ac_exeext conftest.$ac_ext
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14859 $as_echo "$wine_cv_have_unw_step" >&6; }
14860 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14861 then
14862 save_libs=$LIBS
14863 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14864 LIBS="$UNWIND_LIBS $LIBS"
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14866 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14867 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14868 $as_echo_n "(cached) " >&6
14869 else
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14872 #define UNW_LOCAL_ONLY
14873 #include <libunwind.h>
14875 main ()
14877 unw_cursor_t cursor; unw_step( &cursor );
14879 return 0;
14881 _ACEOF
14882 if ac_fn_c_try_link "$LINENO"; then :
14883 wine_cv_have_libunwind_unw_step="yes"
14884 else
14885 wine_cv_have_libunwind_unw_step="no"
14887 rm -f core conftest.err conftest.$ac_objext \
14888 conftest$ac_exeext conftest.$ac_ext
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14891 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14892 LIBS=$save_libs
14894 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14895 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14896 then
14898 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14901 CPPFLAGS=$ac_save_CPPFLAGS
14904 case $host in
14905 aarch64*|*-darwin*)
14906 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14907 case "x$with_unwind" in
14908 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14909 xno) ;;
14910 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14911 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14912 esac
14914 fi ;;
14915 esac
14917 if test "x$with_sdl" != "xno"
14918 then
14919 if ${SDL2_CFLAGS:+false} :; then :
14920 if ${PKG_CONFIG+:} false; then :
14921 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14925 if ${SDL2_LIBS:+false} :; then :
14926 if ${PKG_CONFIG+:} false; then :
14927 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14931 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14932 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14933 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14934 ac_save_CPPFLAGS=$CPPFLAGS
14935 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14936 for ac_header in SDL.h
14937 do :
14938 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14939 if test "x$ac_cv_header_SDL_h" = xyes; then :
14940 cat >>confdefs.h <<_ACEOF
14941 #define HAVE_SDL_H 1
14942 _ACEOF
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14944 $as_echo_n "checking for -lSDL2... " >&6; }
14945 if ${ac_cv_lib_soname_SDL2+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 ac_check_soname_save_LIBS=$LIBS
14949 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14953 /* Override any GCC internal prototype to avoid an error.
14954 Use char because int might match the return type of a GCC
14955 builtin and then its argument prototype would still apply. */
14956 #ifdef __cplusplus
14957 extern "C"
14958 #endif
14959 char SDL_Init ();
14961 main ()
14963 return SDL_Init ();
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"; then :
14969 case "$LIBEXT" in
14970 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14971 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'` ;;
14972 *) 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'`
14973 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14974 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14975 fi ;;
14976 esac
14977 else
14978 ac_cv_lib_soname_SDL2=
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14982 LIBS=$ac_check_soname_save_LIBS
14984 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14986 $as_echo "not found" >&6; }
14988 else
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14990 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14992 cat >>confdefs.h <<_ACEOF
14993 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14994 _ACEOF
15000 done
15002 CPPFLAGS=$ac_save_CPPFLAGS
15005 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15006 case "x$with_sdl" in
15007 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15008 xno) ;;
15009 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15010 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15011 esac
15015 if test "x$with_faudio" != "xno"
15016 then
15017 if ${FAUDIO_CFLAGS:+false} :; then :
15018 if ${PKG_CONFIG+:} false; then :
15019 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15023 if ${FAUDIO_LIBS:+false} :; then :
15024 if ${PKG_CONFIG+:} false; then :
15025 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15029 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15030 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15031 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15032 ac_save_CPPFLAGS=$CPPFLAGS
15033 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15034 for ac_header in FAudio.h
15035 do :
15036 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15037 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15038 cat >>confdefs.h <<_ACEOF
15039 #define HAVE_FAUDIO_H 1
15040 _ACEOF
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15042 $as_echo_n "checking for -lFAudio... " >&6; }
15043 if ${ac_cv_lib_soname_FAudio+:} false; then :
15044 $as_echo_n "(cached) " >&6
15045 else
15046 ac_check_soname_save_LIBS=$LIBS
15047 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15051 /* Override any GCC internal prototype to avoid an error.
15052 Use char because int might match the return type of a GCC
15053 builtin and then its argument prototype would still apply. */
15054 #ifdef __cplusplus
15055 extern "C"
15056 #endif
15057 char FAudioCreate ();
15059 main ()
15061 return FAudioCreate ();
15063 return 0;
15065 _ACEOF
15066 if ac_fn_c_try_link "$LINENO"; then :
15067 case "$LIBEXT" in
15068 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15069 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'` ;;
15070 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15071 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15072 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15073 fi ;;
15074 esac
15075 else
15076 ac_cv_lib_soname_FAudio=
15078 rm -f core conftest.err conftest.$ac_objext \
15079 conftest$ac_exeext conftest.$ac_ext
15080 LIBS=$ac_check_soname_save_LIBS
15082 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15084 $as_echo "not found" >&6; }
15086 else
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15088 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15090 cat >>confdefs.h <<_ACEOF
15091 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15092 _ACEOF
15098 done
15100 ac_wine_check_funcs_save_LIBS="$LIBS"
15101 LIBS="$LIBS $FAUDIO_LIBS"
15102 for ac_func in FAudio_CommitOperationSet \
15103 F3DAudioInitialize8 \
15104 FAudioLinkedVersion \
15105 FAudioCreateReverb9WithCustomAllocatorEXT
15106 do :
15107 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15109 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15110 cat >>confdefs.h <<_ACEOF
15111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15112 _ACEOF
15115 done
15117 LIBS="$ac_wine_check_funcs_save_LIBS"
15119 CPPFLAGS=$ac_save_CPPFLAGS
15122 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15123 case "x$with_faudio" in
15124 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15125 xno) ;;
15126 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15127 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15128 esac
15132 if test "x$with_capi" != "xno"
15133 then
15134 if ${CAPI20_CFLAGS:+false} :; then :
15135 if ${PKG_CONFIG+:} false; then :
15136 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15140 if ${CAPI20_LIBS:+false} :; then :
15141 if ${PKG_CONFIG+:} false; then :
15142 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15147 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15148 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15149 ac_save_CPPFLAGS=$CPPFLAGS
15150 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15151 for ac_header in capi20.h linux/capi.h
15152 do :
15153 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15154 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15156 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15157 cat >>confdefs.h <<_ACEOF
15158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15159 _ACEOF
15163 done
15165 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15166 then
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15168 $as_echo_n "checking for -lcapi20... " >&6; }
15169 if ${ac_cv_lib_soname_capi20+:} false; then :
15170 $as_echo_n "(cached) " >&6
15171 else
15172 ac_check_soname_save_LIBS=$LIBS
15173 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h. */
15177 /* Override any GCC internal prototype to avoid an error.
15178 Use char because int might match the return type of a GCC
15179 builtin and then its argument prototype would still apply. */
15180 #ifdef __cplusplus
15181 extern "C"
15182 #endif
15183 char capi20_register ();
15185 main ()
15187 return capi20_register ();
15189 return 0;
15191 _ACEOF
15192 if ac_fn_c_try_link "$LINENO"; then :
15193 case "$LIBEXT" in
15194 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15195 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'` ;;
15196 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15197 if ${ac_cv_lib_soname_capi20:+false} :; then :
15198 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15199 fi ;;
15200 esac
15201 else
15202 ac_cv_lib_soname_capi20=
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LIBS=$ac_check_soname_save_LIBS
15208 if ${ac_cv_lib_soname_capi20:+false} :; then :
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15210 $as_echo "not found" >&6; }
15212 else
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15214 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15216 cat >>confdefs.h <<_ACEOF
15217 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15218 _ACEOF
15223 CPPFLAGS=$ac_save_CPPFLAGS
15226 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15227 case "x$with_capi" in
15228 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15229 xno) ;;
15230 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15231 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15232 esac
15236 if test "x$with_cups" != "xno"
15237 then
15238 if ${CUPS_CFLAGS:+false} :; then :
15239 if ${PKG_CONFIG+:} false; then :
15240 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15243 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15244 if ${CUPS_LIBS:+false} :; then :
15245 if ${PKG_CONFIG+:} false; then :
15246 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15249 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15250 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15251 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15252 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15253 ac_save_CPPFLAGS=$CPPFLAGS
15254 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15255 for ac_header in cups/cups.h cups/ppd.h
15256 do :
15257 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15258 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15259 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15260 cat >>confdefs.h <<_ACEOF
15261 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15262 _ACEOF
15266 done
15268 if test "$ac_cv_header_cups_cups_h" = "yes"
15269 then
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15271 $as_echo_n "checking for -lcups... " >&6; }
15272 if ${ac_cv_lib_soname_cups+:} false; then :
15273 $as_echo_n "(cached) " >&6
15274 else
15275 ac_check_soname_save_LIBS=$LIBS
15276 LIBS="-lcups $CUPS_LIBS $LIBS"
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15280 /* Override any GCC internal prototype to avoid an error.
15281 Use char because int might match the return type of a GCC
15282 builtin and then its argument prototype would still apply. */
15283 #ifdef __cplusplus
15284 extern "C"
15285 #endif
15286 char cupsGetDefault ();
15288 main ()
15290 return cupsGetDefault ();
15292 return 0;
15294 _ACEOF
15295 if ac_fn_c_try_link "$LINENO"; then :
15296 case "$LIBEXT" in
15297 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15298 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'` ;;
15299 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15300 if ${ac_cv_lib_soname_cups:+false} :; then :
15301 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15302 fi ;;
15303 esac
15304 else
15305 ac_cv_lib_soname_cups=
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext conftest.$ac_ext
15309 LIBS=$ac_check_soname_save_LIBS
15311 if ${ac_cv_lib_soname_cups:+false} :; then :
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15313 $as_echo "not found" >&6; }
15314 CUPS_LIBS=""
15315 else
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15317 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15319 cat >>confdefs.h <<_ACEOF
15320 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15321 _ACEOF
15325 else
15326 CUPS_CFLAGS=""
15327 CUPS_LIBS=""
15329 CPPFLAGS=$ac_save_CPPFLAGS
15332 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15333 case "x$with_cups" in
15334 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15335 xno) ;;
15336 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15337 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15338 esac
15342 if test "x$with_fontconfig" != "xno"
15343 then
15344 if ${FONTCONFIG_CFLAGS:+false} :; then :
15345 if ${PKG_CONFIG+:} false; then :
15346 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15349 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15350 if ${FONTCONFIG_LIBS:+false} :; then :
15351 if ${PKG_CONFIG+:} false; then :
15352 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15355 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15357 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15358 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15359 ac_save_CPPFLAGS=$CPPFLAGS
15360 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15361 for ac_header in fontconfig/fontconfig.h
15362 do :
15363 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15364 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15365 cat >>confdefs.h <<_ACEOF
15366 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15367 _ACEOF
15371 done
15373 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15374 then
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15376 $as_echo_n "checking for -lfontconfig... " >&6; }
15377 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15378 $as_echo_n "(cached) " >&6
15379 else
15380 ac_check_soname_save_LIBS=$LIBS
15381 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15385 /* Override any GCC internal prototype to avoid an error.
15386 Use char because int might match the return type of a GCC
15387 builtin and then its argument prototype would still apply. */
15388 #ifdef __cplusplus
15389 extern "C"
15390 #endif
15391 char FcInit ();
15393 main ()
15395 return FcInit ();
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"; then :
15401 case "$LIBEXT" in
15402 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15403 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'` ;;
15404 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15405 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15406 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15407 fi ;;
15408 esac
15409 else
15410 ac_cv_lib_soname_fontconfig=
15412 rm -f core conftest.err conftest.$ac_objext \
15413 conftest$ac_exeext conftest.$ac_ext
15414 LIBS=$ac_check_soname_save_LIBS
15416 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15418 $as_echo "not found" >&6; }
15419 FONTCONFIG_CFLAGS=""
15420 else
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15422 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15424 cat >>confdefs.h <<_ACEOF
15425 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15426 _ACEOF
15430 else
15431 FONTCONFIG_CFLAGS=""
15433 CPPFLAGS=$ac_save_CPPFLAGS
15436 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15437 case "x$with_fontconfig" in
15438 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15439 xno) ;;
15440 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15441 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15442 esac
15446 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15447 then
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15449 $as_echo_n "checking for -lgsm... " >&6; }
15450 if ${ac_cv_lib_soname_gsm+:} false; then :
15451 $as_echo_n "(cached) " >&6
15452 else
15453 ac_check_soname_save_LIBS=$LIBS
15454 LIBS="-lgsm $LIBS"
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15458 /* Override any GCC internal prototype to avoid an error.
15459 Use char because int might match the return type of a GCC
15460 builtin and then its argument prototype would still apply. */
15461 #ifdef __cplusplus
15462 extern "C"
15463 #endif
15464 char gsm_create ();
15466 main ()
15468 return gsm_create ();
15470 return 0;
15472 _ACEOF
15473 if ac_fn_c_try_link "$LINENO"; then :
15474 case "$LIBEXT" in
15475 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15476 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'` ;;
15477 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15478 if ${ac_cv_lib_soname_gsm:+false} :; then :
15479 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15480 fi ;;
15481 esac
15482 else
15483 ac_cv_lib_soname_gsm=
15485 rm -f core conftest.err conftest.$ac_objext \
15486 conftest$ac_exeext conftest.$ac_ext
15487 LIBS=$ac_check_soname_save_LIBS
15489 if ${ac_cv_lib_soname_gsm:+false} :; then :
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15491 $as_echo "not found" >&6; }
15493 else
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15495 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15497 cat >>confdefs.h <<_ACEOF
15498 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15499 _ACEOF
15504 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15505 case "x$with_gsm" in
15506 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15507 xno) ;;
15508 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15509 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15510 esac
15514 if test "x$with_krb5" != "xno"
15515 then
15516 if ${KRB5_CFLAGS:+false} :; then :
15517 if ${PKG_CONFIG+:} false; then :
15518 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15521 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15522 if ${KRB5_LIBS:+false} :; then :
15523 if ${PKG_CONFIG+:} false; then :
15524 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15527 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15529 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15530 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15531 ac_save_CPPFLAGS=$CPPFLAGS
15532 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15533 for ac_header in krb5/krb5.h
15534 do :
15535 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15536 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15537 cat >>confdefs.h <<_ACEOF
15538 #define HAVE_KRB5_KRB5_H 1
15539 _ACEOF
15543 done
15545 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15546 then
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15548 $as_echo_n "checking for -lkrb5... " >&6; }
15549 if ${ac_cv_lib_soname_krb5+:} false; then :
15550 $as_echo_n "(cached) " >&6
15551 else
15552 ac_check_soname_save_LIBS=$LIBS
15553 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15557 /* Override any GCC internal prototype to avoid an error.
15558 Use char because int might match the return type of a GCC
15559 builtin and then its argument prototype would still apply. */
15560 #ifdef __cplusplus
15561 extern "C"
15562 #endif
15563 char krb5_is_config_principal ();
15565 main ()
15567 return krb5_is_config_principal ();
15569 return 0;
15571 _ACEOF
15572 if ac_fn_c_try_link "$LINENO"; then :
15573 case "$LIBEXT" in
15574 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15575 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'` ;;
15576 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15577 if ${ac_cv_lib_soname_krb5:+false} :; then :
15578 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15579 fi ;;
15580 esac
15581 else
15582 ac_cv_lib_soname_krb5=
15584 rm -f core conftest.err conftest.$ac_objext \
15585 conftest$ac_exeext conftest.$ac_ext
15586 LIBS=$ac_check_soname_save_LIBS
15588 if ${ac_cv_lib_soname_krb5:+false} :; then :
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15590 $as_echo "not found" >&6; }
15591 KRB5_CFLAGS=""
15592 else
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15594 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15596 cat >>confdefs.h <<_ACEOF
15597 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15598 _ACEOF
15602 else
15603 KRB5_CFLAGS=""
15605 CPPFLAGS=$ac_save_CPPFLAGS
15608 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15609 case "x$with_krb5" in
15610 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15611 xno) ;;
15612 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15613 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15614 esac
15617 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15619 if test "x$with_gssapi" != "xno"
15620 then
15621 if ${GSSAPI_CFLAGS:+false} :; then :
15622 if ${PKG_CONFIG+:} false; then :
15623 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15626 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15627 if ${GSSAPI_LIBS:+false} :; then :
15628 if ${PKG_CONFIG+:} false; then :
15629 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15632 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15634 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15635 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15636 ac_save_CPPFLAGS=$CPPFLAGS
15637 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15638 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15639 do :
15640 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15641 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15642 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15643 cat >>confdefs.h <<_ACEOF
15644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15645 _ACEOF
15649 done
15651 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15652 then
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15654 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15655 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15656 $as_echo_n "(cached) " >&6
15657 else
15658 ac_check_soname_save_LIBS=$LIBS
15659 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15661 /* end confdefs.h. */
15663 /* Override any GCC internal prototype to avoid an error.
15664 Use char because int might match the return type of a GCC
15665 builtin and then its argument prototype would still apply. */
15666 #ifdef __cplusplus
15667 extern "C"
15668 #endif
15669 char gss_init_sec_context ();
15671 main ()
15673 return gss_init_sec_context ();
15675 return 0;
15677 _ACEOF
15678 if ac_fn_c_try_link "$LINENO"; then :
15679 case "$LIBEXT" in
15680 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15681 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'` ;;
15682 *) 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'`
15683 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15684 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15685 fi ;;
15686 esac
15687 else
15688 ac_cv_lib_soname_gssapi_krb5=
15690 rm -f core conftest.err conftest.$ac_objext \
15691 conftest$ac_exeext conftest.$ac_ext
15692 LIBS=$ac_check_soname_save_LIBS
15694 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15696 $as_echo "not found" >&6; }
15697 GSSAPI_CFLAGS=""
15698 else
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15700 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15702 cat >>confdefs.h <<_ACEOF
15703 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15704 _ACEOF
15708 else
15709 GSSAPI_CFLAGS=""
15711 CPPFLAGS=$ac_save_CPPFLAGS
15714 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15715 case "x$with_gssapi" in
15716 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15717 xno) ;;
15718 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15719 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15720 esac
15724 if test "x$with_jpeg" != "xno"
15725 then
15726 if ${JPEG_CFLAGS:+false} :; then :
15727 if ${PKG_CONFIG+:} false; then :
15728 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15732 if ${JPEG_LIBS:+false} :; then :
15733 if ${PKG_CONFIG+:} false; then :
15734 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15739 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15740 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15741 ac_save_CPPFLAGS=$CPPFLAGS
15742 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15743 for ac_header in jpeglib.h
15744 do :
15745 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15746 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15747 cat >>confdefs.h <<_ACEOF
15748 #define HAVE_JPEGLIB_H 1
15749 _ACEOF
15753 done
15755 if test "$ac_cv_header_jpeglib_h" = "yes"
15756 then
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15758 $as_echo_n "checking for -ljpeg... " >&6; }
15759 if ${ac_cv_lib_soname_jpeg+:} false; then :
15760 $as_echo_n "(cached) " >&6
15761 else
15762 ac_check_soname_save_LIBS=$LIBS
15763 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15770 #ifdef __cplusplus
15771 extern "C"
15772 #endif
15773 char jpeg_start_decompress ();
15775 main ()
15777 return jpeg_start_decompress ();
15779 return 0;
15781 _ACEOF
15782 if ac_fn_c_try_link "$LINENO"; then :
15783 case "$LIBEXT" in
15784 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15785 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'` ;;
15786 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15787 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15788 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15789 fi ;;
15790 esac
15791 else
15792 ac_cv_lib_soname_jpeg=
15794 rm -f core conftest.err conftest.$ac_objext \
15795 conftest$ac_exeext conftest.$ac_ext
15796 LIBS=$ac_check_soname_save_LIBS
15798 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15800 $as_echo "not found" >&6; }
15801 JPEG_CFLAGS=""
15802 else
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15804 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15806 cat >>confdefs.h <<_ACEOF
15807 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15808 _ACEOF
15812 else
15813 JPEG_CFLAGS=""
15815 CPPFLAGS=$ac_save_CPPFLAGS
15818 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15819 case "x$with_jpeg" in
15820 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15821 xno) ;;
15822 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15823 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15824 esac
15828 if test "x$with_png" != "xno"
15829 then
15830 if ${PNG_CFLAGS:+false} :; then :
15831 if ${PKG_CONFIG+:} false; then :
15832 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15835 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15836 if ${PNG_LIBS:+false} :; then :
15837 if ${PKG_CONFIG+:} false; then :
15838 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15841 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15843 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15844 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15845 ac_save_CPPFLAGS=$CPPFLAGS
15846 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15847 for ac_header in png.h
15848 do :
15849 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15850 if test "x$ac_cv_header_png_h" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_PNG_H 1
15853 _ACEOF
15857 done
15859 if test "$ac_cv_header_png_h" = "yes"
15860 then
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15862 $as_echo_n "checking for -lpng... " >&6; }
15863 if ${ac_cv_lib_soname_png+:} false; then :
15864 $as_echo_n "(cached) " >&6
15865 else
15866 ac_check_soname_save_LIBS=$LIBS
15867 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15871 /* Override any GCC internal prototype to avoid an error.
15872 Use char because int might match the return type of a GCC
15873 builtin and then its argument prototype would still apply. */
15874 #ifdef __cplusplus
15875 extern "C"
15876 #endif
15877 char png_create_read_struct ();
15879 main ()
15881 return png_create_read_struct ();
15883 return 0;
15885 _ACEOF
15886 if ac_fn_c_try_link "$LINENO"; then :
15887 case "$LIBEXT" in
15888 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15889 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'` ;;
15890 *) 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'`
15891 if ${ac_cv_lib_soname_png:+false} :; then :
15892 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15893 fi ;;
15894 esac
15895 else
15896 ac_cv_lib_soname_png=
15898 rm -f core conftest.err conftest.$ac_objext \
15899 conftest$ac_exeext conftest.$ac_ext
15900 LIBS=$ac_check_soname_save_LIBS
15902 if ${ac_cv_lib_soname_png:+false} :; then :
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15904 $as_echo "not found" >&6; }
15905 PNG_CFLAGS=""
15906 else
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15908 $as_echo "$ac_cv_lib_soname_png" >&6; }
15910 cat >>confdefs.h <<_ACEOF
15911 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15912 _ACEOF
15916 else
15917 PNG_CFLAGS=""
15919 CPPFLAGS=$ac_save_CPPFLAGS
15922 if test "x$ac_cv_lib_soname_png" = "x"; then :
15923 case "x$with_png" in
15924 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15925 xno) ;;
15926 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15927 This is an error since --with-png was requested." "$LINENO" 5 ;;
15928 esac
15932 if test "x$with_tiff" != "xno"
15933 then
15934 if ${TIFF_CFLAGS:+false} :; then :
15935 if ${PKG_CONFIG+:} false; then :
15936 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15940 if ${TIFF_LIBS:+false} :; then :
15941 if ${PKG_CONFIG+:} false; then :
15942 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15947 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15948 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15949 ac_save_CPPFLAGS=$CPPFLAGS
15950 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15951 for ac_header in tiffio.h
15952 do :
15953 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15954 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_TIFFIO_H 1
15957 _ACEOF
15961 done
15963 if test "$ac_cv_header_tiffio_h" = "yes"
15964 then
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15966 $as_echo_n "checking for -ltiff... " >&6; }
15967 if ${ac_cv_lib_soname_tiff+:} false; then :
15968 $as_echo_n "(cached) " >&6
15969 else
15970 ac_check_soname_save_LIBS=$LIBS
15971 LIBS="-ltiff $TIFF_LIBS $LIBS"
15972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15973 /* end confdefs.h. */
15975 /* Override any GCC internal prototype to avoid an error.
15976 Use char because int might match the return type of a GCC
15977 builtin and then its argument prototype would still apply. */
15978 #ifdef __cplusplus
15979 extern "C"
15980 #endif
15981 char TIFFClientOpen ();
15983 main ()
15985 return TIFFClientOpen ();
15987 return 0;
15989 _ACEOF
15990 if ac_fn_c_try_link "$LINENO"; then :
15991 case "$LIBEXT" in
15992 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15993 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'` ;;
15994 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15995 if ${ac_cv_lib_soname_tiff:+false} :; then :
15996 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15997 fi ;;
15998 esac
15999 else
16000 ac_cv_lib_soname_tiff=
16002 rm -f core conftest.err conftest.$ac_objext \
16003 conftest$ac_exeext conftest.$ac_ext
16004 LIBS=$ac_check_soname_save_LIBS
16006 if ${ac_cv_lib_soname_tiff:+false} :; then :
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16008 $as_echo "not found" >&6; }
16010 else
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16012 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16014 cat >>confdefs.h <<_ACEOF
16015 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16016 _ACEOF
16021 CPPFLAGS=$ac_save_CPPFLAGS
16024 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16025 case "x$with_tiff" in
16026 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16027 xno) ;;
16028 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16029 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16030 esac
16034 if test "x$with_mpg123" != "xno"
16035 then
16036 if ${MPG123_CFLAGS:+false} :; then :
16037 if ${PKG_CONFIG+:} false; then :
16038 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16042 if ${MPG123_LIBS:+false} :; then :
16043 if ${PKG_CONFIG+:} false; then :
16044 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16048 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16049 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16050 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16051 ac_save_CPPFLAGS=$CPPFLAGS
16052 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16053 for ac_header in mpg123.h
16054 do :
16055 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16056 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_MPG123_H 1
16059 _ACEOF
16063 done
16065 if test "$ac_cv_header_mpg123_h" = "yes"
16066 then
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16068 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16069 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16070 $as_echo_n "(cached) " >&6
16071 else
16072 ac_check_lib_save_LIBS=$LIBS
16073 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16077 /* Override any GCC internal prototype to avoid an error.
16078 Use char because int might match the return type of a GCC
16079 builtin and then its argument prototype would still apply. */
16080 #ifdef __cplusplus
16081 extern "C"
16082 #endif
16083 char mpg123_feed ();
16085 main ()
16087 return mpg123_feed ();
16089 return 0;
16091 _ACEOF
16092 if ac_fn_c_try_link "$LINENO"; then :
16093 ac_cv_lib_mpg123_mpg123_feed=yes
16094 else
16095 ac_cv_lib_mpg123_mpg123_feed=no
16097 rm -f core conftest.err conftest.$ac_objext \
16098 conftest$ac_exeext conftest.$ac_ext
16099 LIBS=$ac_check_lib_save_LIBS
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16102 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16103 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16105 else
16106 MPG123_LIBS=""
16109 else
16110 MPG123_CFLAGS=""
16111 MPG123_LIBS=""
16113 CPPFLAGS=$ac_save_CPPFLAGS
16116 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16117 case "x$with_mpg123" in
16118 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16119 xno) ;;
16120 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16121 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16122 esac
16123 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16125 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16127 if test "$ac_cv_header_AL_al_h" = "yes"
16128 then
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16130 $as_echo_n "checking for -lopenal... " >&6; }
16131 if ${ac_cv_lib_soname_openal+:} false; then :
16132 $as_echo_n "(cached) " >&6
16133 else
16134 ac_check_soname_save_LIBS=$LIBS
16135 LIBS="-lopenal $LIBS"
16136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16137 /* end confdefs.h. */
16139 /* Override any GCC internal prototype to avoid an error.
16140 Use char because int might match the return type of a GCC
16141 builtin and then its argument prototype would still apply. */
16142 #ifdef __cplusplus
16143 extern "C"
16144 #endif
16145 char alGetSource3i ();
16147 main ()
16149 return alGetSource3i ();
16151 return 0;
16153 _ACEOF
16154 if ac_fn_c_try_link "$LINENO"; then :
16155 case "$LIBEXT" in
16156 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16157 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'` ;;
16158 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16159 if ${ac_cv_lib_soname_openal:+false} :; then :
16160 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16161 fi ;;
16162 esac
16163 else
16164 ac_cv_lib_soname_openal=
16166 rm -f core conftest.err conftest.$ac_objext \
16167 conftest$ac_exeext conftest.$ac_ext
16168 LIBS=$ac_check_soname_save_LIBS
16170 if ${ac_cv_lib_soname_openal:+false} :; then :
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16172 $as_echo "not found" >&6; }
16174 else
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16176 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16178 cat >>confdefs.h <<_ACEOF
16179 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16180 _ACEOF
16182 OPENAL_LIBS="-lopenal"
16184 ac_cv_lib_openal=yes
16186 cat >>confdefs.h <<_ACEOF
16187 #define HAVE_OPENAL 1
16188 _ACEOF
16192 if test "x$ac_cv_lib_openal" != xyes; then :
16193 case "x$with_openal" in
16194 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16195 xno) ;;
16196 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16197 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16198 esac
16199 enable_openal32=${enable_openal32:-no}
16202 if test "x$ac_cv_lib_soname_FAudio" = "x"
16203 then
16204 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16205 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16206 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16207 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16208 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16209 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16210 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16211 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16212 enable_xactengine3_0=${enable_xactengine3_0:-no}
16213 enable_xactengine3_1=${enable_xactengine3_1:-no}
16214 enable_xactengine3_2=${enable_xactengine3_2:-no}
16215 enable_xactengine3_3=${enable_xactengine3_3:-no}
16216 enable_xactengine3_4=${enable_xactengine3_4:-no}
16217 enable_xactengine3_5=${enable_xactengine3_5:-no}
16218 enable_xactengine3_6=${enable_xactengine3_6:-no}
16219 enable_xactengine3_7=${enable_xactengine3_7:-no}
16220 enable_xapofx1_1=${enable_xapofx1_1:-no}
16221 enable_xapofx1_2=${enable_xapofx1_2:-no}
16222 enable_xapofx1_3=${enable_xapofx1_3:-no}
16223 enable_xapofx1_4=${enable_xapofx1_4:-no}
16224 enable_xapofx1_5=${enable_xapofx1_5:-no}
16225 enable_xaudio2_0=${enable_xaudio2_0:-no}
16226 enable_xaudio2_1=${enable_xaudio2_1:-no}
16227 enable_xaudio2_2=${enable_xaudio2_2:-no}
16228 enable_xaudio2_3=${enable_xaudio2_3:-no}
16229 enable_xaudio2_4=${enable_xaudio2_4:-no}
16230 enable_xaudio2_5=${enable_xaudio2_5:-no}
16231 enable_xaudio2_6=${enable_xaudio2_6:-no}
16232 enable_xaudio2_7=${enable_xaudio2_7:-no}
16233 enable_xaudio2_8=${enable_xaudio2_8:-no}
16234 enable_xaudio2_9=${enable_xaudio2_9:-no}
16237 if test "$ac_cv_header_kstat_h" = "yes"
16238 then
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16240 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16241 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16242 $as_echo_n "(cached) " >&6
16243 else
16244 ac_check_lib_save_LIBS=$LIBS
16245 LIBS="-lkstat $LIBS"
16246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 /* end confdefs.h. */
16249 /* Override any GCC internal prototype to avoid an error.
16250 Use char because int might match the return type of a GCC
16251 builtin and then its argument prototype would still apply. */
16252 #ifdef __cplusplus
16253 extern "C"
16254 #endif
16255 char kstat_open ();
16257 main ()
16259 return kstat_open ();
16261 return 0;
16263 _ACEOF
16264 if ac_fn_c_try_link "$LINENO"; then :
16265 ac_cv_lib_kstat_kstat_open=yes
16266 else
16267 ac_cv_lib_kstat_kstat_open=no
16269 rm -f core conftest.err conftest.$ac_objext \
16270 conftest$ac_exeext conftest.$ac_ext
16271 LIBS=$ac_check_lib_save_LIBS
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16274 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16275 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16277 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16279 KSTAT_LIBS="-lkstat"
16285 if test "$ac_cv_header_libprocstat_h" = "yes"
16286 then
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16288 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16289 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16290 $as_echo_n "(cached) " >&6
16291 else
16292 ac_check_lib_save_LIBS=$LIBS
16293 LIBS="-lprocstat $LIBS"
16294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16295 /* end confdefs.h. */
16297 /* Override any GCC internal prototype to avoid an error.
16298 Use char because int might match the return type of a GCC
16299 builtin and then its argument prototype would still apply. */
16300 #ifdef __cplusplus
16301 extern "C"
16302 #endif
16303 char procstat_open_sysctl ();
16305 main ()
16307 return procstat_open_sysctl ();
16309 return 0;
16311 _ACEOF
16312 if ac_fn_c_try_link "$LINENO"; then :
16313 ac_cv_lib_procstat_procstat_open_sysctl=yes
16314 else
16315 ac_cv_lib_procstat_procstat_open_sysctl=no
16317 rm -f core conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16319 LIBS=$ac_check_lib_save_LIBS
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16322 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16323 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16325 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16327 PROCSTAT_LIBS="-lprocstat"
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16334 $as_echo_n "checking for -lodbc... " >&6; }
16335 if ${ac_cv_lib_soname_odbc+:} false; then :
16336 $as_echo_n "(cached) " >&6
16337 else
16338 ac_check_soname_save_LIBS=$LIBS
16339 LIBS="-lodbc $LIBS"
16340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16341 /* end confdefs.h. */
16343 /* Override any GCC internal prototype to avoid an error.
16344 Use char because int might match the return type of a GCC
16345 builtin and then its argument prototype would still apply. */
16346 #ifdef __cplusplus
16347 extern "C"
16348 #endif
16349 char SQLConnect ();
16351 main ()
16353 return SQLConnect ();
16355 return 0;
16357 _ACEOF
16358 if ac_fn_c_try_link "$LINENO"; then :
16359 case "$LIBEXT" in
16360 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16361 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'` ;;
16362 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16363 if ${ac_cv_lib_soname_odbc:+false} :; then :
16364 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16365 fi ;;
16366 esac
16367 else
16368 ac_cv_lib_soname_odbc=
16370 rm -f core conftest.err conftest.$ac_objext \
16371 conftest$ac_exeext conftest.$ac_ext
16372 LIBS=$ac_check_soname_save_LIBS
16374 if ${ac_cv_lib_soname_odbc:+false} :; then :
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16376 $as_echo "not found" >&6; }
16377 cat >>confdefs.h <<_ACEOF
16378 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16379 _ACEOF
16381 else
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16383 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16385 cat >>confdefs.h <<_ACEOF
16386 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16387 _ACEOF
16392 if test "x$with_netapi" != "xno"
16393 then
16394 if ${NETAPI_CFLAGS:+false} :; then :
16395 if ${PKG_CONFIG+:} false; then :
16396 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16400 if ${NETAPI_LIBS:+false} :; then :
16401 if ${PKG_CONFIG+:} false; then :
16402 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16407 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16408 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16409 ac_save_CPPFLAGS=$CPPFLAGS
16410 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16412 $as_echo_n "checking for -lnetapi... " >&6; }
16413 if ${ac_cv_lib_soname_netapi+:} false; then :
16414 $as_echo_n "(cached) " >&6
16415 else
16416 ac_check_soname_save_LIBS=$LIBS
16417 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16424 #ifdef __cplusplus
16425 extern "C"
16426 #endif
16427 char libnetapi_init ();
16429 main ()
16431 return libnetapi_init ();
16433 return 0;
16435 _ACEOF
16436 if ac_fn_c_try_link "$LINENO"; then :
16437 case "$LIBEXT" in
16438 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16439 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'` ;;
16440 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16441 if ${ac_cv_lib_soname_netapi:+false} :; then :
16442 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16443 fi ;;
16444 esac
16445 else
16446 ac_cv_lib_soname_netapi=
16448 rm -f core conftest.err conftest.$ac_objext \
16449 conftest$ac_exeext conftest.$ac_ext
16450 LIBS=$ac_check_soname_save_LIBS
16452 if ${ac_cv_lib_soname_netapi:+false} :; then :
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16454 $as_echo "not found" >&6; }
16455 cat >>confdefs.h <<_ACEOF
16456 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16457 _ACEOF
16459 else
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16461 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16463 cat >>confdefs.h <<_ACEOF
16464 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16465 _ACEOF
16469 CPPFLAGS=$ac_save_CPPFLAGS
16473 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16474 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16475 then
16476 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16479 if test "x$with_vulkan" != "xno"
16480 then
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16482 $as_echo_n "checking for -lvulkan... " >&6; }
16483 if ${ac_cv_lib_soname_vulkan+:} false; then :
16484 $as_echo_n "(cached) " >&6
16485 else
16486 ac_check_soname_save_LIBS=$LIBS
16487 LIBS="-lvulkan $LIBS"
16488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16491 /* Override any GCC internal prototype to avoid an error.
16492 Use char because int might match the return type of a GCC
16493 builtin and then its argument prototype would still apply. */
16494 #ifdef __cplusplus
16495 extern "C"
16496 #endif
16497 char vkGetInstanceProcAddr ();
16499 main ()
16501 return vkGetInstanceProcAddr ();
16503 return 0;
16505 _ACEOF
16506 if ac_fn_c_try_link "$LINENO"; then :
16507 case "$LIBEXT" in
16508 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16509 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'` ;;
16510 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16511 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16512 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16513 fi ;;
16514 esac
16515 else
16516 ac_cv_lib_soname_vulkan=
16518 rm -f core conftest.err conftest.$ac_objext \
16519 conftest$ac_exeext conftest.$ac_ext
16520 LIBS=$ac_check_soname_save_LIBS
16522 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16524 $as_echo "not found" >&6; }
16526 else
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16528 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16530 cat >>confdefs.h <<_ACEOF
16531 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16532 _ACEOF
16536 if test "x$ac_cv_lib_soname_vulkan" = "x"
16537 then
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16539 $as_echo_n "checking for -lMoltenVK... " >&6; }
16540 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16541 $as_echo_n "(cached) " >&6
16542 else
16543 ac_check_soname_save_LIBS=$LIBS
16544 LIBS="-lMoltenVK $LIBS"
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16548 /* Override any GCC internal prototype to avoid an error.
16549 Use char because int might match the return type of a GCC
16550 builtin and then its argument prototype would still apply. */
16551 #ifdef __cplusplus
16552 extern "C"
16553 #endif
16554 char vkGetInstanceProcAddr ();
16556 main ()
16558 return vkGetInstanceProcAddr ();
16560 return 0;
16562 _ACEOF
16563 if ac_fn_c_try_link "$LINENO"; then :
16564 case "$LIBEXT" in
16565 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16566 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'` ;;
16567 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16568 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16569 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16570 fi ;;
16571 esac
16572 else
16573 ac_cv_lib_soname_MoltenVK=
16575 rm -f core conftest.err conftest.$ac_objext \
16576 conftest$ac_exeext conftest.$ac_ext
16577 LIBS=$ac_check_soname_save_LIBS
16579 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16581 $as_echo "not found" >&6; }
16583 else
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16585 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16587 cat >>confdefs.h <<_ACEOF
16588 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16589 _ACEOF
16595 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16596 case "x$with_vulkan" in
16597 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16598 xno) ;;
16599 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16600 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16601 esac
16605 if test "x$with_vkd3d" != "xno"
16606 then
16607 if ${VKD3D_CFLAGS:+false} :; then :
16608 if ${PKG_CONFIG+:} false; then :
16609 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16613 if ${VKD3D_LIBS:+false} :; then :
16614 if ${PKG_CONFIG+:} false; then :
16615 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16620 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16621 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16622 ac_save_CPPFLAGS=$CPPFLAGS
16623 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16625 $as_echo_n "checking for -lvkd3d... " >&6; }
16626 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16627 $as_echo_n "(cached) " >&6
16628 else
16629 ac_check_soname_save_LIBS=$LIBS
16630 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16634 /* Override any GCC internal prototype to avoid an error.
16635 Use char because int might match the return type of a GCC
16636 builtin and then its argument prototype would still apply. */
16637 #ifdef __cplusplus
16638 extern "C"
16639 #endif
16640 char vkd3d_get_dxgi_format ();
16642 main ()
16644 return vkd3d_get_dxgi_format ();
16646 return 0;
16648 _ACEOF
16649 if ac_fn_c_try_link "$LINENO"; then :
16650 case "$LIBEXT" in
16651 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16652 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'` ;;
16653 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16654 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16655 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16656 fi ;;
16657 esac
16658 else
16659 ac_cv_lib_soname_vkd3d=
16661 rm -f core conftest.err conftest.$ac_objext \
16662 conftest$ac_exeext conftest.$ac_ext
16663 LIBS=$ac_check_soname_save_LIBS
16665 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16667 $as_echo "not found" >&6; }
16669 else
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16671 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16673 cat >>confdefs.h <<_ACEOF
16674 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16675 _ACEOF
16679 CPPFLAGS=$ac_save_CPPFLAGS
16681 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16682 if ${PKG_CONFIG+:} false; then :
16683 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16687 if ${VKD3D_SHADER_LIBS:+false} :; then :
16688 if ${PKG_CONFIG+:} false; then :
16689 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16694 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16695 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16696 ac_save_CPPFLAGS=$CPPFLAGS
16697 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16699 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16700 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16701 $as_echo_n "(cached) " >&6
16702 else
16703 ac_check_soname_save_LIBS=$LIBS
16704 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16708 /* Override any GCC internal prototype to avoid an error.
16709 Use char because int might match the return type of a GCC
16710 builtin and then its argument prototype would still apply. */
16711 #ifdef __cplusplus
16712 extern "C"
16713 #endif
16714 char vkd3d_shader_compile ();
16716 main ()
16718 return vkd3d_shader_compile ();
16720 return 0;
16722 _ACEOF
16723 if ac_fn_c_try_link "$LINENO"; then :
16724 case "$LIBEXT" in
16725 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16726 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'` ;;
16727 *) 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'`
16728 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16729 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16730 fi ;;
16731 esac
16732 else
16733 ac_cv_lib_soname_vkd3d_shader=
16735 rm -f core conftest.err conftest.$ac_objext \
16736 conftest$ac_exeext conftest.$ac_ext
16737 LIBS=$ac_check_soname_save_LIBS
16739 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16741 $as_echo "not found" >&6; }
16743 else
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16745 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16747 cat >>confdefs.h <<_ACEOF
16748 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16749 _ACEOF
16753 CPPFLAGS=$ac_save_CPPFLAGS
16756 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16757 case "x$with_vkd3d" in
16758 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16759 xno) ;;
16760 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16761 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16762 esac
16765 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16768 EXTRACFLAGS=""
16770 if test "x${GCC}" = "xyes"
16771 then
16772 EXTRACFLAGS="-Wall -pipe"
16774 saved_CFLAGS=$CFLAGS
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16776 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16777 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780 ac_wine_try_cflags_saved=$CFLAGS
16781 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h. */
16784 int main(int argc, char **argv) { return 0; }
16785 _ACEOF
16786 if ac_fn_c_try_link "$LINENO"; then :
16787 ac_cv_cflags__Werror_unknown_warning_option=yes
16788 else
16789 ac_cv_cflags__Werror_unknown_warning_option=no
16791 rm -f core conftest.err conftest.$ac_objext \
16792 conftest$ac_exeext conftest.$ac_ext
16793 CFLAGS=$ac_wine_try_cflags_saved
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16796 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16797 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16798 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16801 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16802 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16803 $as_echo_n "(cached) " >&6
16804 else
16805 ac_wine_try_cflags_saved=$CFLAGS
16806 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16809 int main(int argc, char **argv) { return 0; }
16810 _ACEOF
16811 if ac_fn_c_try_link "$LINENO"; then :
16812 ac_cv_cflags__Werror_unused_command_line_argument=yes
16813 else
16814 ac_cv_cflags__Werror_unused_command_line_argument=no
16816 rm -f core conftest.err conftest.$ac_objext \
16817 conftest$ac_exeext conftest.$ac_ext
16818 CFLAGS=$ac_wine_try_cflags_saved
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16821 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16822 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16823 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16826 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16827 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 ac_wine_try_cflags_saved=$CFLAGS
16831 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16834 int main(int argc, char **argv) { return 0; }
16835 _ACEOF
16836 if ac_fn_c_try_link "$LINENO"; then :
16837 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16838 else
16839 ac_cv_cflags__Werror_ignored_optimization_argument=no
16841 rm -f core conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext conftest.$ac_ext
16843 CFLAGS=$ac_wine_try_cflags_saved
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16846 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16847 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16848 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16851 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16852 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16853 $as_echo_n "(cached) " >&6
16854 else
16855 ac_wine_try_cflags_saved=$CFLAGS
16856 CFLAGS="$CFLAGS -fcf-protection=none"
16857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16858 /* end confdefs.h. */
16859 int main(int argc, char **argv) { return 0; }
16860 _ACEOF
16861 if ac_fn_c_try_link "$LINENO"; then :
16862 ac_cv_cflags__fcf_protection_none=yes
16863 else
16864 ac_cv_cflags__fcf_protection_none=no
16866 rm -f core conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext conftest.$ac_ext
16868 CFLAGS=$ac_wine_try_cflags_saved
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16871 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16872 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16873 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16876 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16877 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16878 $as_echo_n "(cached) " >&6
16879 else
16880 ac_wine_try_cflags_saved=$CFLAGS
16881 CFLAGS="$CFLAGS -fno-stack-protector"
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 int main(int argc, char **argv) { return 0; }
16885 _ACEOF
16886 if ac_fn_c_try_link "$LINENO"; then :
16887 ac_cv_cflags__fno_stack_protector=yes
16888 else
16889 ac_cv_cflags__fno_stack_protector=no
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16893 CFLAGS=$ac_wine_try_cflags_saved
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16896 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16897 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16898 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16901 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16902 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16903 $as_echo_n "(cached) " >&6
16904 else
16905 ac_wine_try_cflags_saved=$CFLAGS
16906 CFLAGS="$CFLAGS -fno-strict-aliasing"
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16909 int main(int argc, char **argv) { return 0; }
16910 _ACEOF
16911 if ac_fn_c_try_link "$LINENO"; then :
16912 ac_cv_cflags__fno_strict_aliasing=yes
16913 else
16914 ac_cv_cflags__fno_strict_aliasing=no
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext conftest.$ac_ext
16918 CFLAGS=$ac_wine_try_cflags_saved
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16921 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16922 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16923 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16926 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16927 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16928 $as_echo_n "(cached) " >&6
16929 else
16930 ac_wine_try_cflags_saved=$CFLAGS
16931 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16934 int main(int argc, char **argv) { return 0; }
16935 _ACEOF
16936 if ac_fn_c_try_link "$LINENO"; then :
16937 ac_cv_cflags__Wdeclaration_after_statement=yes
16938 else
16939 ac_cv_cflags__Wdeclaration_after_statement=no
16941 rm -f core conftest.err conftest.$ac_objext \
16942 conftest$ac_exeext conftest.$ac_ext
16943 CFLAGS=$ac_wine_try_cflags_saved
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16946 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16947 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16948 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16951 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16952 if ${ac_cv_cflags__Wempty_body+:} false; then :
16953 $as_echo_n "(cached) " >&6
16954 else
16955 ac_wine_try_cflags_saved=$CFLAGS
16956 CFLAGS="$CFLAGS -Wempty-body"
16957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16958 /* end confdefs.h. */
16959 int main(int argc, char **argv) { return 0; }
16960 _ACEOF
16961 if ac_fn_c_try_link "$LINENO"; then :
16962 ac_cv_cflags__Wempty_body=yes
16963 else
16964 ac_cv_cflags__Wempty_body=no
16966 rm -f core conftest.err conftest.$ac_objext \
16967 conftest$ac_exeext conftest.$ac_ext
16968 CFLAGS=$ac_wine_try_cflags_saved
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16971 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16972 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16973 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16976 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16977 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980 ac_wine_try_cflags_saved=$CFLAGS
16981 CFLAGS="$CFLAGS -Wignored-qualifiers"
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 int main(int argc, char **argv) { return 0; }
16985 _ACEOF
16986 if ac_fn_c_try_link "$LINENO"; then :
16987 ac_cv_cflags__Wignored_qualifiers=yes
16988 else
16989 ac_cv_cflags__Wignored_qualifiers=no
16991 rm -f core conftest.err conftest.$ac_objext \
16992 conftest$ac_exeext conftest.$ac_ext
16993 CFLAGS=$ac_wine_try_cflags_saved
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16996 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16997 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16998 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17001 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17002 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 ac_wine_try_cflags_saved=$CFLAGS
17006 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 int main(int argc, char **argv) { return 0; }
17010 _ACEOF
17011 if ac_fn_c_try_link "$LINENO"; then :
17012 ac_cv_cflags__Wpacked_not_aligned=yes
17013 else
17014 ac_cv_cflags__Wpacked_not_aligned=no
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17018 CFLAGS=$ac_wine_try_cflags_saved
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17021 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17022 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17023 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17026 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17027 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17030 ac_wine_try_cflags_saved=$CFLAGS
17031 CFLAGS="$CFLAGS -Wpragma-pack"
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17034 int main(int argc, char **argv) { return 0; }
17035 _ACEOF
17036 if ac_fn_c_try_link "$LINENO"; then :
17037 ac_cv_cflags__Wpragma_pack=yes
17038 else
17039 ac_cv_cflags__Wpragma_pack=no
17041 rm -f core conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17043 CFLAGS=$ac_wine_try_cflags_saved
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17046 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17047 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17048 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17051 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17052 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17055 ac_wine_try_cflags_saved=$CFLAGS
17056 CFLAGS="$CFLAGS -Wshift-overflow=2"
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 int main(int argc, char **argv) { return 0; }
17060 _ACEOF
17061 if ac_fn_c_try_link "$LINENO"; then :
17062 ac_cv_cflags__Wshift_overflow_2=yes
17063 else
17064 ac_cv_cflags__Wshift_overflow_2=no
17066 rm -f core conftest.err conftest.$ac_objext \
17067 conftest$ac_exeext conftest.$ac_ext
17068 CFLAGS=$ac_wine_try_cflags_saved
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17071 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17072 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17073 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17076 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17077 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 ac_wine_try_cflags_saved=$CFLAGS
17081 CFLAGS="$CFLAGS -Wstrict-prototypes"
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 int main(int argc, char **argv) { return 0; }
17085 _ACEOF
17086 if ac_fn_c_try_link "$LINENO"; then :
17087 ac_cv_cflags__Wstrict_prototypes=yes
17088 else
17089 ac_cv_cflags__Wstrict_prototypes=no
17091 rm -f core conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17093 CFLAGS=$ac_wine_try_cflags_saved
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17096 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17097 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17098 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17101 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17102 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 ac_wine_try_cflags_saved=$CFLAGS
17106 CFLAGS="$CFLAGS -Wtype-limits"
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 int main(int argc, char **argv) { return 0; }
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_cflags__Wtype_limits=yes
17113 else
17114 ac_cv_cflags__Wtype_limits=no
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 CFLAGS=$ac_wine_try_cflags_saved
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17121 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17122 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17123 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17126 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17127 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 ac_wine_try_cflags_saved=$CFLAGS
17131 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 int main(int argc, char **argv) { return 0; }
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"; then :
17137 ac_cv_cflags__Wunused_but_set_parameter=yes
17138 else
17139 ac_cv_cflags__Wunused_but_set_parameter=no
17141 rm -f core conftest.err conftest.$ac_objext \
17142 conftest$ac_exeext conftest.$ac_ext
17143 CFLAGS=$ac_wine_try_cflags_saved
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17146 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17147 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17148 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17151 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17152 if ${ac_cv_cflags__Wvla+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 ac_wine_try_cflags_saved=$CFLAGS
17156 CFLAGS="$CFLAGS -Wvla"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 int main(int argc, char **argv) { return 0; }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_cflags__Wvla=yes
17163 else
17164 ac_cv_cflags__Wvla=no
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17168 CFLAGS=$ac_wine_try_cflags_saved
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17171 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17172 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17173 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17176 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17177 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 ac_wine_try_cflags_saved=$CFLAGS
17181 CFLAGS="$CFLAGS -Wwrite-strings"
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 int main(int argc, char **argv) { return 0; }
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 ac_cv_cflags__Wwrite_strings=yes
17188 else
17189 ac_cv_cflags__Wwrite_strings=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17193 CFLAGS=$ac_wine_try_cflags_saved
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17196 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17197 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17198 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17201 if test -z "$CROSSTARGET"
17202 then
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17204 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17205 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17206 $as_echo_n "(cached) " >&6
17207 else
17208 ac_wine_try_cflags_saved=$CFLAGS
17209 CFLAGS="$CFLAGS -fexcess-precision=standard"
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 int main(int argc, char **argv) { return 0; }
17213 _ACEOF
17214 if ac_fn_c_try_link "$LINENO"; then :
17215 ac_cv_cflags__fexcess_precision_standard=yes
17216 else
17217 ac_cv_cflags__fexcess_precision_standard=no
17219 rm -f core conftest.err conftest.$ac_objext \
17220 conftest$ac_exeext conftest.$ac_ext
17221 CFLAGS=$ac_wine_try_cflags_saved
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17224 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17225 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17226 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17232 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17233 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17236 ac_wine_try_cflags_saved=$CFLAGS
17237 CFLAGS="$CFLAGS -Wpointer-arith"
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17240 int main(int argc, char **argv) { return 0; }
17241 _ACEOF
17242 if ac_fn_c_try_link "$LINENO"; then :
17243 ac_cv_cflags__Wpointer_arith=yes
17244 else
17245 ac_cv_cflags__Wpointer_arith=no
17247 rm -f core conftest.err conftest.$ac_objext \
17248 conftest$ac_exeext conftest.$ac_ext
17249 CFLAGS=$ac_wine_try_cflags_saved
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17252 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17253 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17254 saved_string_h_CFLAGS=$CFLAGS
17255 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17257 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17258 if ${ac_cv_c_string_h_warnings+:} false; then :
17259 $as_echo_n "(cached) " >&6
17260 else
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17263 #include <string.h>
17265 main ()
17269 return 0;
17271 _ACEOF
17272 if ac_fn_c_try_compile "$LINENO"; then :
17273 ac_cv_c_string_h_warnings=no
17274 else
17275 ac_cv_c_string_h_warnings=yes
17277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17280 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17281 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17282 CFLAGS=$saved_string_h_CFLAGS
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17286 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17287 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17288 $as_echo_n "(cached) " >&6
17289 else
17290 ac_wine_try_cflags_saved=$CFLAGS
17291 CFLAGS="$CFLAGS -Wlogical-op"
17292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17293 /* end confdefs.h. */
17294 int main(int argc, char **argv) { return 0; }
17295 _ACEOF
17296 if ac_fn_c_try_link "$LINENO"; then :
17297 ac_cv_cflags__Wlogical_op=yes
17298 else
17299 ac_cv_cflags__Wlogical_op=no
17301 rm -f core conftest.err conftest.$ac_objext \
17302 conftest$ac_exeext conftest.$ac_ext
17303 CFLAGS=$ac_wine_try_cflags_saved
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17306 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17307 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17308 saved_string_h_CFLAGS=$CFLAGS
17309 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17311 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17312 if ${ac_cv_c_logicalop_noisy+:} false; then :
17313 $as_echo_n "(cached) " >&6
17314 else
17315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17316 /* end confdefs.h. */
17317 #include <string.h>
17318 char*f(const char *h,char n) {return strchr(h,n);}
17320 main ()
17324 return 0;
17326 _ACEOF
17327 if ac_fn_c_try_compile "$LINENO"; then :
17328 ac_cv_c_logicalop_noisy=no
17329 else
17330 ac_cv_c_logicalop_noisy=yes
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17335 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17336 CFLAGS=$saved_string_h_CFLAGS
17337 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17341 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17342 if ${wine_cv_64bit_compare_swap+:} false; then :
17343 $as_echo_n "(cached) " >&6
17344 else
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17348 #error no
17349 #endif
17351 main ()
17355 return 0;
17357 _ACEOF
17358 if ac_fn_c_try_compile "$LINENO"; then :
17359 wine_cv_64bit_compare_swap="none needed"
17360 else
17361 case $host_cpu in
17362 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17363 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17364 *) wine_cv_64bit_compare_swap="unknown" ;;
17365 esac
17366 if test "x$wine_cv_64bit_compare_swap" != xunknown
17367 then
17368 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17372 #error no
17373 #endif
17375 main ()
17379 return 0;
17381 _ACEOF
17382 if ac_fn_c_try_compile "$LINENO"; then :
17384 else
17385 wine_cv_64bit_compare_swap="unknown"
17387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17388 CFLAGS=$saved_CFLAGS
17391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17394 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17395 case "$wine_cv_64bit_compare_swap" in
17396 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17397 "none needed") ;;
17398 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17399 esac
17401 for ac_flag in $CFLAGS; do
17402 case $ac_flag in
17403 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17404 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17405 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17406 $as_echo_n "(cached) " >&6
17407 else
17408 ac_wine_try_cflags_saved=$CFLAGS
17409 CFLAGS="$CFLAGS -gdwarf-2"
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 int main(int argc, char **argv) { return 0; }
17413 _ACEOF
17414 if ac_fn_c_try_link "$LINENO"; then :
17415 ac_cv_cflags__gdwarf_2=yes
17416 else
17417 ac_cv_cflags__gdwarf_2=no
17419 rm -f core conftest.err conftest.$ac_objext \
17420 conftest$ac_exeext conftest.$ac_ext
17421 CFLAGS=$ac_wine_try_cflags_saved
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17424 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17425 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17426 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17429 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17430 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17431 $as_echo_n "(cached) " >&6
17432 else
17433 ac_wine_try_cflags_saved=$CFLAGS
17434 CFLAGS="$CFLAGS -gstrict-dwarf"
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 int main(int argc, char **argv) { return 0; }
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"; then :
17440 ac_cv_cflags__gstrict_dwarf=yes
17441 else
17442 ac_cv_cflags__gstrict_dwarf=no
17444 rm -f core conftest.err conftest.$ac_objext \
17445 conftest$ac_exeext conftest.$ac_ext
17446 CFLAGS=$ac_wine_try_cflags_saved
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17449 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17450 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17451 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17452 fi ;;
17453 esac
17454 done
17456 MSVCRTFLAGS=""
17458 case $host_os in
17459 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17460 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17461 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17462 $as_echo_n "(cached) " >&6
17463 else
17464 ac_wine_try_cflags_saved=$CFLAGS
17465 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17468 int main(int argc, char **argv) { return 0; }
17469 _ACEOF
17470 if ac_fn_c_try_link "$LINENO"; then :
17471 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17472 else
17473 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17475 rm -f core conftest.err conftest.$ac_objext \
17476 conftest$ac_exeext conftest.$ac_ext
17477 CFLAGS=$ac_wine_try_cflags_saved
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17480 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17481 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17482 DELAYLOADFLAG="-Wl,-delayload,"
17484 fi ;;
17485 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17486 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17487 if ${ac_cv_cflags__fno_builtin+:} false; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17490 ac_wine_try_cflags_saved=$CFLAGS
17491 CFLAGS="$CFLAGS -fno-builtin"
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 int main(int argc, char **argv) { return 0; }
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 ac_cv_cflags__fno_builtin=yes
17498 else
17499 ac_cv_cflags__fno_builtin=no
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17503 CFLAGS=$ac_wine_try_cflags_saved
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17506 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17507 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17508 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17511 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17512 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17513 $as_echo_n "(cached) " >&6
17514 else
17515 ac_wine_try_cflags_saved=$CFLAGS
17516 CFLAGS="$CFLAGS -fshort-wchar"
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17519 int main(int argc, char **argv) { return 0; }
17520 _ACEOF
17521 if ac_fn_c_try_link "$LINENO"; then :
17522 ac_cv_cflags__fshort_wchar=yes
17523 else
17524 ac_cv_cflags__fshort_wchar=no
17526 rm -f core conftest.err conftest.$ac_objext \
17527 conftest$ac_exeext conftest.$ac_ext
17528 CFLAGS=$ac_wine_try_cflags_saved
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17531 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17532 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17533 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17534 fi ;;
17535 esac
17537 case $host_cpu in
17538 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17539 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17540 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 ac_wine_try_cflags_saved=$CFLAGS
17544 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 int main(int argc, char **argv) { return 0; }
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 ac_cv_cflags__fno_omit_frame_pointer=yes
17551 else
17552 ac_cv_cflags__fno_omit_frame_pointer=no
17554 rm -f core conftest.err conftest.$ac_objext \
17555 conftest$ac_exeext conftest.$ac_ext
17556 CFLAGS=$ac_wine_try_cflags_saved
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17559 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17560 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17561 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17562 fi ;;
17563 *x86_64*)
17564 case $host_os in
17565 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17566 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17567 if ${ac_cv_cflags__Wno_format+:} false; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17570 ac_wine_try_cflags_saved=$CFLAGS
17571 CFLAGS="$CFLAGS -Wno-format"
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17574 int main(int argc, char **argv) { return 0; }
17575 _ACEOF
17576 if ac_fn_c_try_link "$LINENO"; then :
17577 ac_cv_cflags__Wno_format=yes
17578 else
17579 ac_cv_cflags__Wno_format=no
17581 rm -f core conftest.err conftest.$ac_objext \
17582 conftest$ac_exeext conftest.$ac_ext
17583 CFLAGS=$ac_wine_try_cflags_saved
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17586 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17587 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17588 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17589 fi ;;
17590 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17591 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17592 if ${ac_cv_cflags__mabi_ms+:} false; then :
17593 $as_echo_n "(cached) " >&6
17594 else
17595 ac_wine_try_cflags_saved=$CFLAGS
17596 CFLAGS="$CFLAGS -mabi=ms"
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17599 int main(int argc, char **argv) { return 0; }
17600 _ACEOF
17601 if ac_fn_c_try_link "$LINENO"; then :
17602 ac_cv_cflags__mabi_ms=yes
17603 else
17604 ac_cv_cflags__mabi_ms=no
17606 rm -f core conftest.err conftest.$ac_objext \
17607 conftest$ac_exeext conftest.$ac_ext
17608 CFLAGS=$ac_wine_try_cflags_saved
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17611 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17612 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17613 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17614 fi ;;
17615 esac ;;
17616 esac
17618 CFLAGS=$saved_CFLAGS
17620 if test "x$enable_werror" = "xyes"
17621 then
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17623 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17624 if ${ac_cv_cflags__Werror+:} false; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627 ac_wine_try_cflags_saved=$CFLAGS
17628 CFLAGS="$CFLAGS -Werror"
17629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630 /* end confdefs.h. */
17631 int main(int argc, char **argv) { return 0; }
17632 _ACEOF
17633 if ac_fn_c_try_link "$LINENO"; then :
17634 ac_cv_cflags__Werror=yes
17635 else
17636 ac_cv_cflags__Werror=no
17638 rm -f core conftest.err conftest.$ac_objext \
17639 conftest$ac_exeext conftest.$ac_ext
17640 CFLAGS=$ac_wine_try_cflags_saved
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17643 $as_echo "$ac_cv_cflags__Werror" >&6; }
17644 if test "x$ac_cv_cflags__Werror" = xyes; then :
17645 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17652 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17653 if ${ac_cv_c_fortify_enabled+:} false; then :
17654 $as_echo_n "(cached) " >&6
17655 else
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <string.h>
17660 main ()
17662 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17663 #error Fortify enabled
17664 #endif
17666 return 0;
17668 _ACEOF
17669 if ac_fn_c_try_compile "$LINENO"; then :
17670 ac_cv_c_fortify_enabled=no
17671 else
17672 ac_cv_c_fortify_enabled=yes
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17677 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17678 if test "$ac_cv_c_fortify_enabled" = yes
17679 then
17680 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17685 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17686 if ${ac_cv_c_cfi_support+:} false; then :
17687 $as_echo_n "(cached) " >&6
17688 else
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h. */
17691 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17693 main ()
17697 return 0;
17699 _ACEOF
17700 if ac_fn_c_try_compile "$LINENO"; then :
17701 ac_cv_c_cfi_support="yes"
17702 else
17703 ac_cv_c_cfi_support="no"
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17708 $as_echo "$ac_cv_c_cfi_support" >&6; }
17709 if test "$ac_cv_c_cfi_support" = "yes"
17710 then
17711 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17712 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17713 else
17714 if test "x$enable_win64" = "xyes"
17715 then
17716 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17721 case $build_os in
17722 cygwin*|mingw32*) TOOLSEXT=".exe"
17724 esac
17726 case $host_os in
17727 linux*)
17728 case $host_cpu in
17729 *i[3456789]86*|x86_64*|*aarch64*)
17730 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17731 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17733 esac
17735 esac
17738 ac_save_CFLAGS="$CFLAGS"
17739 CFLAGS="$CFLAGS $BUILTINFLAG"
17740 for ac_func in \
17741 __res_get_state \
17742 __res_getservers \
17743 _spawnvp \
17744 epoll_create \
17745 fnmatch \
17746 fork \
17747 fstatfs \
17748 futimens \
17749 futimes \
17750 futimesat \
17751 getattrlist \
17752 getauxval \
17753 getifaddrs \
17754 getopt_long_only \
17755 getrandom \
17756 kqueue \
17757 lstat \
17758 mach_continuous_time \
17759 pipe2 \
17760 poll \
17761 port_create \
17762 prctl \
17763 pread \
17764 proc_pidinfo \
17765 pwrite \
17766 readlink \
17767 sched_yield \
17768 setproctitle \
17769 setprogname \
17770 sigprocmask \
17771 symlink \
17772 tcdrain \
17773 thr_kill2
17775 do :
17776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17778 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17779 cat >>confdefs.h <<_ACEOF
17780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17781 _ACEOF
17784 done
17786 CFLAGS="$ac_save_CFLAGS"
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17789 $as_echo_n "checking for library containing dlopen... " >&6; }
17790 if ${ac_cv_search_dlopen+:} false; then :
17791 $as_echo_n "(cached) " >&6
17792 else
17793 ac_func_search_save_LIBS=$LIBS
17794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17797 /* Override any GCC internal prototype to avoid an error.
17798 Use char because int might match the return type of a GCC
17799 builtin and then its argument prototype would still apply. */
17800 #ifdef __cplusplus
17801 extern "C"
17802 #endif
17803 char dlopen ();
17805 main ()
17807 return dlopen ();
17809 return 0;
17811 _ACEOF
17812 for ac_lib in '' dl; do
17813 if test -z "$ac_lib"; then
17814 ac_res="none required"
17815 else
17816 ac_res=-l$ac_lib
17817 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17819 if ac_fn_c_try_link "$LINENO"; then :
17820 ac_cv_search_dlopen=$ac_res
17822 rm -f core conftest.err conftest.$ac_objext \
17823 conftest$ac_exeext
17824 if ${ac_cv_search_dlopen+:} false; then :
17825 break
17827 done
17828 if ${ac_cv_search_dlopen+:} false; then :
17830 else
17831 ac_cv_search_dlopen=no
17833 rm conftest.$ac_ext
17834 LIBS=$ac_func_search_save_LIBS
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17837 $as_echo "$ac_cv_search_dlopen" >&6; }
17838 ac_res=$ac_cv_search_dlopen
17839 if test "$ac_res" != no; then :
17840 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17844 ac_wine_check_funcs_save_LIBS="$LIBS"
17845 LIBS="$LIBS $DL_LIBS"
17846 for ac_func in dladdr dlinfo
17847 do :
17848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17850 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17851 cat >>confdefs.h <<_ACEOF
17852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17853 _ACEOF
17856 done
17858 LIBS="$ac_wine_check_funcs_save_LIBS"
17860 if test "$ac_cv_func_poll" = no
17861 then
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17863 $as_echo_n "checking for poll in -lpoll... " >&6; }
17864 if ${ac_cv_lib_poll_poll+:} false; then :
17865 $as_echo_n "(cached) " >&6
17866 else
17867 ac_check_lib_save_LIBS=$LIBS
17868 LIBS="-lpoll $LIBS"
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17872 /* Override any GCC internal prototype to avoid an error.
17873 Use char because int might match the return type of a GCC
17874 builtin and then its argument prototype would still apply. */
17875 #ifdef __cplusplus
17876 extern "C"
17877 #endif
17878 char poll ();
17880 main ()
17882 return poll ();
17884 return 0;
17886 _ACEOF
17887 if ac_fn_c_try_link "$LINENO"; then :
17888 ac_cv_lib_poll_poll=yes
17889 else
17890 ac_cv_lib_poll_poll=no
17892 rm -f core conftest.err conftest.$ac_objext \
17893 conftest$ac_exeext conftest.$ac_ext
17894 LIBS=$ac_check_lib_save_LIBS
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17897 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17898 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17899 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17900 POLL_LIBS="-lpoll"
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17907 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17908 if ${ac_cv_search_gethostbyname+:} false; then :
17909 $as_echo_n "(cached) " >&6
17910 else
17911 ac_func_search_save_LIBS=$LIBS
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17915 /* Override any GCC internal prototype to avoid an error.
17916 Use char because int might match the return type of a GCC
17917 builtin and then its argument prototype would still apply. */
17918 #ifdef __cplusplus
17919 extern "C"
17920 #endif
17921 char gethostbyname ();
17923 main ()
17925 return gethostbyname ();
17927 return 0;
17929 _ACEOF
17930 for ac_lib in '' nsl; do
17931 if test -z "$ac_lib"; then
17932 ac_res="none required"
17933 else
17934 ac_res=-l$ac_lib
17935 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17937 if ac_fn_c_try_link "$LINENO"; then :
17938 ac_cv_search_gethostbyname=$ac_res
17940 rm -f core conftest.err conftest.$ac_objext \
17941 conftest$ac_exeext
17942 if ${ac_cv_search_gethostbyname+:} false; then :
17943 break
17945 done
17946 if ${ac_cv_search_gethostbyname+:} false; then :
17948 else
17949 ac_cv_search_gethostbyname=no
17951 rm conftest.$ac_ext
17952 LIBS=$ac_func_search_save_LIBS
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17955 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17956 ac_res=$ac_cv_search_gethostbyname
17957 if test "$ac_res" != no; then :
17958 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17964 $as_echo_n "checking for library containing connect... " >&6; }
17965 if ${ac_cv_search_connect+:} false; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17968 ac_func_search_save_LIBS=$LIBS
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17972 /* Override any GCC internal prototype to avoid an error.
17973 Use char because int might match the return type of a GCC
17974 builtin and then its argument prototype would still apply. */
17975 #ifdef __cplusplus
17976 extern "C"
17977 #endif
17978 char connect ();
17980 main ()
17982 return connect ();
17984 return 0;
17986 _ACEOF
17987 for ac_lib in '' socket; do
17988 if test -z "$ac_lib"; then
17989 ac_res="none required"
17990 else
17991 ac_res=-l$ac_lib
17992 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17994 if ac_fn_c_try_link "$LINENO"; then :
17995 ac_cv_search_connect=$ac_res
17997 rm -f core conftest.err conftest.$ac_objext \
17998 conftest$ac_exeext
17999 if ${ac_cv_search_connect+:} false; then :
18000 break
18002 done
18003 if ${ac_cv_search_connect+:} false; then :
18005 else
18006 ac_cv_search_connect=no
18008 rm conftest.$ac_ext
18009 LIBS=$ac_func_search_save_LIBS
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18012 $as_echo "$ac_cv_search_connect" >&6; }
18013 ac_res=$ac_cv_search_connect
18014 if test "$ac_res" != no; then :
18015 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18021 $as_echo_n "checking for library containing inet_aton... " >&6; }
18022 if ${ac_cv_search_inet_aton+:} false; then :
18023 $as_echo_n "(cached) " >&6
18024 else
18025 ac_func_search_save_LIBS=$LIBS
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18029 /* Override any GCC internal prototype to avoid an error.
18030 Use char because int might match the return type of a GCC
18031 builtin and then its argument prototype would still apply. */
18032 #ifdef __cplusplus
18033 extern "C"
18034 #endif
18035 char inet_aton ();
18037 main ()
18039 return inet_aton ();
18041 return 0;
18043 _ACEOF
18044 for ac_lib in '' resolv; do
18045 if test -z "$ac_lib"; then
18046 ac_res="none required"
18047 else
18048 ac_res=-l$ac_lib
18049 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18051 if ac_fn_c_try_link "$LINENO"; then :
18052 ac_cv_search_inet_aton=$ac_res
18054 rm -f core conftest.err conftest.$ac_objext \
18055 conftest$ac_exeext
18056 if ${ac_cv_search_inet_aton+:} false; then :
18057 break
18059 done
18060 if ${ac_cv_search_inet_aton+:} false; then :
18062 else
18063 ac_cv_search_inet_aton=no
18065 rm conftest.$ac_ext
18066 LIBS=$ac_func_search_save_LIBS
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18069 $as_echo "$ac_cv_search_inet_aton" >&6; }
18070 ac_res=$ac_cv_search_inet_aton
18071 if test "$ac_res" != no; then :
18072 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18077 for ac_func in \
18078 getaddrinfo \
18079 getnameinfo \
18080 getservbyport \
18082 do :
18083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18085 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18086 cat >>confdefs.h <<_ACEOF
18087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18088 _ACEOF
18091 done
18094 case $host_os in
18095 darwin*|macosx*) ;;
18096 *) ac_save_LIBS=$LIBS
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18098 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18099 if ${ac_cv_search_clock_gettime+:} false; then :
18100 $as_echo_n "(cached) " >&6
18101 else
18102 ac_func_search_save_LIBS=$LIBS
18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18106 /* Override any GCC internal prototype to avoid an error.
18107 Use char because int might match the return type of a GCC
18108 builtin and then its argument prototype would still apply. */
18109 #ifdef __cplusplus
18110 extern "C"
18111 #endif
18112 char clock_gettime ();
18114 main ()
18116 return clock_gettime ();
18118 return 0;
18120 _ACEOF
18121 for ac_lib in '' rt; do
18122 if test -z "$ac_lib"; then
18123 ac_res="none required"
18124 else
18125 ac_res=-l$ac_lib
18126 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18128 if ac_fn_c_try_link "$LINENO"; then :
18129 ac_cv_search_clock_gettime=$ac_res
18131 rm -f core conftest.err conftest.$ac_objext \
18132 conftest$ac_exeext
18133 if ${ac_cv_search_clock_gettime+:} false; then :
18134 break
18136 done
18137 if ${ac_cv_search_clock_gettime+:} false; then :
18139 else
18140 ac_cv_search_clock_gettime=no
18142 rm conftest.$ac_ext
18143 LIBS=$ac_func_search_save_LIBS
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18146 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18147 ac_res=$ac_cv_search_clock_gettime
18148 if test "$ac_res" != no; then :
18149 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18151 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18153 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18157 LIBS=$ac_save_LIBS
18159 esac
18161 if test "x$with_ldap" != "xno"
18162 then
18163 if ${LDAP_CFLAGS:+false} :; then :
18164 if ${PKG_CONFIG+:} false; then :
18165 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18169 if ${LDAP_LIBS:+false} :; then :
18170 if ${PKG_CONFIG+:} false; then :
18171 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18175 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18176 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18177 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18178 ac_save_CPPFLAGS=$CPPFLAGS
18179 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18180 for ac_header in ldap.h lber.h
18181 do :
18182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18183 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18184 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18185 cat >>confdefs.h <<_ACEOF
18186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18187 _ACEOF
18191 done
18193 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18194 then
18195 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18197 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18199 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18200 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18201 $as_echo_n "(cached) " >&6
18202 else
18203 ac_check_lib_save_LIBS=$LIBS
18204 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h. */
18208 /* Override any GCC internal prototype to avoid an error.
18209 Use char because int might match the return type of a GCC
18210 builtin and then its argument prototype would still apply. */
18211 #ifdef __cplusplus
18212 extern "C"
18213 #endif
18214 char ldap_initialize ();
18216 main ()
18218 return ldap_initialize ();
18220 return 0;
18222 _ACEOF
18223 if ac_fn_c_try_link "$LINENO"; then :
18224 ac_cv_lib_ldap_r_ldap_initialize=yes
18225 else
18226 ac_cv_lib_ldap_r_ldap_initialize=no
18228 rm -f core conftest.err conftest.$ac_objext \
18229 conftest$ac_exeext conftest.$ac_ext
18230 LIBS=$ac_check_lib_save_LIBS
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18233 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18234 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18236 $as_echo_n "checking for ber_init in -llber... " >&6; }
18237 if ${ac_cv_lib_lber_ber_init+:} false; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18240 ac_check_lib_save_LIBS=$LIBS
18241 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18248 #ifdef __cplusplus
18249 extern "C"
18250 #endif
18251 char ber_init ();
18253 main ()
18255 return ber_init ();
18257 return 0;
18259 _ACEOF
18260 if ac_fn_c_try_link "$LINENO"; then :
18261 ac_cv_lib_lber_ber_init=yes
18262 else
18263 ac_cv_lib_lber_ber_init=no
18265 rm -f core conftest.err conftest.$ac_objext \
18266 conftest$ac_exeext conftest.$ac_ext
18267 LIBS=$ac_check_lib_save_LIBS
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18270 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18271 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18273 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18275 else
18276 LDAP_LIBS=""
18279 else
18280 LDAP_LIBS=""
18283 else
18284 LDAP_LIBS=""
18287 ac_wine_check_funcs_save_LIBS="$LIBS"
18288 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18289 for ac_func in \
18290 ldap_count_references \
18291 ldap_first_reference \
18292 ldap_next_reference \
18293 ldap_parse_reference \
18294 ldap_parse_sort_control \
18295 ldap_parse_sortresponse_control \
18296 ldap_parse_vlv_control \
18297 ldap_parse_vlvresponse_control
18298 do :
18299 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18300 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18301 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18302 cat >>confdefs.h <<_ACEOF
18303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18304 _ACEOF
18307 done
18309 LIBS="$ac_wine_check_funcs_save_LIBS"
18310 else
18311 LDAP_LIBS=""
18313 CPPFLAGS=$ac_save_CPPFLAGS
18316 if test "x$LDAP_LIBS" = "x"; then :
18317 case "x$with_ldap" in
18318 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18319 xno) ;;
18320 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18321 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18322 esac
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18327 $as_echo_n "checking for sched_setaffinity... " >&6; }
18328 if ${wine_cv_have_sched_setaffinity+:} false; then :
18329 $as_echo_n "(cached) " >&6
18330 else
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18333 #define _GNU_SOURCE
18334 #include <sched.h>
18336 main ()
18338 sched_setaffinity(0, 0, 0);
18340 return 0;
18342 _ACEOF
18343 if ac_fn_c_try_link "$LINENO"; then :
18344 wine_cv_have_sched_setaffinity=yes
18345 else
18346 wine_cv_have_sched_setaffinity=no
18348 rm -f core conftest.err conftest.$ac_objext \
18349 conftest$ac_exeext conftest.$ac_ext
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18352 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18353 if test "$wine_cv_have_sched_setaffinity" = "yes"
18354 then
18356 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18361 $as_echo_n "checking for fallocate... " >&6; }
18362 if ${wine_cv_have_fallocate+:} false; then :
18363 $as_echo_n "(cached) " >&6
18364 else
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18367 #define _GNU_SOURCE
18368 #include <fcntl.h>
18370 main ()
18372 fallocate(-1, 0, 0, 0);
18374 return 0;
18376 _ACEOF
18377 if ac_fn_c_try_link "$LINENO"; then :
18378 wine_cv_have_fallocate=yes
18379 else
18380 wine_cv_have_fallocate=no
18382 rm -f core conftest.err conftest.$ac_objext \
18383 conftest$ac_exeext conftest.$ac_ext
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18386 $as_echo "$wine_cv_have_fallocate" >&6; }
18387 if test "$wine_cv_have_fallocate" = "yes"
18388 then
18390 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18396 $as_echo_n "checking for inline... " >&6; }
18397 if ${ac_cv_c_inline+:} false; then :
18398 $as_echo_n "(cached) " >&6
18399 else
18400 ac_cv_c_inline=no
18401 for ac_kw in inline __inline__ __inline; do
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18404 #ifndef __cplusplus
18405 typedef int foo_t;
18406 static $ac_kw foo_t static_foo () {return 0; }
18407 $ac_kw foo_t foo () {return 0; }
18408 #endif
18410 _ACEOF
18411 if ac_fn_c_try_compile "$LINENO"; then :
18412 ac_cv_c_inline=$ac_kw
18414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18415 test "$ac_cv_c_inline" != no && break
18416 done
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18420 $as_echo "$ac_cv_c_inline" >&6; }
18422 case $ac_cv_c_inline in
18423 inline | yes) ;;
18425 case $ac_cv_c_inline in
18426 no) ac_val=;;
18427 *) ac_val=$ac_cv_c_inline;;
18428 esac
18429 cat >>confdefs.h <<_ACEOF
18430 #ifndef __cplusplus
18431 #define inline $ac_val
18432 #endif
18433 _ACEOF
18435 esac
18437 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18438 #include <signal.h>
18440 if test "x$ac_cv_type_sigset_t" = xyes; then :
18442 cat >>confdefs.h <<_ACEOF
18443 #define HAVE_SIGSET_T 1
18444 _ACEOF
18449 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18451 if test "x$ac_cv_type_request_sense" = xyes; then :
18453 cat >>confdefs.h <<_ACEOF
18454 #define HAVE_REQUEST_SENSE 1
18455 _ACEOF
18461 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18462 #ifdef HAVE_SYS_SOCKET_H
18463 #include <sys/socket.h>
18464 #endif
18465 #ifdef HAVE_SYS_SOCKETVAR_H
18466 #include <sys/socketvar.h>
18467 #endif
18468 #ifdef HAVE_NET_ROUTE_H
18469 #include <net/route.h>
18470 #endif
18471 #ifdef HAVE_NETINET_IN_H
18472 #include <netinet/in.h>
18473 #endif
18474 #ifdef HAVE_NETINET_IN_SYSTM_H
18475 #include <netinet/in_systm.h>
18476 #endif
18477 #ifdef HAVE_NETINET_IP_H
18478 #include <netinet/ip.h>
18479 #endif
18480 #ifdef HAVE_NETINET_IN_PCB_H
18481 #include <netinet/in_pcb.h>
18482 #endif
18484 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18486 cat >>confdefs.h <<_ACEOF
18487 #define HAVE_STRUCT_XINPGEN 1
18488 _ACEOF
18494 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18495 #include <linux/input.h>
18496 #endif
18498 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18502 _ACEOF
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18509 $as_echo_n "checking for if_nameindex... " >&6; }
18510 if ${wine_cv_have_if_nameindex+:} false; then :
18511 $as_echo_n "(cached) " >&6
18512 else
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18515 #ifdef HAVE_SYS_TYPES_H
18516 #include <sys/types.h>
18517 #endif
18518 #ifdef HAVE_SYS_SOCKET_H
18519 #include <sys/socket.h>
18520 #endif
18521 #ifdef HAVE_NET_IF_H
18522 # include <net/if.h>
18523 #endif
18525 main ()
18527 struct if_nameindex *p = if_nameindex(); return p->if_index;
18529 return 0;
18531 _ACEOF
18532 if ac_fn_c_try_link "$LINENO"; then :
18533 wine_cv_have_if_nameindex=yes
18534 else
18535 wine_cv_have_if_nameindex=no
18537 rm -f core conftest.err conftest.$ac_objext \
18538 conftest$ac_exeext conftest.$ac_ext
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18541 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18542 if test "$wine_cv_have_if_nameindex" = "yes"
18543 then
18545 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18550 $as_echo_n "checking for sigaddset... " >&6; }
18551 if ${wine_cv_have_sigaddset+:} false; then :
18552 $as_echo_n "(cached) " >&6
18553 else
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 #include <signal.h>
18558 main ()
18560 sigset_t set; sigaddset(&set,SIGTERM);
18562 return 0;
18564 _ACEOF
18565 if ac_fn_c_try_link "$LINENO"; then :
18566 wine_cv_have_sigaddset=yes
18567 else
18568 wine_cv_have_sigaddset=no
18570 rm -f core conftest.err conftest.$ac_objext \
18571 conftest$ac_exeext conftest.$ac_ext
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18574 $as_echo "$wine_cv_have_sigaddset" >&6; }
18575 if test "$wine_cv_have_sigaddset" = "yes"
18576 then
18578 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18584 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18585 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18586 $as_echo_n "(cached) " >&6
18587 else
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590 #include <netdb.h>
18592 main ()
18595 char *name=0;
18596 struct hostent he;
18597 struct hostent *result;
18598 char *buf=0;
18599 int bufsize=0;
18600 int errnr;
18601 char *addr=0;
18602 int addrlen=0;
18603 int addrtype=0;
18604 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18605 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18608 return 0;
18610 _ACEOF
18611 if ac_fn_c_try_link "$LINENO"; then :
18612 wine_cv_linux_gethostbyname_r_6=yes
18613 else
18614 wine_cv_linux_gethostbyname_r_6=no
18617 rm -f core conftest.err conftest.$ac_objext \
18618 conftest$ac_exeext conftest.$ac_ext
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18622 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18623 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18624 then
18626 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18630 if test "$ac_cv_header_linux_joystick_h" = "yes"
18631 then
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18633 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18634 if ${wine_cv_linux_joystick_22_api+:} false; then :
18635 $as_echo_n "(cached) " >&6
18636 else
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18640 #include <sys/ioctl.h>
18641 #include <sys/types.h>
18642 #include <linux/joystick.h>
18644 struct js_event blub;
18645 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18646 #error "no 2.2 header"
18647 #endif
18650 main ()
18652 /*empty*/
18654 return 0;
18656 _ACEOF
18657 if ac_fn_c_try_compile "$LINENO"; then :
18658 wine_cv_linux_joystick_22_api=yes
18659 else
18660 wine_cv_linux_joystick_22_api=no
18662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18666 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18667 if test "$wine_cv_linux_joystick_22_api" = "yes"
18668 then
18670 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18675 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18676 #ifdef HAVE_SYS_SOCKET_H
18677 # include <sys/socket.h>
18678 #endif
18679 #ifdef HAVE_SYS_UN_H
18680 # include <sys/un.h>
18681 #endif
18683 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18685 cat >>confdefs.h <<_ACEOF
18686 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18687 _ACEOF
18691 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18692 #ifdef HAVE_SYS_SOCKET_H
18693 # include <sys/socket.h>
18694 #endif
18695 #ifdef HAVE_SYS_UN_H
18696 # include <sys/un.h>
18697 #endif
18699 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18701 cat >>confdefs.h <<_ACEOF
18702 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18703 _ACEOF
18707 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18708 #ifdef HAVE_SYS_SOCKET_H
18709 # include <sys/socket.h>
18710 #endif
18711 #ifdef HAVE_SYS_UN_H
18712 # include <sys/un.h>
18713 #endif
18715 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18717 cat >>confdefs.h <<_ACEOF
18718 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18719 _ACEOF
18725 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18726 #ifdef HAVE_SCSI_SG_H
18727 #include <scsi/sg.h>
18728 #endif
18730 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18732 cat >>confdefs.h <<_ACEOF
18733 #define HAVE_SCSIREQ_T_CMD 1
18734 _ACEOF
18738 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>
18739 #ifdef HAVE_SCSI_SG_H
18740 #include <scsi/sg.h>
18741 #endif
18743 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18745 cat >>confdefs.h <<_ACEOF
18746 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18747 _ACEOF
18753 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18755 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18757 cat >>confdefs.h <<_ACEOF
18758 #define HAVE_SIGINFO_T_SI_FD 1
18759 _ACEOF
18765 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18766 #ifdef HAVE_SYS_MTIO_H
18767 #include <sys/mtio.h>
18768 #endif
18770 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18772 cat >>confdefs.h <<_ACEOF
18773 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18774 _ACEOF
18778 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18779 #ifdef HAVE_SYS_MTIO_H
18780 #include <sys/mtio.h>
18781 #endif
18783 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18785 cat >>confdefs.h <<_ACEOF
18786 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18787 _ACEOF
18791 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18792 #ifdef HAVE_SYS_MTIO_H
18793 #include <sys/mtio.h>
18794 #endif
18796 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18800 _ACEOF
18806 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18807 #include <getopt.h>
18808 #endif
18810 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18812 cat >>confdefs.h <<_ACEOF
18813 #define HAVE_STRUCT_OPTION_NAME 1
18814 _ACEOF
18820 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18821 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18823 cat >>confdefs.h <<_ACEOF
18824 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18825 _ACEOF
18829 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18830 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18832 cat >>confdefs.h <<_ACEOF
18833 #define HAVE_STRUCT_STAT_ST_MTIM 1
18834 _ACEOF
18838 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18839 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18841 cat >>confdefs.h <<_ACEOF
18842 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18843 _ACEOF
18847 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18848 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18850 cat >>confdefs.h <<_ACEOF
18851 #define HAVE_STRUCT_STAT_ST_CTIM 1
18852 _ACEOF
18856 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18857 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18859 cat >>confdefs.h <<_ACEOF
18860 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18861 _ACEOF
18865 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18866 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18868 cat >>confdefs.h <<_ACEOF
18869 #define HAVE_STRUCT_STAT_ST_ATIM 1
18870 _ACEOF
18874 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18875 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18877 cat >>confdefs.h <<_ACEOF
18878 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18879 _ACEOF
18883 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18884 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18886 cat >>confdefs.h <<_ACEOF
18887 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18888 _ACEOF
18892 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18893 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18897 _ACEOF
18901 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18902 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18904 cat >>confdefs.h <<_ACEOF
18905 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18906 _ACEOF
18910 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18911 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18913 cat >>confdefs.h <<_ACEOF
18914 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18915 _ACEOF
18919 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18920 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18922 cat >>confdefs.h <<_ACEOF
18923 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18924 _ACEOF
18930 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
18931 #include <sys/types.h>
18932 #endif
18933 #ifdef HAVE_NETINET_IN_H
18934 #include <netinet/in.h>
18935 #endif
18937 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18939 cat >>confdefs.h <<_ACEOF
18940 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18941 _ACEOF
18947 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18948 #include <sys/types.h>
18949 #endif
18950 #ifdef HAVE_NETINET_IN_H
18951 #include <netinet/in.h>
18952 #endif
18953 #ifdef HAVE_RESOLV_H
18954 #include <resolv.h>
18955 #endif
18957 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18959 cat >>confdefs.h <<_ACEOF
18960 #define HAVE_STRUCT___RES_STATE 1
18961 _ACEOF
18967 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
18968 #include <resolv.h>
18969 #endif
18971 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18975 _ACEOF
18981 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18982 #include <sys/types.h>
18983 #endif
18984 #ifdef HAVE_NETINET_IN_H
18985 # include <netinet/in.h>
18986 #endif
18987 #ifdef HAVE_ARPA_NAMESER_H
18988 # include <arpa/nameser.h>
18989 #endif
18991 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_NS_MSG__MSG_PTR 1
18995 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19002 #include <sys/types.h>
19003 #endif
19004 #ifdef HAVE_NETINET_IN_H
19005 #include <netinet/in.h>
19006 #endif
19007 #ifdef HAVE_NETINET_IP_H
19008 #include <netinet/ip.h>
19009 #endif
19010 #ifdef HAVE_NETINET_IP_ICMP_H
19011 #include <netinet/ip_icmp.h>
19012 #endif
19013 #ifdef HAVE_NETINET_ICMP_VAR_H
19014 #include <netinet/icmp_var.h>
19015 #endif
19017 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19019 cat >>confdefs.h <<_ACEOF
19020 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19021 _ACEOF
19027 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19028 #include <sys/types.h>
19029 #endif
19030 #ifdef HAVE_ALIAS_H
19031 #include <alias.h>
19032 #endif
19033 #ifdef HAVE_SYS_SOCKET_H
19034 #include <sys/socket.h>
19035 #endif
19036 #ifdef HAVE_SYS_SOCKETVAR_H
19037 #include <sys/socketvar.h>
19038 #endif
19039 #ifdef HAVE_SYS_TIMEOUT_H
19040 #include <sys/timeout.h>
19041 #endif
19042 #ifdef HAVE_NETINET_IN_H
19043 #include <netinet/in.h>
19044 #endif
19045 #ifdef HAVE_NETINET_IN_SYSTM_H
19046 #include <netinet/in_systm.h>
19047 #endif
19048 #ifdef HAVE_NETINET_IP_H
19049 #include <netinet/ip.h>
19050 #endif
19051 #ifdef HAVE_NETINET_IP_VAR_H
19052 #include <netinet/ip_var.h>
19053 #endif
19054 #ifdef HAVE_NETINET_IP_ICMP_H
19055 #include <netinet/ip_icmp.h>
19056 #endif
19057 #ifdef HAVE_NETINET_ICMP_VAR_H
19058 #include <netinet/icmp_var.h>
19059 #endif
19061 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19063 cat >>confdefs.h <<_ACEOF
19064 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19065 _ACEOF
19071 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19072 #include <sys/types.h>
19073 #endif
19074 #ifdef HAVE_SYS_SOCKETVAR_H
19075 #include <sys/socketvar.h>
19076 #endif
19077 #ifdef HAVE_NETINET_IN_H
19078 #include <netinet/in.h>
19079 #endif
19080 #ifdef HAVE_NETINET_IP_VAR_H
19081 #include <netinet/ip_var.h>
19082 #endif
19084 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19088 _ACEOF
19094 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
19095 #include <netinet/ip_var.h>
19096 #endif
19098 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19102 _ACEOF
19108 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19109 #include <sys/types.h>
19110 #endif
19111 #ifdef HAVE_SYS_SOCKETVAR_H
19112 #include <sys/socketvar.h>
19113 #endif
19114 #ifdef HAVE_NETINET_IN_H
19115 #include <netinet/in.h>
19116 #endif
19117 #ifdef HAVE_NETINET_TCP_H
19118 #include <netinet/tcp.h>
19119 #endif
19120 #ifdef HAVE_NETINET_TCP_VAR_H
19121 #include <netinet/tcp_var.h>
19122 #endif
19124 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19126 cat >>confdefs.h <<_ACEOF
19127 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19128 _ACEOF
19134 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
19135 #include <netinet/tcp_var.h>
19136 #endif
19138 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19142 _ACEOF
19148 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19149 #include <sys/types.h>
19150 #endif
19151 #ifdef HAVE_NETINET_IN_H
19152 #include <netinet/in.h>
19153 #endif
19154 #ifdef HAVE_NETINET_IP_VAR_H
19155 #include <netinet/ip_var.h>
19156 #endif
19157 #ifdef HAVE_NETINET_UDP_H
19158 #include <netinet/udp.h>
19159 #endif
19160 #ifdef HAVE_NETINET_UDP_VAR_H
19161 #include <netinet/udp_var.h>
19162 #endif
19164 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19166 cat >>confdefs.h <<_ACEOF
19167 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19168 _ACEOF
19174 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19175 #include <sys/types.h>
19176 #endif
19177 #ifdef HAVE_NET_IF_H
19178 # include <net/if.h>
19179 #endif
19181 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19183 cat >>confdefs.h <<_ACEOF
19184 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19185 _ACEOF
19191 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19192 # include <sys/sysinfo.h>
19193 #endif
19195 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19199 _ACEOF
19203 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19204 # include <sys/sysinfo.h>
19205 #endif
19207 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19211 _ACEOF
19217 ac_save_LIBS="$LIBS"
19218 LIBS="$LIBS -lm"
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19220 $as_echo_n "checking for isfinite... " >&6; }
19221 if ${ac_cv_have_isfinite+:} false; then :
19222 $as_echo_n "(cached) " >&6
19223 else
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19226 #define _GNU_SOURCE
19227 #include <math.h>
19229 main ()
19231 float f = 0.0; return isfinite(f)
19233 return 0;
19235 _ACEOF
19236 if ac_fn_c_try_link "$LINENO"; then :
19237 ac_cv_have_isfinite="yes"
19238 else
19239 ac_cv_have_isfinite="no"
19241 rm -f core conftest.err conftest.$ac_objext \
19242 conftest$ac_exeext conftest.$ac_ext
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19245 $as_echo "$ac_cv_have_isfinite" >&6; }
19246 if test "$ac_cv_have_isfinite" = "yes"
19247 then
19249 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19254 $as_echo_n "checking for isinf... " >&6; }
19255 if ${ac_cv_have_isinf+:} false; then :
19256 $as_echo_n "(cached) " >&6
19257 else
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19260 #include <math.h>
19262 main ()
19264 float f = 0.0; return isinf(f)
19266 return 0;
19268 _ACEOF
19269 if ac_fn_c_try_link "$LINENO"; then :
19270 ac_cv_have_isinf="yes"
19271 else
19272 ac_cv_have_isinf="no"
19274 rm -f core conftest.err conftest.$ac_objext \
19275 conftest$ac_exeext conftest.$ac_ext
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19278 $as_echo "$ac_cv_have_isinf" >&6; }
19279 if test "$ac_cv_have_isinf" = "yes"
19280 then
19282 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19287 $as_echo_n "checking for isnan... " >&6; }
19288 if ${ac_cv_have_isnan+:} false; then :
19289 $as_echo_n "(cached) " >&6
19290 else
19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h. */
19293 #include <math.h>
19295 main ()
19297 float f = 0.0; return isnan(f)
19299 return 0;
19301 _ACEOF
19302 if ac_fn_c_try_link "$LINENO"; then :
19303 ac_cv_have_isnan="yes"
19304 else
19305 ac_cv_have_isnan="no"
19307 rm -f core conftest.err conftest.$ac_objext \
19308 conftest$ac_exeext conftest.$ac_ext
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19311 $as_echo "$ac_cv_have_isnan" >&6; }
19312 if test "$ac_cv_have_isnan" = "yes"
19313 then
19315 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19319 for ac_func in \
19320 acosh \
19321 acoshf \
19322 asinh \
19323 asinhf \
19324 atanh \
19325 atanhf \
19326 cbrt \
19327 cbrtf \
19328 erf \
19329 erfc \
19330 erfcf \
19331 erff \
19332 exp2 \
19333 exp2f \
19334 expm1 \
19335 expm1f \
19336 fma \
19337 fmaf \
19338 j0 \
19339 j1 \
19340 jn \
19341 lgamma \
19342 lgammaf \
19343 llrint \
19344 llrintf \
19345 llround \
19346 llroundf \
19347 log1p \
19348 log1pf \
19349 log2 \
19350 log2f \
19351 lrint \
19352 lrintf \
19353 lround \
19354 lroundf \
19355 nearbyint \
19356 nearbyintf \
19357 nexttoward \
19358 nexttowardf \
19359 remainder \
19360 remainderf \
19361 remquo \
19362 remquof \
19363 rint \
19364 rintf \
19365 round \
19366 roundf \
19367 tgamma \
19368 tgammaf \
19369 trunc \
19370 truncf \
19371 y0 \
19372 y1 \
19375 do :
19376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19378 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19379 cat >>confdefs.h <<_ACEOF
19380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19381 _ACEOF
19384 done
19386 LIBS="$ac_save_LIBS"
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19389 $as_echo_n "checking for __builtin_popcount... " >&6; }
19390 if ${ac_cv_have___builtin_popcount+:} false; then :
19391 $as_echo_n "(cached) " >&6
19392 else
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19397 main ()
19399 return __builtin_popcount(1)
19401 return 0;
19403 _ACEOF
19404 if ac_fn_c_try_link "$LINENO"; then :
19405 ac_cv_have___builtin_popcount="yes"
19406 else
19407 ac_cv_have___builtin_popcount="no"
19409 rm -f core conftest.err conftest.$ac_objext \
19410 conftest$ac_exeext conftest.$ac_ext
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19413 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19414 if test "$ac_cv_have___builtin_popcount" = "yes"
19415 then
19417 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19422 $as_echo_n "checking for __clear_cache... " >&6; }
19423 if ${ac_cv_have___clear_cache+:} false; then :
19424 $as_echo_n "(cached) " >&6
19425 else
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19430 main ()
19432 __clear_cache((void*)0, (void*)0); return 0;
19434 return 0;
19436 _ACEOF
19437 if ac_fn_c_try_link "$LINENO"; then :
19438 ac_cv_have___clear_cache="yes"
19439 else
19440 ac_cv_have___clear_cache="no"
19442 rm -f core conftest.err conftest.$ac_objext \
19443 conftest$ac_exeext conftest.$ac_ext
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19446 $as_echo "$ac_cv_have___clear_cache" >&6; }
19447 if test "$ac_cv_have___clear_cache" = "yes"
19448 then
19450 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19455 case $host_cpu in
19456 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19457 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19458 if ${ac_cv_cpp_def___i386__+:} false; then :
19459 $as_echo_n "(cached) " >&6
19460 else
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19463 #ifndef __i386__
19465 #endif
19466 _ACEOF
19467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19468 $EGREP "yes" >/dev/null 2>&1; then :
19469 ac_cv_cpp_def___i386__=yes
19470 else
19471 ac_cv_cpp_def___i386__=no
19473 rm -f conftest*
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19477 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19478 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19479 CFLAGS="$CFLAGS -D__i386__"
19480 LINTFLAGS="$LINTFLAGS -D__i386__"
19481 fi ;;
19482 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19483 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19484 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19485 $as_echo_n "(cached) " >&6
19486 else
19487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19488 /* end confdefs.h. */
19489 #ifndef __x86_64__
19491 #endif
19492 _ACEOF
19493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19494 $EGREP "yes" >/dev/null 2>&1; then :
19495 ac_cv_cpp_def___x86_64__=yes
19496 else
19497 ac_cv_cpp_def___x86_64__=no
19499 rm -f conftest*
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19503 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19504 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19505 CFLAGS="$CFLAGS -D__x86_64__"
19506 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19507 fi ;;
19508 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19509 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19510 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19511 $as_echo_n "(cached) " >&6
19512 else
19513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19514 /* end confdefs.h. */
19515 #ifndef __sparc64__
19517 #endif
19518 _ACEOF
19519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19520 $EGREP "yes" >/dev/null 2>&1; then :
19521 ac_cv_cpp_def___sparc64__=yes
19522 else
19523 ac_cv_cpp_def___sparc64__=no
19525 rm -f conftest*
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19529 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19530 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19531 CFLAGS="$CFLAGS -D__sparc64__"
19532 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19533 fi ;;
19534 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19535 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19536 if ${ac_cv_cpp_def___sparc__+:} false; then :
19537 $as_echo_n "(cached) " >&6
19538 else
19539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h. */
19541 #ifndef __sparc__
19543 #endif
19544 _ACEOF
19545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19546 $EGREP "yes" >/dev/null 2>&1; then :
19547 ac_cv_cpp_def___sparc__=yes
19548 else
19549 ac_cv_cpp_def___sparc__=no
19551 rm -f conftest*
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19555 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19556 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19557 CFLAGS="$CFLAGS -D__sparc__"
19558 LINTFLAGS="$LINTFLAGS -D__sparc__"
19559 fi ;;
19560 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19561 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19562 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19563 $as_echo_n "(cached) " >&6
19564 else
19565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19566 /* end confdefs.h. */
19567 #ifndef __powerpc64__
19569 #endif
19570 _ACEOF
19571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19572 $EGREP "yes" >/dev/null 2>&1; then :
19573 ac_cv_cpp_def___powerpc64__=yes
19574 else
19575 ac_cv_cpp_def___powerpc64__=no
19577 rm -f conftest*
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19581 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19582 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19583 CFLAGS="$CFLAGS -D__powerpc64__"
19584 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19585 fi ;;
19586 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19587 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19588 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19589 $as_echo_n "(cached) " >&6
19590 else
19591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19592 /* end confdefs.h. */
19593 #ifndef __powerpc__
19595 #endif
19596 _ACEOF
19597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19598 $EGREP "yes" >/dev/null 2>&1; then :
19599 ac_cv_cpp_def___powerpc__=yes
19600 else
19601 ac_cv_cpp_def___powerpc__=no
19603 rm -f conftest*
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19607 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19608 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19609 CFLAGS="$CFLAGS -D__powerpc__"
19610 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19611 fi ;;
19612 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19613 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19614 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19615 $as_echo_n "(cached) " >&6
19616 else
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19619 #ifndef __aarch64__
19621 #endif
19622 _ACEOF
19623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19624 $EGREP "yes" >/dev/null 2>&1; then :
19625 ac_cv_cpp_def___aarch64__=yes
19626 else
19627 ac_cv_cpp_def___aarch64__=no
19629 rm -f conftest*
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19633 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19634 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19635 CFLAGS="$CFLAGS -D__aarch64__"
19636 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19637 fi ;;
19638 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19639 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19640 if ${ac_cv_cpp_def___arm__+:} false; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19645 #ifndef __arm__
19647 #endif
19648 _ACEOF
19649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19650 $EGREP "yes" >/dev/null 2>&1; then :
19651 ac_cv_cpp_def___arm__=yes
19652 else
19653 ac_cv_cpp_def___arm__=no
19655 rm -f conftest*
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19659 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19660 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19661 CFLAGS="$CFLAGS -D__arm__"
19662 LINTFLAGS="$LINTFLAGS -D__arm__"
19663 fi ;;
19664 esac
19666 case $host_vendor in
19667 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19668 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19669 if ${ac_cv_cpp_def___sun__+:} false; then :
19670 $as_echo_n "(cached) " >&6
19671 else
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674 #ifndef __sun__
19676 #endif
19677 _ACEOF
19678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19679 $EGREP "yes" >/dev/null 2>&1; then :
19680 ac_cv_cpp_def___sun__=yes
19681 else
19682 ac_cv_cpp_def___sun__=no
19684 rm -f conftest*
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19688 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19689 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19690 CFLAGS="$CFLAGS -D__sun__"
19691 LINTFLAGS="$LINTFLAGS -D__sun__"
19692 fi ;;
19693 esac
19699 ac_config_commands="$ac_config_commands include/stamp-h"
19701 $as_echo_n "creating Makefile rules..." >&6
19703 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19704 OPENGL_LIBS = $OPENGL_LIBS
19705 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19706 IOKIT_LIBS = $IOKIT_LIBS
19707 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19708 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19709 CORESERVICES_LIBS = $CORESERVICES_LIBS
19710 APPKIT_LIBS = $APPKIT_LIBS
19711 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19712 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19713 SECURITY_LIBS = $SECURITY_LIBS
19714 COREAUDIO_LIBS = $COREAUDIO_LIBS
19715 OPENAL_LIBS = $OPENAL_LIBS
19716 OPENCL_LIBS = $OPENCL_LIBS
19717 QUICKTIME_LIBS = $QUICKTIME_LIBS
19718 CARBON_LIBS = $CARBON_LIBS
19719 METAL_LIBS = $METAL_LIBS
19720 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19721 PTHREAD_LIBS = $PTHREAD_LIBS
19722 X_CFLAGS = $X_CFLAGS
19723 X_PRE_LIBS = $X_PRE_LIBS
19724 X_LIBS = $X_LIBS
19725 X_EXTRA_LIBS = $X_EXTRA_LIBS
19726 PCAP_LIBS = $PCAP_LIBS
19727 XML2_CFLAGS = $XML2_CFLAGS
19728 XML2_LIBS = $XML2_LIBS
19729 XSLT_CFLAGS = $XSLT_CFLAGS
19730 XSLT_LIBS = $XSLT_LIBS
19731 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19732 INOTIFY_LIBS = $INOTIFY_LIBS
19733 DBUS_CFLAGS = $DBUS_CFLAGS
19734 DBUS_LIBS = $DBUS_LIBS
19735 HAL_CFLAGS = $HAL_CFLAGS
19736 HAL_LIBS = $HAL_LIBS
19737 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19738 GNUTLS_LIBS = $GNUTLS_LIBS
19739 SANE_CFLAGS = $SANE_CFLAGS
19740 SANE_LIBS = $SANE_LIBS
19741 USB_CFLAGS = $USB_CFLAGS
19742 USB_LIBS = $USB_LIBS
19743 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19744 GPHOTO2_LIBS = $GPHOTO2_LIBS
19745 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19746 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19747 RESOLV_LIBS = $RESOLV_LIBS
19748 LCMS2_CFLAGS = $LCMS2_CFLAGS
19749 LCMS2_LIBS = $LCMS2_LIBS
19750 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19751 FREETYPE_LIBS = $FREETYPE_LIBS
19752 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19753 PULSE_CFLAGS = $PULSE_CFLAGS
19754 PULSE_LIBS = $PULSE_LIBS
19755 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19756 GSTREAMER_LIBS = $GSTREAMER_LIBS
19757 ALSA_LIBS = $ALSA_LIBS
19758 OSS4_CFLAGS = $OSS4_CFLAGS
19759 OSS4_LIBS = $OSS4_LIBS
19760 UDEV_CFLAGS = $UDEV_CFLAGS
19761 UDEV_LIBS = $UDEV_LIBS
19762 UNWIND_CFLAGS = $UNWIND_CFLAGS
19763 UNWIND_LIBS = $UNWIND_LIBS
19764 SDL2_CFLAGS = $SDL2_CFLAGS
19765 SDL2_LIBS = $SDL2_LIBS
19766 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19767 FAUDIO_LIBS = $FAUDIO_LIBS
19768 CAPI20_CFLAGS = $CAPI20_CFLAGS
19769 CAPI20_LIBS = $CAPI20_LIBS
19770 CUPS_CFLAGS = $CUPS_CFLAGS
19771 CUPS_LIBS = $CUPS_LIBS
19772 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19773 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19774 KRB5_CFLAGS = $KRB5_CFLAGS
19775 KRB5_LIBS = $KRB5_LIBS
19776 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19777 GSSAPI_LIBS = $GSSAPI_LIBS
19778 JPEG_CFLAGS = $JPEG_CFLAGS
19779 JPEG_LIBS = $JPEG_LIBS
19780 PNG_CFLAGS = $PNG_CFLAGS
19781 PNG_LIBS = $PNG_LIBS
19782 TIFF_CFLAGS = $TIFF_CFLAGS
19783 TIFF_LIBS = $TIFF_LIBS
19784 MPG123_CFLAGS = $MPG123_CFLAGS
19785 MPG123_LIBS = $MPG123_LIBS
19786 KSTAT_LIBS = $KSTAT_LIBS
19787 PROCSTAT_LIBS = $PROCSTAT_LIBS
19788 NETAPI_CFLAGS = $NETAPI_CFLAGS
19789 NETAPI_LIBS = $NETAPI_LIBS
19790 VKD3D_CFLAGS = $VKD3D_CFLAGS
19791 VKD3D_LIBS = $VKD3D_LIBS
19792 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19793 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19794 POLL_LIBS = $POLL_LIBS
19795 RT_LIBS = $RT_LIBS
19796 LDAP_CFLAGS = $LDAP_CFLAGS
19797 LDAP_LIBS = $LDAP_LIBS
19801 makedep_flags=""
19802 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19805 wine_fn_append_rule "
19806 # Rules automatically generated by configure
19808 .INIT: Makefile
19809 .MAKEFILEDEPS:
19810 all: Makefile
19811 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19812 @./config.status Make.tmp Makefile
19813 depend: \$(MAKEDEP)
19814 \$(MAKEDEP)$makedep_flags
19815 dummy:
19816 .PHONY: depend dummy"
19818 ac_config_links="$ac_config_links wine:tools/winewrapper"
19819 wine_fn_config_symlink wine
19820 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19821 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19822 wine_fn_config_symlink wine64
19825 wine_fn_config_makefile dlls/acledit enable_acledit
19826 wine_fn_config_makefile dlls/aclui enable_aclui
19827 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19828 wine_fn_config_makefile dlls/activeds enable_activeds
19829 wine_fn_config_makefile dlls/activeds/tests enable_tests
19830 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19831 wine_fn_config_makefile dlls/adsiid enable_adsiid
19832 wine_fn_config_makefile dlls/adsldp enable_adsldp
19833 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19834 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19835 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19836 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19837 wine_fn_config_makefile dlls/advpack enable_advpack
19838 wine_fn_config_makefile dlls/advpack/tests enable_tests
19839 wine_fn_config_makefile dlls/amsi enable_amsi
19840 wine_fn_config_makefile dlls/amstream enable_amstream
19841 wine_fn_config_makefile dlls/amstream/tests enable_tests
19842 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19843 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19844 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19845 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19847 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19849 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19852 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19860 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19862 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19864 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19866 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19867 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19868 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19870 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19874 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19875 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19876 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19878 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19879 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19880 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19882 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19888 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19892 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19893 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19896 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19897 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19898 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19899 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19900 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19901 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19903 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19904 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19907 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19908 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19909 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19912 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19913 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
19914 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
19915 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
19917 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19919 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19920 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19923 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19927 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19928 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19929 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19942 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19945 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19952 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19953 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19956 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19959 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19970 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19975 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19976 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19981 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19983 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20002 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20003 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20023 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20034 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20038 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20040 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20042 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20043 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20048 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20056 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20059 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20061 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20063 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20067 wine_fn_config_makefile dlls/apphelp enable_apphelp
20068 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20069 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20070 wine_fn_config_makefile dlls/atl enable_atl
20071 wine_fn_config_makefile dlls/atl/tests enable_tests
20072 wine_fn_config_makefile dlls/atl100 enable_atl100
20073 wine_fn_config_makefile dlls/atl100/tests enable_tests
20074 wine_fn_config_makefile dlls/atl110 enable_atl110
20075 wine_fn_config_makefile dlls/atl80 enable_atl80
20076 wine_fn_config_makefile dlls/atl80/tests enable_tests
20077 wine_fn_config_makefile dlls/atl90 enable_atl90
20078 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20079 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20080 wine_fn_config_makefile dlls/atmlib enable_atmlib
20081 wine_fn_config_makefile dlls/authz enable_authz
20082 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20083 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20084 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20085 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20086 wine_fn_config_makefile dlls/avrt enable_avrt
20087 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20088 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20089 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20090 wine_fn_config_makefile dlls/browseui enable_browseui
20091 wine_fn_config_makefile dlls/browseui/tests enable_tests
20092 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20093 wine_fn_config_makefile dlls/cabinet enable_cabinet
20094 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20095 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20096 wine_fn_config_makefile dlls/cards enable_cards
20097 wine_fn_config_makefile dlls/cdosys enable_cdosys
20098 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20099 wine_fn_config_makefile dlls/clusapi enable_clusapi
20100 wine_fn_config_makefile dlls/combase enable_combase
20101 wine_fn_config_makefile dlls/combase/tests enable_tests
20102 wine_fn_config_makefile dlls/comcat enable_comcat
20103 wine_fn_config_makefile dlls/comcat/tests enable_tests
20104 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20105 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20106 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20107 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20108 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20109 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20110 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20111 wine_fn_config_makefile dlls/compstui enable_compstui
20112 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20113 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20114 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20115 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20116 wine_fn_config_makefile dlls/connect enable_connect
20117 wine_fn_config_makefile dlls/credui enable_credui
20118 wine_fn_config_makefile dlls/credui/tests enable_tests
20119 wine_fn_config_makefile dlls/crtdll enable_crtdll
20120 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20121 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20122 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20123 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20124 wine_fn_config_makefile dlls/cryptext enable_cryptext
20125 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20126 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20127 wine_fn_config_makefile dlls/cryptui enable_cryptui
20128 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20129 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20130 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20131 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20132 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20133 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20134 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20135 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20136 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20137 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20138 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20139 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20140 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20141 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20142 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20143 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20144 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20145 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20146 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20147 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20148 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20149 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20150 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20151 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20152 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20153 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20154 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20155 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20156 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20157 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20158 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20159 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20160 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20161 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20162 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20163 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20164 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20165 wine_fn_config_makefile dlls/d3dim enable_d3dim
20166 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20167 wine_fn_config_makefile dlls/d3drm enable_d3drm
20168 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20169 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20170 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20171 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20172 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20173 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20174 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20175 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20176 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20177 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20178 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20179 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20180 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20181 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20182 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20183 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20184 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20185 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20186 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20187 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20188 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20189 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20190 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20191 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20192 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20193 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20194 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20195 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20196 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20197 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20198 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20199 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20200 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20201 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20202 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20203 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20204 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20205 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20206 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20207 wine_fn_config_makefile dlls/davclnt enable_davclnt
20208 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20209 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20210 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20211 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20212 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20213 wine_fn_config_makefile dlls/dcomp enable_dcomp
20214 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20215 wine_fn_config_makefile dlls/ddraw enable_ddraw
20216 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20217 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20218 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20219 wine_fn_config_makefile dlls/devenum enable_devenum
20220 wine_fn_config_makefile dlls/devenum/tests enable_tests
20221 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20222 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20223 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20224 wine_fn_config_makefile dlls/difxapi enable_difxapi
20225 wine_fn_config_makefile dlls/dinput enable_dinput
20226 wine_fn_config_makefile dlls/dinput/tests enable_tests
20227 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20228 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20229 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20230 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20231 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20232 wine_fn_config_makefile dlls/dispex enable_dispex
20233 wine_fn_config_makefile dlls/dispex/tests enable_tests
20234 wine_fn_config_makefile dlls/display.drv16 enable_win16
20235 wine_fn_config_makefile dlls/dmband enable_dmband
20236 wine_fn_config_makefile dlls/dmband/tests enable_tests
20237 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20238 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20239 wine_fn_config_makefile dlls/dmime enable_dmime
20240 wine_fn_config_makefile dlls/dmime/tests enable_tests
20241 wine_fn_config_makefile dlls/dmloader enable_dmloader
20242 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20243 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20244 wine_fn_config_makefile dlls/dmscript enable_dmscript
20245 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20246 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20247 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20248 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20249 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20250 wine_fn_config_makefile dlls/dmusic enable_dmusic
20251 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20252 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20253 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20254 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20255 wine_fn_config_makefile dlls/dplay enable_dplay
20256 wine_fn_config_makefile dlls/dplayx enable_dplayx
20257 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20258 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20259 wine_fn_config_makefile dlls/dpnet enable_dpnet
20260 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20261 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20262 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20263 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20264 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20265 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20266 wine_fn_config_makefile dlls/drmclien enable_drmclien
20267 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20268 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20269 wine_fn_config_makefile dlls/dsound enable_dsound
20270 wine_fn_config_makefile dlls/dsound/tests enable_tests
20271 wine_fn_config_makefile dlls/dsquery enable_dsquery
20272 wine_fn_config_makefile dlls/dssenh enable_dssenh
20273 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20274 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20275 wine_fn_config_makefile dlls/dswave enable_dswave
20276 wine_fn_config_makefile dlls/dswave/tests enable_tests
20277 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20278 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20279 wine_fn_config_makefile dlls/dwrite enable_dwrite
20280 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20281 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20282 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20283 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20284 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20285 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20286 wine_fn_config_makefile dlls/dxgi enable_dxgi
20287 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20288 wine_fn_config_makefile dlls/dxguid enable_dxguid
20289 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20290 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20291 wine_fn_config_makefile dlls/esent enable_esent
20292 wine_fn_config_makefile dlls/evr enable_evr
20293 wine_fn_config_makefile dlls/evr/tests enable_tests
20294 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20295 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20296 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20297 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20298 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20299 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20300 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20301 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20302 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20303 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20304 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20305 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20306 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20307 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20308 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20309 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20310 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20311 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20312 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20313 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20314 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20315 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20316 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20317 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20318 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20319 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20320 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20321 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20322 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20323 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20324 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20325 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20326 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20327 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20328 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20329 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20330 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20331 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20332 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20333 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20334 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20335 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20336 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
20337 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20338 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20339 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20340 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20341 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20342 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20343 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20344 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20345 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20346 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20347 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20348 wine_fn_config_makefile dlls/faultrep enable_faultrep
20349 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20350 wine_fn_config_makefile dlls/feclient enable_feclient
20351 wine_fn_config_makefile dlls/fltlib enable_fltlib
20352 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20353 wine_fn_config_makefile dlls/fntcache enable_fntcache
20354 wine_fn_config_makefile dlls/fontsub enable_fontsub
20355 wine_fn_config_makefile dlls/fusion enable_fusion
20356 wine_fn_config_makefile dlls/fusion/tests enable_tests
20357 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20358 wine_fn_config_makefile dlls/gameux enable_gameux
20359 wine_fn_config_makefile dlls/gameux/tests enable_tests
20360 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20361 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20362 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20363 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20364 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20365 wine_fn_config_makefile dlls/glu32 enable_glu32
20366 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20367 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20368 wine_fn_config_makefile dlls/hal enable_hal
20369 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20370 wine_fn_config_makefile dlls/hid enable_hid
20371 wine_fn_config_makefile dlls/hid/tests enable_tests
20372 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20373 wine_fn_config_makefile dlls/hlink enable_hlink
20374 wine_fn_config_makefile dlls/hlink/tests enable_tests
20375 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20376 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20377 wine_fn_config_makefile dlls/http.sys enable_http_sys
20378 wine_fn_config_makefile dlls/httpapi enable_httpapi
20379 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20380 wine_fn_config_makefile dlls/iccvid enable_iccvid
20381 wine_fn_config_makefile dlls/icmp enable_icmp
20382 wine_fn_config_makefile dlls/ieframe enable_ieframe
20383 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20384 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20385 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20386 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20387 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20388 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20389 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20390 wine_fn_config_makefile dlls/imm32 enable_imm32
20391 wine_fn_config_makefile dlls/imm32/tests enable_tests
20392 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20393 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20394 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20395 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20396 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20397 wine_fn_config_makefile dlls/infosoft enable_infosoft
20398 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20399 wine_fn_config_makefile dlls/initpki enable_initpki
20400 wine_fn_config_makefile dlls/inkobj enable_inkobj
20401 wine_fn_config_makefile dlls/inseng enable_inseng
20402 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20403 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20404 wine_fn_config_makefile dlls/iprop enable_iprop
20405 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20406 wine_fn_config_makefile dlls/itircl enable_itircl
20407 wine_fn_config_makefile dlls/itss enable_itss
20408 wine_fn_config_makefile dlls/itss/tests enable_tests
20409 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20410 wine_fn_config_makefile dlls/jscript enable_jscript
20411 wine_fn_config_makefile dlls/jscript/tests enable_tests
20412 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20413 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20414 wine_fn_config_makefile dlls/kerberos enable_kerberos
20415 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20416 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20417 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20418 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20419 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20420 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20421 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20422 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20423 wine_fn_config_makefile dlls/ksuser enable_ksuser
20424 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20425 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20426 wine_fn_config_makefile dlls/loadperf enable_loadperf
20427 wine_fn_config_makefile dlls/localspl enable_localspl
20428 wine_fn_config_makefile dlls/localspl/tests enable_tests
20429 wine_fn_config_makefile dlls/localui enable_localui
20430 wine_fn_config_makefile dlls/localui/tests enable_tests
20431 wine_fn_config_makefile dlls/lz32 enable_lz32
20432 wine_fn_config_makefile dlls/lz32/tests enable_tests
20433 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20434 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20435 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20436 wine_fn_config_makefile dlls/mapistub enable_mapistub
20437 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20438 wine_fn_config_makefile dlls/mcicda enable_mcicda
20439 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20440 wine_fn_config_makefile dlls/mciseq enable_mciseq
20441 wine_fn_config_makefile dlls/mciwave enable_mciwave
20442 wine_fn_config_makefile dlls/mf enable_mf
20443 wine_fn_config_makefile dlls/mf/tests enable_tests
20444 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20445 wine_fn_config_makefile dlls/mferror enable_mferror
20446 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20447 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20448 wine_fn_config_makefile dlls/mfplat enable_mfplat
20449 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20450 wine_fn_config_makefile dlls/mfplay enable_mfplay
20451 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20452 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20453 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20454 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20455 wine_fn_config_makefile dlls/midimap enable_midimap
20456 wine_fn_config_makefile dlls/mlang enable_mlang
20457 wine_fn_config_makefile dlls/mlang/tests enable_tests
20458 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20459 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20460 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20461 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20462 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20463 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20464 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20465 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20466 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20467 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20468 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20469 wine_fn_config_makefile dlls/mpr enable_mpr
20470 wine_fn_config_makefile dlls/mpr/tests enable_tests
20471 wine_fn_config_makefile dlls/mprapi enable_mprapi
20472 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20473 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20474 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20475 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20476 wine_fn_config_makefile dlls/msado15 enable_msado15
20477 wine_fn_config_makefile dlls/msado15/tests enable_tests
20478 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20479 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20480 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20481 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20482 wine_fn_config_makefile dlls/mscms enable_mscms
20483 wine_fn_config_makefile dlls/mscms/tests enable_tests
20484 wine_fn_config_makefile dlls/mscoree enable_mscoree
20485 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20486 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20487 wine_fn_config_makefile dlls/msctf enable_msctf
20488 wine_fn_config_makefile dlls/msctf/tests enable_tests
20489 wine_fn_config_makefile dlls/msctfp enable_msctfp
20490 wine_fn_config_makefile dlls/msdaps enable_msdaps
20491 wine_fn_config_makefile dlls/msdelta enable_msdelta
20492 wine_fn_config_makefile dlls/msdmo enable_msdmo
20493 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20494 wine_fn_config_makefile dlls/msdrm enable_msdrm
20495 wine_fn_config_makefile dlls/msftedit enable_msftedit
20496 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20497 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20498 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20499 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20500 wine_fn_config_makefile dlls/mshtml enable_mshtml
20501 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20502 wine_fn_config_makefile dlls/msi enable_msi
20503 wine_fn_config_makefile dlls/msi/tests enable_tests
20504 wine_fn_config_makefile dlls/msident enable_msident
20505 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20506 wine_fn_config_makefile dlls/msimsg enable_msimsg
20507 wine_fn_config_makefile dlls/msimtf enable_msimtf
20508 wine_fn_config_makefile dlls/msisip enable_msisip
20509 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20510 wine_fn_config_makefile dlls/msls31 enable_msls31
20511 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20512 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20513 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20514 wine_fn_config_makefile dlls/msports enable_msports
20515 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20516 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20517 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20518 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20519 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20520 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20521 wine_fn_config_makefile dlls/mstask enable_mstask
20522 wine_fn_config_makefile dlls/mstask/tests enable_tests
20523 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20524 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20525 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20526 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20527 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20528 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20529 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20530 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20531 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20532 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20533 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20534 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20535 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20536 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20537 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20538 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20539 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20540 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20541 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20542 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20543 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20544 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20545 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20546 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20547 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20548 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20549 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20550 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20551 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20552 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20553 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20554 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20555 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20556 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20557 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20558 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20559 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20560 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20561 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20562 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20563 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20564 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20565 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20566 wine_fn_config_makefile dlls/mswsock enable_mswsock
20567 wine_fn_config_makefile dlls/msxml enable_msxml
20568 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20569 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20570 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20571 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20572 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20573 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20574 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20575 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20576 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20577 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20578 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20579 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20580 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20581 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20582 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20583 wine_fn_config_makefile dlls/netprofm enable_netprofm
20584 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20585 wine_fn_config_makefile dlls/netutils enable_netutils
20586 wine_fn_config_makefile dlls/newdev enable_newdev
20587 wine_fn_config_makefile dlls/ninput enable_ninput
20588 wine_fn_config_makefile dlls/ninput/tests enable_tests
20589 wine_fn_config_makefile dlls/normaliz enable_normaliz
20590 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20591 wine_fn_config_makefile dlls/npptools enable_npptools
20592 wine_fn_config_makefile dlls/ntdll enable_ntdll
20593 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20594 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20595 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20596 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20597 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20598 wine_fn_config_makefile dlls/ntprint enable_ntprint
20599 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20600 wine_fn_config_makefile dlls/objsel enable_objsel
20601 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20602 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20603 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20604 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20605 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20606 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20607 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20608 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20609 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20610 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20611 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20612 wine_fn_config_makefile dlls/ole32 enable_ole32
20613 wine_fn_config_makefile dlls/ole32/tests enable_tests
20614 wine_fn_config_makefile dlls/oleacc enable_oleacc
20615 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20616 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20617 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20618 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20619 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20620 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20621 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20622 wine_fn_config_makefile dlls/oledlg enable_oledlg
20623 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20624 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20625 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20626 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20627 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20628 wine_fn_config_makefile dlls/opcservices enable_opcservices
20629 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20630 wine_fn_config_makefile dlls/openal32 enable_openal32
20631 wine_fn_config_makefile dlls/opencl enable_opencl
20632 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20633 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20634 wine_fn_config_makefile dlls/packager enable_packager
20635 wine_fn_config_makefile dlls/packager/tests enable_tests
20636 wine_fn_config_makefile dlls/pdh enable_pdh
20637 wine_fn_config_makefile dlls/pdh/tests enable_tests
20638 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20639 wine_fn_config_makefile dlls/pidgen enable_pidgen
20640 wine_fn_config_makefile dlls/powrprof enable_powrprof
20641 wine_fn_config_makefile dlls/printui enable_printui
20642 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20643 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20644 wine_fn_config_makefile dlls/propsys enable_propsys
20645 wine_fn_config_makefile dlls/propsys/tests enable_tests
20646 wine_fn_config_makefile dlls/psapi enable_psapi
20647 wine_fn_config_makefile dlls/psapi/tests enable_tests
20648 wine_fn_config_makefile dlls/pstorec enable_pstorec
20649 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20650 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20651 wine_fn_config_makefile dlls/qasf enable_qasf
20652 wine_fn_config_makefile dlls/qasf/tests enable_tests
20653 wine_fn_config_makefile dlls/qcap enable_qcap
20654 wine_fn_config_makefile dlls/qcap/tests enable_tests
20655 wine_fn_config_makefile dlls/qdvd enable_qdvd
20656 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20657 wine_fn_config_makefile dlls/qedit enable_qedit
20658 wine_fn_config_makefile dlls/qedit/tests enable_tests
20659 wine_fn_config_makefile dlls/qmgr enable_qmgr
20660 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20661 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20662 wine_fn_config_makefile dlls/quartz enable_quartz
20663 wine_fn_config_makefile dlls/quartz/tests enable_tests
20664 wine_fn_config_makefile dlls/query enable_query
20665 wine_fn_config_makefile dlls/qwave enable_qwave
20666 wine_fn_config_makefile dlls/qwave/tests enable_tests
20667 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20668 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20669 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20670 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20671 wine_fn_config_makefile dlls/regapi enable_regapi
20672 wine_fn_config_makefile dlls/resutils enable_resutils
20673 wine_fn_config_makefile dlls/riched20 enable_riched20
20674 wine_fn_config_makefile dlls/riched20/tests enable_tests
20675 wine_fn_config_makefile dlls/riched32 enable_riched32
20676 wine_fn_config_makefile dlls/riched32/tests enable_tests
20677 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20678 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20679 wine_fn_config_makefile dlls/rsabase enable_rsabase
20680 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20681 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20682 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20683 wine_fn_config_makefile dlls/rtutils enable_rtutils
20684 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20685 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20686 wine_fn_config_makefile dlls/samlib enable_samlib
20687 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20688 wine_fn_config_makefile dlls/sapi enable_sapi
20689 wine_fn_config_makefile dlls/sapi/tests enable_tests
20690 wine_fn_config_makefile dlls/sas enable_sas
20691 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20692 wine_fn_config_makefile dlls/sccbase enable_sccbase
20693 wine_fn_config_makefile dlls/schannel enable_schannel
20694 wine_fn_config_makefile dlls/schannel/tests enable_tests
20695 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20696 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20697 wine_fn_config_makefile dlls/scrobj enable_scrobj
20698 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20699 wine_fn_config_makefile dlls/scrrun enable_scrrun
20700 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20701 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20702 wine_fn_config_makefile dlls/sechost enable_sechost
20703 wine_fn_config_makefile dlls/secur32 enable_secur32
20704 wine_fn_config_makefile dlls/secur32/tests enable_tests
20705 wine_fn_config_makefile dlls/security enable_security
20706 wine_fn_config_makefile dlls/sensapi enable_sensapi
20707 wine_fn_config_makefile dlls/serialui enable_serialui
20708 wine_fn_config_makefile dlls/serialui/tests enable_tests
20709 wine_fn_config_makefile dlls/setupapi enable_setupapi
20710 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20711 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20712 wine_fn_config_makefile dlls/sfc enable_sfc
20713 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20714 wine_fn_config_makefile dlls/shcore enable_shcore
20715 wine_fn_config_makefile dlls/shcore/tests enable_tests
20716 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20717 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20718 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20719 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20720 wine_fn_config_makefile dlls/shell32 enable_shell32
20721 wine_fn_config_makefile dlls/shell32/tests enable_tests
20722 wine_fn_config_makefile dlls/shfolder enable_shfolder
20723 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20724 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20725 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20726 wine_fn_config_makefile dlls/slc enable_slc
20727 wine_fn_config_makefile dlls/slc/tests enable_tests
20728 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20729 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20730 wine_fn_config_makefile dlls/softpub enable_softpub
20731 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20732 wine_fn_config_makefile dlls/spoolss enable_spoolss
20733 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20734 wine_fn_config_makefile dlls/srclient enable_srclient
20735 wine_fn_config_makefile dlls/srvcli enable_srvcli
20736 wine_fn_config_makefile dlls/sspicli enable_sspicli
20737 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20738 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20739 wine_fn_config_makefile dlls/sti enable_sti
20740 wine_fn_config_makefile dlls/sti/tests enable_tests
20741 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20742 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20743 wine_fn_config_makefile dlls/strmbase enable_strmbase
20744 wine_fn_config_makefile dlls/strmdll enable_strmdll
20745 wine_fn_config_makefile dlls/strmiids enable_strmiids
20746 wine_fn_config_makefile dlls/svrapi enable_svrapi
20747 wine_fn_config_makefile dlls/sxs enable_sxs
20748 wine_fn_config_makefile dlls/sxs/tests enable_tests
20749 wine_fn_config_makefile dlls/system.drv16 enable_win16
20750 wine_fn_config_makefile dlls/t2embed enable_t2embed
20751 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20752 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20753 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20754 wine_fn_config_makefile dlls/taskschd enable_taskschd
20755 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20756 wine_fn_config_makefile dlls/tdh enable_tdh
20757 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20758 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20759 wine_fn_config_makefile dlls/traffic enable_traffic
20760 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20761 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20762 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20763 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20764 wine_fn_config_makefile dlls/tzres enable_tzres
20765 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20766 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20767 wine_fn_config_makefile dlls/uianimation enable_uianimation
20768 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20769 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20770 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20771 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20772 wine_fn_config_makefile dlls/unicows enable_unicows
20773 wine_fn_config_makefile dlls/updspapi enable_updspapi
20774 wine_fn_config_makefile dlls/url enable_url
20775 wine_fn_config_makefile dlls/urlmon enable_urlmon
20776 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20777 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20778 wine_fn_config_makefile dlls/user.exe16 enable_win16
20779 wine_fn_config_makefile dlls/user32 enable_user32
20780 wine_fn_config_makefile dlls/user32/tests enable_tests
20781 wine_fn_config_makefile dlls/userenv enable_userenv
20782 wine_fn_config_makefile dlls/userenv/tests enable_tests
20783 wine_fn_config_makefile dlls/usp10 enable_usp10
20784 wine_fn_config_makefile dlls/usp10/tests enable_tests
20785 wine_fn_config_makefile dlls/utildll enable_utildll
20786 wine_fn_config_makefile dlls/uuid enable_uuid
20787 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20788 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20789 wine_fn_config_makefile dlls/vbscript enable_vbscript
20790 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20791 wine_fn_config_makefile dlls/vcomp enable_vcomp
20792 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20793 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20794 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20795 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20796 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20797 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20798 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20799 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20800 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20801 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20802 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20803 wine_fn_config_makefile dlls/version enable_version
20804 wine_fn_config_makefile dlls/version/tests enable_tests
20805 wine_fn_config_makefile dlls/vga enable_vga
20806 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20807 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20808 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20809 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20810 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20811 wine_fn_config_makefile dlls/vssapi enable_vssapi
20812 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20813 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20814 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20815 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20816 wine_fn_config_makefile dlls/w32skrnl enable_win16
20817 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20818 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20819 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20820 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20821 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20822 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20823 wine_fn_config_makefile dlls/wdscore enable_wdscore
20824 wine_fn_config_makefile dlls/webservices enable_webservices
20825 wine_fn_config_makefile dlls/webservices/tests enable_tests
20826 wine_fn_config_makefile dlls/wer enable_wer
20827 wine_fn_config_makefile dlls/wer/tests enable_tests
20828 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20829 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20830 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20831 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20832 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20833 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20834 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20835 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20836 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20837 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20838 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20839 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20840 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20841 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20842 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20843 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20844 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20845 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20846 wine_fn_config_makefile dlls/wined3d enable_wined3d
20847 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20848 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20849 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20850 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20851 wine_fn_config_makefile dlls/winemapi enable_winemapi
20852 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20853 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20854 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20855 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20856 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20857 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20858 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20859 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20860 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20861 wine_fn_config_makefile dlls/wing32 enable_wing32
20862 wine_fn_config_makefile dlls/winhttp enable_winhttp
20863 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20864 wine_fn_config_makefile dlls/wininet enable_wininet
20865 wine_fn_config_makefile dlls/wininet/tests enable_tests
20866 wine_fn_config_makefile dlls/winmm enable_winmm
20867 wine_fn_config_makefile dlls/winmm/tests enable_tests
20868 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20869 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20870 wine_fn_config_makefile dlls/winscard enable_winscard
20871 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20872 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20873 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20874 wine_fn_config_makefile dlls/winsta enable_winsta
20875 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20876 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20877 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20878 wine_fn_config_makefile dlls/wintrust enable_wintrust
20879 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20880 wine_fn_config_makefile dlls/winusb enable_winusb
20881 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20882 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20883 wine_fn_config_makefile dlls/wlanui enable_wlanui
20884 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20885 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20886 wine_fn_config_makefile dlls/wmasf enable_wmasf
20887 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20888 wine_fn_config_makefile dlls/wmi enable_wmi
20889 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20890 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20891 wine_fn_config_makefile dlls/wmp enable_wmp
20892 wine_fn_config_makefile dlls/wmp/tests enable_tests
20893 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20894 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20895 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20896 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20897 wine_fn_config_makefile dlls/wow32 enable_win16
20898 wine_fn_config_makefile dlls/wpc enable_wpc
20899 wine_fn_config_makefile dlls/wpc/tests enable_tests
20900 wine_fn_config_makefile dlls/wpcap enable_wpcap
20901 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20902 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20903 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20904 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20905 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20906 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20907 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20908 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20909 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20910 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20911 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20912 wine_fn_config_makefile dlls/wuapi enable_wuapi
20913 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20914 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20915 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20916 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20917 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20918 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20919 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20920 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20921 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20922 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
20923 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
20924 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
20925 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
20926 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
20927 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
20928 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
20929 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
20930 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
20931 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20932 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20933 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20934 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20935 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20936 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20937 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20938 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20939 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20940 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20941 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20942 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20943 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20944 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20945 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20946 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20947 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20948 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20949 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20950 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20951 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20952 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20953 wine_fn_config_makefile dlls/xmllite enable_xmllite
20954 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20955 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20956 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20957 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20958 wine_fn_config_makefile fonts enable_fonts
20959 wine_fn_config_makefile include enable_include
20960 wine_fn_config_makefile libs/port enable_port
20961 wine_fn_config_makefile libs/wine enable_wine
20962 wine_fn_config_makefile libs/wpp enable_wpp
20963 wine_fn_config_makefile loader enable_loader
20964 wine_fn_config_makefile nls enable_nls
20965 wine_fn_config_makefile po enable_po
20966 wine_fn_config_makefile programs/arp enable_arp
20967 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20968 wine_fn_config_makefile programs/attrib enable_attrib
20969 wine_fn_config_makefile programs/cabarc enable_cabarc
20970 wine_fn_config_makefile programs/cacls enable_cacls
20971 wine_fn_config_makefile programs/chcp.com enable_chcp_com
20972 wine_fn_config_makefile programs/clock enable_clock
20973 wine_fn_config_makefile programs/cmd enable_cmd
20974 wine_fn_config_makefile programs/cmd/tests enable_tests
20975 wine_fn_config_makefile programs/conhost enable_conhost
20976 wine_fn_config_makefile programs/conhost/tests enable_tests
20977 wine_fn_config_makefile programs/control enable_control
20978 wine_fn_config_makefile programs/cscript enable_cscript
20979 wine_fn_config_makefile programs/dism enable_dism
20980 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
20981 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20982 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
20983 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20984 wine_fn_config_makefile programs/eject enable_eject
20985 wine_fn_config_makefile programs/expand enable_expand
20986 wine_fn_config_makefile programs/explorer enable_explorer
20987 wine_fn_config_makefile programs/extrac32 enable_extrac32
20988 wine_fn_config_makefile programs/fc enable_fc
20989 wine_fn_config_makefile programs/find enable_find
20990 wine_fn_config_makefile programs/find/tests enable_tests
20991 wine_fn_config_makefile programs/findstr enable_findstr
20992 wine_fn_config_makefile programs/fsutil enable_fsutil
20993 wine_fn_config_makefile programs/fsutil/tests enable_tests
20994 wine_fn_config_makefile programs/hh enable_hh
20995 wine_fn_config_makefile programs/hostname enable_hostname
20996 wine_fn_config_makefile programs/icacls enable_icacls
20997 wine_fn_config_makefile programs/icinfo enable_icinfo
20998 wine_fn_config_makefile programs/iexplore enable_iexplore
20999 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21000 wine_fn_config_makefile programs/lodctr enable_lodctr
21001 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21002 wine_fn_config_makefile programs/mshta enable_mshta
21003 wine_fn_config_makefile programs/msidb enable_msidb
21004 wine_fn_config_makefile programs/msiexec enable_msiexec
21005 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21006 wine_fn_config_makefile programs/net enable_net
21007 wine_fn_config_makefile programs/netsh enable_netsh
21008 wine_fn_config_makefile programs/netstat enable_netstat
21009 wine_fn_config_makefile programs/ngen enable_ngen
21010 wine_fn_config_makefile programs/notepad enable_notepad
21011 wine_fn_config_makefile programs/oleview enable_oleview
21012 wine_fn_config_makefile programs/ping enable_ping
21013 wine_fn_config_makefile programs/plugplay enable_plugplay
21014 wine_fn_config_makefile programs/powershell enable_powershell
21015 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21016 wine_fn_config_makefile programs/progman enable_progman
21017 wine_fn_config_makefile programs/reg enable_reg
21018 wine_fn_config_makefile programs/reg/tests enable_tests
21019 wine_fn_config_makefile programs/regasm enable_regasm
21020 wine_fn_config_makefile programs/regedit enable_regedit
21021 wine_fn_config_makefile programs/regedit/tests enable_tests
21022 wine_fn_config_makefile programs/regini enable_regini
21023 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21024 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21025 wine_fn_config_makefile programs/rpcss enable_rpcss
21026 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21027 wine_fn_config_makefile programs/rundll32 enable_rundll32
21028 wine_fn_config_makefile programs/sc enable_sc
21029 wine_fn_config_makefile programs/schtasks enable_schtasks
21030 wine_fn_config_makefile programs/schtasks/tests enable_tests
21031 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21032 wine_fn_config_makefile programs/secedit enable_secedit
21033 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21034 wine_fn_config_makefile programs/services enable_services
21035 wine_fn_config_makefile programs/services/tests enable_tests
21036 wine_fn_config_makefile programs/shutdown enable_shutdown
21037 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21038 wine_fn_config_makefile programs/start enable_start
21039 wine_fn_config_makefile programs/subst enable_subst
21040 wine_fn_config_makefile programs/svchost enable_svchost
21041 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21042 wine_fn_config_makefile programs/taskkill enable_taskkill
21043 wine_fn_config_makefile programs/tasklist enable_tasklist
21044 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21045 wine_fn_config_makefile programs/termsv enable_termsv
21046 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21047 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21048 wine_fn_config_makefile programs/view enable_view
21049 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21050 wine_fn_config_makefile programs/where enable_where
21051 wine_fn_config_makefile programs/whoami enable_whoami
21052 wine_fn_config_makefile programs/wineboot enable_wineboot
21053 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21054 wine_fn_config_makefile programs/winecfg enable_winecfg
21055 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21056 wine_fn_config_makefile programs/winedbg enable_winedbg
21057 wine_fn_config_makefile programs/winedevice enable_winedevice
21058 wine_fn_config_makefile programs/winefile enable_winefile
21059 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21060 wine_fn_config_makefile programs/winemine enable_winemine
21061 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21062 wine_fn_config_makefile programs/winepath enable_winepath
21063 wine_fn_config_makefile programs/winetest enable_winetest
21064 wine_fn_config_makefile programs/winevdm enable_win16
21065 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21066 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21067 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21068 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21069 wine_fn_config_makefile programs/winver enable_winver
21070 wine_fn_config_makefile programs/wmic enable_wmic
21071 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21072 wine_fn_config_makefile programs/wordpad enable_wordpad
21073 wine_fn_config_makefile programs/write enable_write
21074 wine_fn_config_makefile programs/wscript enable_wscript
21075 wine_fn_config_makefile programs/wscript/tests enable_tests
21076 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21077 wine_fn_config_makefile programs/wusa enable_wusa
21078 wine_fn_config_makefile programs/xcopy enable_xcopy
21079 wine_fn_config_makefile programs/xcopy/tests enable_tests
21080 wine_fn_config_makefile server enable_server
21081 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21082 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21083 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21084 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21085 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21086 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21087 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21088 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21089 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21092 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21093 wine_fn_append_file CONFIGURE_TARGETS "tags"
21094 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21095 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21096 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21097 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21098 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21099 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21101 if test "x$enable_tools" != xno
21102 then
21103 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21104 ac_config_commands="$ac_config_commands tools/makedep"
21108 ac_config_commands="$ac_config_commands Makefile"
21111 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21115 if test "x$enable_maintainer_mode" = xyes
21116 then
21117 wine_fn_append_rule "configure: configure.ac aclocal.m4
21118 autoconf --warnings=all
21119 include/config.h.in: include/stamp-h.in
21120 include/stamp-h.in: configure.ac aclocal.m4
21121 autoheader --warnings=all
21122 @echo timestamp > \$@"
21125 if test "x$enable_tools" != xno
21126 then
21127 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21128 @./config.status tools/makedep
21129 Makefile: tools/makedep$ac_exeext"
21130 else
21131 wine_fn_append_rule "\$(MAKEDEP):
21132 @echo \"You need to run make in $TOOLSDIR first\" && false"
21135 if test -n "$with_wine64"
21136 then
21137 case "$with_wine64" in
21138 /*) reldir="" ;;
21139 *) reldir="../" ;;
21140 esac
21141 rm -f fonts server 2>/dev/null
21142 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21143 loader/wine64 loader/wine64-preloader:
21144 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21145 $with_wine64/loader/wine:
21146 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21147 $with_wine64/loader/wine-preloader:
21148 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21149 clean::
21150 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21151 else
21152 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21153 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21154 fonts \
21155 loader/wine.inf \
21156 nls \
21157 programs/msidb/msidb \
21158 programs/msiexec/msiexec \
21159 programs/notepad/notepad \
21160 programs/regedit/regedit \
21161 programs/regsvr32/regsvr32 \
21162 programs/wineboot/wineboot \
21163 programs/winecfg/winecfg \
21164 programs/wineconsole/wineconsole \
21165 programs/winedbg/winedbg \
21166 programs/winefile/winefile \
21167 programs/winemine/winemine \
21168 programs/winepath/winepath \
21169 server/wineserver"
21171 case $host_os in
21172 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21173 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21174 esac
21177 $as_echo " done" >&6
21178 cat >confcache <<\_ACEOF
21179 # This file is a shell script that caches the results of configure
21180 # tests run on this system so they can be shared between configure
21181 # scripts and configure runs, see configure's option --config-cache.
21182 # It is not useful on other systems. If it contains results you don't
21183 # want to keep, you may remove or edit it.
21185 # config.status only pays attention to the cache file if you give it
21186 # the --recheck option to rerun configure.
21188 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21189 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21190 # following values.
21192 _ACEOF
21194 # The following way of writing the cache mishandles newlines in values,
21195 # but we know of no workaround that is simple, portable, and efficient.
21196 # So, we kill variables containing newlines.
21197 # Ultrix sh set writes to stderr and can't be redirected directly,
21198 # and sets the high bit in the cache file unless we assign to the vars.
21200 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21201 eval ac_val=\$$ac_var
21202 case $ac_val in #(
21203 *${as_nl}*)
21204 case $ac_var in #(
21205 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21206 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21207 esac
21208 case $ac_var in #(
21209 _ | IFS | as_nl) ;; #(
21210 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21211 *) { eval $ac_var=; unset $ac_var;} ;;
21212 esac ;;
21213 esac
21214 done
21216 (set) 2>&1 |
21217 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21218 *${as_nl}ac_space=\ *)
21219 # `set' does not quote correctly, so add quotes: double-quote
21220 # substitution turns \\\\ into \\, and sed turns \\ into \.
21221 sed -n \
21222 "s/'/'\\\\''/g;
21223 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21224 ;; #(
21226 # `set' quotes correctly as required by POSIX, so do not add quotes.
21227 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21229 esac |
21230 sort
21232 sed '
21233 /^ac_cv_env_/b end
21234 t clear
21235 :clear
21236 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21237 t end
21238 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21239 :end' >>confcache
21240 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21241 if test -w "$cache_file"; then
21242 if test "x$cache_file" != "x/dev/null"; then
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21244 $as_echo "$as_me: updating cache $cache_file" >&6;}
21245 if test ! -f "$cache_file" || test -h "$cache_file"; then
21246 cat confcache >"$cache_file"
21247 else
21248 case $cache_file in #(
21249 */* | ?:*)
21250 mv -f confcache "$cache_file"$$ &&
21251 mv -f "$cache_file"$$ "$cache_file" ;; #(
21253 mv -f confcache "$cache_file" ;;
21254 esac
21257 else
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21259 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21262 rm -f confcache
21264 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21265 # Let make expand exec_prefix.
21266 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21268 DEFS=-DHAVE_CONFIG_H
21270 ac_libobjs=
21271 ac_ltlibobjs=
21273 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21274 # 1. Remove the extension, and $U if already installed.
21275 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21276 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21277 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21278 # will be set to the directory where LIBOBJS objects are built.
21279 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21280 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21281 done
21282 LIBOBJS=$ac_libobjs
21284 LTLIBOBJS=$ac_ltlibobjs
21288 : "${CONFIG_STATUS=./config.status}"
21289 ac_write_fail=0
21290 ac_clean_files_save=$ac_clean_files
21291 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21293 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21294 as_write_fail=0
21295 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21296 #! $SHELL
21297 # Generated by $as_me.
21298 # Run this file to recreate the current configuration.
21299 # Compiler output produced by configure, useful for debugging
21300 # configure, is in config.log if it exists.
21302 debug=false
21303 ac_cs_recheck=false
21304 ac_cs_silent=false
21306 SHELL=\${CONFIG_SHELL-$SHELL}
21307 export SHELL
21308 _ASEOF
21309 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21310 ## -------------------- ##
21311 ## M4sh Initialization. ##
21312 ## -------------------- ##
21314 # Be more Bourne compatible
21315 DUALCASE=1; export DUALCASE # for MKS sh
21316 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21317 emulate sh
21318 NULLCMD=:
21319 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21320 # is contrary to our usage. Disable this feature.
21321 alias -g '${1+"$@"}'='"$@"'
21322 setopt NO_GLOB_SUBST
21323 else
21324 case `(set -o) 2>/dev/null` in #(
21325 *posix*) :
21326 set -o posix ;; #(
21327 *) :
21329 esac
21333 as_nl='
21335 export as_nl
21336 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21337 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21338 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21339 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21340 # Prefer a ksh shell builtin over an external printf program on Solaris,
21341 # but without wasting forks for bash or zsh.
21342 if test -z "$BASH_VERSION$ZSH_VERSION" \
21343 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21344 as_echo='print -r --'
21345 as_echo_n='print -rn --'
21346 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21347 as_echo='printf %s\n'
21348 as_echo_n='printf %s'
21349 else
21350 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21351 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21352 as_echo_n='/usr/ucb/echo -n'
21353 else
21354 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21355 as_echo_n_body='eval
21356 arg=$1;
21357 case $arg in #(
21358 *"$as_nl"*)
21359 expr "X$arg" : "X\\(.*\\)$as_nl";
21360 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21361 esac;
21362 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21364 export as_echo_n_body
21365 as_echo_n='sh -c $as_echo_n_body as_echo'
21367 export as_echo_body
21368 as_echo='sh -c $as_echo_body as_echo'
21371 # The user is always right.
21372 if test "${PATH_SEPARATOR+set}" != set; then
21373 PATH_SEPARATOR=:
21374 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21375 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21376 PATH_SEPARATOR=';'
21381 # IFS
21382 # We need space, tab and new line, in precisely that order. Quoting is
21383 # there to prevent editors from complaining about space-tab.
21384 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21385 # splitting by setting IFS to empty value.)
21386 IFS=" "" $as_nl"
21388 # Find who we are. Look in the path if we contain no directory separator.
21389 as_myself=
21390 case $0 in #((
21391 *[\\/]* ) as_myself=$0 ;;
21392 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21393 for as_dir in $PATH
21395 IFS=$as_save_IFS
21396 test -z "$as_dir" && as_dir=.
21397 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21398 done
21399 IFS=$as_save_IFS
21402 esac
21403 # We did not find ourselves, most probably we were run as `sh COMMAND'
21404 # in which case we are not to be found in the path.
21405 if test "x$as_myself" = x; then
21406 as_myself=$0
21408 if test ! -f "$as_myself"; then
21409 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21410 exit 1
21413 # Unset variables that we do not need and which cause bugs (e.g. in
21414 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21415 # suppresses any "Segmentation fault" message there. '((' could
21416 # trigger a bug in pdksh 5.2.14.
21417 for as_var in BASH_ENV ENV MAIL MAILPATH
21418 do eval test x\${$as_var+set} = xset \
21419 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21420 done
21421 PS1='$ '
21422 PS2='> '
21423 PS4='+ '
21425 # NLS nuisances.
21426 LC_ALL=C
21427 export LC_ALL
21428 LANGUAGE=C
21429 export LANGUAGE
21431 # CDPATH.
21432 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21436 # ----------------------------------------
21437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21439 # script with STATUS, using 1 if that was 0.
21440 as_fn_error ()
21442 as_status=$1; test $as_status -eq 0 && as_status=1
21443 if test "$4"; then
21444 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21445 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21447 $as_echo "$as_me: error: $2" >&2
21448 as_fn_exit $as_status
21449 } # as_fn_error
21452 # as_fn_set_status STATUS
21453 # -----------------------
21454 # Set $? to STATUS, without forking.
21455 as_fn_set_status ()
21457 return $1
21458 } # as_fn_set_status
21460 # as_fn_exit STATUS
21461 # -----------------
21462 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21463 as_fn_exit ()
21465 set +e
21466 as_fn_set_status $1
21467 exit $1
21468 } # as_fn_exit
21470 # as_fn_unset VAR
21471 # ---------------
21472 # Portably unset VAR.
21473 as_fn_unset ()
21475 { eval $1=; unset $1;}
21477 as_unset=as_fn_unset
21478 # as_fn_append VAR VALUE
21479 # ----------------------
21480 # Append the text in VALUE to the end of the definition contained in VAR. Take
21481 # advantage of any shell optimizations that allow amortized linear growth over
21482 # repeated appends, instead of the typical quadratic growth present in naive
21483 # implementations.
21484 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21485 eval 'as_fn_append ()
21487 eval $1+=\$2
21489 else
21490 as_fn_append ()
21492 eval $1=\$$1\$2
21494 fi # as_fn_append
21496 # as_fn_arith ARG...
21497 # ------------------
21498 # Perform arithmetic evaluation on the ARGs, and store the result in the
21499 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21500 # must be portable across $(()) and expr.
21501 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21502 eval 'as_fn_arith ()
21504 as_val=$(( $* ))
21506 else
21507 as_fn_arith ()
21509 as_val=`expr "$@" || test $? -eq 1`
21511 fi # as_fn_arith
21514 if expr a : '\(a\)' >/dev/null 2>&1 &&
21515 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21516 as_expr=expr
21517 else
21518 as_expr=false
21521 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21522 as_basename=basename
21523 else
21524 as_basename=false
21527 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21528 as_dirname=dirname
21529 else
21530 as_dirname=false
21533 as_me=`$as_basename -- "$0" ||
21534 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21535 X"$0" : 'X\(//\)$' \| \
21536 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21537 $as_echo X/"$0" |
21538 sed '/^.*\/\([^/][^/]*\)\/*$/{
21539 s//\1/
21542 /^X\/\(\/\/\)$/{
21543 s//\1/
21546 /^X\/\(\/\).*/{
21547 s//\1/
21550 s/.*/./; q'`
21552 # Avoid depending upon Character Ranges.
21553 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21554 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21555 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21556 as_cr_digits='0123456789'
21557 as_cr_alnum=$as_cr_Letters$as_cr_digits
21559 ECHO_C= ECHO_N= ECHO_T=
21560 case `echo -n x` in #(((((
21561 -n*)
21562 case `echo 'xy\c'` in
21563 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21564 xy) ECHO_C='\c';;
21565 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21566 ECHO_T=' ';;
21567 esac;;
21569 ECHO_N='-n';;
21570 esac
21572 rm -f conf$$ conf$$.exe conf$$.file
21573 if test -d conf$$.dir; then
21574 rm -f conf$$.dir/conf$$.file
21575 else
21576 rm -f conf$$.dir
21577 mkdir conf$$.dir 2>/dev/null
21579 if (echo >conf$$.file) 2>/dev/null; then
21580 if ln -s conf$$.file conf$$ 2>/dev/null; then
21581 as_ln_s='ln -s'
21582 # ... but there are two gotchas:
21583 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21584 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21585 # In both cases, we have to default to `cp -pR'.
21586 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21587 as_ln_s='cp -pR'
21588 elif ln conf$$.file conf$$ 2>/dev/null; then
21589 as_ln_s=ln
21590 else
21591 as_ln_s='cp -pR'
21593 else
21594 as_ln_s='cp -pR'
21596 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21597 rmdir conf$$.dir 2>/dev/null
21600 # as_fn_mkdir_p
21601 # -------------
21602 # Create "$as_dir" as a directory, including parents if necessary.
21603 as_fn_mkdir_p ()
21606 case $as_dir in #(
21607 -*) as_dir=./$as_dir;;
21608 esac
21609 test -d "$as_dir" || eval $as_mkdir_p || {
21610 as_dirs=
21611 while :; do
21612 case $as_dir in #(
21613 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21614 *) as_qdir=$as_dir;;
21615 esac
21616 as_dirs="'$as_qdir' $as_dirs"
21617 as_dir=`$as_dirname -- "$as_dir" ||
21618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21619 X"$as_dir" : 'X\(//\)[^/]' \| \
21620 X"$as_dir" : 'X\(//\)$' \| \
21621 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21622 $as_echo X"$as_dir" |
21623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21624 s//\1/
21627 /^X\(\/\/\)[^/].*/{
21628 s//\1/
21631 /^X\(\/\/\)$/{
21632 s//\1/
21635 /^X\(\/\).*/{
21636 s//\1/
21639 s/.*/./; q'`
21640 test -d "$as_dir" && break
21641 done
21642 test -z "$as_dirs" || eval "mkdir $as_dirs"
21643 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21646 } # as_fn_mkdir_p
21647 if mkdir -p . 2>/dev/null; then
21648 as_mkdir_p='mkdir -p "$as_dir"'
21649 else
21650 test -d ./-p && rmdir ./-p
21651 as_mkdir_p=false
21655 # as_fn_executable_p FILE
21656 # -----------------------
21657 # Test if FILE is an executable regular file.
21658 as_fn_executable_p ()
21660 test -f "$1" && test -x "$1"
21661 } # as_fn_executable_p
21662 as_test_x='test -x'
21663 as_executable_p=as_fn_executable_p
21665 # Sed expression to map a string onto a valid CPP name.
21666 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21668 # Sed expression to map a string onto a valid variable name.
21669 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21672 exec 6>&1
21673 ## ----------------------------------- ##
21674 ## Main body of $CONFIG_STATUS script. ##
21675 ## ----------------------------------- ##
21676 _ASEOF
21677 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21680 # Save the log message, to keep $0 and so on meaningful, and to
21681 # report actual input values of CONFIG_FILES etc. instead of their
21682 # values after options handling.
21683 ac_log="
21684 This file was extended by Wine $as_me 6.0, which was
21685 generated by GNU Autoconf 2.69. Invocation command line was
21687 CONFIG_FILES = $CONFIG_FILES
21688 CONFIG_HEADERS = $CONFIG_HEADERS
21689 CONFIG_LINKS = $CONFIG_LINKS
21690 CONFIG_COMMANDS = $CONFIG_COMMANDS
21691 $ $0 $@
21693 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21696 _ACEOF
21698 case $ac_config_files in *"
21699 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21700 esac
21702 case $ac_config_headers in *"
21703 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21704 esac
21707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21708 # Files that config.status was made for.
21709 config_files="$ac_config_files"
21710 config_headers="$ac_config_headers"
21711 config_links="$ac_config_links"
21712 config_commands="$ac_config_commands"
21714 _ACEOF
21716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21717 ac_cs_usage="\
21718 \`$as_me' instantiates files and other configuration actions
21719 from templates according to the current configuration. Unless the files
21720 and actions are specified as TAGs, all are instantiated by default.
21722 Usage: $0 [OPTION]... [TAG]...
21724 -h, --help print this help, then exit
21725 -V, --version print version number and configuration settings, then exit
21726 --config print configuration, then exit
21727 -q, --quiet, --silent
21728 do not print progress messages
21729 -d, --debug don't remove temporary files
21730 --recheck update $as_me by reconfiguring in the same conditions
21731 --file=FILE[:TEMPLATE]
21732 instantiate the configuration file FILE
21733 --header=FILE[:TEMPLATE]
21734 instantiate the configuration header FILE
21736 Configuration files:
21737 $config_files
21739 Configuration headers:
21740 $config_headers
21742 Configuration links:
21743 $config_links
21745 Configuration commands:
21746 $config_commands
21748 Report bugs to <wine-devel@winehq.org>.
21749 Wine home page: <https://www.winehq.org>."
21751 _ACEOF
21752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21753 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21754 ac_cs_version="\\
21755 Wine config.status 6.0
21756 configured by $0, generated by GNU Autoconf 2.69,
21757 with options \\"\$ac_cs_config\\"
21759 Copyright (C) 2012 Free Software Foundation, Inc.
21760 This config.status script is free software; the Free Software Foundation
21761 gives unlimited permission to copy, distribute and modify it."
21763 ac_pwd='$ac_pwd'
21764 srcdir='$srcdir'
21765 test -n "\$AWK" || AWK=awk
21766 _ACEOF
21768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21769 # The default lists apply if the user does not specify any file.
21770 ac_need_defaults=:
21771 while test $# != 0
21773 case $1 in
21774 --*=?*)
21775 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21776 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21777 ac_shift=:
21779 --*=)
21780 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21781 ac_optarg=
21782 ac_shift=:
21785 ac_option=$1
21786 ac_optarg=$2
21787 ac_shift=shift
21789 esac
21791 case $ac_option in
21792 # Handling of the options.
21793 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21794 ac_cs_recheck=: ;;
21795 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21796 $as_echo "$ac_cs_version"; exit ;;
21797 --config | --confi | --conf | --con | --co | --c )
21798 $as_echo "$ac_cs_config"; exit ;;
21799 --debug | --debu | --deb | --de | --d | -d )
21800 debug=: ;;
21801 --file | --fil | --fi | --f )
21802 $ac_shift
21803 case $ac_optarg in
21804 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21805 '') as_fn_error $? "missing file argument" ;;
21806 esac
21807 as_fn_append CONFIG_FILES " '$ac_optarg'"
21808 ac_need_defaults=false;;
21809 --header | --heade | --head | --hea )
21810 $ac_shift
21811 case $ac_optarg in
21812 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21813 esac
21814 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21815 ac_need_defaults=false;;
21816 --he | --h)
21817 # Conflict between --help and --header
21818 as_fn_error $? "ambiguous option: \`$1'
21819 Try \`$0 --help' for more information.";;
21820 --help | --hel | -h )
21821 $as_echo "$ac_cs_usage"; exit ;;
21822 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21823 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21824 ac_cs_silent=: ;;
21826 # This is an error.
21827 -*) as_fn_error $? "unrecognized option: \`$1'
21828 Try \`$0 --help' for more information." ;;
21830 *) as_fn_append ac_config_targets " $1"
21831 ac_need_defaults=false ;;
21833 esac
21834 shift
21835 done
21837 ac_configure_extra_args=
21839 if $ac_cs_silent; then
21840 exec 6>/dev/null
21841 ac_configure_extra_args="$ac_configure_extra_args --silent"
21844 _ACEOF
21845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21846 if \$ac_cs_recheck; then
21847 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21848 shift
21849 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21850 CONFIG_SHELL='$SHELL'
21851 export CONFIG_SHELL
21852 exec "\$@"
21855 _ACEOF
21856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21857 exec 5>>config.log
21859 echo
21860 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21861 ## Running $as_me. ##
21862 _ASBOX
21863 $as_echo "$ac_log"
21864 } >&5
21866 _ACEOF
21867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21869 # INIT-COMMANDS
21871 wine_fn_output_makedep ()
21873 as_dir=tools; as_fn_mkdir_p
21874 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21876 wine_fn_output_makefile ()
21878 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
21879 `cat $wine_rules_file`
21880 _WINE_EOF
21881 as_fn_error $? "could not create Makefile" "$LINENO" 5
21884 _ACEOF
21886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21888 # Handling of arguments.
21889 for ac_config_target in $ac_config_targets
21891 case $ac_config_target in
21892 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21893 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21894 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21895 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21896 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21897 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21898 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21900 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21901 esac
21902 done
21905 # If the user did not use the arguments to specify the items to instantiate,
21906 # then the envvar interface is used. Set only those that are not.
21907 # We use the long form for the default assignment because of an extremely
21908 # bizarre bug on SunOS 4.1.3.
21909 if $ac_need_defaults; then
21910 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21911 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21912 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21913 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21916 # Have a temporary directory for convenience. Make it in the build tree
21917 # simply because there is no reason against having it here, and in addition,
21918 # creating and moving files from /tmp can sometimes cause problems.
21919 # Hook for its removal unless debugging.
21920 # Note that there is a small window in which the directory will not be cleaned:
21921 # after its creation but before its name has been assigned to `$tmp'.
21922 $debug ||
21924 tmp= ac_tmp=
21925 trap 'exit_status=$?
21926 : "${ac_tmp:=$tmp}"
21927 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21929 trap 'as_fn_exit 1' 1 2 13 15
21931 # Create a (secure) tmp directory for tmp files.
21934 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21935 test -d "$tmp"
21936 } ||
21938 tmp=./conf$$-$RANDOM
21939 (umask 077 && mkdir "$tmp")
21940 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21941 ac_tmp=$tmp
21943 # Set up the scripts for CONFIG_FILES section.
21944 # No need to generate them if there are no CONFIG_FILES.
21945 # This happens for instance with `./config.status config.h'.
21946 if test -n "$CONFIG_FILES"; then
21949 ac_cr=`echo X | tr X '\015'`
21950 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21951 # But we know of no other shell where ac_cr would be empty at this
21952 # point, so we can use a bashism as a fallback.
21953 if test "x$ac_cr" = x; then
21954 eval ac_cr=\$\'\\r\'
21956 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21957 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21958 ac_cs_awk_cr='\\r'
21959 else
21960 ac_cs_awk_cr=$ac_cr
21963 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21964 _ACEOF
21968 echo "cat >conf$$subs.awk <<_ACEOF" &&
21969 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21970 echo "_ACEOF"
21971 } >conf$$subs.sh ||
21972 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21973 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21974 ac_delim='%!_!# '
21975 for ac_last_try in false false false false false :; do
21976 . ./conf$$subs.sh ||
21977 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21979 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21980 if test $ac_delim_n = $ac_delim_num; then
21981 break
21982 elif $ac_last_try; then
21983 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21984 else
21985 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21987 done
21988 rm -f conf$$subs.sh
21990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21991 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21992 _ACEOF
21993 sed -n '
21995 s/^/S["/; s/!.*/"]=/
21998 s/^[^!]*!//
21999 :repl
22000 t repl
22001 s/'"$ac_delim"'$//
22002 t delim
22005 s/\(.\{148\}\)..*/\1/
22006 t more1
22007 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22010 b repl
22011 :more1
22012 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22015 s/.\{148\}//
22016 t nl
22017 :delim
22019 s/\(.\{148\}\)..*/\1/
22020 t more2
22021 s/["\\]/\\&/g; s/^/"/; s/$/"/
22024 :more2
22025 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22028 s/.\{148\}//
22029 t delim
22030 ' <conf$$subs.awk | sed '
22031 /^[^""]/{
22033 s/\n//
22035 ' >>$CONFIG_STATUS || ac_write_fail=1
22036 rm -f conf$$subs.awk
22037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22038 _ACAWK
22039 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22040 for (key in S) S_is_set[key] = 1
22041 FS = "\a"
22045 line = $ 0
22046 nfields = split(line, field, "@")
22047 substed = 0
22048 len = length(field[1])
22049 for (i = 2; i < nfields; i++) {
22050 key = field[i]
22051 keylen = length(key)
22052 if (S_is_set[key]) {
22053 value = S[key]
22054 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22055 len += length(value) + length(field[++i])
22056 substed = 1
22057 } else
22058 len += 1 + keylen
22061 print line
22064 _ACAWK
22065 _ACEOF
22066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22067 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22068 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22069 else
22071 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22072 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22073 _ACEOF
22075 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22076 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22077 # trailing colons and then remove the whole line if VPATH becomes empty
22078 # (actually we leave an empty line to preserve line numbers).
22079 if test "x$srcdir" = x.; then
22080 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22082 s///
22083 s/^/:/
22084 s/[ ]*$/:/
22085 s/:\$(srcdir):/:/g
22086 s/:\${srcdir}:/:/g
22087 s/:@srcdir@:/:/g
22088 s/^:*//
22089 s/:*$//
22091 s/\(=[ ]*\).*/\1/
22093 s/\n//
22094 s/^[^=]*=[ ]*$//
22098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22099 fi # test -n "$CONFIG_FILES"
22101 # Set up the scripts for CONFIG_HEADERS section.
22102 # No need to generate them if there are no CONFIG_HEADERS.
22103 # This happens for instance with `./config.status Makefile'.
22104 if test -n "$CONFIG_HEADERS"; then
22105 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22106 BEGIN {
22107 _ACEOF
22109 # Transform confdefs.h into an awk script `defines.awk', embedded as
22110 # here-document in config.status, that substitutes the proper values into
22111 # config.h.in to produce config.h.
22113 # Create a delimiter string that does not exist in confdefs.h, to ease
22114 # handling of long lines.
22115 ac_delim='%!_!# '
22116 for ac_last_try in false false :; do
22117 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22118 if test -z "$ac_tt"; then
22119 break
22120 elif $ac_last_try; then
22121 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22122 else
22123 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22125 done
22127 # For the awk script, D is an array of macro values keyed by name,
22128 # likewise P contains macro parameters if any. Preserve backslash
22129 # newline sequences.
22131 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22132 sed -n '
22133 s/.\{148\}/&'"$ac_delim"'/g
22134 t rset
22135 :rset
22136 s/^[ ]*#[ ]*define[ ][ ]*/ /
22137 t def
22139 :def
22140 s/\\$//
22141 t bsnl
22142 s/["\\]/\\&/g
22143 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22144 D["\1"]=" \3"/p
22145 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22147 :bsnl
22148 s/["\\]/\\&/g
22149 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22150 D["\1"]=" \3\\\\\\n"\\/p
22151 t cont
22152 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22153 t cont
22155 :cont
22157 s/.\{148\}/&'"$ac_delim"'/g
22158 t clear
22159 :clear
22160 s/\\$//
22161 t bsnlc
22162 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22164 :bsnlc
22165 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22166 b cont
22167 ' <confdefs.h | sed '
22168 s/'"$ac_delim"'/"\\\
22169 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22172 for (key in D) D_is_set[key] = 1
22173 FS = "\a"
22175 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22176 line = \$ 0
22177 split(line, arg, " ")
22178 if (arg[1] == "#") {
22179 defundef = arg[2]
22180 mac1 = arg[3]
22181 } else {
22182 defundef = substr(arg[1], 2)
22183 mac1 = arg[2]
22185 split(mac1, mac2, "(") #)
22186 macro = mac2[1]
22187 prefix = substr(line, 1, index(line, defundef) - 1)
22188 if (D_is_set[macro]) {
22189 # Preserve the white space surrounding the "#".
22190 print prefix "define", macro P[macro] D[macro]
22191 next
22192 } else {
22193 # Replace #undef with comments. This is necessary, for example,
22194 # in the case of _POSIX_SOURCE, which is predefined and required
22195 # on some systems where configure will not decide to define it.
22196 if (defundef == "undef") {
22197 print "/*", prefix defundef, macro, "*/"
22198 next
22202 { print }
22203 _ACAWK
22204 _ACEOF
22205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22206 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22207 fi # test -n "$CONFIG_HEADERS"
22210 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22211 shift
22212 for ac_tag
22214 case $ac_tag in
22215 :[FHLC]) ac_mode=$ac_tag; continue;;
22216 esac
22217 case $ac_mode$ac_tag in
22218 :[FHL]*:*);;
22219 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22220 :[FH]-) ac_tag=-:-;;
22221 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22222 esac
22223 ac_save_IFS=$IFS
22224 IFS=:
22225 set x $ac_tag
22226 IFS=$ac_save_IFS
22227 shift
22228 ac_file=$1
22229 shift
22231 case $ac_mode in
22232 :L) ac_source=$1;;
22233 :[FH])
22234 ac_file_inputs=
22235 for ac_f
22237 case $ac_f in
22238 -) ac_f="$ac_tmp/stdin";;
22239 *) # Look for the file first in the build tree, then in the source tree
22240 # (if the path is not absolute). The absolute path cannot be DOS-style,
22241 # because $ac_f cannot contain `:'.
22242 test -f "$ac_f" ||
22243 case $ac_f in
22244 [\\/$]*) false;;
22245 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22246 esac ||
22247 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22248 esac
22249 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22250 as_fn_append ac_file_inputs " '$ac_f'"
22251 done
22253 # Let's still pretend it is `configure' which instantiates (i.e., don't
22254 # use $as_me), people would be surprised to read:
22255 # /* config.h. Generated by config.status. */
22256 configure_input='Generated from '`
22257 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22258 `' by configure.'
22259 if test x"$ac_file" != x-; then
22260 configure_input="$ac_file. $configure_input"
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22262 $as_echo "$as_me: creating $ac_file" >&6;}
22264 # Neutralize special characters interpreted by sed in replacement strings.
22265 case $configure_input in #(
22266 *\&* | *\|* | *\\* )
22267 ac_sed_conf_input=`$as_echo "$configure_input" |
22268 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22269 *) ac_sed_conf_input=$configure_input;;
22270 esac
22272 case $ac_tag in
22273 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22274 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22275 esac
22277 esac
22279 ac_dir=`$as_dirname -- "$ac_file" ||
22280 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22281 X"$ac_file" : 'X\(//\)[^/]' \| \
22282 X"$ac_file" : 'X\(//\)$' \| \
22283 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22284 $as_echo X"$ac_file" |
22285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22286 s//\1/
22289 /^X\(\/\/\)[^/].*/{
22290 s//\1/
22293 /^X\(\/\/\)$/{
22294 s//\1/
22297 /^X\(\/\).*/{
22298 s//\1/
22301 s/.*/./; q'`
22302 as_dir="$ac_dir"; as_fn_mkdir_p
22303 ac_builddir=.
22305 case "$ac_dir" in
22306 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22308 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22309 # A ".." for each directory in $ac_dir_suffix.
22310 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22311 case $ac_top_builddir_sub in
22312 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22313 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22314 esac ;;
22315 esac
22316 ac_abs_top_builddir=$ac_pwd
22317 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22318 # for backward compatibility:
22319 ac_top_builddir=$ac_top_build_prefix
22321 case $srcdir in
22322 .) # We are building in place.
22323 ac_srcdir=.
22324 ac_top_srcdir=$ac_top_builddir_sub
22325 ac_abs_top_srcdir=$ac_pwd ;;
22326 [\\/]* | ?:[\\/]* ) # Absolute name.
22327 ac_srcdir=$srcdir$ac_dir_suffix;
22328 ac_top_srcdir=$srcdir
22329 ac_abs_top_srcdir=$srcdir ;;
22330 *) # Relative name.
22331 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22332 ac_top_srcdir=$ac_top_build_prefix$srcdir
22333 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22334 esac
22335 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22338 case $ac_mode in
22341 # CONFIG_FILE
22344 _ACEOF
22346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22347 # If the template does not know about datarootdir, expand it.
22348 # FIXME: This hack should be removed a few years after 2.60.
22349 ac_datarootdir_hack=; ac_datarootdir_seen=
22350 ac_sed_dataroot='
22351 /datarootdir/ {
22355 /@datadir@/p
22356 /@docdir@/p
22357 /@infodir@/p
22358 /@localedir@/p
22359 /@mandir@/p'
22360 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22361 *datarootdir*) ac_datarootdir_seen=yes;;
22362 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22364 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22365 _ACEOF
22366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22367 ac_datarootdir_hack='
22368 s&@datadir@&$datadir&g
22369 s&@docdir@&$docdir&g
22370 s&@infodir@&$infodir&g
22371 s&@localedir@&$localedir&g
22372 s&@mandir@&$mandir&g
22373 s&\\\${datarootdir}&$datarootdir&g' ;;
22374 esac
22375 _ACEOF
22377 # Neutralize VPATH when `$srcdir' = `.'.
22378 # Shell code in configure.ac might set extrasub.
22379 # FIXME: do we really want to maintain this feature?
22380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22381 ac_sed_extra="$ac_vpsub
22382 $extrasub
22383 _ACEOF
22384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22386 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22387 s|@configure_input@|$ac_sed_conf_input|;t t
22388 s&@top_builddir@&$ac_top_builddir_sub&;t t
22389 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22390 s&@srcdir@&$ac_srcdir&;t t
22391 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22392 s&@top_srcdir@&$ac_top_srcdir&;t t
22393 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22394 s&@builddir@&$ac_builddir&;t t
22395 s&@abs_builddir@&$ac_abs_builddir&;t t
22396 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22397 $ac_datarootdir_hack
22399 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22400 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22402 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22403 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22404 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22405 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22407 which seems to be undefined. Please make sure it is defined" >&5
22408 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22409 which seems to be undefined. Please make sure it is defined" >&2;}
22411 rm -f "$ac_tmp/stdin"
22412 case $ac_file in
22413 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22414 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22415 esac \
22416 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22420 # CONFIG_HEADER
22422 if test x"$ac_file" != x-; then
22424 $as_echo "/* $configure_input */" \
22425 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22426 } >"$ac_tmp/config.h" \
22427 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22428 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22430 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22431 else
22432 rm -f "$ac_file"
22433 mv "$ac_tmp/config.h" "$ac_file" \
22434 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22436 else
22437 $as_echo "/* $configure_input */" \
22438 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22439 || as_fn_error $? "could not create -" "$LINENO" 5
22444 # CONFIG_LINK
22447 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22449 else
22450 # Prefer the file from the source tree if names are identical.
22451 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22452 ac_source=$srcdir/$ac_source
22455 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22456 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22458 if test ! -r "$ac_source"; then
22459 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22461 rm -f "$ac_file"
22463 # Try a relative symlink, then a hard link, then a copy.
22464 case $ac_source in
22465 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22466 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22467 esac
22468 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22469 ln "$ac_source" "$ac_file" 2>/dev/null ||
22470 cp -p "$ac_source" "$ac_file" ||
22471 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22474 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22475 $as_echo "$as_me: executing $ac_file commands" >&6;}
22477 esac
22480 case $ac_file$ac_mode in
22481 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22482 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22483 "Makefile":C) wine_fn_output_makefile Makefile ;;
22485 esac
22486 done # for ac_tag
22489 as_fn_exit 0
22490 _ACEOF
22491 ac_clean_files=$ac_clean_files_save
22493 test $ac_write_fail = 0 ||
22494 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22497 # configure is writing to config.log, and then calls config.status.
22498 # config.status does its own redirection, appending to config.log.
22499 # Unfortunately, on DOS this fails, as config.log is still kept open
22500 # by configure, so config.status won't be able to write to it; its
22501 # output is simply discarded. So we exec the FD to /dev/null,
22502 # effectively closing config.log, so it can be properly (re)opened and
22503 # appended to by config.status. When coming back to configure, we
22504 # need to make the FD available again.
22505 if test "$no_create" != yes; then
22506 ac_cs_success=:
22507 ac_config_status_args=
22508 test "$silent" = yes &&
22509 ac_config_status_args="$ac_config_status_args --quiet"
22510 exec 5>/dev/null
22511 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22512 exec 5>>config.log
22513 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22514 # would make configure fail if this is the last instruction.
22515 $ac_cs_success || as_fn_exit 1
22517 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22519 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22523 if test "$no_create" = "yes"
22524 then
22525 exit 0
22528 ac_save_IFS="$IFS"
22529 if test "x$wine_notices" != x; then
22530 echo >&6
22531 IFS="|"
22532 for msg in $wine_notices; do
22533 IFS="$ac_save_IFS"
22534 if ${msg:+false} :; then :
22536 else
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22538 $as_echo "$as_me: $msg" >&6;}
22540 done
22542 IFS="|"
22543 for msg in $wine_warnings; do
22544 IFS="$ac_save_IFS"
22545 if ${msg:+false} :; then :
22547 else
22548 echo >&2
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22550 $as_echo "$as_me: WARNING: $msg" >&2;}
22552 done
22553 IFS="$ac_save_IFS"
22555 $as_echo "
22556 $as_me: Finished. Do '${ac_make}' to compile Wine.
22557 " >&6