winex11.drv: Support display orientations for XRandR 1.4 display settings handler.
[wine.git] / configure
blobe8d97610f2751a92c6ec828a7dc89d2629adea4d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.17.
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='5.17'
584 PACKAGE_STRING='Wine 5.17'
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_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 GSSAPI_LIBS
650 GSSAPI_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 FAUDIO_LIBS
660 FAUDIO_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UNWIND_LIBS
664 UNWIND_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_LIBS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 USB_LIBS
685 USB_CFLAGS
686 SANE_LIBS
687 SANE_CFLAGS
688 GNUTLS_LIBS
689 GNUTLS_CFLAGS
690 HAL_LIBS
691 HAL_CFLAGS
692 DBUS_LIBS
693 DBUS_CFLAGS
694 INOTIFY_LIBS
695 INOTIFY_CFLAGS
696 XSLT_LIBS
697 XSLT_CFLAGS
698 XML2_LIBS
699 XML2_CFLAGS
700 PCAP_LIBS
701 X_EXTRA_LIBS
702 X_LIBS
703 X_PRE_LIBS
704 X_CFLAGS
705 XMKMF
706 PTHREAD_LIBS
707 EXCESS_PRECISION_CFLAGS
708 CROSSDEBUG
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 DLLFLAGS
755 OPENGL_LIBS
756 I386_LIBS
757 ICOTOOL
758 CONVERT
759 RSVG
760 FONTFORGE
761 PKG_CONFIG
762 MSGFMT
763 LDCONFIG
764 EGREP
765 GREP
766 LN_S
767 RANLIB
768 STRIP
769 ac_ct_AR
771 BISON
772 FLEX
773 TOOLSDIR
774 TARGETFLAGS
776 CPPBIN
777 ac_ct_CXX
778 CXXFLAGS
780 OBJEXT
781 EXEEXT
782 ac_ct_CC
783 CPPFLAGS
784 LDFLAGS
785 CFLAGS
787 SET_MAKE
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 target_alias
797 host_alias
798 build_alias
799 LIBS
800 ECHO_T
801 ECHO_N
802 ECHO_C
803 DEFS
804 mandir
805 localedir
806 libdir
807 psdir
808 pdfdir
809 dvidir
810 htmldir
811 infodir
812 docdir
813 oldincludedir
814 includedir
815 runstatedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_win16
839 enable_win64
840 enable_tests
841 enable_maintainer_mode
842 enable_werror
843 with_alsa
844 with_capi
845 with_cms
846 with_coreaudio
847 with_cups
848 with_curses
849 with_dbus
850 with_faudio
851 with_float_abi
852 with_fontconfig
853 with_freetype
854 with_gettext
855 with_gettextpo
856 with_gphoto
857 with_glu
858 with_gnutls
859 with_gsm
860 with_gssapi
861 with_gstreamer
862 with_hal
863 with_inotify
864 with_jpeg
865 with_krb5
866 with_ldap
867 with_mingw
868 with_mpg123
869 with_netapi
870 with_openal
871 with_opencl
872 with_opengl
873 with_osmesa
874 with_oss
875 with_pcap
876 with_png
877 with_pthread
878 with_pulse
879 with_quicktime
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_usb
886 with_v4l2
887 with_vkd3d
888 with_vulkan
889 with_xcomposite
890 with_xcursor
891 with_xfixes
892 with_xinerama
893 with_xinput
894 with_xinput2
895 with_xml
896 with_xrandr
897 with_xrender
898 with_xshape
899 with_xshm
900 with_xslt
901 with_xxf86vm
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds_tlb
909 enable_activeds
910 enable_actxprxy
911 enable_adsiid
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l2_1_0
932 enable_api_ms_win_core_crt_l1_1_0
933 enable_api_ms_win_core_crt_l2_1_0
934 enable_api_ms_win_core_datetime_l1_1_0
935 enable_api_ms_win_core_datetime_l1_1_1
936 enable_api_ms_win_core_debug_l1_1_0
937 enable_api_ms_win_core_debug_l1_1_1
938 enable_api_ms_win_core_delayload_l1_1_0
939 enable_api_ms_win_core_delayload_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_0
941 enable_api_ms_win_core_errorhandling_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_2
943 enable_api_ms_win_core_errorhandling_l1_1_3
944 enable_api_ms_win_core_fibers_l1_1_0
945 enable_api_ms_win_core_fibers_l1_1_1
946 enable_api_ms_win_core_file_ansi_l2_1_0
947 enable_api_ms_win_core_file_fromapp_l1_1_0
948 enable_api_ms_win_core_file_l1_1_0
949 enable_api_ms_win_core_file_l1_2_0
950 enable_api_ms_win_core_file_l1_2_1
951 enable_api_ms_win_core_file_l1_2_2
952 enable_api_ms_win_core_file_l2_1_0
953 enable_api_ms_win_core_file_l2_1_1
954 enable_api_ms_win_core_file_l2_1_2
955 enable_api_ms_win_core_handle_l1_1_0
956 enable_api_ms_win_core_heap_l1_1_0
957 enable_api_ms_win_core_heap_l1_2_0
958 enable_api_ms_win_core_heap_l2_1_0
959 enable_api_ms_win_core_heap_obsolete_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_2_0
962 enable_api_ms_win_core_io_l1_1_0
963 enable_api_ms_win_core_io_l1_1_1
964 enable_api_ms_win_core_job_l1_1_0
965 enable_api_ms_win_core_job_l2_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_1
968 enable_api_ms_win_core_kernel32_private_l1_1_1
969 enable_api_ms_win_core_largeinteger_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_1
972 enable_api_ms_win_core_libraryloader_l1_2_0
973 enable_api_ms_win_core_libraryloader_l1_2_1
974 enable_api_ms_win_core_libraryloader_l1_2_2
975 enable_api_ms_win_core_libraryloader_l2_1_0
976 enable_api_ms_win_core_localization_l1_1_0
977 enable_api_ms_win_core_localization_l1_2_0
978 enable_api_ms_win_core_localization_l1_2_1
979 enable_api_ms_win_core_localization_l1_2_2
980 enable_api_ms_win_core_localization_l2_1_0
981 enable_api_ms_win_core_localization_obsolete_l1_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_2_0
983 enable_api_ms_win_core_localization_obsolete_l1_3_0
984 enable_api_ms_win_core_localization_private_l1_1_0
985 enable_api_ms_win_core_localregistry_l1_1_0
986 enable_api_ms_win_core_memory_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_1
988 enable_api_ms_win_core_memory_l1_1_2
989 enable_api_ms_win_core_memory_l1_1_3
990 enable_api_ms_win_core_memory_l1_1_4
991 enable_api_ms_win_core_misc_l1_1_0
992 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
993 enable_api_ms_win_core_namedpipe_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_2_0
995 enable_api_ms_win_core_namespace_l1_1_0
996 enable_api_ms_win_core_normalization_l1_1_0
997 enable_api_ms_win_core_path_l1_1_0
998 enable_api_ms_win_core_privateprofile_l1_1_1
999 enable_api_ms_win_core_processenvironment_l1_1_0
1000 enable_api_ms_win_core_processenvironment_l1_2_0
1001 enable_api_ms_win_core_processthreads_l1_1_0
1002 enable_api_ms_win_core_processthreads_l1_1_1
1003 enable_api_ms_win_core_processthreads_l1_1_2
1004 enable_api_ms_win_core_processthreads_l1_1_3
1005 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1006 enable_api_ms_win_core_profile_l1_1_0
1007 enable_api_ms_win_core_psapi_ansi_l1_1_0
1008 enable_api_ms_win_core_psapi_l1_1_0
1009 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_quirks_l1_1_0
1011 enable_api_ms_win_core_realtime_l1_1_0
1012 enable_api_ms_win_core_registry_l1_1_0
1013 enable_api_ms_win_core_registry_l2_1_0
1014 enable_api_ms_win_core_registry_l2_2_0
1015 enable_api_ms_win_core_registryuserspecific_l1_1_0
1016 enable_api_ms_win_core_rtlsupport_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_2_0
1018 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1019 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1021 enable_api_ms_win_core_shutdown_l1_1_0
1022 enable_api_ms_win_core_sidebyside_l1_1_0
1023 enable_api_ms_win_core_string_l1_1_0
1024 enable_api_ms_win_core_string_l2_1_0
1025 enable_api_ms_win_core_string_obsolete_l1_1_0
1026 enable_api_ms_win_core_stringansi_l1_1_0
1027 enable_api_ms_win_core_stringloader_l1_1_1
1028 enable_api_ms_win_core_synch_ansi_l1_1_0
1029 enable_api_ms_win_core_synch_l1_1_0
1030 enable_api_ms_win_core_synch_l1_2_0
1031 enable_api_ms_win_core_synch_l1_2_1
1032 enable_api_ms_win_core_sysinfo_l1_1_0
1033 enable_api_ms_win_core_sysinfo_l1_2_0
1034 enable_api_ms_win_core_sysinfo_l1_2_1
1035 enable_api_ms_win_core_systemtopology_l1_1_0
1036 enable_api_ms_win_core_threadpool_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_2_0
1038 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1039 enable_api_ms_win_core_threadpool_private_l1_1_0
1040 enable_api_ms_win_core_timezone_l1_1_0
1041 enable_api_ms_win_core_toolhelp_l1_1_0
1042 enable_api_ms_win_core_url_l1_1_0
1043 enable_api_ms_win_core_util_l1_1_0
1044 enable_api_ms_win_core_version_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_1
1046 enable_api_ms_win_core_version_private_l1_1_0
1047 enable_api_ms_win_core_versionansi_l1_1_0
1048 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1049 enable_api_ms_win_core_winrt_error_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_1
1051 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1052 enable_api_ms_win_core_winrt_l1_1_0
1053 enable_api_ms_win_core_winrt_registration_l1_1_0
1054 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1055 enable_api_ms_win_core_winrt_string_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_1
1057 enable_api_ms_win_core_wow64_l1_1_0
1058 enable_api_ms_win_core_wow64_l1_1_1
1059 enable_api_ms_win_core_xstate_l1_1_0
1060 enable_api_ms_win_core_xstate_l2_1_0
1061 enable_api_ms_win_crt_conio_l1_1_0
1062 enable_api_ms_win_crt_convert_l1_1_0
1063 enable_api_ms_win_crt_environment_l1_1_0
1064 enable_api_ms_win_crt_filesystem_l1_1_0
1065 enable_api_ms_win_crt_heap_l1_1_0
1066 enable_api_ms_win_crt_locale_l1_1_0
1067 enable_api_ms_win_crt_math_l1_1_0
1068 enable_api_ms_win_crt_multibyte_l1_1_0
1069 enable_api_ms_win_crt_private_l1_1_0
1070 enable_api_ms_win_crt_process_l1_1_0
1071 enable_api_ms_win_crt_runtime_l1_1_0
1072 enable_api_ms_win_crt_stdio_l1_1_0
1073 enable_api_ms_win_crt_string_l1_1_0
1074 enable_api_ms_win_crt_time_l1_1_0
1075 enable_api_ms_win_crt_utility_l1_1_0
1076 enable_api_ms_win_devices_config_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_1
1078 enable_api_ms_win_devices_query_l1_1_1
1079 enable_api_ms_win_downlevel_advapi32_l1_1_0
1080 enable_api_ms_win_downlevel_advapi32_l2_1_0
1081 enable_api_ms_win_downlevel_kernel32_l2_1_0
1082 enable_api_ms_win_downlevel_normaliz_l1_1_0
1083 enable_api_ms_win_downlevel_ole32_l1_1_0
1084 enable_api_ms_win_downlevel_shell32_l1_1_0
1085 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1087 enable_api_ms_win_downlevel_user32_l1_1_0
1088 enable_api_ms_win_downlevel_version_l1_1_0
1089 enable_api_ms_win_dx_d3dkmt_l1_1_0
1090 enable_api_ms_win_eventing_classicprovider_l1_1_0
1091 enable_api_ms_win_eventing_consumer_l1_1_0
1092 enable_api_ms_win_eventing_controller_l1_1_0
1093 enable_api_ms_win_eventing_legacy_l1_1_0
1094 enable_api_ms_win_eventing_provider_l1_1_0
1095 enable_api_ms_win_eventlog_legacy_l1_1_0
1096 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1097 enable_api_ms_win_mm_joystick_l1_1_0
1098 enable_api_ms_win_mm_misc_l1_1_1
1099 enable_api_ms_win_mm_mme_l1_1_0
1100 enable_api_ms_win_mm_time_l1_1_0
1101 enable_api_ms_win_ntuser_dc_access_l1_1_0
1102 enable_api_ms_win_ntuser_rectangle_l1_1_0
1103 enable_api_ms_win_ntuser_sysparams_l1_1_0
1104 enable_api_ms_win_perf_legacy_l1_1_0
1105 enable_api_ms_win_power_base_l1_1_0
1106 enable_api_ms_win_power_setting_l1_1_0
1107 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1110 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1111 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1114 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1115 enable_api_ms_win_security_audit_l1_1_1
1116 enable_api_ms_win_security_base_l1_1_0
1117 enable_api_ms_win_security_base_l1_2_0
1118 enable_api_ms_win_security_base_private_l1_1_1
1119 enable_api_ms_win_security_credentials_l1_1_0
1120 enable_api_ms_win_security_cryptoapi_l1_1_0
1121 enable_api_ms_win_security_grouppolicy_l1_1_0
1122 enable_api_ms_win_security_lsalookup_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_1
1124 enable_api_ms_win_security_lsalookup_l2_1_0
1125 enable_api_ms_win_security_lsalookup_l2_1_1
1126 enable_api_ms_win_security_lsapolicy_l1_1_0
1127 enable_api_ms_win_security_provider_l1_1_0
1128 enable_api_ms_win_security_sddl_l1_1_0
1129 enable_api_ms_win_security_systemfunctions_l1_1_0
1130 enable_api_ms_win_service_core_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_1
1132 enable_api_ms_win_service_management_l1_1_0
1133 enable_api_ms_win_service_management_l2_1_0
1134 enable_api_ms_win_service_private_l1_1_1
1135 enable_api_ms_win_service_winsvc_l1_1_0
1136 enable_api_ms_win_service_winsvc_l1_2_0
1137 enable_api_ms_win_shcore_obsolete_l1_1_0
1138 enable_api_ms_win_shcore_scaling_l1_1_1
1139 enable_api_ms_win_shcore_stream_l1_1_0
1140 enable_api_ms_win_shcore_thread_l1_1_0
1141 enable_api_ms_win_shell_shellcom_l1_1_0
1142 enable_api_ms_win_shell_shellfolders_l1_1_0
1143 enable_apphelp
1144 enable_appwiz_cpl
1145 enable_atl
1146 enable_atl100
1147 enable_atl110
1148 enable_atl80
1149 enable_atl90
1150 enable_atlthunk
1151 enable_atmlib
1152 enable_authz
1153 enable_avicap32
1154 enable_avifil32
1155 enable_avrt
1156 enable_bcrypt
1157 enable_bluetoothapis
1158 enable_browseui
1159 enable_bthprops_cpl
1160 enable_cabinet
1161 enable_capi2032
1162 enable_cards
1163 enable_cdosys
1164 enable_cfgmgr32
1165 enable_clusapi
1166 enable_combase
1167 enable_comcat
1168 enable_comctl32
1169 enable_comdlg32
1170 enable_compstui
1171 enable_comsvcs
1172 enable_concrt140
1173 enable_connect
1174 enable_credui
1175 enable_crtdll
1176 enable_crypt32
1177 enable_cryptdlg
1178 enable_cryptdll
1179 enable_cryptext
1180 enable_cryptnet
1181 enable_cryptui
1182 enable_ctapi32
1183 enable_ctl3d32
1184 enable_d2d1
1185 enable_d3d10
1186 enable_d3d10_1
1187 enable_d3d10core
1188 enable_d3d11
1189 enable_d3d12
1190 enable_d3d8
1191 enable_d3d9
1192 enable_d3dcompiler_33
1193 enable_d3dcompiler_34
1194 enable_d3dcompiler_35
1195 enable_d3dcompiler_36
1196 enable_d3dcompiler_37
1197 enable_d3dcompiler_38
1198 enable_d3dcompiler_39
1199 enable_d3dcompiler_40
1200 enable_d3dcompiler_41
1201 enable_d3dcompiler_42
1202 enable_d3dcompiler_43
1203 enable_d3dcompiler_46
1204 enable_d3dcompiler_47
1205 enable_d3dim
1206 enable_d3drm
1207 enable_d3dx10_33
1208 enable_d3dx10_34
1209 enable_d3dx10_35
1210 enable_d3dx10_36
1211 enable_d3dx10_37
1212 enable_d3dx10_38
1213 enable_d3dx10_39
1214 enable_d3dx10_40
1215 enable_d3dx10_41
1216 enable_d3dx10_42
1217 enable_d3dx10_43
1218 enable_d3dx11_42
1219 enable_d3dx11_43
1220 enable_d3dx9_24
1221 enable_d3dx9_25
1222 enable_d3dx9_26
1223 enable_d3dx9_27
1224 enable_d3dx9_28
1225 enable_d3dx9_29
1226 enable_d3dx9_30
1227 enable_d3dx9_31
1228 enable_d3dx9_32
1229 enable_d3dx9_33
1230 enable_d3dx9_34
1231 enable_d3dx9_35
1232 enable_d3dx9_36
1233 enable_d3dx9_37
1234 enable_d3dx9_38
1235 enable_d3dx9_39
1236 enable_d3dx9_40
1237 enable_d3dx9_41
1238 enable_d3dx9_42
1239 enable_d3dx9_43
1240 enable_d3dxof
1241 enable_davclnt
1242 enable_dbgeng
1243 enable_dbghelp
1244 enable_dciman32
1245 enable_ddraw
1246 enable_ddrawex
1247 enable_devenum
1248 enable_dhcpcsvc
1249 enable_dhtmled_ocx
1250 enable_difxapi
1251 enable_dinput
1252 enable_dinput8
1253 enable_directmanipulation
1254 enable_dispex
1255 enable_dmband
1256 enable_dmcompos
1257 enable_dmime
1258 enable_dmloader
1259 enable_dmoguids
1260 enable_dmscript
1261 enable_dmstyle
1262 enable_dmsynth
1263 enable_dmusic
1264 enable_dmusic32
1265 enable_dnsapi
1266 enable_dplay
1267 enable_dplayx
1268 enable_dpnaddr
1269 enable_dpnet
1270 enable_dpnhpast
1271 enable_dpnlobby
1272 enable_dpvoice
1273 enable_dpwsockx
1274 enable_drmclien
1275 enable_dsdmo
1276 enable_dsound
1277 enable_dsquery
1278 enable_dssenh
1279 enable_dsuiext
1280 enable_dswave
1281 enable_dwmapi
1282 enable_dwrite
1283 enable_dx8vb
1284 enable_dxdiagn
1285 enable_dxerr8
1286 enable_dxerr9
1287 enable_dxgi
1288 enable_dxguid
1289 enable_dxva2
1290 enable_esent
1291 enable_evr
1292 enable_explorerframe
1293 enable_ext_ms_win_authz_context_l1_1_0
1294 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1295 enable_ext_ms_win_dwmapi_ext_l1_1_0
1296 enable_ext_ms_win_gdi_dc_create_l1_1_0
1297 enable_ext_ms_win_gdi_dc_create_l1_1_1
1298 enable_ext_ms_win_gdi_dc_l1_2_0
1299 enable_ext_ms_win_gdi_devcaps_l1_1_0
1300 enable_ext_ms_win_gdi_draw_l1_1_0
1301 enable_ext_ms_win_gdi_draw_l1_1_1
1302 enable_ext_ms_win_gdi_font_l1_1_0
1303 enable_ext_ms_win_gdi_font_l1_1_1
1304 enable_ext_ms_win_gdi_render_l1_1_0
1305 enable_ext_ms_win_kernel32_package_current_l1_1_0
1306 enable_ext_ms_win_kernel32_package_l1_1_1
1307 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1308 enable_ext_ms_win_ntuser_draw_l1_1_0
1309 enable_ext_ms_win_ntuser_gui_l1_1_0
1310 enable_ext_ms_win_ntuser_gui_l1_3_0
1311 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1312 enable_ext_ms_win_ntuser_message_l1_1_0
1313 enable_ext_ms_win_ntuser_message_l1_1_1
1314 enable_ext_ms_win_ntuser_misc_l1_1_0
1315 enable_ext_ms_win_ntuser_misc_l1_2_0
1316 enable_ext_ms_win_ntuser_misc_l1_5_1
1317 enable_ext_ms_win_ntuser_mouse_l1_1_0
1318 enable_ext_ms_win_ntuser_private_l1_1_1
1319 enable_ext_ms_win_ntuser_private_l1_3_1
1320 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1321 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1322 enable_ext_ms_win_ntuser_window_l1_1_0
1323 enable_ext_ms_win_ntuser_window_l1_1_1
1324 enable_ext_ms_win_ntuser_window_l1_1_4
1325 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1326 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1327 enable_ext_ms_win_oleacc_l1_1_0
1328 enable_ext_ms_win_ras_rasapi32_l1_1_0
1329 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1330 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1331 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1332 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1333 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1336 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1339 enable_ext_ms_win_security_credui_l1_1_0
1340 enable_ext_ms_win_security_cryptui_l1_1_0
1341 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1342 enable_ext_ms_win_shell_comdlg32_l1_1_0
1343 enable_ext_ms_win_shell_shell32_l1_2_0
1344 enable_ext_ms_win_uxtheme_themes_l1_1_0
1345 enable_faultrep
1346 enable_feclient
1347 enable_fltlib
1348 enable_fltmgr_sys
1349 enable_fntcache
1350 enable_fontsub
1351 enable_fusion
1352 enable_fwpuclnt
1353 enable_gameux
1354 enable_gdi32
1355 enable_gdiplus
1356 enable_glu32
1357 enable_gphoto2_ds
1358 enable_gpkcsp
1359 enable_hal
1360 enable_hhctrl_ocx
1361 enable_hid
1362 enable_hidclass_sys
1363 enable_hlink
1364 enable_hnetcfg
1365 enable_http_sys
1366 enable_httpapi
1367 enable_iccvid
1368 enable_icmp
1369 enable_ieframe
1370 enable_ieproxy
1371 enable_imaadp32_acm
1372 enable_imagehlp
1373 enable_imm32
1374 enable_inetcomm
1375 enable_inetcpl_cpl
1376 enable_inetmib1
1377 enable_infosoft
1378 enable_initpki
1379 enable_inkobj
1380 enable_inseng
1381 enable_iphlpapi
1382 enable_iprop
1383 enable_irprops_cpl
1384 enable_itircl
1385 enable_itss
1386 enable_joy_cpl
1387 enable_jscript
1388 enable_jsproxy
1389 enable_kerberos
1390 enable_kernel32
1391 enable_kernelbase
1392 enable_ksecdd_sys
1393 enable_ksproxy_ax
1394 enable_ksuser
1395 enable_ktmw32
1396 enable_l3codeca_acm
1397 enable_loadperf
1398 enable_localspl
1399 enable_localui
1400 enable_lz32
1401 enable_mapi32
1402 enable_mapistub
1403 enable_mciavi32
1404 enable_mcicda
1405 enable_mciqtz32
1406 enable_mciseq
1407 enable_mciwave
1408 enable_mf
1409 enable_mf3216
1410 enable_mferror
1411 enable_mfmediaengine
1412 enable_mfplat
1413 enable_mfplay
1414 enable_mfreadwrite
1415 enable_mfuuid
1416 enable_mgmtapi
1417 enable_midimap
1418 enable_mlang
1419 enable_mmcndmgr
1420 enable_mmdevapi
1421 enable_mountmgr_sys
1422 enable_mp3dmod
1423 enable_mpr
1424 enable_mprapi
1425 enable_msacm32_drv
1426 enable_msacm32
1427 enable_msado15
1428 enable_msadp32_acm
1429 enable_msasn1
1430 enable_mscat32
1431 enable_mscms
1432 enable_mscoree
1433 enable_mscorwks
1434 enable_msctf
1435 enable_msctfp
1436 enable_msdaps
1437 enable_msdelta
1438 enable_msdmo
1439 enable_msdrm
1440 enable_msftedit
1441 enable_msg711_acm
1442 enable_msgsm32_acm
1443 enable_mshtml_tlb
1444 enable_mshtml
1445 enable_msi
1446 enable_msident
1447 enable_msimg32
1448 enable_msimsg
1449 enable_msimtf
1450 enable_msisip
1451 enable_msisys_ocx
1452 enable_msls31
1453 enable_msnet32
1454 enable_mspatcha
1455 enable_msports
1456 enable_msrle32
1457 enable_msscript_ocx
1458 enable_mssign32
1459 enable_mssip32
1460 enable_mstask
1461 enable_msvcirt
1462 enable_msvcm80
1463 enable_msvcm90
1464 enable_msvcp100
1465 enable_msvcp110
1466 enable_msvcp120
1467 enable_msvcp120_app
1468 enable_msvcp140
1469 enable_msvcp140_1
1470 enable_msvcp60
1471 enable_msvcp70
1472 enable_msvcp71
1473 enable_msvcp80
1474 enable_msvcp90
1475 enable_msvcr100
1476 enable_msvcr110
1477 enable_msvcr120
1478 enable_msvcr120_app
1479 enable_msvcr70
1480 enable_msvcr71
1481 enable_msvcr80
1482 enable_msvcr90
1483 enable_msvcrt
1484 enable_msvcrt20
1485 enable_msvcrt40
1486 enable_msvcrtd
1487 enable_msvfw32
1488 enable_msvidc32
1489 enable_mswsock
1490 enable_msxml
1491 enable_msxml2
1492 enable_msxml3
1493 enable_msxml4
1494 enable_msxml6
1495 enable_mtxdm
1496 enable_ncrypt
1497 enable_nddeapi
1498 enable_ndis_sys
1499 enable_netapi32
1500 enable_netcfgx
1501 enable_netio_sys
1502 enable_netprofm
1503 enable_newdev
1504 enable_ninput
1505 enable_normaliz
1506 enable_npmshtml
1507 enable_npptools
1508 enable_ntdll
1509 enable_ntdsapi
1510 enable_ntoskrnl_exe
1511 enable_ntprint
1512 enable_objsel
1513 enable_odbc32
1514 enable_odbcbcp
1515 enable_odbccp32
1516 enable_odbccu32
1517 enable_ole32
1518 enable_oleacc
1519 enable_oleaut32
1520 enable_olecli32
1521 enable_oledb32
1522 enable_oledlg
1523 enable_olepro32
1524 enable_olesvr32
1525 enable_olethk32
1526 enable_opcservices
1527 enable_openal32
1528 enable_opencl
1529 enable_opengl32
1530 enable_packager
1531 enable_pdh
1532 enable_photometadatahandler
1533 enable_pidgen
1534 enable_powrprof
1535 enable_printui
1536 enable_prntvpt
1537 enable_propsys
1538 enable_psapi
1539 enable_pstorec
1540 enable_pwrshplugin
1541 enable_qasf
1542 enable_qcap
1543 enable_qdvd
1544 enable_qedit
1545 enable_qmgr
1546 enable_qmgrprxy
1547 enable_quartz
1548 enable_query
1549 enable_qwave
1550 enable_rasapi32
1551 enable_rasdlg
1552 enable_regapi
1553 enable_resutils
1554 enable_riched20
1555 enable_riched32
1556 enable_rpcrt4
1557 enable_rsabase
1558 enable_rsaenh
1559 enable_rstrtmgr
1560 enable_rtutils
1561 enable_rtworkq
1562 enable_samlib
1563 enable_sane_ds
1564 enable_sapi
1565 enable_sas
1566 enable_scarddlg
1567 enable_sccbase
1568 enable_schannel
1569 enable_schedsvc
1570 enable_scrobj
1571 enable_scrrun
1572 enable_scsiport_sys
1573 enable_sechost
1574 enable_secur32
1575 enable_security
1576 enable_sensapi
1577 enable_serialui
1578 enable_setupapi
1579 enable_sfc
1580 enable_sfc_os
1581 enable_shcore
1582 enable_shdoclc
1583 enable_shdocvw
1584 enable_shell32
1585 enable_shfolder
1586 enable_shlwapi
1587 enable_slbcsp
1588 enable_slc
1589 enable_snmpapi
1590 enable_softpub
1591 enable_spoolss
1592 enable_srclient
1593 enable_sspicli
1594 enable_stdole2_tlb
1595 enable_stdole32_tlb
1596 enable_sti
1597 enable_strmbase
1598 enable_strmdll
1599 enable_strmiids
1600 enable_svrapi
1601 enable_sxs
1602 enable_t2embed
1603 enable_tapi32
1604 enable_taskschd
1605 enable_tdh
1606 enable_tdi_sys
1607 enable_traffic
1608 enable_twain_32
1609 enable_tzres
1610 enable_ucrtbase
1611 enable_uianimation
1612 enable_uiautomationcore
1613 enable_uiribbon
1614 enable_unicows
1615 enable_updspapi
1616 enable_url
1617 enable_urlmon
1618 enable_usbd_sys
1619 enable_user32
1620 enable_userenv
1621 enable_usp10
1622 enable_utildll
1623 enable_uuid
1624 enable_uxtheme
1625 enable_vbscript
1626 enable_vcomp
1627 enable_vcomp100
1628 enable_vcomp110
1629 enable_vcomp120
1630 enable_vcomp140
1631 enable_vcomp90
1632 enable_vcruntime140
1633 enable_vcruntime140_1
1634 enable_vdmdbg
1635 enable_version
1636 enable_vga
1637 enable_virtdisk
1638 enable_vssapi
1639 enable_vulkan_1
1640 enable_wbemdisp
1641 enable_wbemprox
1642 enable_wbemuuid
1643 enable_wdscore
1644 enable_webservices
1645 enable_wer
1646 enable_wevtapi
1647 enable_wiaservc
1648 enable_wimgapi
1649 enable_windowscodecs
1650 enable_windowscodecsext
1651 enable_winealsa_drv
1652 enable_wineandroid_drv
1653 enable_winebus_sys
1654 enable_winecoreaudio_drv
1655 enable_winecrt0
1656 enable_wined3d
1657 enable_winegstreamer
1658 enable_winehid_sys
1659 enable_winejoystick_drv
1660 enable_winemac_drv
1661 enable_winemapi
1662 enable_wineoss_drv
1663 enable_wineps_drv
1664 enable_winepulse_drv
1665 enable_wineqtdecoder
1666 enable_wineusb_sys
1667 enable_winevulkan
1668 enable_winex11_drv
1669 enable_wing32
1670 enable_winhttp
1671 enable_wininet
1672 enable_winmm
1673 enable_winnls32
1674 enable_winscard
1675 enable_winspool_drv
1676 enable_winsta
1677 enable_wintab32
1678 enable_wintrust
1679 enable_winusb
1680 enable_wlanapi
1681 enable_wlanui
1682 enable_wldap32
1683 enable_wmasf
1684 enable_wmcodecdspuuid
1685 enable_wmi
1686 enable_wmiutils
1687 enable_wmp
1688 enable_wmphoto
1689 enable_wmvcore
1690 enable_wnaspi32
1691 enable_wpc
1692 enable_wpcap
1693 enable_ws2_32
1694 enable_wsdapi
1695 enable_wshom_ocx
1696 enable_wsnmp32
1697 enable_wsock32
1698 enable_wtsapi32
1699 enable_wuapi
1700 enable_wuaueng
1701 enable_x3daudio1_0
1702 enable_x3daudio1_1
1703 enable_x3daudio1_2
1704 enable_x3daudio1_3
1705 enable_x3daudio1_4
1706 enable_x3daudio1_5
1707 enable_x3daudio1_6
1708 enable_x3daudio1_7
1709 enable_xactengine3_0
1710 enable_xactengine3_1
1711 enable_xactengine3_2
1712 enable_xactengine3_3
1713 enable_xactengine3_4
1714 enable_xactengine3_5
1715 enable_xactengine3_6
1716 enable_xactengine3_7
1717 enable_xapofx1_1
1718 enable_xapofx1_2
1719 enable_xapofx1_3
1720 enable_xapofx1_4
1721 enable_xapofx1_5
1722 enable_xaudio2_0
1723 enable_xaudio2_1
1724 enable_xaudio2_2
1725 enable_xaudio2_3
1726 enable_xaudio2_4
1727 enable_xaudio2_5
1728 enable_xaudio2_6
1729 enable_xaudio2_7
1730 enable_xaudio2_8
1731 enable_xaudio2_9
1732 enable_xinput1_1
1733 enable_xinput1_2
1734 enable_xinput1_3
1735 enable_xinput1_4
1736 enable_xinput9_1_0
1737 enable_xmllite
1738 enable_xolehlp
1739 enable_xpsprint
1740 enable_xpssvcs
1741 enable_fonts
1742 enable_include
1743 enable_port
1744 enable_wine
1745 enable_wpp
1746 enable_loader
1747 enable_nls
1748 enable_po
1749 enable_arp
1750 enable_aspnet_regiis
1751 enable_attrib
1752 enable_cabarc
1753 enable_cacls
1754 enable_chcp_com
1755 enable_clock
1756 enable_cmd
1757 enable_conhost
1758 enable_control
1759 enable_cscript
1760 enable_dism
1761 enable_dpnsvr
1762 enable_dxdiag
1763 enable_eject
1764 enable_expand
1765 enable_explorer
1766 enable_extrac32
1767 enable_fc
1768 enable_find
1769 enable_findstr
1770 enable_fsutil
1771 enable_hh
1772 enable_hostname
1773 enable_icacls
1774 enable_icinfo
1775 enable_iexplore
1776 enable_ipconfig
1777 enable_lodctr
1778 enable_mofcomp
1779 enable_mshta
1780 enable_msidb
1781 enable_msiexec
1782 enable_msinfo32
1783 enable_net
1784 enable_netsh
1785 enable_netstat
1786 enable_ngen
1787 enable_notepad
1788 enable_oleview
1789 enable_ping
1790 enable_plugplay
1791 enable_powershell
1792 enable_presentationfontcache
1793 enable_progman
1794 enable_reg
1795 enable_regasm
1796 enable_regedit
1797 enable_regini
1798 enable_regsvcs
1799 enable_regsvr32
1800 enable_rpcss
1801 enable_rundll32
1802 enable_sc
1803 enable_schtasks
1804 enable_sdbinst
1805 enable_secedit
1806 enable_servicemodelreg
1807 enable_services
1808 enable_shutdown
1809 enable_spoolsv
1810 enable_start
1811 enable_subst
1812 enable_svchost
1813 enable_systeminfo
1814 enable_taskkill
1815 enable_tasklist
1816 enable_taskmgr
1817 enable_termsv
1818 enable_uninstaller
1819 enable_unlodctr
1820 enable_view
1821 enable_wevtutil
1822 enable_where
1823 enable_whoami
1824 enable_wineboot
1825 enable_winebrowser
1826 enable_winecfg
1827 enable_wineconsole
1828 enable_winedbg
1829 enable_winedevice
1830 enable_winefile
1831 enable_winemenubuilder
1832 enable_winemine
1833 enable_winemsibuilder
1834 enable_winepath
1835 enable_winetest
1836 enable_winhlp32
1837 enable_winmgmt
1838 enable_winver
1839 enable_wmic
1840 enable_wmplayer
1841 enable_wordpad
1842 enable_write
1843 enable_wscript
1844 enable_wuauserv
1845 enable_wusa
1846 enable_xcopy
1847 enable_server
1848 enable_tools
1849 enable_sfnt2fon
1850 enable_widl
1851 enable_winebuild
1852 enable_winedump
1853 enable_winegcc
1854 enable_winemaker
1855 enable_wmc
1856 enable_wrc
1858 ac_precious_vars='build_alias
1859 host_alias
1860 target_alias
1862 CFLAGS
1863 LDFLAGS
1864 LIBS
1865 CPPFLAGS
1867 CXXFLAGS
1870 OBJC
1871 OBJCFLAGS
1872 OBJCPP
1873 XMKMF
1874 XML2_CFLAGS
1875 XML2_LIBS
1876 XSLT_CFLAGS
1877 XSLT_LIBS
1878 INOTIFY_CFLAGS
1879 INOTIFY_LIBS
1880 DBUS_CFLAGS
1881 DBUS_LIBS
1882 HAL_CFLAGS
1883 HAL_LIBS
1884 GNUTLS_CFLAGS
1885 GNUTLS_LIBS
1886 SANE_CFLAGS
1887 SANE_LIBS
1888 USB_CFLAGS
1889 USB_LIBS
1890 GPHOTO2_CFLAGS
1891 GPHOTO2_LIBS
1892 GPHOTO2_PORT_CFLAGS
1893 GPHOTO2_PORT_LIBS
1894 LCMS2_CFLAGS
1895 LCMS2_LIBS
1896 FREETYPE_CFLAGS
1897 FREETYPE_LIBS
1898 PULSE_CFLAGS
1899 PULSE_LIBS
1900 GSTREAMER_CFLAGS
1901 GSTREAMER_LIBS
1902 UDEV_CFLAGS
1903 UDEV_LIBS
1904 UNWIND_CFLAGS
1905 UNWIND_LIBS
1906 SDL2_CFLAGS
1907 SDL2_LIBS
1908 FAUDIO_CFLAGS
1909 FAUDIO_LIBS
1910 CAPI20_CFLAGS
1911 CAPI20_LIBS
1912 CUPS_CFLAGS
1913 CUPS_LIBS
1914 FONTCONFIG_CFLAGS
1915 FONTCONFIG_LIBS
1916 KRB5_CFLAGS
1917 KRB5_LIBS
1918 GSSAPI_CFLAGS
1919 GSSAPI_LIBS
1920 JPEG_CFLAGS
1921 JPEG_LIBS
1922 PNG_CFLAGS
1923 PNG_LIBS
1924 TIFF_CFLAGS
1925 TIFF_LIBS
1926 MPG123_CFLAGS
1927 MPG123_LIBS
1928 NETAPI_CFLAGS
1929 NETAPI_LIBS
1930 VKD3D_CFLAGS
1931 VKD3D_LIBS
1932 LDAP_CFLAGS
1933 LDAP_LIBS'
1936 # Initialize some variables set by options.
1937 ac_init_help=
1938 ac_init_version=false
1939 ac_unrecognized_opts=
1940 ac_unrecognized_sep=
1941 # The variables have the same names as the options, with
1942 # dashes changed to underlines.
1943 cache_file=/dev/null
1944 exec_prefix=NONE
1945 no_create=
1946 no_recursion=
1947 prefix=NONE
1948 program_prefix=NONE
1949 program_suffix=NONE
1950 program_transform_name=s,x,x,
1951 silent=
1952 site=
1953 srcdir=
1954 verbose=
1955 x_includes=NONE
1956 x_libraries=NONE
1958 # Installation directory options.
1959 # These are left unexpanded so users can "make install exec_prefix=/foo"
1960 # and all the variables that are supposed to be based on exec_prefix
1961 # by default will actually change.
1962 # Use braces instead of parens because sh, perl, etc. also accept them.
1963 # (The list follows the same order as the GNU Coding Standards.)
1964 bindir='${exec_prefix}/bin'
1965 sbindir='${exec_prefix}/sbin'
1966 libexecdir='${exec_prefix}/libexec'
1967 datarootdir='${prefix}/share'
1968 datadir='${datarootdir}'
1969 sysconfdir='${prefix}/etc'
1970 sharedstatedir='${prefix}/com'
1971 localstatedir='${prefix}/var'
1972 runstatedir='${localstatedir}/run'
1973 includedir='${prefix}/include'
1974 oldincludedir='/usr/include'
1975 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1976 infodir='${datarootdir}/info'
1977 htmldir='${docdir}'
1978 dvidir='${docdir}'
1979 pdfdir='${docdir}'
1980 psdir='${docdir}'
1981 libdir='${exec_prefix}/lib'
1982 localedir='${datarootdir}/locale'
1983 mandir='${datarootdir}/man'
1985 ac_prev=
1986 ac_dashdash=
1987 for ac_option
1989 # If the previous option needs an argument, assign it.
1990 if test -n "$ac_prev"; then
1991 eval $ac_prev=\$ac_option
1992 ac_prev=
1993 continue
1996 case $ac_option in
1997 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1998 *=) ac_optarg= ;;
1999 *) ac_optarg=yes ;;
2000 esac
2002 # Accept the important Cygnus configure options, so we can diagnose typos.
2004 case $ac_dashdash$ac_option in
2006 ac_dashdash=yes ;;
2008 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2009 ac_prev=bindir ;;
2010 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2011 bindir=$ac_optarg ;;
2013 -build | --build | --buil | --bui | --bu)
2014 ac_prev=build_alias ;;
2015 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2016 build_alias=$ac_optarg ;;
2018 -cache-file | --cache-file | --cache-fil | --cache-fi \
2019 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2020 ac_prev=cache_file ;;
2021 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2022 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2023 cache_file=$ac_optarg ;;
2025 --config-cache | -C)
2026 cache_file=config.cache ;;
2028 -datadir | --datadir | --datadi | --datad)
2029 ac_prev=datadir ;;
2030 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2031 datadir=$ac_optarg ;;
2033 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2034 | --dataroo | --dataro | --datar)
2035 ac_prev=datarootdir ;;
2036 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2037 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2038 datarootdir=$ac_optarg ;;
2040 -disable-* | --disable-*)
2041 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2042 # Reject names that are not valid shell variable names.
2043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2044 as_fn_error $? "invalid feature name: $ac_useropt"
2045 ac_useropt_orig=$ac_useropt
2046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2047 case $ac_user_opts in
2049 "enable_$ac_useropt"
2050 "*) ;;
2051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2052 ac_unrecognized_sep=', ';;
2053 esac
2054 eval enable_$ac_useropt=no ;;
2056 -docdir | --docdir | --docdi | --doc | --do)
2057 ac_prev=docdir ;;
2058 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2059 docdir=$ac_optarg ;;
2061 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2062 ac_prev=dvidir ;;
2063 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2064 dvidir=$ac_optarg ;;
2066 -enable-* | --enable-*)
2067 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2068 # Reject names that are not valid shell variable names.
2069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2070 as_fn_error $? "invalid feature name: $ac_useropt"
2071 ac_useropt_orig=$ac_useropt
2072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2073 case $ac_user_opts in
2075 "enable_$ac_useropt"
2076 "*) ;;
2077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2078 ac_unrecognized_sep=', ';;
2079 esac
2080 eval enable_$ac_useropt=\$ac_optarg ;;
2082 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2083 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2084 | --exec | --exe | --ex)
2085 ac_prev=exec_prefix ;;
2086 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2087 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2088 | --exec=* | --exe=* | --ex=*)
2089 exec_prefix=$ac_optarg ;;
2091 -gas | --gas | --ga | --g)
2092 # Obsolete; use --with-gas.
2093 with_gas=yes ;;
2095 -help | --help | --hel | --he | -h)
2096 ac_init_help=long ;;
2097 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2098 ac_init_help=recursive ;;
2099 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2100 ac_init_help=short ;;
2102 -host | --host | --hos | --ho)
2103 ac_prev=host_alias ;;
2104 -host=* | --host=* | --hos=* | --ho=*)
2105 host_alias=$ac_optarg ;;
2107 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2108 ac_prev=htmldir ;;
2109 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2110 | --ht=*)
2111 htmldir=$ac_optarg ;;
2113 -includedir | --includedir | --includedi | --included | --include \
2114 | --includ | --inclu | --incl | --inc)
2115 ac_prev=includedir ;;
2116 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2117 | --includ=* | --inclu=* | --incl=* | --inc=*)
2118 includedir=$ac_optarg ;;
2120 -infodir | --infodir | --infodi | --infod | --info | --inf)
2121 ac_prev=infodir ;;
2122 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2123 infodir=$ac_optarg ;;
2125 -libdir | --libdir | --libdi | --libd)
2126 ac_prev=libdir ;;
2127 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2128 libdir=$ac_optarg ;;
2130 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2131 | --libexe | --libex | --libe)
2132 ac_prev=libexecdir ;;
2133 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2134 | --libexe=* | --libex=* | --libe=*)
2135 libexecdir=$ac_optarg ;;
2137 -localedir | --localedir | --localedi | --localed | --locale)
2138 ac_prev=localedir ;;
2139 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2140 localedir=$ac_optarg ;;
2142 -localstatedir | --localstatedir | --localstatedi | --localstated \
2143 | --localstate | --localstat | --localsta | --localst | --locals)
2144 ac_prev=localstatedir ;;
2145 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2146 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2147 localstatedir=$ac_optarg ;;
2149 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2150 ac_prev=mandir ;;
2151 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2152 mandir=$ac_optarg ;;
2154 -nfp | --nfp | --nf)
2155 # Obsolete; use --without-fp.
2156 with_fp=no ;;
2158 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2159 | --no-cr | --no-c | -n)
2160 no_create=yes ;;
2162 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2163 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2164 no_recursion=yes ;;
2166 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2167 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2168 | --oldin | --oldi | --old | --ol | --o)
2169 ac_prev=oldincludedir ;;
2170 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2171 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2172 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2173 oldincludedir=$ac_optarg ;;
2175 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2176 ac_prev=prefix ;;
2177 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2178 prefix=$ac_optarg ;;
2180 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2181 | --program-pre | --program-pr | --program-p)
2182 ac_prev=program_prefix ;;
2183 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2184 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2185 program_prefix=$ac_optarg ;;
2187 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2188 | --program-suf | --program-su | --program-s)
2189 ac_prev=program_suffix ;;
2190 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2191 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2192 program_suffix=$ac_optarg ;;
2194 -program-transform-name | --program-transform-name \
2195 | --program-transform-nam | --program-transform-na \
2196 | --program-transform-n | --program-transform- \
2197 | --program-transform | --program-transfor \
2198 | --program-transfo | --program-transf \
2199 | --program-trans | --program-tran \
2200 | --progr-tra | --program-tr | --program-t)
2201 ac_prev=program_transform_name ;;
2202 -program-transform-name=* | --program-transform-name=* \
2203 | --program-transform-nam=* | --program-transform-na=* \
2204 | --program-transform-n=* | --program-transform-=* \
2205 | --program-transform=* | --program-transfor=* \
2206 | --program-transfo=* | --program-transf=* \
2207 | --program-trans=* | --program-tran=* \
2208 | --progr-tra=* | --program-tr=* | --program-t=*)
2209 program_transform_name=$ac_optarg ;;
2211 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2212 ac_prev=pdfdir ;;
2213 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2214 pdfdir=$ac_optarg ;;
2216 -psdir | --psdir | --psdi | --psd | --ps)
2217 ac_prev=psdir ;;
2218 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2219 psdir=$ac_optarg ;;
2221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2222 | -silent | --silent | --silen | --sile | --sil)
2223 silent=yes ;;
2225 -runstatedir | --runstatedir | --runstatedi | --runstated \
2226 | --runstate | --runstat | --runsta | --runst | --runs \
2227 | --run | --ru | --r)
2228 ac_prev=runstatedir ;;
2229 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2230 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2231 | --run=* | --ru=* | --r=*)
2232 runstatedir=$ac_optarg ;;
2234 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2235 ac_prev=sbindir ;;
2236 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2237 | --sbi=* | --sb=*)
2238 sbindir=$ac_optarg ;;
2240 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2241 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2242 | --sharedst | --shareds | --shared | --share | --shar \
2243 | --sha | --sh)
2244 ac_prev=sharedstatedir ;;
2245 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2246 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2247 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2248 | --sha=* | --sh=*)
2249 sharedstatedir=$ac_optarg ;;
2251 -site | --site | --sit)
2252 ac_prev=site ;;
2253 -site=* | --site=* | --sit=*)
2254 site=$ac_optarg ;;
2256 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2257 ac_prev=srcdir ;;
2258 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2259 srcdir=$ac_optarg ;;
2261 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2262 | --syscon | --sysco | --sysc | --sys | --sy)
2263 ac_prev=sysconfdir ;;
2264 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2265 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2266 sysconfdir=$ac_optarg ;;
2268 -target | --target | --targe | --targ | --tar | --ta | --t)
2269 ac_prev=target_alias ;;
2270 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2271 target_alias=$ac_optarg ;;
2273 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2274 verbose=yes ;;
2276 -version | --version | --versio | --versi | --vers | -V)
2277 ac_init_version=: ;;
2279 -with-* | --with-*)
2280 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2281 # Reject names that are not valid shell variable names.
2282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2283 as_fn_error $? "invalid package name: $ac_useropt"
2284 ac_useropt_orig=$ac_useropt
2285 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2286 case $ac_user_opts in
2288 "with_$ac_useropt"
2289 "*) ;;
2290 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2291 ac_unrecognized_sep=', ';;
2292 esac
2293 eval with_$ac_useropt=\$ac_optarg ;;
2295 -without-* | --without-*)
2296 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2297 # Reject names that are not valid shell variable names.
2298 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2299 as_fn_error $? "invalid package name: $ac_useropt"
2300 ac_useropt_orig=$ac_useropt
2301 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2302 case $ac_user_opts in
2304 "with_$ac_useropt"
2305 "*) ;;
2306 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2307 ac_unrecognized_sep=', ';;
2308 esac
2309 eval with_$ac_useropt=no ;;
2311 --x)
2312 # Obsolete; use --with-x.
2313 with_x=yes ;;
2315 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2316 | --x-incl | --x-inc | --x-in | --x-i)
2317 ac_prev=x_includes ;;
2318 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2319 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2320 x_includes=$ac_optarg ;;
2322 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2323 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2324 ac_prev=x_libraries ;;
2325 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2326 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2327 x_libraries=$ac_optarg ;;
2329 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2330 Try \`$0 --help' for more information"
2333 *=*)
2334 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2335 # Reject names that are not valid shell variable names.
2336 case $ac_envvar in #(
2337 '' | [0-9]* | *[!_$as_cr_alnum]* )
2338 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2339 esac
2340 eval $ac_envvar=\$ac_optarg
2341 export $ac_envvar ;;
2344 # FIXME: should be removed in autoconf 3.0.
2345 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2346 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2347 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2348 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2351 esac
2352 done
2354 if test -n "$ac_prev"; then
2355 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2356 as_fn_error $? "missing argument to $ac_option"
2359 if test -n "$ac_unrecognized_opts"; then
2360 case $enable_option_checking in
2361 no) ;;
2362 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2363 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2364 esac
2367 # Check all directory arguments for consistency.
2368 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2369 datadir sysconfdir sharedstatedir localstatedir includedir \
2370 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2371 libdir localedir mandir runstatedir
2373 eval ac_val=\$$ac_var
2374 # Remove trailing slashes.
2375 case $ac_val in
2376 */ )
2377 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2378 eval $ac_var=\$ac_val;;
2379 esac
2380 # Be sure to have absolute directory names.
2381 case $ac_val in
2382 [\\/$]* | ?:[\\/]* ) continue;;
2383 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2384 esac
2385 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2386 done
2388 # There might be people who depend on the old broken behavior: `$host'
2389 # used to hold the argument of --host etc.
2390 # FIXME: To remove some day.
2391 build=$build_alias
2392 host=$host_alias
2393 target=$target_alias
2395 # FIXME: To remove some day.
2396 if test "x$host_alias" != x; then
2397 if test "x$build_alias" = x; then
2398 cross_compiling=maybe
2399 elif test "x$build_alias" != "x$host_alias"; then
2400 cross_compiling=yes
2404 ac_tool_prefix=
2405 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2407 test "$silent" = yes && exec 6>/dev/null
2410 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2411 ac_ls_di=`ls -di .` &&
2412 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2413 as_fn_error $? "working directory cannot be determined"
2414 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2415 as_fn_error $? "pwd does not report name of working directory"
2418 # Find the source files, if location was not specified.
2419 if test -z "$srcdir"; then
2420 ac_srcdir_defaulted=yes
2421 # Try the directory containing this script, then the parent directory.
2422 ac_confdir=`$as_dirname -- "$as_myself" ||
2423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2424 X"$as_myself" : 'X\(//\)[^/]' \| \
2425 X"$as_myself" : 'X\(//\)$' \| \
2426 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2427 $as_echo X"$as_myself" |
2428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2429 s//\1/
2432 /^X\(\/\/\)[^/].*/{
2433 s//\1/
2436 /^X\(\/\/\)$/{
2437 s//\1/
2440 /^X\(\/\).*/{
2441 s//\1/
2444 s/.*/./; q'`
2445 srcdir=$ac_confdir
2446 if test ! -r "$srcdir/$ac_unique_file"; then
2447 srcdir=..
2449 else
2450 ac_srcdir_defaulted=no
2452 if test ! -r "$srcdir/$ac_unique_file"; then
2453 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2454 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2456 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2457 ac_abs_confdir=`(
2458 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2459 pwd)`
2460 # When building in place, set srcdir=.
2461 if test "$ac_abs_confdir" = "$ac_pwd"; then
2462 srcdir=.
2464 # Remove unnecessary trailing slashes from srcdir.
2465 # Double slashes in file names in object file debugging info
2466 # mess up M-x gdb in Emacs.
2467 case $srcdir in
2468 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2469 esac
2470 for ac_var in $ac_precious_vars; do
2471 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2472 eval ac_env_${ac_var}_value=\$${ac_var}
2473 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2474 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2475 done
2478 # Report the --help message.
2480 if test "$ac_init_help" = "long"; then
2481 # Omit some internal or obsolete options to make the list less imposing.
2482 # This message is too long to be a string in the A/UX 3.1 sh.
2483 cat <<_ACEOF
2484 \`configure' configures Wine 5.17 to adapt to many kinds of systems.
2486 Usage: $0 [OPTION]... [VAR=VALUE]...
2488 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2489 VAR=VALUE. See below for descriptions of some of the useful variables.
2491 Defaults for the options are specified in brackets.
2493 Configuration:
2494 -h, --help display this help and exit
2495 --help=short display options specific to this package
2496 --help=recursive display the short help of all the included packages
2497 -V, --version display version information and exit
2498 -q, --quiet, --silent do not print \`checking ...' messages
2499 --cache-file=FILE cache test results in FILE [disabled]
2500 -C, --config-cache alias for \`--cache-file=config.cache'
2501 -n, --no-create do not create output files
2502 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2504 Installation directories:
2505 --prefix=PREFIX install architecture-independent files in PREFIX
2506 [$ac_default_prefix]
2507 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2508 [PREFIX]
2510 By default, \`make install' will install all the files in
2511 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2512 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2513 for instance \`--prefix=\$HOME'.
2515 For better control, use the options below.
2517 Fine tuning of the installation directories:
2518 --bindir=DIR user executables [EPREFIX/bin]
2519 --sbindir=DIR system admin executables [EPREFIX/sbin]
2520 --libexecdir=DIR program executables [EPREFIX/libexec]
2521 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2522 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2523 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2524 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2525 --libdir=DIR object code libraries [EPREFIX/lib]
2526 --includedir=DIR C header files [PREFIX/include]
2527 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2528 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2529 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2530 --infodir=DIR info documentation [DATAROOTDIR/info]
2531 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2532 --mandir=DIR man documentation [DATAROOTDIR/man]
2533 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2534 --htmldir=DIR html documentation [DOCDIR]
2535 --dvidir=DIR dvi documentation [DOCDIR]
2536 --pdfdir=DIR pdf documentation [DOCDIR]
2537 --psdir=DIR ps documentation [DOCDIR]
2538 _ACEOF
2540 cat <<\_ACEOF
2542 X features:
2543 --x-includes=DIR X include files are in DIR
2544 --x-libraries=DIR X library files are in DIR
2546 System types:
2547 --build=BUILD configure for building on BUILD [guessed]
2548 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2549 _ACEOF
2552 if test -n "$ac_init_help"; then
2553 case $ac_init_help in
2554 short | recursive ) echo "Configuration of Wine 5.17:";;
2555 esac
2556 cat <<\_ACEOF
2558 Optional Features:
2559 --disable-option-checking ignore unrecognized --enable/--with options
2560 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2561 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2562 --disable-win16 do not include Win16 support
2563 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2564 binaries)
2565 --disable-tests do not build the regression tests
2566 --enable-maintainer-mode
2567 enable maintainer-specific build rules
2568 --enable-werror treat compilation warnings as errors
2569 --disable-largefile omit support for large files
2571 Optional Packages:
2572 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2573 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2574 --without-alsa do not use the Alsa sound support
2575 --without-capi do not use CAPI (ISDN support)
2576 --without-cms do not use CMS (color management support)
2577 --without-coreaudio do not use the CoreAudio sound support
2578 --without-cups do not use CUPS
2579 --without-curses do not use (n)curses
2580 --without-dbus do not use DBus (dynamic device support)
2581 --without-faudio do not use FAudio (XAudio2 support)
2582 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2583 --without-fontconfig do not use fontconfig
2584 --without-freetype do not use the FreeType library
2585 --without-gettext do not use gettext
2586 --with-gettextpo use the GetTextPO library to rebuild po files
2587 --without-gphoto do not use gphoto (Digital Camera support)
2588 --without-glu do not use the GLU library
2589 --without-gnutls do not use GnuTLS (schannel support)
2590 --without-gsm do not use libgsm (GSM 06.10 codec support)
2591 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2592 --without-gstreamer do not use GStreamer (codecs support)
2593 --without-hal do not use HAL (dynamic device support)
2594 --without-inotify do not use inotify (filesystem change notifications)
2595 --without-jpeg do not use JPEG
2596 --without-krb5 do not use krb5 (Kerberos)
2597 --without-ldap do not use LDAP
2598 --without-mingw do not use the MinGW cross-compiler
2599 --without-mpg123 do not use the mpg123 library
2600 --without-netapi do not use the Samba NetAPI library
2601 --without-openal do not use OpenAL
2602 --without-opencl do not use OpenCL
2603 --without-opengl do not use OpenGL
2604 --without-osmesa do not use the OSMesa library
2605 --without-oss do not use the OSS sound support
2606 --without-pcap do not use the Packet Capture library
2607 --without-png do not use PNG
2608 --without-pthread do not use the pthread library
2609 --without-pulse do not use PulseAudio sound support
2610 --without-quicktime do not use QuickTime support
2611 --without-sane do not use SANE (scanner support)
2612 --without-sdl do not use SDL
2613 --without-tiff do not use TIFF
2614 --without-udev do not use udev (plug and play support)
2615 --without-unwind do not use the libunwind library (exception
2616 handling)
2617 --without-usb do not use the libusb library
2618 --without-v4l2 do not use v4l2 (video capture)
2619 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2620 --without-vulkan do not use Vulkan
2621 --without-xcomposite do not use the Xcomposite extension
2622 --without-xcursor do not use the Xcursor extension
2623 --without-xfixes do not use Xfixes for clipboard change notifications
2624 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2625 --without-xinput do not use the Xinput extension
2626 --without-xinput2 do not use the Xinput 2 extension
2627 --without-xml do not use XML
2628 --without-xrandr do not use Xrandr (multi-monitor support)
2629 --without-xrender do not use the Xrender extension
2630 --without-xshape do not use the Xshape extension
2631 --without-xshm do not use XShm (shared memory extension)
2632 --without-xslt do not use XSLT
2633 --without-xxf86vm do not use XFree video mode extension
2634 --with-wine-tools=DIR use Wine tools from directory DIR
2635 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2636 --with-x use the X Window System
2638 Some influential environment variables:
2639 CC C compiler command
2640 CFLAGS C compiler flags
2641 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2642 nonstandard directory <lib dir>
2643 LIBS libraries to pass to the linker, e.g. -l<library>
2644 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2645 you have headers in a nonstandard directory <include dir>
2646 CXX C++ compiler command
2647 CXXFLAGS C++ compiler flags
2648 CPP C preprocessor
2649 OBJC Objective C compiler command
2650 OBJCFLAGS Objective C compiler flags
2651 OBJCPP Objective C preprocessor
2652 XMKMF Path to xmkmf, Makefile generator for X Window System
2653 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2654 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2655 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2656 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2657 INOTIFY_CFLAGS
2658 C compiler flags for libinotify, overriding pkg-config
2659 INOTIFY_LIBS
2660 Linker flags for libinotify, overriding pkg-config
2661 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2662 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2663 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2664 HAL_LIBS Linker flags for hal, overriding pkg-config
2665 GNUTLS_CFLAGS
2666 C compiler flags for gnutls, overriding pkg-config
2667 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2668 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2669 SANE_LIBS Linker flags for libsane, overriding pkg-config
2670 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2671 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2672 GPHOTO2_CFLAGS
2673 C compiler flags for libgphoto2, overriding pkg-config
2674 GPHOTO2_LIBS
2675 Linker flags for libgphoto2, overriding pkg-config
2676 GPHOTO2_PORT_CFLAGS
2677 C compiler flags for libgphoto2_port, overriding pkg-config
2678 GPHOTO2_PORT_LIBS
2679 Linker flags for libgphoto2_port, overriding pkg-config
2680 LCMS2_CFLAGS
2681 C compiler flags for lcms2, overriding pkg-config
2682 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2683 FREETYPE_CFLAGS
2684 C compiler flags for freetype2, overriding pkg-config
2685 FREETYPE_LIBS
2686 Linker flags for freetype2, overriding pkg-config
2687 PULSE_CFLAGS
2688 C compiler flags for libpulse, overriding pkg-config
2689 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2690 GSTREAMER_CFLAGS
2691 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2692 gstreamer-audio-1.0, overriding pkg-config
2693 GSTREAMER_LIBS
2694 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2695 gstreamer-audio-1.0, overriding pkg-config
2696 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2697 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2698 UNWIND_CFLAGS
2699 C compiler flags for libunwind, overriding pkg-config
2700 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2701 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2702 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2703 FAUDIO_CFLAGS
2704 C compiler flags for faudio, overriding pkg-config
2705 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2706 CAPI20_CFLAGS
2707 C compiler flags for capi20, overriding pkg-config
2708 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2709 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2710 CUPS_LIBS Linker flags for cups, overriding pkg-config
2711 FONTCONFIG_CFLAGS
2712 C compiler flags for fontconfig, overriding pkg-config
2713 FONTCONFIG_LIBS
2714 Linker flags for fontconfig, overriding pkg-config
2715 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2716 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2717 GSSAPI_CFLAGS
2718 C compiler flags for krb5-gssapi, overriding pkg-config
2719 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2720 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2721 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2722 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2723 PNG_LIBS Linker flags for libpng, overriding pkg-config
2724 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2725 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2726 MPG123_CFLAGS
2727 C compiler flags for libmpg123, overriding pkg-config
2728 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2729 NETAPI_CFLAGS
2730 C compiler flags for netapi, overriding pkg-config
2731 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2732 VKD3D_CFLAGS
2733 C compiler flags for libvkd3d, overriding pkg-config
2734 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2735 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2736 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2738 Use these variables to override the choices made by `configure' or to help
2739 it to find libraries and programs with nonstandard names/locations.
2741 Report bugs to <wine-devel@winehq.org>.
2742 Wine home page: <https://www.winehq.org>.
2743 _ACEOF
2744 ac_status=$?
2747 if test "$ac_init_help" = "recursive"; then
2748 # If there are subdirs, report their specific --help.
2749 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2750 test -d "$ac_dir" ||
2751 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2752 continue
2753 ac_builddir=.
2755 case "$ac_dir" in
2756 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2758 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2759 # A ".." for each directory in $ac_dir_suffix.
2760 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2761 case $ac_top_builddir_sub in
2762 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2763 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2764 esac ;;
2765 esac
2766 ac_abs_top_builddir=$ac_pwd
2767 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2768 # for backward compatibility:
2769 ac_top_builddir=$ac_top_build_prefix
2771 case $srcdir in
2772 .) # We are building in place.
2773 ac_srcdir=.
2774 ac_top_srcdir=$ac_top_builddir_sub
2775 ac_abs_top_srcdir=$ac_pwd ;;
2776 [\\/]* | ?:[\\/]* ) # Absolute name.
2777 ac_srcdir=$srcdir$ac_dir_suffix;
2778 ac_top_srcdir=$srcdir
2779 ac_abs_top_srcdir=$srcdir ;;
2780 *) # Relative name.
2781 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2782 ac_top_srcdir=$ac_top_build_prefix$srcdir
2783 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2784 esac
2785 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2787 cd "$ac_dir" || { ac_status=$?; continue; }
2788 # Check for guested configure.
2789 if test -f "$ac_srcdir/configure.gnu"; then
2790 echo &&
2791 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2792 elif test -f "$ac_srcdir/configure"; then
2793 echo &&
2794 $SHELL "$ac_srcdir/configure" --help=recursive
2795 else
2796 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2797 fi || ac_status=$?
2798 cd "$ac_pwd" || { ac_status=$?; break; }
2799 done
2802 test -n "$ac_init_help" && exit $ac_status
2803 if $ac_init_version; then
2804 cat <<\_ACEOF
2805 Wine configure 5.17
2806 generated by GNU Autoconf 2.69
2808 Copyright (C) 2012 Free Software Foundation, Inc.
2809 This configure script is free software; the Free Software Foundation
2810 gives unlimited permission to copy, distribute and modify it.
2811 _ACEOF
2812 exit
2815 ## ------------------------ ##
2816 ## Autoconf initialization. ##
2817 ## ------------------------ ##
2819 # ac_fn_c_try_compile LINENO
2820 # --------------------------
2821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2822 ac_fn_c_try_compile ()
2824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2825 rm -f conftest.$ac_objext
2826 if { { ac_try="$ac_compile"
2827 case "(($ac_try" in
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2830 esac
2831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_compile") 2>conftest.err
2834 ac_status=$?
2835 if test -s conftest.err; then
2836 grep -v '^ *+' conftest.err >conftest.er1
2837 cat conftest.er1 >&5
2838 mv -f conftest.er1 conftest.err
2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2841 test $ac_status = 0; } && {
2842 test -z "$ac_c_werror_flag" ||
2843 test ! -s conftest.err
2844 } && test -s conftest.$ac_objext; then :
2845 ac_retval=0
2846 else
2847 $as_echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2850 ac_retval=1
2852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2853 as_fn_set_status $ac_retval
2855 } # ac_fn_c_try_compile
2857 # ac_fn_cxx_try_compile LINENO
2858 # ----------------------------
2859 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2860 ac_fn_cxx_try_compile ()
2862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2863 rm -f conftest.$ac_objext
2864 if { { ac_try="$ac_compile"
2865 case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868 esac
2869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2870 $as_echo "$ac_try_echo"; } >&5
2871 (eval "$ac_compile") 2>conftest.err
2872 ac_status=$?
2873 if test -s conftest.err; then
2874 grep -v '^ *+' conftest.err >conftest.er1
2875 cat conftest.er1 >&5
2876 mv -f conftest.er1 conftest.err
2878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2879 test $ac_status = 0; } && {
2880 test -z "$ac_cxx_werror_flag" ||
2881 test ! -s conftest.err
2882 } && test -s conftest.$ac_objext; then :
2883 ac_retval=0
2884 else
2885 $as_echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2888 ac_retval=1
2890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2891 as_fn_set_status $ac_retval
2893 } # ac_fn_cxx_try_compile
2895 # ac_fn_c_try_link LINENO
2896 # -----------------------
2897 # Try to link conftest.$ac_ext, and return whether this succeeded.
2898 ac_fn_c_try_link ()
2900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2901 rm -f conftest.$ac_objext conftest$ac_exeext
2902 if { { ac_try="$ac_link"
2903 case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906 esac
2907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2908 $as_echo "$ac_try_echo"; } >&5
2909 (eval "$ac_link") 2>conftest.err
2910 ac_status=$?
2911 if test -s conftest.err; then
2912 grep -v '^ *+' conftest.err >conftest.er1
2913 cat conftest.er1 >&5
2914 mv -f conftest.er1 conftest.err
2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917 test $ac_status = 0; } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest$ac_exeext && {
2921 test "$cross_compiling" = yes ||
2922 test -x conftest$ac_exeext
2923 }; then :
2924 ac_retval=0
2925 else
2926 $as_echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 ac_retval=1
2931 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2932 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2933 # interfere with the next link command; also delete a directory that is
2934 # left behind by Apple's compiler. We do this before executing the actions.
2935 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2937 as_fn_set_status $ac_retval
2939 } # ac_fn_c_try_link
2941 # ac_fn_c_try_cpp LINENO
2942 # ----------------------
2943 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2944 ac_fn_c_try_cpp ()
2946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2947 if { { ac_try="$ac_cpp conftest.$ac_ext"
2948 case "(($ac_try" in
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2951 esac
2952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 $as_echo "$ac_try_echo"; } >&5
2954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2955 ac_status=$?
2956 if test -s conftest.err; then
2957 grep -v '^ *+' conftest.err >conftest.er1
2958 cat conftest.er1 >&5
2959 mv -f conftest.er1 conftest.err
2961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962 test $ac_status = 0; } > conftest.i && {
2963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 }; then :
2966 ac_retval=0
2967 else
2968 $as_echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2971 ac_retval=1
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2974 as_fn_set_status $ac_retval
2976 } # ac_fn_c_try_cpp
2978 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2979 # -------------------------------------------------------
2980 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2981 # the include files in INCLUDES and setting the cache variable VAR
2982 # accordingly.
2983 ac_fn_c_check_header_mongrel ()
2985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2986 if eval \${$3+:} false; then :
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2988 $as_echo_n "checking for $2... " >&6; }
2989 if eval \${$3+:} false; then :
2990 $as_echo_n "(cached) " >&6
2992 eval ac_res=\$$3
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2994 $as_echo "$ac_res" >&6; }
2995 else
2996 # Is the header compilable?
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2998 $as_echo_n "checking $2 usability... " >&6; }
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3002 #include <$2>
3003 _ACEOF
3004 if ac_fn_c_try_compile "$LINENO"; then :
3005 ac_header_compiler=yes
3006 else
3007 ac_header_compiler=no
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3011 $as_echo "$ac_header_compiler" >&6; }
3013 # Is the header present?
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3015 $as_echo_n "checking $2 presence... " >&6; }
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3018 #include <$2>
3019 _ACEOF
3020 if ac_fn_c_try_cpp "$LINENO"; then :
3021 ac_header_preproc=yes
3022 else
3023 ac_header_preproc=no
3025 rm -f conftest.err conftest.i conftest.$ac_ext
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3027 $as_echo "$ac_header_preproc" >&6; }
3029 # So? What about this header?
3030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3031 yes:no: )
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3033 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3035 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3037 no:yes:* )
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3039 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3041 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3043 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3045 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3047 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3048 ( $as_echo "## ------------------------------------ ##
3049 ## Report this to wine-devel@winehq.org ##
3050 ## ------------------------------------ ##"
3051 ) | sed "s/^/$as_me: WARNING: /" >&2
3053 esac
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3055 $as_echo_n "checking for $2... " >&6; }
3056 if eval \${$3+:} false; then :
3057 $as_echo_n "(cached) " >&6
3058 else
3059 eval "$3=\$ac_header_compiler"
3061 eval ac_res=\$$3
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3063 $as_echo "$ac_res" >&6; }
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3067 } # ac_fn_c_check_header_mongrel
3069 # ac_fn_c_try_run LINENO
3070 # ----------------------
3071 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3072 # that executables *can* be run.
3073 ac_fn_c_try_run ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 if { { ac_try="$ac_link"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_link") 2>&5
3084 ac_status=$?
3085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3086 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3087 { { case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_try") 2>&5
3094 ac_status=$?
3095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3096 test $ac_status = 0; }; }; then :
3097 ac_retval=0
3098 else
3099 $as_echo "$as_me: program exited with status $ac_status" >&5
3100 $as_echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3103 ac_retval=$ac_status
3105 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3107 as_fn_set_status $ac_retval
3109 } # ac_fn_c_try_run
3111 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3112 # -------------------------------------------------------
3113 # Tests whether HEADER exists and can be compiled using the include files in
3114 # INCLUDES, setting the cache variable VAR accordingly.
3115 ac_fn_c_check_header_compile ()
3117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3119 $as_echo_n "checking for $2... " >&6; }
3120 if eval \${$3+:} false; then :
3121 $as_echo_n "(cached) " >&6
3122 else
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3126 #include <$2>
3127 _ACEOF
3128 if ac_fn_c_try_compile "$LINENO"; then :
3129 eval "$3=yes"
3130 else
3131 eval "$3=no"
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 eval ac_res=\$$3
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3137 $as_echo "$ac_res" >&6; }
3138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3140 } # ac_fn_c_check_header_compile
3142 # ac_fn_objc_try_compile LINENO
3143 # -----------------------------
3144 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3145 ac_fn_objc_try_compile ()
3147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3148 rm -f conftest.$ac_objext
3149 if { { ac_try="$ac_compile"
3150 case "(($ac_try" in
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3153 esac
3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155 $as_echo "$ac_try_echo"; } >&5
3156 (eval "$ac_compile") 2>conftest.err
3157 ac_status=$?
3158 if test -s conftest.err; then
3159 grep -v '^ *+' conftest.err >conftest.er1
3160 cat conftest.er1 >&5
3161 mv -f conftest.er1 conftest.err
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; } && {
3165 test -z "$ac_objc_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then :
3168 ac_retval=0
3169 else
3170 $as_echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 ac_retval=1
3175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3176 as_fn_set_status $ac_retval
3178 } # ac_fn_objc_try_compile
3180 # ac_fn_objc_try_cpp LINENO
3181 # -------------------------
3182 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3183 ac_fn_objc_try_cpp ()
3185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3186 if { { ac_try="$ac_cpp conftest.$ac_ext"
3187 case "(($ac_try" in
3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3190 esac
3191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3194 ac_status=$?
3195 if test -s conftest.err; then
3196 grep -v '^ *+' conftest.err >conftest.er1
3197 cat conftest.er1 >&5
3198 mv -f conftest.er1 conftest.err
3200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3201 test $ac_status = 0; } > conftest.i && {
3202 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3203 test ! -s conftest.err
3204 }; then :
3205 ac_retval=0
3206 else
3207 $as_echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 ac_retval=1
3212 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3213 as_fn_set_status $ac_retval
3215 } # ac_fn_objc_try_cpp
3217 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3218 # ----------------------------------------------------------
3219 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3220 # the include files in INCLUDES and setting the cache variable VAR
3221 # accordingly.
3222 ac_fn_objc_check_header_mongrel ()
3224 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3225 if eval \${$3+:} false; then :
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3227 $as_echo_n "checking for $2... " >&6; }
3228 if eval \${$3+:} false; then :
3229 $as_echo_n "(cached) " >&6
3231 eval ac_res=\$$3
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3233 $as_echo "$ac_res" >&6; }
3234 else
3235 # Is the header compilable?
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3237 $as_echo_n "checking $2 usability... " >&6; }
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3241 #include <$2>
3242 _ACEOF
3243 if ac_fn_objc_try_compile "$LINENO"; then :
3244 ac_header_compiler=yes
3245 else
3246 ac_header_compiler=no
3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3250 $as_echo "$ac_header_compiler" >&6; }
3252 # Is the header present?
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3254 $as_echo_n "checking $2 presence... " >&6; }
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3257 #include <$2>
3258 _ACEOF
3259 if ac_fn_objc_try_cpp "$LINENO"; then :
3260 ac_header_preproc=yes
3261 else
3262 ac_header_preproc=no
3264 rm -f conftest.err conftest.i conftest.$ac_ext
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3266 $as_echo "$ac_header_preproc" >&6; }
3268 # So? What about this header?
3269 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3270 yes:no: )
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3272 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3274 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3276 no:yes:* )
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3278 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3280 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3282 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3284 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3286 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3287 ( $as_echo "## ------------------------------------ ##
3288 ## Report this to wine-devel@winehq.org ##
3289 ## ------------------------------------ ##"
3290 ) | sed "s/^/$as_me: WARNING: /" >&2
3292 esac
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3294 $as_echo_n "checking for $2... " >&6; }
3295 if eval \${$3+:} false; then :
3296 $as_echo_n "(cached) " >&6
3297 else
3298 eval "$3=\$ac_header_compiler"
3300 eval ac_res=\$$3
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3302 $as_echo "$ac_res" >&6; }
3304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3306 } # ac_fn_objc_check_header_mongrel
3308 # ac_fn_c_check_func LINENO FUNC VAR
3309 # ----------------------------------
3310 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3311 ac_fn_c_check_func ()
3313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3315 $as_echo_n "checking for $2... " >&6; }
3316 if eval \${$3+:} false; then :
3317 $as_echo_n "(cached) " >&6
3318 else
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3321 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3323 #define $2 innocuous_$2
3325 /* System header to define __stub macros and hopefully few prototypes,
3326 which can conflict with char $2 (); below.
3327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3328 <limits.h> exists even on freestanding compilers. */
3330 #ifdef __STDC__
3331 # include <limits.h>
3332 #else
3333 # include <assert.h>
3334 #endif
3336 #undef $2
3338 /* Override any GCC internal prototype to avoid an error.
3339 Use char because int might match the return type of a GCC
3340 builtin and then its argument prototype would still apply. */
3341 #ifdef __cplusplus
3342 extern "C"
3343 #endif
3344 char $2 ();
3345 /* The GNU C library defines this for functions which it implements
3346 to always fail with ENOSYS. Some functions are actually named
3347 something starting with __ and the normal name is an alias. */
3348 #if defined __stub_$2 || defined __stub___$2
3349 choke me
3350 #endif
3353 main ()
3355 return $2 ();
3357 return 0;
3359 _ACEOF
3360 if ac_fn_c_try_link "$LINENO"; then :
3361 eval "$3=yes"
3362 else
3363 eval "$3=no"
3365 rm -f core conftest.err conftest.$ac_objext \
3366 conftest$ac_exeext conftest.$ac_ext
3368 eval ac_res=\$$3
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3370 $as_echo "$ac_res" >&6; }
3371 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3373 } # ac_fn_c_check_func
3375 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3376 # ----------------------------------------------------
3377 # Tries to find if the field MEMBER exists in type AGGR, after including
3378 # INCLUDES, setting cache variable VAR accordingly.
3379 ac_fn_c_check_member ()
3381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3383 $as_echo_n "checking for $2.$3... " >&6; }
3384 if eval \${$4+:} false; then :
3385 $as_echo_n "(cached) " >&6
3386 else
3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3391 main ()
3393 static $2 ac_aggr;
3394 if (ac_aggr.$3)
3395 return 0;
3397 return 0;
3399 _ACEOF
3400 if ac_fn_c_try_compile "$LINENO"; then :
3401 eval "$4=yes"
3402 else
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404 /* end confdefs.h. */
3407 main ()
3409 static $2 ac_aggr;
3410 if (sizeof ac_aggr.$3)
3411 return 0;
3413 return 0;
3415 _ACEOF
3416 if ac_fn_c_try_compile "$LINENO"; then :
3417 eval "$4=yes"
3418 else
3419 eval "$4=no"
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 eval ac_res=\$$4
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3427 $as_echo "$ac_res" >&6; }
3428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3430 } # ac_fn_c_check_member
3432 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3433 # -------------------------------------------
3434 # Tests whether TYPE exists after having included INCLUDES, setting cache
3435 # variable VAR accordingly.
3436 ac_fn_c_check_type ()
3438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3440 $as_echo_n "checking for $2... " >&6; }
3441 if eval \${$3+:} false; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 eval "$3=no"
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3449 main ()
3451 if (sizeof ($2))
3452 return 0;
3454 return 0;
3456 _ACEOF
3457 if ac_fn_c_try_compile "$LINENO"; then :
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3462 main ()
3464 if (sizeof (($2)))
3465 return 0;
3467 return 0;
3469 _ACEOF
3470 if ac_fn_c_try_compile "$LINENO"; then :
3472 else
3473 eval "$3=yes"
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 eval ac_res=\$$3
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3481 $as_echo "$ac_res" >&6; }
3482 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3484 } # ac_fn_c_check_type
3485 cat >config.log <<_ACEOF
3486 This file contains any messages produced by compilers while
3487 running configure, to aid debugging if configure makes a mistake.
3489 It was created by Wine $as_me 5.17, which was
3490 generated by GNU Autoconf 2.69. Invocation command line was
3492 $ $0 $@
3494 _ACEOF
3495 exec 5>>config.log
3497 cat <<_ASUNAME
3498 ## --------- ##
3499 ## Platform. ##
3500 ## --------- ##
3502 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3503 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3504 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3505 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3506 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3508 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3509 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3511 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3512 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3513 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3514 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3515 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3516 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3517 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3519 _ASUNAME
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 for as_dir in $PATH
3524 IFS=$as_save_IFS
3525 test -z "$as_dir" && as_dir=.
3526 $as_echo "PATH: $as_dir"
3527 done
3528 IFS=$as_save_IFS
3530 } >&5
3532 cat >&5 <<_ACEOF
3535 ## ----------- ##
3536 ## Core tests. ##
3537 ## ----------- ##
3539 _ACEOF
3542 # Keep a trace of the command line.
3543 # Strip out --no-create and --no-recursion so they do not pile up.
3544 # Strip out --silent because we don't want to record it for future runs.
3545 # Also quote any args containing shell meta-characters.
3546 # Make two passes to allow for proper duplicate-argument suppression.
3547 ac_configure_args=
3548 ac_configure_args0=
3549 ac_configure_args1=
3550 ac_must_keep_next=false
3551 for ac_pass in 1 2
3553 for ac_arg
3555 case $ac_arg in
3556 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3557 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3558 | -silent | --silent | --silen | --sile | --sil)
3559 continue ;;
3560 *\'*)
3561 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3562 esac
3563 case $ac_pass in
3564 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3566 as_fn_append ac_configure_args1 " '$ac_arg'"
3567 if test $ac_must_keep_next = true; then
3568 ac_must_keep_next=false # Got value, back to normal.
3569 else
3570 case $ac_arg in
3571 *=* | --config-cache | -C | -disable-* | --disable-* \
3572 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3573 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3574 | -with-* | --with-* | -without-* | --without-* | --x)
3575 case "$ac_configure_args0 " in
3576 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3577 esac
3579 -* ) ac_must_keep_next=true ;;
3580 esac
3582 as_fn_append ac_configure_args " '$ac_arg'"
3584 esac
3585 done
3586 done
3587 { ac_configure_args0=; unset ac_configure_args0;}
3588 { ac_configure_args1=; unset ac_configure_args1;}
3590 # When interrupted or exit'd, cleanup temporary files, and complete
3591 # config.log. We remove comments because anyway the quotes in there
3592 # would cause problems or look ugly.
3593 # WARNING: Use '\'' to represent an apostrophe within the trap.
3594 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3595 trap 'exit_status=$?
3596 # Save into config.log some information that might help in debugging.
3598 echo
3600 $as_echo "## ---------------- ##
3601 ## Cache variables. ##
3602 ## ---------------- ##"
3603 echo
3604 # The following way of writing the cache mishandles newlines in values,
3606 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3607 eval ac_val=\$$ac_var
3608 case $ac_val in #(
3609 *${as_nl}*)
3610 case $ac_var in #(
3611 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3612 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3613 esac
3614 case $ac_var in #(
3615 _ | IFS | as_nl) ;; #(
3616 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3617 *) { eval $ac_var=; unset $ac_var;} ;;
3618 esac ;;
3619 esac
3620 done
3621 (set) 2>&1 |
3622 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3623 *${as_nl}ac_space=\ *)
3624 sed -n \
3625 "s/'\''/'\''\\\\'\'''\''/g;
3626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3627 ;; #(
3629 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3631 esac |
3632 sort
3634 echo
3636 $as_echo "## ----------------- ##
3637 ## Output variables. ##
3638 ## ----------------- ##"
3639 echo
3640 for ac_var in $ac_subst_vars
3642 eval ac_val=\$$ac_var
3643 case $ac_val in
3644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3645 esac
3646 $as_echo "$ac_var='\''$ac_val'\''"
3647 done | sort
3648 echo
3650 if test -n "$ac_subst_files"; then
3651 $as_echo "## ------------------- ##
3652 ## File substitutions. ##
3653 ## ------------------- ##"
3654 echo
3655 for ac_var in $ac_subst_files
3657 eval ac_val=\$$ac_var
3658 case $ac_val in
3659 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3660 esac
3661 $as_echo "$ac_var='\''$ac_val'\''"
3662 done | sort
3663 echo
3666 if test -s confdefs.h; then
3667 $as_echo "## ----------- ##
3668 ## confdefs.h. ##
3669 ## ----------- ##"
3670 echo
3671 cat confdefs.h
3672 echo
3674 test "$ac_signal" != 0 &&
3675 $as_echo "$as_me: caught signal $ac_signal"
3676 $as_echo "$as_me: exit $exit_status"
3677 } >&5
3678 rm -f core *.core core.conftest.* &&
3679 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3680 exit $exit_status
3682 for ac_signal in 1 2 13 15; do
3683 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3684 done
3685 ac_signal=0
3687 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3688 rm -f -r conftest* confdefs.h
3690 $as_echo "/* confdefs.h */" > confdefs.h
3692 # Predefined preprocessor variables.
3694 cat >>confdefs.h <<_ACEOF
3695 #define PACKAGE_NAME "$PACKAGE_NAME"
3696 _ACEOF
3698 cat >>confdefs.h <<_ACEOF
3699 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3700 _ACEOF
3702 cat >>confdefs.h <<_ACEOF
3703 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3704 _ACEOF
3706 cat >>confdefs.h <<_ACEOF
3707 #define PACKAGE_STRING "$PACKAGE_STRING"
3708 _ACEOF
3710 cat >>confdefs.h <<_ACEOF
3711 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3712 _ACEOF
3714 cat >>confdefs.h <<_ACEOF
3715 #define PACKAGE_URL "$PACKAGE_URL"
3716 _ACEOF
3719 # Let the site file select an alternate cache file if it wants to.
3720 # Prefer an explicitly selected file to automatically selected ones.
3721 ac_site_file1=NONE
3722 ac_site_file2=NONE
3723 if test -n "$CONFIG_SITE"; then
3724 # We do not want a PATH search for config.site.
3725 case $CONFIG_SITE in #((
3726 -*) ac_site_file1=./$CONFIG_SITE;;
3727 */*) ac_site_file1=$CONFIG_SITE;;
3728 *) ac_site_file1=./$CONFIG_SITE;;
3729 esac
3730 elif test "x$prefix" != xNONE; then
3731 ac_site_file1=$prefix/share/config.site
3732 ac_site_file2=$prefix/etc/config.site
3733 else
3734 ac_site_file1=$ac_default_prefix/share/config.site
3735 ac_site_file2=$ac_default_prefix/etc/config.site
3737 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3739 test "x$ac_site_file" = xNONE && continue
3740 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3742 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3743 sed 's/^/| /' "$ac_site_file" >&5
3744 . "$ac_site_file" \
3745 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747 as_fn_error $? "failed to load site script $ac_site_file
3748 See \`config.log' for more details" "$LINENO" 5; }
3750 done
3752 if test -r "$cache_file"; then
3753 # Some versions of bash will fail to source /dev/null (special files
3754 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3755 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3757 $as_echo "$as_me: loading cache $cache_file" >&6;}
3758 case $cache_file in
3759 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3760 *) . "./$cache_file";;
3761 esac
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3765 $as_echo "$as_me: creating cache $cache_file" >&6;}
3766 >$cache_file
3769 # Check that the precious variables saved in the cache have kept the same
3770 # value.
3771 ac_cache_corrupted=false
3772 for ac_var in $ac_precious_vars; do
3773 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3774 eval ac_new_set=\$ac_env_${ac_var}_set
3775 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3776 eval ac_new_val=\$ac_env_${ac_var}_value
3777 case $ac_old_set,$ac_new_set in
3778 set,)
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3780 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3781 ac_cache_corrupted=: ;;
3782 ,set)
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3784 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3785 ac_cache_corrupted=: ;;
3786 ,);;
3788 if test "x$ac_old_val" != "x$ac_new_val"; then
3789 # differences in whitespace do not lead to failure.
3790 ac_old_val_w=`echo x $ac_old_val`
3791 ac_new_val_w=`echo x $ac_new_val`
3792 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3794 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3795 ac_cache_corrupted=:
3796 else
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3798 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3799 eval $ac_var=\$ac_old_val
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3802 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3804 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3805 fi;;
3806 esac
3807 # Pass precious variables to config.status.
3808 if test "$ac_new_set" = set; then
3809 case $ac_new_val in
3810 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3811 *) ac_arg=$ac_var=$ac_new_val ;;
3812 esac
3813 case " $ac_configure_args " in
3814 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3815 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3816 esac
3818 done
3819 if $ac_cache_corrupted; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3823 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3824 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3826 ## -------------------- ##
3827 ## Main body of script. ##
3828 ## -------------------- ##
3830 ac_ext=c
3831 ac_cpp='$CPP $CPPFLAGS'
3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3838 ac_config_headers="$ac_config_headers include/config.h"
3840 ac_aux_dir=
3841 for ac_dir in tools "$srcdir"/tools; do
3842 if test -f "$ac_dir/install-sh"; then
3843 ac_aux_dir=$ac_dir
3844 ac_install_sh="$ac_aux_dir/install-sh -c"
3845 break
3846 elif test -f "$ac_dir/install.sh"; then
3847 ac_aux_dir=$ac_dir
3848 ac_install_sh="$ac_aux_dir/install.sh -c"
3849 break
3850 elif test -f "$ac_dir/shtool"; then
3851 ac_aux_dir=$ac_dir
3852 ac_install_sh="$ac_aux_dir/shtool install -c"
3853 break
3855 done
3856 if test -z "$ac_aux_dir"; then
3857 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3860 # These three variables are undocumented and unsupported,
3861 # and are intended to be withdrawn in a future Autoconf release.
3862 # They can cause serious problems if a builder's source tree is in a directory
3863 # whose full name contains unusual characters.
3864 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3865 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3866 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3870 libwine_version="1.0"
3874 # Check whether --enable-win16 was given.
3875 if test "${enable_win16+set}" = set; then :
3876 enableval=$enable_win16;
3879 # Check whether --enable-win64 was given.
3880 if test "${enable_win64+set}" = set; then :
3881 enableval=$enable_win64;
3884 # Check whether --enable-tests was given.
3885 if test "${enable_tests+set}" = set; then :
3886 enableval=$enable_tests;
3889 # Check whether --enable-maintainer-mode was given.
3890 if test "${enable_maintainer_mode+set}" = set; then :
3891 enableval=$enable_maintainer_mode;
3894 # Check whether --enable-werror was given.
3895 if test "${enable_werror+set}" = set; then :
3896 enableval=$enable_werror;
3901 # Check whether --with-alsa was given.
3902 if test "${with_alsa+set}" = set; then :
3903 withval=$with_alsa;
3907 # Check whether --with-capi was given.
3908 if test "${with_capi+set}" = set; then :
3909 withval=$with_capi;
3913 # Check whether --with-cms was given.
3914 if test "${with_cms+set}" = set; then :
3915 withval=$with_cms;
3919 # Check whether --with-coreaudio was given.
3920 if test "${with_coreaudio+set}" = set; then :
3921 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3925 # Check whether --with-cups was given.
3926 if test "${with_cups+set}" = set; then :
3927 withval=$with_cups;
3931 # Check whether --with-curses was given.
3932 if test "${with_curses+set}" = set; then :
3933 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3937 # Check whether --with-dbus was given.
3938 if test "${with_dbus+set}" = set; then :
3939 withval=$with_dbus;
3943 # Check whether --with-faudio was given.
3944 if test "${with_faudio+set}" = set; then :
3945 withval=$with_faudio;
3949 # Check whether --with-float-abi was given.
3950 if test "${with_float_abi+set}" = set; then :
3951 withval=$with_float_abi;
3955 # Check whether --with-fontconfig was given.
3956 if test "${with_fontconfig+set}" = set; then :
3957 withval=$with_fontconfig;
3961 # Check whether --with-freetype was given.
3962 if test "${with_freetype+set}" = set; then :
3963 withval=$with_freetype;
3967 # Check whether --with-gettext was given.
3968 if test "${with_gettext+set}" = set; then :
3969 withval=$with_gettext;
3973 # Check whether --with-gettextpo was given.
3974 if test "${with_gettextpo+set}" = set; then :
3975 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3979 # Check whether --with-gphoto was given.
3980 if test "${with_gphoto+set}" = set; then :
3981 withval=$with_gphoto;
3985 # Check whether --with-glu was given.
3986 if test "${with_glu+set}" = set; then :
3987 withval=$with_glu;
3991 # Check whether --with-gnutls was given.
3992 if test "${with_gnutls+set}" = set; then :
3993 withval=$with_gnutls;
3997 # Check whether --with-gsm was given.
3998 if test "${with_gsm+set}" = set; then :
3999 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4003 # Check whether --with-gssapi was given.
4004 if test "${with_gssapi+set}" = set; then :
4005 withval=$with_gssapi;
4009 # Check whether --with-gstreamer was given.
4010 if test "${with_gstreamer+set}" = set; then :
4011 withval=$with_gstreamer;
4015 # Check whether --with-hal was given.
4016 if test "${with_hal+set}" = set; then :
4017 withval=$with_hal;
4021 # Check whether --with-inotify was given.
4022 if test "${with_inotify+set}" = set; then :
4023 withval=$with_inotify;
4027 # Check whether --with-jpeg was given.
4028 if test "${with_jpeg+set}" = set; then :
4029 withval=$with_jpeg;
4033 # Check whether --with-krb5 was given.
4034 if test "${with_krb5+set}" = set; then :
4035 withval=$with_krb5;
4039 # Check whether --with-ldap was given.
4040 if test "${with_ldap+set}" = set; then :
4041 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4045 # Check whether --with-mingw was given.
4046 if test "${with_mingw+set}" = set; then :
4047 withval=$with_mingw;
4051 # Check whether --with-mpg123 was given.
4052 if test "${with_mpg123+set}" = set; then :
4053 withval=$with_mpg123;
4057 # Check whether --with-netapi was given.
4058 if test "${with_netapi+set}" = set; then :
4059 withval=$with_netapi;
4063 # Check whether --with-openal was given.
4064 if test "${with_openal+set}" = set; then :
4065 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4069 # Check whether --with-opencl was given.
4070 if test "${with_opencl+set}" = set; then :
4071 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4075 # Check whether --with-opengl was given.
4076 if test "${with_opengl+set}" = set; then :
4077 withval=$with_opengl;
4081 # Check whether --with-osmesa was given.
4082 if test "${with_osmesa+set}" = set; then :
4083 withval=$with_osmesa;
4087 # Check whether --with-oss was given.
4088 if test "${with_oss+set}" = set; then :
4089 withval=$with_oss;
4093 # Check whether --with-pcap was given.
4094 if test "${with_pcap+set}" = set; then :
4095 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4099 # Check whether --with-png was given.
4100 if test "${with_png+set}" = set; then :
4101 withval=$with_png;
4105 # Check whether --with-pthread was given.
4106 if test "${with_pthread+set}" = set; then :
4107 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4111 # Check whether --with-pulse was given.
4112 if test "${with_pulse+set}" = set; then :
4113 withval=$with_pulse;
4117 # Check whether --with-quicktime was given.
4118 if test "${with_quicktime+set}" = set; then :
4119 withval=$with_quicktime;
4123 # Check whether --with-sane was given.
4124 if test "${with_sane+set}" = set; then :
4125 withval=$with_sane;
4129 # Check whether --with-sdl was given.
4130 if test "${with_sdl+set}" = set; then :
4131 withval=$with_sdl;
4135 # Check whether --with-tiff was given.
4136 if test "${with_tiff+set}" = set; then :
4137 withval=$with_tiff;
4141 # Check whether --with-udev was given.
4142 if test "${with_udev+set}" = set; then :
4143 withval=$with_udev;
4147 # Check whether --with-unwind was given.
4148 if test "${with_unwind+set}" = set; then :
4149 withval=$with_unwind;
4153 # Check whether --with-usb was given.
4154 if test "${with_usb+set}" = set; then :
4155 withval=$with_usb;
4159 # Check whether --with-v4l2 was given.
4160 if test "${with_v4l2+set}" = set; then :
4161 withval=$with_v4l2;
4165 # Check whether --with-vkd3d was given.
4166 if test "${with_vkd3d+set}" = set; then :
4167 withval=$with_vkd3d;
4171 # Check whether --with-vulkan was given.
4172 if test "${with_vulkan+set}" = set; then :
4173 withval=$with_vulkan;
4177 # Check whether --with-xcomposite was given.
4178 if test "${with_xcomposite+set}" = set; then :
4179 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4183 # Check whether --with-xcursor was given.
4184 if test "${with_xcursor+set}" = set; then :
4185 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4189 # Check whether --with-xfixes was given.
4190 if test "${with_xfixes+set}" = set; then :
4191 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4195 # Check whether --with-xinerama was given.
4196 if test "${with_xinerama+set}" = set; then :
4197 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4201 # Check whether --with-xinput was given.
4202 if test "${with_xinput+set}" = set; then :
4203 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4207 # Check whether --with-xinput2 was given.
4208 if test "${with_xinput2+set}" = set; then :
4209 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4213 # Check whether --with-xml was given.
4214 if test "${with_xml+set}" = set; then :
4215 withval=$with_xml;
4219 # Check whether --with-xrandr was given.
4220 if test "${with_xrandr+set}" = set; then :
4221 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4225 # Check whether --with-xrender was given.
4226 if test "${with_xrender+set}" = set; then :
4227 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4231 # Check whether --with-xshape was given.
4232 if test "${with_xshape+set}" = set; then :
4233 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4237 # Check whether --with-xshm was given.
4238 if test "${with_xshm+set}" = set; then :
4239 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4243 # Check whether --with-xslt was given.
4244 if test "${with_xslt+set}" = set; then :
4245 withval=$with_xslt;
4249 # Check whether --with-xxf86vm was given.
4250 if test "${with_xxf86vm+set}" = set; then :
4251 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
4256 # Check whether --with-wine-tools was given.
4257 if test "${with_wine_tools+set}" = set; then :
4258 withval=$with_wine_tools;
4262 # Check whether --with-wine64 was given.
4263 if test "${with_wine64+set}" = set; then :
4264 withval=$with_wine64;
4268 # Make sure we can run config.sub.
4269 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4270 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4273 $as_echo_n "checking build system type... " >&6; }
4274 if ${ac_cv_build+:} false; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 ac_build_alias=$build_alias
4278 test "x$ac_build_alias" = x &&
4279 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4280 test "x$ac_build_alias" = x &&
4281 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4282 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4283 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4287 $as_echo "$ac_cv_build" >&6; }
4288 case $ac_cv_build in
4289 *-*-*) ;;
4290 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4291 esac
4292 build=$ac_cv_build
4293 ac_save_IFS=$IFS; IFS='-'
4294 set x $ac_cv_build
4295 shift
4296 build_cpu=$1
4297 build_vendor=$2
4298 shift; shift
4299 # Remember, the first character of IFS is used to create $*,
4300 # except with old shells:
4301 build_os=$*
4302 IFS=$ac_save_IFS
4303 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4307 $as_echo_n "checking host system type... " >&6; }
4308 if ${ac_cv_host+:} false; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 if test "x$host_alias" = x; then
4312 ac_cv_host=$ac_cv_build
4313 else
4314 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4315 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4320 $as_echo "$ac_cv_host" >&6; }
4321 case $ac_cv_host in
4322 *-*-*) ;;
4323 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4324 esac
4325 host=$ac_cv_host
4326 ac_save_IFS=$IFS; IFS='-'
4327 set x $ac_cv_host
4328 shift
4329 host_cpu=$1
4330 host_vendor=$2
4331 shift; shift
4332 # Remember, the first character of IFS is used to create $*,
4333 # except with old shells:
4334 host_os=$*
4335 IFS=$ac_save_IFS
4336 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4342 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4343 set x ${MAKE-make}
4344 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4345 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 cat >conftest.make <<\_ACEOF
4349 SHELL = /bin/sh
4350 all:
4351 @echo '@@@%%%=$(MAKE)=@@@%%%'
4352 _ACEOF
4353 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4354 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4355 *@@@%%%=?*=@@@%%%*)
4356 eval ac_cv_prog_make_${ac_make}_set=yes;;
4358 eval ac_cv_prog_make_${ac_make}_set=no;;
4359 esac
4360 rm -f conftest.make
4362 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4364 $as_echo "yes" >&6; }
4365 SET_MAKE=
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4369 SET_MAKE="MAKE=${MAKE-make}"
4372 ac_ext=c
4373 ac_cpp='$CPP $CPPFLAGS'
4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 if test -n "$ac_tool_prefix"; then
4378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4379 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_CC+:} false; then :
4383 $as_echo_n "(cached) " >&6
4384 else
4385 if test -n "$CC"; then
4386 ac_cv_prog_CC="$CC" # Let the user override the test.
4387 else
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH
4391 IFS=$as_save_IFS
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 break 2
4399 done
4400 done
4401 IFS=$as_save_IFS
4405 CC=$ac_cv_prog_CC
4406 if test -n "$CC"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4408 $as_echo "$CC" >&6; }
4409 else
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4416 if test -z "$ac_cv_prog_CC"; then
4417 ac_ct_CC=$CC
4418 # Extract the first word of "gcc", so it can be a program name with args.
4419 set dummy gcc; ac_word=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 if test -n "$ac_ct_CC"; then
4426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4427 else
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 for as_dir in $PATH
4431 IFS=$as_save_IFS
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_prog_ac_ct_CC="gcc"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 break 2
4439 done
4440 done
4441 IFS=$as_save_IFS
4445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4446 if test -n "$ac_ct_CC"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4448 $as_echo "$ac_ct_CC" >&6; }
4449 else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4454 if test "x$ac_ct_CC" = x; then
4455 CC=""
4456 else
4457 case $cross_compiling:$ac_tool_warned in
4458 yes:)
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4461 ac_tool_warned=yes ;;
4462 esac
4463 CC=$ac_ct_CC
4465 else
4466 CC="$ac_cv_prog_CC"
4469 if test -z "$CC"; then
4470 if test -n "$ac_tool_prefix"; then
4471 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4472 set dummy ${ac_tool_prefix}cc; ac_word=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if ${ac_cv_prog_CC+:} false; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 if test -n "$CC"; then
4479 ac_cv_prog_CC="$CC" # Let the user override the test.
4480 else
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 ac_cv_prog_CC="${ac_tool_prefix}cc"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4498 CC=$ac_cv_prog_CC
4499 if test -n "$CC"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4501 $as_echo "$CC" >&6; }
4502 else
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4510 if test -z "$CC"; then
4511 # Extract the first word of "cc", so it can be a program name with args.
4512 set dummy cc; ac_word=$2
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514 $as_echo_n "checking for $ac_word... " >&6; }
4515 if ${ac_cv_prog_CC+:} false; then :
4516 $as_echo_n "(cached) " >&6
4517 else
4518 if test -n "$CC"; then
4519 ac_cv_prog_CC="$CC" # Let the user override the test.
4520 else
4521 ac_prog_rejected=no
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH
4525 IFS=$as_save_IFS
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4530 ac_prog_rejected=yes
4531 continue
4533 ac_cv_prog_CC="cc"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 break 2
4537 done
4538 done
4539 IFS=$as_save_IFS
4541 if test $ac_prog_rejected = yes; then
4542 # We found a bogon in the path, so make sure we never use it.
4543 set dummy $ac_cv_prog_CC
4544 shift
4545 if test $# != 0; then
4546 # We chose a different compiler from the bogus one.
4547 # However, it has the same basename, so the bogon will be chosen
4548 # first if we set CC to just the basename; use the full file name.
4549 shift
4550 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4555 CC=$ac_cv_prog_CC
4556 if test -n "$CC"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4558 $as_echo "$CC" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4566 if test -z "$CC"; then
4567 if test -n "$ac_tool_prefix"; then
4568 for ac_prog in cl.exe
4570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if ${ac_cv_prog_CC+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 if test -n "$CC"; then
4578 ac_cv_prog_CC="$CC" # Let the user override the test.
4579 else
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH
4583 IFS=$as_save_IFS
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 break 2
4591 done
4592 done
4593 IFS=$as_save_IFS
4597 CC=$ac_cv_prog_CC
4598 if test -n "$CC"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4600 $as_echo "$CC" >&6; }
4601 else
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4607 test -n "$CC" && break
4608 done
4610 if test -z "$CC"; then
4611 ac_ct_CC=$CC
4612 for ac_prog in cl.exe
4614 # Extract the first word of "$ac_prog", so it can be a program name with args.
4615 set dummy $ac_prog; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 if test -n "$ac_ct_CC"; then
4622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4623 else
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4627 IFS=$as_save_IFS
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_ac_ct_CC="$ac_prog"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 break 2
4635 done
4636 done
4637 IFS=$as_save_IFS
4641 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4642 if test -n "$ac_ct_CC"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4644 $as_echo "$ac_ct_CC" >&6; }
4645 else
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 test -n "$ac_ct_CC" && break
4652 done
4654 if test "x$ac_ct_CC" = x; then
4655 CC=""
4656 else
4657 case $cross_compiling:$ac_tool_warned in
4658 yes:)
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4661 ac_tool_warned=yes ;;
4662 esac
4663 CC=$ac_ct_CC
4670 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4672 as_fn_error $? "no acceptable C compiler found in \$PATH
4673 See \`config.log' for more details" "$LINENO" 5; }
4675 # Provide some information about the compiler.
4676 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4677 set X $ac_compile
4678 ac_compiler=$2
4679 for ac_option in --version -v -V -qversion; do
4680 { { ac_try="$ac_compiler $ac_option >&5"
4681 case "(($ac_try" in
4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683 *) ac_try_echo=$ac_try;;
4684 esac
4685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4686 $as_echo "$ac_try_echo"; } >&5
4687 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4688 ac_status=$?
4689 if test -s conftest.err; then
4690 sed '10a\
4691 ... rest of stderr output deleted ...
4692 10q' conftest.err >conftest.er1
4693 cat conftest.er1 >&5
4695 rm -f conftest.er1 conftest.err
4696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4697 test $ac_status = 0; }
4698 done
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4704 main ()
4708 return 0;
4710 _ACEOF
4711 ac_clean_files_save=$ac_clean_files
4712 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4713 # Try to create an executable without -o first, disregard a.out.
4714 # It will help us diagnose broken compilers, and finding out an intuition
4715 # of exeext.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4717 $as_echo_n "checking whether the C compiler works... " >&6; }
4718 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4720 # The possible output files:
4721 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4723 ac_rmfiles=
4724 for ac_file in $ac_files
4726 case $ac_file in
4727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4728 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4729 esac
4730 done
4731 rm -f $ac_rmfiles
4733 if { { ac_try="$ac_link_default"
4734 case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_link_default") 2>&5
4741 ac_status=$?
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }; then :
4744 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4745 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4746 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4747 # so that the user can short-circuit this test for compilers unknown to
4748 # Autoconf.
4749 for ac_file in $ac_files ''
4751 test -f "$ac_file" || continue
4752 case $ac_file in
4753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4755 [ab].out )
4756 # We found the default executable, but exeext='' is most
4757 # certainly right.
4758 break;;
4759 *.* )
4760 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4761 then :; else
4762 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4764 # We set ac_cv_exeext here because the later test for it is not
4765 # safe: cross compilers may not add the suffix if given an `-o'
4766 # argument, so we may need to know it at that point already.
4767 # Even if this section looks crufty: it has the advantage of
4768 # actually working.
4769 break;;
4771 break;;
4772 esac
4773 done
4774 test "$ac_cv_exeext" = no && ac_cv_exeext=
4776 else
4777 ac_file=''
4779 if test -z "$ac_file"; then :
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 $as_echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4787 as_fn_error 77 "C compiler cannot create executables
4788 See \`config.log' for more details" "$LINENO" 5; }
4789 else
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4791 $as_echo "yes" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4794 $as_echo_n "checking for C compiler default output file name... " >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4796 $as_echo "$ac_file" >&6; }
4797 ac_exeext=$ac_cv_exeext
4799 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4800 ac_clean_files=$ac_clean_files_save
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4802 $as_echo_n "checking for suffix of executables... " >&6; }
4803 if { { ac_try="$ac_link"
4804 case "(($ac_try" in
4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4806 *) ac_try_echo=$ac_try;;
4807 esac
4808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4809 $as_echo "$ac_try_echo"; } >&5
4810 (eval "$ac_link") 2>&5
4811 ac_status=$?
4812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813 test $ac_status = 0; }; then :
4814 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4815 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4816 # work properly (i.e., refer to `conftest.exe'), while it won't with
4817 # `rm'.
4818 for ac_file in conftest.exe conftest conftest.*; do
4819 test -f "$ac_file" || continue
4820 case $ac_file in
4821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4822 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4823 break;;
4824 * ) break;;
4825 esac
4826 done
4827 else
4828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4830 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4831 See \`config.log' for more details" "$LINENO" 5; }
4833 rm -f conftest conftest$ac_cv_exeext
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4835 $as_echo "$ac_cv_exeext" >&6; }
4837 rm -f conftest.$ac_ext
4838 EXEEXT=$ac_cv_exeext
4839 ac_exeext=$EXEEXT
4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4842 #include <stdio.h>
4844 main ()
4846 FILE *f = fopen ("conftest.out", "w");
4847 return ferror (f) || fclose (f) != 0;
4850 return 0;
4852 _ACEOF
4853 ac_clean_files="$ac_clean_files conftest.out"
4854 # Check that the compiler produces executables we can run. If not, either
4855 # the compiler is broken, or we cross compile.
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4857 $as_echo_n "checking whether we are cross compiling... " >&6; }
4858 if test "$cross_compiling" != yes; then
4859 { { ac_try="$ac_link"
4860 case "(($ac_try" in
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4863 esac
4864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4865 $as_echo "$ac_try_echo"; } >&5
4866 (eval "$ac_link") 2>&5
4867 ac_status=$?
4868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4869 test $ac_status = 0; }
4870 if { ac_try='./conftest$ac_cv_exeext'
4871 { { case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874 esac
4875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4876 $as_echo "$ac_try_echo"; } >&5
4877 (eval "$ac_try") 2>&5
4878 ac_status=$?
4879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4880 test $ac_status = 0; }; }; then
4881 cross_compiling=no
4882 else
4883 if test "$cross_compiling" = maybe; then
4884 cross_compiling=yes
4885 else
4886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4888 as_fn_error $? "cannot run C compiled programs.
4889 If you meant to cross compile, use \`--host'.
4890 See \`config.log' for more details" "$LINENO" 5; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4895 $as_echo "$cross_compiling" >&6; }
4897 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4898 ac_clean_files=$ac_clean_files_save
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4900 $as_echo_n "checking for suffix of object files... " >&6; }
4901 if ${ac_cv_objext+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4908 main ()
4912 return 0;
4914 _ACEOF
4915 rm -f conftest.o conftest.obj
4916 if { { ac_try="$ac_compile"
4917 case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4920 esac
4921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4922 $as_echo "$ac_try_echo"; } >&5
4923 (eval "$ac_compile") 2>&5
4924 ac_status=$?
4925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4926 test $ac_status = 0; }; then :
4927 for ac_file in conftest.o conftest.obj conftest.*; do
4928 test -f "$ac_file" || continue;
4929 case $ac_file in
4930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4931 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4932 break;;
4933 esac
4934 done
4935 else
4936 $as_echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4941 as_fn_error $? "cannot compute suffix of object files: cannot compile
4942 See \`config.log' for more details" "$LINENO" 5; }
4944 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4947 $as_echo "$ac_cv_objext" >&6; }
4948 OBJEXT=$ac_cv_objext
4949 ac_objext=$OBJEXT
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4951 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4952 if ${ac_cv_c_compiler_gnu+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4961 #ifndef __GNUC__
4962 choke me
4963 #endif
4966 return 0;
4968 _ACEOF
4969 if ac_fn_c_try_compile "$LINENO"; then :
4970 ac_compiler_gnu=yes
4971 else
4972 ac_compiler_gnu=no
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4979 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4980 if test $ac_compiler_gnu = yes; then
4981 GCC=yes
4982 else
4983 GCC=
4985 ac_test_CFLAGS=${CFLAGS+set}
4986 ac_save_CFLAGS=$CFLAGS
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4988 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4989 if ${ac_cv_prog_cc_g+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 ac_save_c_werror_flag=$ac_c_werror_flag
4993 ac_c_werror_flag=yes
4994 ac_cv_prog_cc_g=no
4995 CFLAGS="-g"
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5000 main ()
5004 return 0;
5006 _ACEOF
5007 if ac_fn_c_try_compile "$LINENO"; then :
5008 ac_cv_prog_cc_g=yes
5009 else
5010 CFLAGS=""
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5015 main ()
5019 return 0;
5021 _ACEOF
5022 if ac_fn_c_try_compile "$LINENO"; then :
5024 else
5025 ac_c_werror_flag=$ac_save_c_werror_flag
5026 CFLAGS="-g"
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5031 main ()
5035 return 0;
5037 _ACEOF
5038 if ac_fn_c_try_compile "$LINENO"; then :
5039 ac_cv_prog_cc_g=yes
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 ac_c_werror_flag=$ac_save_c_werror_flag
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5049 $as_echo "$ac_cv_prog_cc_g" >&6; }
5050 if test "$ac_test_CFLAGS" = set; then
5051 CFLAGS=$ac_save_CFLAGS
5052 elif test $ac_cv_prog_cc_g = yes; then
5053 if test "$GCC" = yes; then
5054 CFLAGS="-g -O2"
5055 else
5056 CFLAGS="-g"
5058 else
5059 if test "$GCC" = yes; then
5060 CFLAGS="-O2"
5061 else
5062 CFLAGS=
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5066 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5067 if ${ac_cv_prog_cc_c89+:} false; then :
5068 $as_echo_n "(cached) " >&6
5069 else
5070 ac_cv_prog_cc_c89=no
5071 ac_save_CC=$CC
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5074 #include <stdarg.h>
5075 #include <stdio.h>
5076 struct stat;
5077 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5078 struct buf { int x; };
5079 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5080 static char *e (p, i)
5081 char **p;
5082 int i;
5084 return p[i];
5086 static char *f (char * (*g) (char **, int), char **p, ...)
5088 char *s;
5089 va_list v;
5090 va_start (v,p);
5091 s = g (p, va_arg (v,int));
5092 va_end (v);
5093 return s;
5096 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5097 function prototypes and stuff, but not '\xHH' hex character constants.
5098 These don't provoke an error unfortunately, instead are silently treated
5099 as 'x'. The following induces an error, until -std is added to get
5100 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5101 array size at least. It's necessary to write '\x00'==0 to get something
5102 that's true only with -std. */
5103 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5105 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5106 inside strings and character constants. */
5107 #define FOO(x) 'x'
5108 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5110 int test (int i, double x);
5111 struct s1 {int (*f) (int a);};
5112 struct s2 {int (*f) (double a);};
5113 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5114 int argc;
5115 char **argv;
5117 main ()
5119 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5121 return 0;
5123 _ACEOF
5124 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5125 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5127 CC="$ac_save_CC $ac_arg"
5128 if ac_fn_c_try_compile "$LINENO"; then :
5129 ac_cv_prog_cc_c89=$ac_arg
5131 rm -f core conftest.err conftest.$ac_objext
5132 test "x$ac_cv_prog_cc_c89" != "xno" && break
5133 done
5134 rm -f conftest.$ac_ext
5135 CC=$ac_save_CC
5138 # AC_CACHE_VAL
5139 case "x$ac_cv_prog_cc_c89" in
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5142 $as_echo "none needed" >&6; } ;;
5143 xno)
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5145 $as_echo "unsupported" >&6; } ;;
5147 CC="$CC $ac_cv_prog_cc_c89"
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5149 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5150 esac
5151 if test "x$ac_cv_prog_cc_c89" != xno; then :
5155 ac_ext=c
5156 ac_cpp='$CPP $CPPFLAGS'
5157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5161 ac_ext=cpp
5162 ac_cpp='$CXXCPP $CPPFLAGS'
5163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5166 if test -z "$CXX"; then
5167 if test -n "$CCC"; then
5168 CXX=$CCC
5169 else
5170 if test -n "$ac_tool_prefix"; then
5171 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5174 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_CXX+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$CXX"; then
5181 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 CXX=$ac_cv_prog_CXX
5201 if test -n "$CXX"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5203 $as_echo "$CXX" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$CXX" && break
5211 done
5213 if test -z "$CXX"; then
5214 ac_ct_CXX=$CXX
5215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy $ac_prog; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 if test -n "$ac_ct_CXX"; then
5225 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5226 else
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_ac_ct_CXX="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 break 2
5238 done
5239 done
5240 IFS=$as_save_IFS
5244 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5245 if test -n "$ac_ct_CXX"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5247 $as_echo "$ac_ct_CXX" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$ac_ct_CXX" && break
5255 done
5257 if test "x$ac_ct_CXX" = x; then
5258 CXX="g++"
5259 else
5260 case $cross_compiling:$ac_tool_warned in
5261 yes:)
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5264 ac_tool_warned=yes ;;
5265 esac
5266 CXX=$ac_ct_CXX
5272 # Provide some information about the compiler.
5273 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5274 set X $ac_compile
5275 ac_compiler=$2
5276 for ac_option in --version -v -V -qversion; do
5277 { { ac_try="$ac_compiler $ac_option >&5"
5278 case "(($ac_try" in
5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5281 esac
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5283 $as_echo "$ac_try_echo"; } >&5
5284 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5285 ac_status=$?
5286 if test -s conftest.err; then
5287 sed '10a\
5288 ... rest of stderr output deleted ...
5289 10q' conftest.err >conftest.er1
5290 cat conftest.er1 >&5
5292 rm -f conftest.er1 conftest.err
5293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }
5295 done
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5298 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5299 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5300 $as_echo_n "(cached) " >&6
5301 else
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5308 #ifndef __GNUC__
5309 choke me
5310 #endif
5313 return 0;
5315 _ACEOF
5316 if ac_fn_cxx_try_compile "$LINENO"; then :
5317 ac_compiler_gnu=yes
5318 else
5319 ac_compiler_gnu=no
5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5326 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5327 if test $ac_compiler_gnu = yes; then
5328 GXX=yes
5329 else
5330 GXX=
5332 ac_test_CXXFLAGS=${CXXFLAGS+set}
5333 ac_save_CXXFLAGS=$CXXFLAGS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5335 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5336 if ${ac_cv_prog_cxx_g+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5340 ac_cxx_werror_flag=yes
5341 ac_cv_prog_cxx_g=no
5342 CXXFLAGS="-g"
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5347 main ()
5351 return 0;
5353 _ACEOF
5354 if ac_fn_cxx_try_compile "$LINENO"; then :
5355 ac_cv_prog_cxx_g=yes
5356 else
5357 CXXFLAGS=""
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5362 main ()
5366 return 0;
5368 _ACEOF
5369 if ac_fn_cxx_try_compile "$LINENO"; then :
5371 else
5372 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5373 CXXFLAGS="-g"
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main ()
5382 return 0;
5384 _ACEOF
5385 if ac_fn_cxx_try_compile "$LINENO"; then :
5386 ac_cv_prog_cxx_g=yes
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5396 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5397 if test "$ac_test_CXXFLAGS" = set; then
5398 CXXFLAGS=$ac_save_CXXFLAGS
5399 elif test $ac_cv_prog_cxx_g = yes; then
5400 if test "$GXX" = yes; then
5401 CXXFLAGS="-g -O2"
5402 else
5403 CXXFLAGS="-g"
5405 else
5406 if test "$GXX" = yes; then
5407 CXXFLAGS="-O2"
5408 else
5409 CXXFLAGS=
5412 ac_ext=c
5413 ac_cpp='$CPP $CPPFLAGS'
5414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_CPPBIN+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$CPPBIN"; then
5427 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 CPPBIN=$ac_cv_prog_CPPBIN
5447 if test -n "$CPPBIN"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5449 $as_echo "$CPPBIN" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_CPPBIN"; then
5458 ac_ct_CPPBIN=$CPPBIN
5459 # Extract the first word of "cpp", so it can be a program name with args.
5460 set dummy cpp; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$ac_ct_CPPBIN"; then
5467 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_CPPBIN="cpp"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5487 if test -n "$ac_ct_CPPBIN"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5489 $as_echo "$ac_ct_CPPBIN" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_CPPBIN" = x; then
5496 CPPBIN="cpp"
5497 else
5498 case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504 CPPBIN=$ac_ct_CPPBIN
5506 else
5507 CPPBIN="$ac_cv_prog_CPPBIN"
5511 cat >>confdefs.h <<_ACEOF
5512 #define EXEEXT "$ac_exeext"
5513 _ACEOF
5515 if test -n "$ac_tool_prefix"; then
5516 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5517 set dummy ${ac_tool_prefix}ld; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_LD+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -n "$LD"; then
5524 ac_cv_prog_LD="$LD" # Let the user override the test.
5525 else
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_LD="${ac_tool_prefix}ld"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 break 2
5537 done
5538 done
5539 IFS=$as_save_IFS
5543 LD=$ac_cv_prog_LD
5544 if test -n "$LD"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5546 $as_echo "$LD" >&6; }
5547 else
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5554 if test -z "$ac_cv_prog_LD"; then
5555 ac_ct_LD=$LD
5556 # Extract the first word of "ld", so it can be a program name with args.
5557 set dummy ld; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5561 $as_echo_n "(cached) " >&6
5562 else
5563 if test -n "$ac_ct_LD"; then
5564 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5565 else
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH
5569 IFS=$as_save_IFS
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_ac_ct_LD="ld"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 break 2
5577 done
5578 done
5579 IFS=$as_save_IFS
5583 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5584 if test -n "$ac_ct_LD"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5586 $as_echo "$ac_ct_LD" >&6; }
5587 else
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5592 if test "x$ac_ct_LD" = x; then
5593 LD=""
5594 else
5595 case $cross_compiling:$ac_tool_warned in
5596 yes:)
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5599 ac_tool_warned=yes ;;
5600 esac
5601 LD=$ac_ct_LD
5603 else
5604 LD="$ac_cv_prog_LD"
5608 case $host in
5609 *-darwin*)
5610 with_fontconfig=${with_fontconfig:-no}
5612 *-mingw32*|*-cygwin*)
5613 enable_win16=${enable_win16:-no}
5614 with_mingw=${with_mingw:-no}
5615 CFLAGS="$CFLAGS -D_WIN32"
5617 esac
5619 case $host in
5620 x86_64*|amd64*)
5621 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5622 then
5623 CC="$CC -m32"
5624 CXX="$CXX -m32"
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5627 $as_echo_n "checking whether $CC works... " >&6; }
5628 if ${wine_cv_cc_m32+:} false; then :
5629 $as_echo_n "(cached) " >&6
5630 else
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5635 main ()
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_link "$LINENO"; then :
5643 wine_cv_cc_m32=yes
5644 else
5645 wine_cv_cc_m32=no
5647 rm -f core conftest.err conftest.$ac_objext \
5648 conftest$ac_exeext conftest.$ac_ext
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5651 $as_echo "$wine_cv_cc_m32" >&6; }
5652 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
5653 host_cpu="i386"
5654 notice_platform="32-bit "
5655 TARGETFLAGS="-m32"
5657 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5658 export PKG_CONFIG_PATH
5659 enable_win16=${enable_win16:-yes}
5660 with_unwind=${with_unwind:-no}
5661 else
5662 if test "x${GCC}" = "xyes"
5663 then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5665 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5666 if ${wine_cv_builtin_ms_va_list+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5671 #include <stdarg.h>
5673 main ()
5675 void func(__builtin_ms_va_list *args);
5677 return 0;
5679 _ACEOF
5680 if ac_fn_c_try_compile "$LINENO"; then :
5681 wine_cv_builtin_ms_va_list=yes
5682 else
5683 wine_cv_builtin_ms_va_list=no
5685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5688 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5689 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
5691 CC="$CC -m64"
5692 CXX="$CXX -m64"
5693 host_cpu="x86_64"
5694 notice_platform="64-bit "
5695 TARGETFLAGS="-m64"
5699 arm*)
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5701 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5702 if ${wine_cv_thumb+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5707 int ac_test(int i) { return i; }
5709 main ()
5711 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5713 return 0;
5715 _ACEOF
5716 if ac_fn_c_try_link "$LINENO"; then :
5717 wine_cv_thumb=yes
5718 else
5719 wine_cv_thumb=no
5721 rm -f core conftest.err conftest.$ac_objext \
5722 conftest$ac_exeext conftest.$ac_ext
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5725 $as_echo "$wine_cv_thumb" >&6; }
5726 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5727 case $with_float_abi in
5728 soft|softfp|hard)
5729 float_abi=$with_float_abi ;;
5731 case $host_os in
5732 *eabihf)
5733 float_abi=hard ;;
5735 float_abi=softfp
5736 saved_CFLAGS=$CFLAGS
5737 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5739 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5740 if ${wine_cv_float_abi+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5747 main ()
5749 asm("vmrs r2,fpscr");
5751 return 0;
5753 _ACEOF
5754 if ac_fn_c_try_link "$LINENO"; then :
5755 wine_cv_float_abi=yes
5756 else
5757 wine_cv_float_abi=no
5759 rm -f core conftest.err conftest.$ac_objext \
5760 conftest$ac_exeext conftest.$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5763 $as_echo "$wine_cv_float_abi" >&6; }
5764 if test $wine_cv_float_abi = no
5765 then
5766 float_abi=soft
5767 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5769 CFLAGS=$saved_CFLAGS
5770 esac
5772 esac
5773 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5774 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5777 aarch64*)
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5779 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5780 if ${wine_cv_builtin_ms_va_list+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5784 /* end confdefs.h. */
5785 #include <stdarg.h>
5787 main ()
5789 void func(__builtin_ms_va_list *args);
5791 return 0;
5793 _ACEOF
5794 if ac_fn_c_try_compile "$LINENO"; then :
5795 wine_cv_builtin_ms_va_list=yes
5796 else
5797 wine_cv_builtin_ms_va_list=no
5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5802 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5803 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5805 i[3456789]86*)
5806 enable_win16=${enable_win16:-yes}
5807 with_unwind=${with_unwind:-no}
5809 esac
5811 enable_win16=${enable_win16:-no}
5812 enable_win64=${enable_win64:-no}
5814 enable_winetest=${enable_winetest:-$enable_tests}
5816 if test "x$enable_win64" = "xyes"
5817 then
5818 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5819 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5820 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5824 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5825 if ${wine_cv_toolsdir+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 wine_cv_toolsdir="$with_wine_tools"
5829 if test -z "$with_wine_tools"; then
5830 if test "$cross_compiling" = "yes"; then
5831 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5832 elif test -n "$with_wine64"; then
5833 wine_cv_toolsdir="$with_wine64"
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5838 $as_echo "$wine_cv_toolsdir" >&6; }
5839 if test -z "$wine_cv_toolsdir"; then
5840 wine_makedep=tools/makedep
5841 TOOLSDIR="."
5843 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5844 wine_makedep=$wine_cv_toolsdir/tools/makedep
5845 TOOLSDIR=$wine_cv_toolsdir
5847 enable_tools=${enable_tools:-no}
5848 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5849 else
5850 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5852 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5853 then
5854 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5858 for ac_prog in flex
5860 # Extract the first word of "$ac_prog", so it can be a program name with args.
5861 set dummy $ac_prog; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if ${ac_cv_prog_FLEX+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 if test -n "$FLEX"; then
5868 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5869 else
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 for as_dir in $PATH
5873 IFS=$as_save_IFS
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877 ac_cv_prog_FLEX="$ac_prog"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 break 2
5881 done
5882 done
5883 IFS=$as_save_IFS
5887 FLEX=$ac_cv_prog_FLEX
5888 if test -n "$FLEX"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5890 $as_echo "$FLEX" >&6; }
5891 else
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5897 test -n "$FLEX" && break
5898 done
5899 test -n "$FLEX" || FLEX="none"
5901 if test "$FLEX" = "none"
5902 then
5903 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5906 $as_echo_n "checking whether flex is recent enough... " >&6; }
5907 if ${wine_cv_recent_flex+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 cat >conftest.l <<EOF
5911 %top{
5912 #include "prediluvian.h"
5916 if $FLEX -t conftest.l >/dev/null 2>&5
5917 then
5918 wine_cv_recent_flex=yes
5919 else
5920 wine_cv_recent_flex=no
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5924 $as_echo "$wine_cv_recent_flex" >&6; }
5925 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
5927 for ac_prog in bison
5929 # Extract the first word of "$ac_prog", so it can be a program name with args.
5930 set dummy $ac_prog; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_BISON+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -n "$BISON"; then
5937 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5938 else
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH
5942 IFS=$as_save_IFS
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946 ac_cv_prog_BISON="$ac_prog"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 break 2
5950 done
5951 done
5952 IFS=$as_save_IFS
5956 BISON=$ac_cv_prog_BISON
5957 if test -n "$BISON"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5959 $as_echo "$BISON" >&6; }
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5966 test -n "$BISON" && break
5967 done
5968 test -n "$BISON" || BISON="none"
5970 if test "$BISON" = "none"
5971 then
5972 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5975 $as_echo_n "checking whether bison is recent enough... " >&6; }
5976 if ${wine_cv_recent_bison+:} false; then :
5977 $as_echo_n "(cached) " >&6
5978 else
5979 cat >conftest.y <<EOF
5980 %define parse.error verbose
5982 empty: ;
5984 if $BISON conftest.y >/dev/null 2>&5
5985 then
5986 wine_cv_recent_bison=yes
5987 else
5988 wine_cv_recent_bison=no
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5992 $as_echo "$wine_cv_recent_bison" >&6; }
5993 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
5995 if test -n "$ac_tool_prefix"; then
5996 for ac_prog in ar gar
5998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5999 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_AR+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$AR"; then
6006 ac_cv_prog_AR="$AR" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 AR=$ac_cv_prog_AR
6026 if test -n "$AR"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6028 $as_echo "$AR" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$AR" && break
6036 done
6038 if test -z "$AR"; then
6039 ac_ct_AR=$AR
6040 for ac_prog in ar gar
6042 # Extract the first word of "$ac_prog", so it can be a program name with args.
6043 set dummy $ac_prog; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045 $as_echo_n "checking for $ac_word... " >&6; }
6046 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6047 $as_echo_n "(cached) " >&6
6048 else
6049 if test -n "$ac_ct_AR"; then
6050 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6051 else
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 for as_dir in $PATH
6055 IFS=$as_save_IFS
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6059 ac_cv_prog_ac_ct_AR="$ac_prog"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 break 2
6063 done
6064 done
6065 IFS=$as_save_IFS
6069 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6070 if test -n "$ac_ct_AR"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6072 $as_echo "$ac_ct_AR" >&6; }
6073 else
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075 $as_echo "no" >&6; }
6079 test -n "$ac_ct_AR" && break
6080 done
6082 if test "x$ac_ct_AR" = x; then
6083 AR="ar"
6084 else
6085 case $cross_compiling:$ac_tool_warned in
6086 yes:)
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6089 ac_tool_warned=yes ;;
6090 esac
6091 AR=$ac_ct_AR
6095 if test -n "$ac_tool_prefix"; then
6096 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6097 set dummy ${ac_tool_prefix}strip; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_STRIP+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$STRIP"; then
6104 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 STRIP=$ac_cv_prog_STRIP
6124 if test -n "$STRIP"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6126 $as_echo "$STRIP" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6134 if test -z "$ac_cv_prog_STRIP"; then
6135 ac_ct_STRIP=$STRIP
6136 # Extract the first word of "strip", so it can be a program name with args.
6137 set dummy strip; ac_word=$2
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; }
6140 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6141 $as_echo_n "(cached) " >&6
6142 else
6143 if test -n "$ac_ct_STRIP"; then
6144 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6145 else
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in $PATH
6149 IFS=$as_save_IFS
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6153 ac_cv_prog_ac_ct_STRIP="strip"
6154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 break 2
6157 done
6158 done
6159 IFS=$as_save_IFS
6163 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6164 if test -n "$ac_ct_STRIP"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6166 $as_echo "$ac_ct_STRIP" >&6; }
6167 else
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169 $as_echo "no" >&6; }
6172 if test "x$ac_ct_STRIP" = x; then
6173 STRIP="strip"
6174 else
6175 case $cross_compiling:$ac_tool_warned in
6176 yes:)
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6179 ac_tool_warned=yes ;;
6180 esac
6181 STRIP=$ac_ct_STRIP
6183 else
6184 STRIP="$ac_cv_prog_STRIP"
6187 if test -n "$ac_tool_prefix"; then
6188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6189 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if ${ac_cv_prog_RANLIB+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 if test -n "$RANLIB"; then
6196 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6197 else
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 for as_dir in $PATH
6201 IFS=$as_save_IFS
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6207 break 2
6209 done
6210 done
6211 IFS=$as_save_IFS
6215 RANLIB=$ac_cv_prog_RANLIB
6216 if test -n "$RANLIB"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6218 $as_echo "$RANLIB" >&6; }
6219 else
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6226 if test -z "$ac_cv_prog_RANLIB"; then
6227 ac_ct_RANLIB=$RANLIB
6228 # Extract the first word of "ranlib", so it can be a program name with args.
6229 set dummy ranlib; ac_word=$2
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231 $as_echo_n "checking for $ac_word... " >&6; }
6232 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6233 $as_echo_n "(cached) " >&6
6234 else
6235 if test -n "$ac_ct_RANLIB"; then
6236 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6237 else
6238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6239 for as_dir in $PATH
6241 IFS=$as_save_IFS
6242 test -z "$as_dir" && as_dir=.
6243 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_ac_ct_RANLIB="ranlib"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247 break 2
6249 done
6250 done
6251 IFS=$as_save_IFS
6255 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6256 if test -n "$ac_ct_RANLIB"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6258 $as_echo "$ac_ct_RANLIB" >&6; }
6259 else
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 $as_echo "no" >&6; }
6264 if test "x$ac_ct_RANLIB" = x; then
6265 RANLIB=":"
6266 else
6267 case $cross_compiling:$ac_tool_warned in
6268 yes:)
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6271 ac_tool_warned=yes ;;
6272 esac
6273 RANLIB=$ac_ct_RANLIB
6275 else
6276 RANLIB="$ac_cv_prog_RANLIB"
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6280 $as_echo_n "checking whether ln -s works... " >&6; }
6281 LN_S=$as_ln_s
6282 if test "$LN_S" = "ln -s"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6284 $as_echo "yes" >&6; }
6285 else
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6287 $as_echo "no, using $LN_S" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6291 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6292 if ${ac_cv_path_GREP+:} false; then :
6293 $as_echo_n "(cached) " >&6
6294 else
6295 if test -z "$GREP"; then
6296 ac_path_GREP_found=false
6297 # Loop through the user's path and test for each of PROGNAME-LIST
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6301 IFS=$as_save_IFS
6302 test -z "$as_dir" && as_dir=.
6303 for ac_prog in grep ggrep; do
6304 for ac_exec_ext in '' $ac_executable_extensions; do
6305 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6306 as_fn_executable_p "$ac_path_GREP" || continue
6307 # Check for GNU ac_path_GREP and select it if it is found.
6308 # Check for GNU $ac_path_GREP
6309 case `"$ac_path_GREP" --version 2>&1` in
6310 *GNU*)
6311 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6313 ac_count=0
6314 $as_echo_n 0123456789 >"conftest.in"
6315 while :
6317 cat "conftest.in" "conftest.in" >"conftest.tmp"
6318 mv "conftest.tmp" "conftest.in"
6319 cp "conftest.in" "conftest.nl"
6320 $as_echo 'GREP' >> "conftest.nl"
6321 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6322 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6323 as_fn_arith $ac_count + 1 && ac_count=$as_val
6324 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6325 # Best one so far, save it but keep looking for a better one
6326 ac_cv_path_GREP="$ac_path_GREP"
6327 ac_path_GREP_max=$ac_count
6329 # 10*(2^10) chars as input seems more than enough
6330 test $ac_count -gt 10 && break
6331 done
6332 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6333 esac
6335 $ac_path_GREP_found && break 3
6336 done
6337 done
6338 done
6339 IFS=$as_save_IFS
6340 if test -z "$ac_cv_path_GREP"; then
6341 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6343 else
6344 ac_cv_path_GREP=$GREP
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6349 $as_echo "$ac_cv_path_GREP" >&6; }
6350 GREP="$ac_cv_path_GREP"
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6354 $as_echo_n "checking for egrep... " >&6; }
6355 if ${ac_cv_path_EGREP+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6359 then ac_cv_path_EGREP="$GREP -E"
6360 else
6361 if test -z "$EGREP"; then
6362 ac_path_EGREP_found=false
6363 # Loop through the user's path and test for each of PROGNAME-LIST
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6367 IFS=$as_save_IFS
6368 test -z "$as_dir" && as_dir=.
6369 for ac_prog in egrep; do
6370 for ac_exec_ext in '' $ac_executable_extensions; do
6371 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6372 as_fn_executable_p "$ac_path_EGREP" || continue
6373 # Check for GNU ac_path_EGREP and select it if it is found.
6374 # Check for GNU $ac_path_EGREP
6375 case `"$ac_path_EGREP" --version 2>&1` in
6376 *GNU*)
6377 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6379 ac_count=0
6380 $as_echo_n 0123456789 >"conftest.in"
6381 while :
6383 cat "conftest.in" "conftest.in" >"conftest.tmp"
6384 mv "conftest.tmp" "conftest.in"
6385 cp "conftest.in" "conftest.nl"
6386 $as_echo 'EGREP' >> "conftest.nl"
6387 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6388 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6389 as_fn_arith $ac_count + 1 && ac_count=$as_val
6390 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6391 # Best one so far, save it but keep looking for a better one
6392 ac_cv_path_EGREP="$ac_path_EGREP"
6393 ac_path_EGREP_max=$ac_count
6395 # 10*(2^10) chars as input seems more than enough
6396 test $ac_count -gt 10 && break
6397 done
6398 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6399 esac
6401 $ac_path_EGREP_found && break 3
6402 done
6403 done
6404 done
6405 IFS=$as_save_IFS
6406 if test -z "$ac_cv_path_EGREP"; then
6407 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6409 else
6410 ac_cv_path_EGREP=$EGREP
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6416 $as_echo "$ac_cv_path_EGREP" >&6; }
6417 EGREP="$ac_cv_path_EGREP"
6420 # Extract the first word of "ldconfig", so it can be a program name with args.
6421 set dummy ldconfig; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if ${ac_cv_path_LDCONFIG+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 case $LDCONFIG in
6428 [\\/]* | ?:[\\/]*)
6429 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in /sbin /usr/sbin $PATH
6435 IFS=$as_save_IFS
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6439 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 break 2
6443 done
6444 done
6445 IFS=$as_save_IFS
6447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6449 esac
6451 LDCONFIG=$ac_cv_path_LDCONFIG
6452 if test -n "$LDCONFIG"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6454 $as_echo "$LDCONFIG" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 for ac_prog in msgfmt
6463 # Extract the first word of "$ac_prog", so it can be a program name with args.
6464 set dummy $ac_prog; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_MSGFMT+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 if test -n "$MSGFMT"; then
6471 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6472 else
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in $PATH
6476 IFS=$as_save_IFS
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_prog_MSGFMT="$ac_prog"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 break 2
6484 done
6485 done
6486 IFS=$as_save_IFS
6490 MSGFMT=$ac_cv_prog_MSGFMT
6491 if test -n "$MSGFMT"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6493 $as_echo "$MSGFMT" >&6; }
6494 else
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6500 test -n "$MSGFMT" && break
6501 done
6502 test -n "$MSGFMT" || MSGFMT="false"
6504 if ${ac_tool_prefix+:} false; then :
6505 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6506 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 if test -n "$PKG_CONFIG"; then
6513 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6514 else
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 for as_dir in $PATH
6518 IFS=$as_save_IFS
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 break 2
6526 done
6527 done
6528 IFS=$as_save_IFS
6532 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6533 if test -n "$PKG_CONFIG"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6535 $as_echo "$PKG_CONFIG" >&6; }
6536 else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6543 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6544 if test "x$cross_compiling" = xyes; then :
6546 else
6547 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6548 # Extract the first word of "pkg-config", so it can be a program name with args.
6549 set dummy pkg-config; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6555 if test -n "$PKG_CONFIG"; then
6556 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6561 IFS=$as_save_IFS
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6565 ac_cv_prog_PKG_CONFIG="pkg-config"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 break 2
6569 done
6570 done
6571 IFS=$as_save_IFS
6575 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6576 if test -n "$PKG_CONFIG"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6578 $as_echo "$PKG_CONFIG" >&6; }
6579 else
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6586 else
6587 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6590 if test "x$enable_maintainer_mode" != "xyes"
6591 then
6592 FONTFORGE=""
6593 RSVG=""
6594 CONVERT=""
6595 ICOTOOL=""
6596 else
6597 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6598 for ac_prog in fontforge
6600 # Extract the first word of "$ac_prog", so it can be a program name with args.
6601 set dummy $ac_prog; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_FONTFORGE+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 if test -n "$FONTFORGE"; then
6608 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6613 IFS=$as_save_IFS
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617 ac_cv_prog_FONTFORGE="$ac_prog"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 break 2
6621 done
6622 done
6623 IFS=$as_save_IFS
6627 FONTFORGE=$ac_cv_prog_FONTFORGE
6628 if test -n "$FONTFORGE"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6630 $as_echo "$FONTFORGE" >&6; }
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6637 test -n "$FONTFORGE" && break
6638 done
6639 test -n "$FONTFORGE" || FONTFORGE="false"
6641 for ac_prog in rsvg-convert rsvg
6643 # Extract the first word of "$ac_prog", so it can be a program name with args.
6644 set dummy $ac_prog; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_RSVG+:} false; then :
6648 $as_echo_n "(cached) " >&6
6649 else
6650 if test -n "$RSVG"; then
6651 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6656 IFS=$as_save_IFS
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_RSVG="$ac_prog"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 break 2
6664 done
6665 done
6666 IFS=$as_save_IFS
6670 RSVG=$ac_cv_prog_RSVG
6671 if test -n "$RSVG"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6673 $as_echo "$RSVG" >&6; }
6674 else
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6680 test -n "$RSVG" && break
6681 done
6682 test -n "$RSVG" || RSVG="false"
6684 for ac_prog in convert
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_CONVERT+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$CONVERT"; then
6694 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_CONVERT="$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 CONVERT=$ac_cv_prog_CONVERT
6714 if test -n "$CONVERT"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6716 $as_echo "$CONVERT" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6723 test -n "$CONVERT" && break
6724 done
6725 test -n "$CONVERT" || CONVERT="false"
6727 for ac_prog in icotool
6729 # Extract the first word of "$ac_prog", so it can be a program name with args.
6730 set dummy $ac_prog; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_prog_ICOTOOL+:} false; then :
6734 $as_echo_n "(cached) " >&6
6735 else
6736 if test -n "$ICOTOOL"; then
6737 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6742 IFS=$as_save_IFS
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_ICOTOOL="$ac_prog"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748 break 2
6750 done
6751 done
6752 IFS=$as_save_IFS
6756 ICOTOOL=$ac_cv_prog_ICOTOOL
6757 if test -n "$ICOTOOL"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6759 $as_echo "$ICOTOOL" >&6; }
6760 else
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6766 test -n "$ICOTOOL" && break
6767 done
6768 test -n "$ICOTOOL" || ICOTOOL="false"
6770 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6771 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6773 if test "$CONVERT" = false
6774 then
6775 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6776 else
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6778 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6779 convert_version=`convert --version | head -n1`
6780 if test "x$convert_version" != "x"
6781 then
6782 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6783 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6784 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6785 then
6786 CONVERT=false
6789 if test "$CONVERT" = false
6790 then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6792 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6793 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6794 else
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6796 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6800 if test "$ICOTOOL" = false
6801 then
6802 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6803 else
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6805 $as_echo_n "checking for recent enough icotool... " >&6; }
6806 icotool_version=`icotool --version | head -n1`
6807 if test "x$icotool_version" != "x"
6808 then
6809 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6810 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6811 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6812 then
6813 ICOTOOL=false
6814 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6817 if test "$ICOTOOL" = false
6818 then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6820 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6821 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6822 else
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6824 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6828 with_gettext=yes
6829 with_gettextpo=yes
6831 enable_werror=yes
6834 test "x$with_gettext" != xno || MSGFMT=false
6835 if test "$MSGFMT" != "false"
6836 then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6838 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6839 if ${wine_cv_msgfmt_contexts+:} false; then :
6840 $as_echo_n "(cached) " >&6
6841 else
6842 cat >conftest.po <<EOF
6843 # comment
6844 msgctxt "ctxt"
6845 msgid "id"
6846 msgstr "str"
6848 if $MSGFMT -o /dev/null conftest.po 2>&5
6849 then
6850 wine_cv_msgfmt_contexts=yes
6851 else
6852 wine_cv_msgfmt_contexts=no
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6856 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6857 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6859 if test "$MSGFMT" = false; then :
6860 case "x$with_gettext" in
6861 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6862 xno) ;;
6863 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6864 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6865 esac
6866 enable_po=${enable_po:-no}
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6871 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6872 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6873 $as_echo_n "(cached) " >&6
6874 else
6875 ac_check_lib_save_LIBS=$LIBS
6876 LIBS="-li386 $LIBS"
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6880 /* Override any GCC internal prototype to avoid an error.
6881 Use char because int might match the return type of a GCC
6882 builtin and then its argument prototype would still apply. */
6883 #ifdef __cplusplus
6884 extern "C"
6885 #endif
6886 char i386_set_ldt ();
6888 main ()
6890 return i386_set_ldt ();
6892 return 0;
6894 _ACEOF
6895 if ac_fn_c_try_link "$LINENO"; then :
6896 ac_cv_lib_i386_i386_set_ldt=yes
6897 else
6898 ac_cv_lib_i386_i386_set_ldt=no
6900 rm -f core conftest.err conftest.$ac_objext \
6901 conftest$ac_exeext conftest.$ac_ext
6902 LIBS=$ac_check_lib_save_LIBS
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6905 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6906 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6907 I386_LIBS="-li386"
6912 OPENGL_LIBS=""
6916 # Check whether --enable-largefile was given.
6917 if test "${enable_largefile+set}" = set; then :
6918 enableval=$enable_largefile;
6921 if test "$enable_largefile" != no; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6924 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6925 if ${ac_cv_sys_largefile_CC+:} false; then :
6926 $as_echo_n "(cached) " >&6
6927 else
6928 ac_cv_sys_largefile_CC=no
6929 if test "$GCC" != yes; then
6930 ac_save_CC=$CC
6931 while :; do
6932 # IRIX 6.2 and later do not support large files by default,
6933 # so use the C compiler's -n32 option if that helps.
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6937 /* Check that off_t can represent 2**63 - 1 correctly.
6938 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6939 since some C++ compilers masquerading as C compilers
6940 incorrectly reject 9223372036854775807. */
6941 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6942 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6943 && LARGE_OFF_T % 2147483647 == 1)
6944 ? 1 : -1];
6946 main ()
6950 return 0;
6952 _ACEOF
6953 if ac_fn_c_try_compile "$LINENO"; then :
6954 break
6956 rm -f core conftest.err conftest.$ac_objext
6957 CC="$CC -n32"
6958 if ac_fn_c_try_compile "$LINENO"; then :
6959 ac_cv_sys_largefile_CC=' -n32'; break
6961 rm -f core conftest.err conftest.$ac_objext
6962 break
6963 done
6964 CC=$ac_save_CC
6965 rm -f conftest.$ac_ext
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6969 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6970 if test "$ac_cv_sys_largefile_CC" != no; then
6971 CC=$CC$ac_cv_sys_largefile_CC
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6975 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6976 if ${ac_cv_sys_file_offset_bits+:} false; then :
6977 $as_echo_n "(cached) " >&6
6978 else
6979 while :; do
6980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981 /* end confdefs.h. */
6982 #include <sys/types.h>
6983 /* Check that off_t can represent 2**63 - 1 correctly.
6984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6985 since some C++ compilers masquerading as C compilers
6986 incorrectly reject 9223372036854775807. */
6987 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6989 && LARGE_OFF_T % 2147483647 == 1)
6990 ? 1 : -1];
6992 main ()
6996 return 0;
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_file_offset_bits=no; break
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7004 /* end confdefs.h. */
7005 #define _FILE_OFFSET_BITS 64
7006 #include <sys/types.h>
7007 /* Check that off_t can represent 2**63 - 1 correctly.
7008 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7009 since some C++ compilers masquerading as C compilers
7010 incorrectly reject 9223372036854775807. */
7011 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7012 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7013 && LARGE_OFF_T % 2147483647 == 1)
7014 ? 1 : -1];
7016 main ()
7020 return 0;
7022 _ACEOF
7023 if ac_fn_c_try_compile "$LINENO"; then :
7024 ac_cv_sys_file_offset_bits=64; break
7026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7027 ac_cv_sys_file_offset_bits=unknown
7028 break
7029 done
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7032 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7033 case $ac_cv_sys_file_offset_bits in #(
7034 no | unknown) ;;
7036 cat >>confdefs.h <<_ACEOF
7037 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7038 _ACEOF
7040 esac
7041 rm -rf conftest*
7042 if test $ac_cv_sys_file_offset_bits = unknown; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7044 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7045 if ${ac_cv_sys_large_files+:} false; then :
7046 $as_echo_n "(cached) " >&6
7047 else
7048 while :; do
7049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_large_files=no; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7073 /* end confdefs.h. */
7074 #define _LARGE_FILES 1
7075 #include <sys/types.h>
7076 /* Check that off_t can represent 2**63 - 1 correctly.
7077 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7078 since some C++ compilers masquerading as C compilers
7079 incorrectly reject 9223372036854775807. */
7080 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7081 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7082 && LARGE_OFF_T % 2147483647 == 1)
7083 ? 1 : -1];
7085 main ()
7089 return 0;
7091 _ACEOF
7092 if ac_fn_c_try_compile "$LINENO"; then :
7093 ac_cv_sys_large_files=1; break
7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7096 ac_cv_sys_large_files=unknown
7097 break
7098 done
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7101 $as_echo "$ac_cv_sys_large_files" >&6; }
7102 case $ac_cv_sys_large_files in #(
7103 no | unknown) ;;
7105 cat >>confdefs.h <<_ACEOF
7106 #define _LARGE_FILES $ac_cv_sys_large_files
7107 _ACEOF
7109 esac
7110 rm -rf conftest*
7117 ac_ext=c
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7123 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7124 # On Suns, sometimes $CPP names a directory.
7125 if test -n "$CPP" && test -d "$CPP"; then
7126 CPP=
7128 if test -z "$CPP"; then
7129 if ${ac_cv_prog_CPP+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132 # Double quotes because CPP needs to be expanded
7133 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7135 ac_preproc_ok=false
7136 for ac_c_preproc_warn_flag in '' yes
7138 # Use a header file that comes with gcc, so configuring glibc
7139 # with a fresh cross-compiler works.
7140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7141 # <limits.h> exists even on freestanding compilers.
7142 # On the NeXT, cc -E runs the code through the compiler's parser,
7143 # not just through cpp. "Syntax error" is here to catch this case.
7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7146 #ifdef __STDC__
7147 # include <limits.h>
7148 #else
7149 # include <assert.h>
7150 #endif
7151 Syntax error
7152 _ACEOF
7153 if ac_fn_c_try_cpp "$LINENO"; then :
7155 else
7156 # Broken: fails on valid input.
7157 continue
7159 rm -f conftest.err conftest.i conftest.$ac_ext
7161 # OK, works on sane cases. Now check whether nonexistent headers
7162 # can be detected and how.
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7165 #include <ac_nonexistent.h>
7166 _ACEOF
7167 if ac_fn_c_try_cpp "$LINENO"; then :
7168 # Broken: success on invalid input.
7169 continue
7170 else
7171 # Passes both tests.
7172 ac_preproc_ok=:
7173 break
7175 rm -f conftest.err conftest.i conftest.$ac_ext
7177 done
7178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7179 rm -f conftest.i conftest.err conftest.$ac_ext
7180 if $ac_preproc_ok; then :
7181 break
7184 done
7185 ac_cv_prog_CPP=$CPP
7188 CPP=$ac_cv_prog_CPP
7189 else
7190 ac_cv_prog_CPP=$CPP
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7193 $as_echo "$CPP" >&6; }
7194 ac_preproc_ok=false
7195 for ac_c_preproc_warn_flag in '' yes
7197 # Use a header file that comes with gcc, so configuring glibc
7198 # with a fresh cross-compiler works.
7199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7200 # <limits.h> exists even on freestanding compilers.
7201 # On the NeXT, cc -E runs the code through the compiler's parser,
7202 # not just through cpp. "Syntax error" is here to catch this case.
7203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204 /* end confdefs.h. */
7205 #ifdef __STDC__
7206 # include <limits.h>
7207 #else
7208 # include <assert.h>
7209 #endif
7210 Syntax error
7211 _ACEOF
7212 if ac_fn_c_try_cpp "$LINENO"; then :
7214 else
7215 # Broken: fails on valid input.
7216 continue
7218 rm -f conftest.err conftest.i conftest.$ac_ext
7220 # OK, works on sane cases. Now check whether nonexistent headers
7221 # can be detected and how.
7222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7224 #include <ac_nonexistent.h>
7225 _ACEOF
7226 if ac_fn_c_try_cpp "$LINENO"; then :
7227 # Broken: success on invalid input.
7228 continue
7229 else
7230 # Passes both tests.
7231 ac_preproc_ok=:
7232 break
7234 rm -f conftest.err conftest.i conftest.$ac_ext
7236 done
7237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7238 rm -f conftest.i conftest.err conftest.$ac_ext
7239 if $ac_preproc_ok; then :
7241 else
7242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7244 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7245 See \`config.log' for more details" "$LINENO" 5; }
7248 ac_ext=c
7249 ac_cpp='$CPP $CPPFLAGS'
7250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7256 $as_echo_n "checking for ANSI C header files... " >&6; }
7257 if ${ac_cv_header_stdc+:} false; then :
7258 $as_echo_n "(cached) " >&6
7259 else
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <stdlib.h>
7263 #include <stdarg.h>
7264 #include <string.h>
7265 #include <float.h>
7268 main ()
7272 return 0;
7274 _ACEOF
7275 if ac_fn_c_try_compile "$LINENO"; then :
7276 ac_cv_header_stdc=yes
7277 else
7278 ac_cv_header_stdc=no
7280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7282 if test $ac_cv_header_stdc = yes; then
7283 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7286 #include <string.h>
7288 _ACEOF
7289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7290 $EGREP "memchr" >/dev/null 2>&1; then :
7292 else
7293 ac_cv_header_stdc=no
7295 rm -f conftest*
7299 if test $ac_cv_header_stdc = yes; then
7300 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7302 /* end confdefs.h. */
7303 #include <stdlib.h>
7305 _ACEOF
7306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7307 $EGREP "free" >/dev/null 2>&1; then :
7309 else
7310 ac_cv_header_stdc=no
7312 rm -f conftest*
7316 if test $ac_cv_header_stdc = yes; then
7317 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7318 if test "$cross_compiling" = yes; then :
7320 else
7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7323 #include <ctype.h>
7324 #include <stdlib.h>
7325 #if ((' ' & 0x0FF) == 0x020)
7326 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7327 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7328 #else
7329 # define ISLOWER(c) \
7330 (('a' <= (c) && (c) <= 'i') \
7331 || ('j' <= (c) && (c) <= 'r') \
7332 || ('s' <= (c) && (c) <= 'z'))
7333 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7334 #endif
7336 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7338 main ()
7340 int i;
7341 for (i = 0; i < 256; i++)
7342 if (XOR (islower (i), ISLOWER (i))
7343 || toupper (i) != TOUPPER (i))
7344 return 2;
7345 return 0;
7347 _ACEOF
7348 if ac_fn_c_try_run "$LINENO"; then :
7350 else
7351 ac_cv_header_stdc=no
7353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7354 conftest.$ac_objext conftest.beam conftest.$ac_ext
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7360 $as_echo "$ac_cv_header_stdc" >&6; }
7361 if test $ac_cv_header_stdc = yes; then
7363 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7367 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7368 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7369 inttypes.h stdint.h unistd.h
7370 do :
7371 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7372 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7375 cat >>confdefs.h <<_ACEOF
7376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7377 _ACEOF
7381 done
7384 for ac_header in \
7385 AL/al.h \
7386 ApplicationServices/ApplicationServices.h \
7387 AudioToolbox/AudioConverter.h \
7388 AudioUnit/AudioUnit.h \
7389 AudioUnit/AudioComponent.h \
7390 CL/cl.h \
7391 Carbon/Carbon.h \
7392 CommonCrypto/CommonCryptor.h \
7393 CoreAudio/CoreAudio.h \
7394 CoreServices/CoreServices.h \
7395 DiskArbitration/DiskArbitration.h \
7396 EGL/egl.h \
7397 IOKit/IOKitLib.h \
7398 IOKit/hid/IOHIDLib.h \
7399 OpenAL/al.h \
7400 OpenCL/opencl.h \
7401 QuickTime/ImageCompression.h \
7402 Security/Security.h \
7403 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7404 SystemConfiguration/SCNetworkConfiguration.h \
7405 alias.h \
7406 arpa/inet.h \
7407 arpa/nameser.h \
7408 asm/types.h \
7409 asm/user.h \
7410 curses.h \
7411 dirent.h \
7412 dlfcn.h \
7413 elf.h \
7414 float.h \
7415 fnmatch.h \
7416 getopt.h \
7417 gettext-po.h \
7418 grp.h \
7419 gsm.h \
7420 gsm/gsm.h \
7421 ieeefp.h \
7422 inet/mib2.h \
7423 kstat.h \
7424 libproc.h \
7425 link.h \
7426 linux/cdrom.h \
7427 linux/compiler.h \
7428 linux/filter.h \
7429 linux/hdreg.h \
7430 linux/hidraw.h \
7431 linux/input.h \
7432 linux/ioctl.h \
7433 linux/joystick.h \
7434 linux/major.h \
7435 linux/param.h \
7436 linux/serial.h \
7437 linux/types.h \
7438 linux/ucdrom.h \
7439 lwp.h \
7440 mach-o/nlist.h \
7441 mach-o/loader.h \
7442 mach/mach.h \
7443 mach/machine.h \
7444 machine/cpu.h \
7445 machine/sysarch.h \
7446 mntent.h \
7447 ncurses.h \
7448 netdb.h \
7449 netinet/in.h \
7450 netinet/in_systm.h \
7451 netinet/tcp.h \
7452 netinet/tcp_fsm.h \
7453 pcap/pcap.h \
7454 poll.h \
7455 port.h \
7456 pthread.h \
7457 pwd.h \
7458 sasl/sasl.h \
7459 sched.h \
7460 scsi/scsi.h \
7461 scsi/scsi_ioctl.h \
7462 scsi/sg.h \
7463 stdbool.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/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_kernel32=${enable_kernel32:-no}
8287 enable_ntdll=${enable_ntdll:-no}
8288 enable_ws2_32=${enable_ws2_32:-no}
8289 enable_loader=${enable_loader:-no}
8290 enable_server=${enable_server:-no}
8291 with_x=${with_x:-no}
8292 with_pthread=${with_pthread:-no}
8295 darwin*|macosx*)
8296 ac_ext=m
8297 ac_cpp='$OBJCPP $CPPFLAGS'
8298 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8299 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8300 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8302 ac_ext=m
8303 ac_cpp='$OBJCPP $CPPFLAGS'
8304 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8305 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8306 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8307 if test -n "$ac_tool_prefix"; then
8308 for ac_prog in gcc objcc objc cc CC
8310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8311 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8313 $as_echo_n "checking for $ac_word... " >&6; }
8314 if ${ac_cv_prog_OBJC+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 if test -n "$OBJC"; then
8318 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8319 else
8320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321 for as_dir in $PATH
8323 IFS=$as_save_IFS
8324 test -z "$as_dir" && as_dir=.
8325 for ac_exec_ext in '' $ac_executable_extensions; do
8326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8327 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 break 2
8331 done
8332 done
8333 IFS=$as_save_IFS
8337 OBJC=$ac_cv_prog_OBJC
8338 if test -n "$OBJC"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8340 $as_echo "$OBJC" >&6; }
8341 else
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }
8347 test -n "$OBJC" && break
8348 done
8350 if test -z "$OBJC"; then
8351 ac_ct_OBJC=$OBJC
8352 for ac_prog in gcc objcc objc cc CC
8354 # Extract the first word of "$ac_prog", so it can be a program name with args.
8355 set dummy $ac_prog; ac_word=$2
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8357 $as_echo_n "checking for $ac_word... " >&6; }
8358 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8359 $as_echo_n "(cached) " >&6
8360 else
8361 if test -n "$ac_ct_OBJC"; then
8362 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8363 else
8364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8365 for as_dir in $PATH
8367 IFS=$as_save_IFS
8368 test -z "$as_dir" && as_dir=.
8369 for ac_exec_ext in '' $ac_executable_extensions; do
8370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8371 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8373 break 2
8375 done
8376 done
8377 IFS=$as_save_IFS
8381 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8382 if test -n "$ac_ct_OBJC"; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8384 $as_echo "$ac_ct_OBJC" >&6; }
8385 else
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8391 test -n "$ac_ct_OBJC" && break
8392 done
8394 if test "x$ac_ct_OBJC" = x; then
8395 OBJC="gcc"
8396 else
8397 case $cross_compiling:$ac_tool_warned in
8398 yes:)
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8401 ac_tool_warned=yes ;;
8402 esac
8403 OBJC=$ac_ct_OBJC
8407 # Provide some information about the compiler.
8408 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8409 set X $ac_compile
8410 ac_compiler=$2
8411 for ac_option in --version -v -V -qversion; do
8412 { { ac_try="$ac_compiler $ac_option >&5"
8413 case "(($ac_try" in
8414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8415 *) ac_try_echo=$ac_try;;
8416 esac
8417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8418 $as_echo "$ac_try_echo"; } >&5
8419 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8420 ac_status=$?
8421 if test -s conftest.err; then
8422 sed '10a\
8423 ... rest of stderr output deleted ...
8424 10q' conftest.err >conftest.er1
8425 cat conftest.er1 >&5
8427 rm -f conftest.er1 conftest.err
8428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8429 test $ac_status = 0; }
8430 done
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8433 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8434 if ${ac_cv_objc_compiler_gnu+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8438 /* end confdefs.h. */
8441 main ()
8443 #ifndef __GNUC__
8444 choke me
8445 #endif
8448 return 0;
8450 _ACEOF
8451 if ac_fn_objc_try_compile "$LINENO"; then :
8452 ac_compiler_gnu=yes
8453 else
8454 ac_compiler_gnu=no
8456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8457 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8461 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8462 if test $ac_compiler_gnu = yes; then
8463 GOBJC=yes
8464 else
8465 GOBJC=
8467 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8468 ac_save_OBJCFLAGS=$OBJCFLAGS
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8470 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8471 if ${ac_cv_prog_objc_g+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 ac_save_objc_werror_flag=$ac_objc_werror_flag
8475 ac_objc_werror_flag=yes
8476 ac_cv_prog_objc_g=no
8477 OBJCFLAGS="-g"
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8482 main ()
8486 return 0;
8488 _ACEOF
8489 if ac_fn_objc_try_compile "$LINENO"; then :
8490 ac_cv_prog_objc_g=yes
8491 else
8492 OBJCFLAGS=""
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8497 main ()
8501 return 0;
8503 _ACEOF
8504 if ac_fn_objc_try_compile "$LINENO"; then :
8506 else
8507 ac_objc_werror_flag=$ac_save_objc_werror_flag
8508 OBJCFLAGS="-g"
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8513 main ()
8517 return 0;
8519 _ACEOF
8520 if ac_fn_objc_try_compile "$LINENO"; then :
8521 ac_cv_prog_objc_g=yes
8523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8528 ac_objc_werror_flag=$ac_save_objc_werror_flag
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8531 $as_echo "$ac_cv_prog_objc_g" >&6; }
8532 if test "$ac_test_OBJCFLAGS" = set; then
8533 OBJCFLAGS=$ac_save_OBJCFLAGS
8534 elif test $ac_cv_prog_objc_g = yes; then
8535 if test "$GOBJC" = yes; then
8536 OBJCFLAGS="-g -O2"
8537 else
8538 OBJCFLAGS="-g"
8540 else
8541 if test "$GOBJC" = yes; then
8542 OBJCFLAGS="-O2"
8543 else
8544 OBJCFLAGS=
8547 ac_ext=m
8548 ac_cpp='$OBJCPP $CPPFLAGS'
8549 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8550 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8551 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8554 ac_ext=m
8555 ac_cpp='$OBJCPP $CPPFLAGS'
8556 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8557 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8558 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8560 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8561 if test -z "$OBJCPP"; then
8562 if ${ac_cv_prog_OBJCPP+:} false; then :
8563 $as_echo_n "(cached) " >&6
8564 else
8565 # Double quotes because OBJCPP needs to be expanded
8566 for OBJCPP in "$OBJC -E" "/lib/cpp"
8568 ac_preproc_ok=false
8569 for ac_objc_preproc_warn_flag in '' yes
8571 # Use a header file that comes with gcc, so configuring glibc
8572 # with a fresh cross-compiler works.
8573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8574 # <limits.h> exists even on freestanding compilers.
8575 # On the NeXT, cc -E runs the code through the compiler's parser,
8576 # not just through cpp. "Syntax error" is here to catch this case.
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8579 #ifdef __STDC__
8580 # include <limits.h>
8581 #else
8582 # include <assert.h>
8583 #endif
8584 Syntax error
8585 _ACEOF
8586 if ac_fn_objc_try_cpp "$LINENO"; then :
8588 else
8589 # Broken: fails on valid input.
8590 continue
8592 rm -f conftest.err conftest.i conftest.$ac_ext
8594 # OK, works on sane cases. Now check whether nonexistent headers
8595 # can be detected and how.
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 #include <ac_nonexistent.h>
8599 _ACEOF
8600 if ac_fn_objc_try_cpp "$LINENO"; then :
8601 # Broken: success on invalid input.
8602 continue
8603 else
8604 # Passes both tests.
8605 ac_preproc_ok=:
8606 break
8608 rm -f conftest.err conftest.i conftest.$ac_ext
8610 done
8611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8612 rm -f conftest.i conftest.err conftest.$ac_ext
8613 if $ac_preproc_ok; then :
8614 break
8617 done
8618 ac_cv_prog_OBJCPP=$OBJCPP
8621 OBJCPP=$ac_cv_prog_OBJCPP
8622 else
8623 ac_cv_prog_OBJCPP=$OBJCPP
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8626 $as_echo "$OBJCPP" >&6; }
8627 ac_preproc_ok=false
8628 for ac_objc_preproc_warn_flag in '' yes
8630 # Use a header file that comes with gcc, so configuring glibc
8631 # with a fresh cross-compiler works.
8632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8633 # <limits.h> exists even on freestanding compilers.
8634 # On the NeXT, cc -E runs the code through the compiler's parser,
8635 # not just through cpp. "Syntax error" is here to catch this case.
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8638 #ifdef __STDC__
8639 # include <limits.h>
8640 #else
8641 # include <assert.h>
8642 #endif
8643 Syntax error
8644 _ACEOF
8645 if ac_fn_objc_try_cpp "$LINENO"; then :
8647 else
8648 # Broken: fails on valid input.
8649 continue
8651 rm -f conftest.err conftest.i conftest.$ac_ext
8653 # OK, works on sane cases. Now check whether nonexistent headers
8654 # can be detected and how.
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 #include <ac_nonexistent.h>
8658 _ACEOF
8659 if ac_fn_objc_try_cpp "$LINENO"; then :
8660 # Broken: success on invalid input.
8661 continue
8662 else
8663 # Passes both tests.
8664 ac_preproc_ok=:
8665 break
8667 rm -f conftest.err conftest.i conftest.$ac_ext
8669 done
8670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8671 rm -f conftest.i conftest.err conftest.$ac_ext
8672 if $ac_preproc_ok; then :
8674 else
8675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8677 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8678 See \`config.log' for more details" "$LINENO" 5; }
8681 ac_ext=m
8682 ac_cpp='$OBJCPP $CPPFLAGS'
8683 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8684 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8685 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8688 for ac_header in Metal/Metal.h
8689 do :
8690 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8691 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8692 cat >>confdefs.h <<_ACEOF
8693 #define HAVE_METAL_METAL_H 1
8694 _ACEOF
8698 done
8700 ac_ext=c
8701 ac_cpp='$CPP $CPPFLAGS'
8702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8706 LIBEXT="dylib"
8707 DLLFLAGS="$DLLFLAGS -fPIC"
8708 LDDLLFLAGS="-fPIC"
8709 COREFOUNDATION_LIBS="-framework CoreFoundation"
8711 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8713 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8715 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8717 CORESERVICES_LIBS="-framework CoreServices"
8719 APPKIT_LIBS="-framework AppKit"
8721 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8724 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8726 wine_can_build_preloader=yes
8727 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8729 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8730 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8731 $as_echo_n "(cached) " >&6
8732 else
8733 ac_wine_try_cflags_saved=$CFLAGS
8734 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8737 int main(int argc, char **argv) { return 0; }
8738 _ACEOF
8739 if ac_fn_c_try_link "$LINENO"; then :
8740 ac_cv_cflags__Wl__no_new_main__e__main=yes
8741 else
8742 ac_cv_cflags__Wl__no_new_main__e__main=no
8744 rm -f core conftest.err conftest.$ac_objext \
8745 conftest$ac_exeext conftest.$ac_ext
8746 CFLAGS=$ac_wine_try_cflags_saved
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8749 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8750 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8751 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8753 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8754 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8755 $as_echo_n "(cached) " >&6
8756 else
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 int main(int argc, char **argv) { return 0; }
8762 _ACEOF
8763 if ac_fn_c_try_link "$LINENO"; then :
8764 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8765 else
8766 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8768 rm -f core conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 CFLAGS=$ac_wine_try_cflags_saved
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8773 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8774 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8775 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8776 else
8777 { $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
8778 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8779 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8780 $as_echo_n "(cached) " >&6
8781 else
8782 ac_wine_try_cflags_saved=$CFLAGS
8783 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8785 /* end confdefs.h. */
8786 int main(int argc, char **argv) { return 0; }
8787 _ACEOF
8788 if ac_fn_c_try_link "$LINENO"; then :
8789 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8790 else
8791 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8793 rm -f core conftest.err conftest.$ac_objext \
8794 conftest$ac_exeext conftest.$ac_ext
8795 CFLAGS=$ac_wine_try_cflags_saved
8797 { $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
8798 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8799 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8800 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8801 else
8802 wine_can_build_preloader=no
8805 else
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8807 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8808 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 ac_wine_try_cflags_saved=$CFLAGS
8812 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8814 /* end confdefs.h. */
8815 int main(int argc, char **argv) { return 0; }
8816 _ACEOF
8817 if ac_fn_c_try_link "$LINENO"; then :
8818 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8819 else
8820 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8822 rm -f core conftest.err conftest.$ac_objext \
8823 conftest$ac_exeext conftest.$ac_ext
8824 CFLAGS=$ac_wine_try_cflags_saved
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8827 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8828 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8829 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8830 else
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8832 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8833 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8834 $as_echo_n "(cached) " >&6
8835 else
8836 ac_wine_try_cflags_saved=$CFLAGS
8837 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8839 /* end confdefs.h. */
8840 int main(int argc, char **argv) { return 0; }
8841 _ACEOF
8842 if ac_fn_c_try_link "$LINENO"; then :
8843 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8844 else
8845 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8847 rm -f core conftest.err conftest.$ac_objext \
8848 conftest$ac_exeext conftest.$ac_ext
8849 CFLAGS=$ac_wine_try_cflags_saved
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8852 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8853 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8854 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8855 else
8856 wine_can_build_preloader=no
8860 if test "$wine_can_build_preloader" = "yes"
8861 then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8863 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8864 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8865 $as_echo_n "(cached) " >&6
8866 else
8867 ac_wine_try_cflags_saved=$CFLAGS
8868 CFLAGS="$CFLAGS -Wl,-no_pie"
8869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870 /* end confdefs.h. */
8871 int main(int argc, char **argv) { return 0; }
8872 _ACEOF
8873 if ac_fn_c_try_link "$LINENO"; then :
8874 ac_cv_cflags__Wl__no_pie=yes
8875 else
8876 ac_cv_cflags__Wl__no_pie=no
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
8880 CFLAGS=$ac_wine_try_cflags_saved
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8883 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8884 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8885 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8887 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8888 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8889 else
8890 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8893 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8894 then
8895 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8898 if test "$ac_cv_header_Security_Security_h" = "yes"
8899 then
8900 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8902 ac_save_LIBS="$LIBS"
8903 LIBS="$LIBS $SECURITY_LIBS"
8904 for ac_func in SSLCopyPeerCertificates
8905 do :
8906 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8907 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8908 cat >>confdefs.h <<_ACEOF
8909 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8910 _ACEOF
8913 done
8915 LIBS="$ac_save_LIBS"
8917 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8918 then
8919 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8920 then
8921 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8923 else
8924 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8927 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8928 ac_save_LIBS="$LIBS"
8929 LIBS="$LIBS $COREAUDIO_LIBS"
8930 for ac_func in AUGraphAddNode
8931 do :
8932 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8933 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8934 cat >>confdefs.h <<_ACEOF
8935 #define HAVE_AUGRAPHADDNODE 1
8936 _ACEOF
8939 done
8941 LIBS="$ac_save_LIBS"
8943 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8944 then
8945 OPENAL_LIBS="-framework OpenAL"
8948 cat >>confdefs.h <<_ACEOF
8949 #define HAVE_OPENAL 1
8950 _ACEOF
8952 ac_cv_lib_openal=yes
8954 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8955 then
8956 OPENCL_LIBS="-framework OpenCL"
8958 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8960 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8961 then
8962 ac_save_LIBS="$LIBS"
8963 LIBS="$LIBS $IOKIT_LIBS"
8964 for ac_func in IOHIDManagerCreate
8965 do :
8966 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8967 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8968 cat >>confdefs.h <<_ACEOF
8969 #define HAVE_IOHIDMANAGERCREATE 1
8970 _ACEOF
8973 done
8975 LIBS="$ac_save_LIBS"
8978 if test "x$with_quicktime" != "xno"
8979 then
8980 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8981 then
8982 ac_save_LIBS="$LIBS"
8983 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8985 $as_echo_n "checking for the QuickTime framework... " >&6; }
8986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8987 /* end confdefs.h. */
8988 #include <QuickTime/ImageCompression.h>
8990 main ()
8992 CodecManagerVersion(NULL);
8994 return 0;
8996 _ACEOF
8997 if ac_fn_c_try_link "$LINENO"; then :
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8999 $as_echo "yes" >&6; }
9000 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9002 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9003 else
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9006 ac_cv_header_QuickTime_ImageCompression_h=no
9008 rm -f core conftest.err conftest.$ac_objext \
9009 conftest$ac_exeext conftest.$ac_ext
9010 LIBS="$ac_save_LIBS"
9013 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9014 case "x$with_quicktime" in
9015 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9016 xno) ;;
9017 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9018 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9019 esac
9023 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9024 then
9025 CARBON_LIBS="-framework Carbon"
9028 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9029 then
9030 METAL_LIBS="-framework Metal -framework QuartzCore"
9034 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9035 then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9037 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9038 ac_ext=m
9039 ac_cpp='$OBJCPP $CPPFLAGS'
9040 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9041 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9042 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9046 #include <Metal/Metal.h>
9048 main ()
9050 id<MTLDevice> device; device.registryID;
9052 return 0;
9054 _ACEOF
9055 if ac_fn_objc_try_compile "$LINENO"; then :
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9057 $as_echo "yes" >&6; }
9059 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9061 else
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9063 $as_echo "no" >&6; }
9065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9066 ac_ext=c
9067 ac_cpp='$CPP $CPPFLAGS'
9068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9074 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9075 then
9076 ac_save_LIBS="$LIBS"
9077 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9078 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9079 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9080 enable_winemac_drv=${enable_winemac_drv:-yes}
9083 LIBS="$ac_save_LIBS"
9086 if test "x$enable_win16" = "xyes"
9087 then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9089 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9090 if test "$cross_compiling" = yes; then :
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9092 $as_echo "cross-compiling, assuming yes" >&6; }
9093 else
9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9096 asm(".text\n"
9097 "bad:\tnop;nop\n"
9098 "good:\tnop;nop\n\t"
9099 ".globl _testfunc\n"
9100 "_testfunc:\tcallw good");
9101 extern void testfunc();
9103 main ()
9105 unsigned short *p = (unsigned short *)testfunc;
9106 return p[0] != 0xe866 || p[1] != 0xfffa
9108 return 0;
9110 _ACEOF
9111 if ac_fn_c_try_run "$LINENO"; then :
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9113 $as_echo "yes" >&6; }
9114 else
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9116 $as_echo "no" >&6; }
9117 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
9119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9120 conftest.$ac_objext conftest.beam conftest.$ac_ext
9125 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9127 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9129 WINELOADER_DEPENDS="wine_info.plist"
9131 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9132 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9135 linux-android*)
9136 DLLFLAGS="$DLLFLAGS -fPIC"
9137 LDDLLFLAGS="-fPIC"
9138 LDEXECFLAGS="-Wl,-pie"
9139 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9141 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9142 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9143 $as_echo_n "(cached) " >&6
9144 else
9145 ac_wine_try_cflags_saved=$CFLAGS
9146 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9149 int main(int argc, char **argv) { return 0; }
9150 _ACEOF
9151 if ac_fn_c_try_link "$LINENO"; then :
9152 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9153 else
9154 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9156 rm -f core conftest.err conftest.$ac_objext \
9157 conftest$ac_exeext conftest.$ac_ext
9158 CFLAGS=$ac_wine_try_cflags_saved
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9161 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9162 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9163 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9165 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9167 LIBWINE_SHAREDLIB="libwine.so"
9169 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9171 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9174 $as_echo_n "checking for -lEGL... " >&6; }
9175 if ${ac_cv_lib_soname_EGL+:} false; then :
9176 $as_echo_n "(cached) " >&6
9177 else
9178 ac_check_soname_save_LIBS=$LIBS
9179 LIBS="-lEGL $LIBS"
9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9183 /* Override any GCC internal prototype to avoid an error.
9184 Use char because int might match the return type of a GCC
9185 builtin and then its argument prototype would still apply. */
9186 #ifdef __cplusplus
9187 extern "C"
9188 #endif
9189 char eglGetProcAddress ();
9191 main ()
9193 return eglGetProcAddress ();
9195 return 0;
9197 _ACEOF
9198 if ac_fn_c_try_link "$LINENO"; then :
9199 case "$LIBEXT" in
9200 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9201 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'` ;;
9202 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9203 if ${ac_cv_lib_soname_EGL:+false} :; then :
9204 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9205 fi ;;
9206 esac
9207 else
9208 ac_cv_lib_soname_EGL=
9210 rm -f core conftest.err conftest.$ac_objext \
9211 conftest$ac_exeext conftest.$ac_ext
9212 LIBS=$ac_check_soname_save_LIBS
9214 if ${ac_cv_lib_soname_EGL:+false} :; then :
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9216 $as_echo "not found" >&6; }
9218 else
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9220 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9222 cat >>confdefs.h <<_ACEOF
9223 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9224 _ACEOF
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9229 $as_echo_n "checking for -lGLESv2... " >&6; }
9230 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9231 $as_echo_n "(cached) " >&6
9232 else
9233 ac_check_soname_save_LIBS=$LIBS
9234 LIBS="-lGLESv2 $LIBS"
9235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9238 /* Override any GCC internal prototype to avoid an error.
9239 Use char because int might match the return type of a GCC
9240 builtin and then its argument prototype would still apply. */
9241 #ifdef __cplusplus
9242 extern "C"
9243 #endif
9244 char glFlush ();
9246 main ()
9248 return glFlush ();
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 case "$LIBEXT" in
9255 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9256 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'` ;;
9257 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9258 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9259 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9260 fi ;;
9261 esac
9262 else
9263 ac_cv_lib_soname_GLESv2=
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_soname_save_LIBS
9269 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9271 $as_echo "not found" >&6; }
9273 else
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9275 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9277 cat >>confdefs.h <<_ACEOF
9278 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9279 _ACEOF
9284 if test "x$exec_prefix" = xNONE
9285 then
9286 case $host_cpu in
9287 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9288 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9289 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9290 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9291 esac
9296 case $host_cpu in
9297 *i[3456789]86*)
9298 DLLFLAGS="$DLLFLAGS -fno-PIC"
9299 LDDLLFLAGS="-fno-PIC" ;;
9301 DLLFLAGS="$DLLFLAGS -fPIC"
9302 LDDLLFLAGS="-fPIC" ;;
9303 esac
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9305 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9306 if ${ac_cv_c_dll_gnuelf+:} false; then :
9307 $as_echo_n "(cached) " >&6
9308 else
9309 ac_wine_try_cflags_saved=$CFLAGS
9310 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9313 void myfunc() {}
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9317 else
9318 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 CFLAGS=$ac_wine_try_cflags_saved
9323 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9324 ac_cv_c_dll_gnuelf="yes"
9325 else
9326 ac_cv_c_dll_gnuelf="no"
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9330 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9331 if test "$ac_cv_c_dll_gnuelf" = "yes"
9332 then
9333 LIBWINE_LDFLAGS="-shared"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9335 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9336 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 ac_wine_try_cflags_saved=$CFLAGS
9340 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9343 int main(int argc, char **argv) { return 0; }
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9347 else
9348 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9350 rm -f core conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 CFLAGS=$ac_wine_try_cflags_saved
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9355 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9356 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9357 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9358 else
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9360 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9361 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9362 $as_echo_n "(cached) " >&6
9363 else
9364 ac_wine_try_cflags_saved=$CFLAGS
9365 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9368 int main(int argc, char **argv) { return 0; }
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9372 else
9373 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 CFLAGS=$ac_wine_try_cflags_saved
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9380 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9381 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9382 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9386 echo '{ global: *; };' >conftest.map
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9388 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9389 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9390 $as_echo_n "(cached) " >&6
9391 else
9392 ac_wine_try_cflags_saved=$CFLAGS
9393 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9396 int main(int argc, char **argv) { return 0; }
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9400 else
9401 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 CFLAGS=$ac_wine_try_cflags_saved
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9408 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9409 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9410 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9412 rm -f conftest.map
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9415 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9416 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9417 $as_echo_n "(cached) " >&6
9418 else
9419 ac_wine_try_cflags_saved=$CFLAGS
9420 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9423 int main(int argc, char **argv) { return 0; }
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_cflags__Wl___export_dynamic=yes
9427 else
9428 ac_cv_cflags__Wl___export_dynamic=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 CFLAGS=$ac_wine_try_cflags_saved
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9435 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9436 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9437 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9439 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9441 case $host_cpu in
9442 *i[3456789]86* | x86_64 | *aarch64*)
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9444 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9445 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9446 $as_echo_n "(cached) " >&6
9447 else
9448 ac_wine_try_cflags_saved=$CFLAGS
9449 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9452 int main(int argc, char **argv) { return 0; }
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9456 else
9457 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 CFLAGS=$ac_wine_try_cflags_saved
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9464 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9465 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9466 case $host_os in
9467 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9468 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9469 esac
9470 else
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9472 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9473 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9474 $as_echo_n "(cached) " >&6
9475 else
9476 ac_wine_try_cflags_saved=$CFLAGS
9477 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9480 int main(int argc, char **argv) { return 0; }
9481 _ACEOF
9482 if ac_fn_c_try_link "$LINENO"; then :
9483 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9484 else
9485 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9487 rm -f core conftest.err conftest.$ac_objext \
9488 conftest$ac_exeext conftest.$ac_ext
9489 CFLAGS=$ac_wine_try_cflags_saved
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9492 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9493 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9494 case $host_os in
9495 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9496 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9497 esac
9499 # Extract the first word of "prelink", so it can be a program name with args.
9500 set dummy prelink; ac_word=$2
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9502 $as_echo_n "checking for $ac_word... " >&6; }
9503 if ${ac_cv_path_PRELINK+:} false; then :
9504 $as_echo_n "(cached) " >&6
9505 else
9506 case $PRELINK in
9507 [\\/]* | ?:[\\/]*)
9508 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9512 for as_dir in /sbin /usr/sbin $PATH
9514 IFS=$as_save_IFS
9515 test -z "$as_dir" && as_dir=.
9516 for ac_exec_ext in '' $ac_executable_extensions; do
9517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9518 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9520 break 2
9522 done
9523 done
9524 IFS=$as_save_IFS
9526 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9528 esac
9530 PRELINK=$ac_cv_path_PRELINK
9531 if test -n "$PRELINK"; then
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9533 $as_echo "$PRELINK" >&6; }
9534 else
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9536 $as_echo "no" >&6; }
9540 if test "x$PRELINK" = xfalse
9541 then
9542 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9546 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9547 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 ac_wine_try_cflags_saved=$CFLAGS
9551 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9554 int main(int argc, char **argv) { return 0; }
9555 _ACEOF
9556 if ac_fn_c_try_link "$LINENO"; then :
9557 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9558 else
9559 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 CFLAGS=$ac_wine_try_cflags_saved
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9566 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9567 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9568 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9571 esac
9573 else
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9575 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9576 if ${ac_cv_c_dll_unixware+:} false; then :
9577 $as_echo_n "(cached) " >&6
9578 else
9579 ac_wine_try_cflags_saved=$CFLAGS
9580 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h. */
9583 void myfunc() {}
9584 _ACEOF
9585 if ac_fn_c_try_link "$LINENO"; then :
9586 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9587 else
9588 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9590 rm -f core conftest.err conftest.$ac_objext \
9591 conftest$ac_exeext conftest.$ac_ext
9592 CFLAGS=$ac_wine_try_cflags_saved
9593 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9594 ac_cv_c_dll_unixware="yes"
9595 else
9596 ac_cv_c_dll_unixware="no"
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9600 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9601 if test "$ac_cv_c_dll_unixware" = "yes"
9602 then
9603 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9606 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9608 LIBWINE_DEPENDS="wine.map"
9610 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9611 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9613 esac
9615 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9616 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9617 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9618 enable_winemac_drv=${enable_winemac_drv:-no}
9619 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9622 if test "x$with_mingw" != xno
9623 then
9624 case "x$with_mingw" in
9625 x|xyes) case "$host_cpu" in
9626 aarch64*)
9627 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9628 arm*)
9629 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9630 i[3456789]86*)
9631 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
9632 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9633 mingw32-gcc" ;;
9634 x86_64)
9635 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
9636 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9638 ac_prefix_list="" ;;
9639 esac
9640 for ac_prog in $ac_prefix_list
9642 # Extract the first word of "$ac_prog", so it can be a program name with args.
9643 set dummy $ac_prog; ac_word=$2
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9645 $as_echo_n "checking for $ac_word... " >&6; }
9646 if ${ac_cv_prog_CROSSCC+:} false; then :
9647 $as_echo_n "(cached) " >&6
9648 else
9649 if test -n "$CROSSCC"; then
9650 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9651 else
9652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9653 for as_dir in $PATH
9655 IFS=$as_save_IFS
9656 test -z "$as_dir" && as_dir=.
9657 for ac_exec_ext in '' $ac_executable_extensions; do
9658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9659 ac_cv_prog_CROSSCC="$ac_prog"
9660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9661 break 2
9663 done
9664 done
9665 IFS=$as_save_IFS
9669 CROSSCC=$ac_cv_prog_CROSSCC
9670 if test -n "$CROSSCC"; then
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9672 $as_echo "$CROSSCC" >&6; }
9673 else
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 $as_echo "no" >&6; }
9679 test -n "$CROSSCC" && break
9680 done
9681 test -n "$CROSSCC" || CROSSCC="false"
9683 *) CROSSCC=$with_mingw ;;
9684 esac
9685 if test "$CROSSCC" != "false"
9686 then
9687 ac_save_CC="$CC"
9688 saved_CFLAGS=$CFLAGS
9689 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9691 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9695 CC="$CROSSCC"
9696 CFLAGS=$CROSSCFLAGS
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9698 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9699 if ${wine_cv_crosscc+:} false; then :
9700 $as_echo_n "(cached) " >&6
9701 else
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9706 main ()
9710 return 0;
9712 _ACEOF
9713 if ac_fn_c_try_compile "$LINENO"; then :
9714 wine_cv_crosscc=yes
9715 else
9716 wine_cv_crosscc=no
9718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9721 $as_echo "$wine_cv_crosscc" >&6; }
9722 if test $wine_cv_crosscc = yes
9723 then
9724 set x $CROSSCC
9725 shift
9726 while test $# -ge 1
9728 case "$1" in
9729 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9730 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9731 esac
9732 shift
9733 done
9735 llvm_target=$CROSSTARGET
9736 llvm_cflags="-fuse-ld=lld"
9737 if test -z "$llvm_target"
9738 then
9739 case $host_cpu in
9740 *i[3456789]86*) llvm_target=i686-windows ;;
9741 *) llvm_target=$host_cpu-windows ;;
9742 esac
9744 case $llvm_target in
9745 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9746 esac
9747 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9749 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9750 if eval \${$as_ac_var+:} false; then :
9751 $as_echo_n "(cached) " >&6
9752 else
9753 ac_wine_try_cflags_saved=$CFLAGS
9754 ac_wine_try_cflags_saved_cc=$CC
9755 ac_wine_try_cflags_saved_exeext=$ac_exeext
9756 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9757 CC="$CROSSCC"
9758 ac_exeext=".exe"
9759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9761 int __cdecl mainCRTStartup(void) { return 0; }
9762 _ACEOF
9763 if ac_fn_c_try_link "$LINENO"; then :
9764 eval "$as_ac_var=yes"
9765 else
9766 eval "$as_ac_var=no"
9768 rm -f core conftest.err conftest.$ac_objext \
9769 conftest$ac_exeext conftest.$ac_ext
9770 CFLAGS=$ac_wine_try_cflags_saved
9771 CC=$ac_wine_try_cflags_saved_cc
9772 ac_exeext=$ac_wine_try_cflags_saved_exeext
9774 eval ac_res=\$$as_ac_var
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9776 $as_echo "$ac_res" >&6; }
9777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9778 CROSSTARGET=$llvm_target
9779 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9780 DELAYLOADFLAG="-Wl,-delayload,"
9782 CFLAGS="$CFLAGS $llvm_cflags"
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9786 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9787 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9788 $as_echo_n "(cached) " >&6
9789 else
9790 ac_wine_try_cflags_saved=$CFLAGS
9791 ac_wine_try_cflags_saved_cc=$CC
9792 ac_wine_try_cflags_saved_exeext=$ac_exeext
9793 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9794 CC="$CROSSCC"
9795 ac_exeext=".exe"
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9798 int __cdecl mainCRTStartup(void) { return 0; }
9799 _ACEOF
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 ac_cv_crosscflags__fno_strict_aliasing=yes
9802 else
9803 ac_cv_crosscflags__fno_strict_aliasing=no
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 CFLAGS=$ac_wine_try_cflags_saved
9808 CC=$ac_wine_try_cflags_saved_cc
9809 ac_exeext=$ac_wine_try_cflags_saved_exeext
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9812 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9813 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9814 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9817 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9818 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9819 $as_echo_n "(cached) " >&6
9820 else
9821 ac_wine_try_cflags_saved=$CFLAGS
9822 ac_wine_try_cflags_saved_cc=$CC
9823 ac_wine_try_cflags_saved_exeext=$ac_exeext
9824 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9825 CC="$CROSSCC"
9826 ac_exeext=".exe"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9829 int __cdecl mainCRTStartup(void) { return 0; }
9830 _ACEOF
9831 if ac_fn_c_try_link "$LINENO"; then :
9832 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9833 else
9834 ac_cv_crosscflags__Werror_unknown_warning_option=no
9836 rm -f core conftest.err conftest.$ac_objext \
9837 conftest$ac_exeext conftest.$ac_ext
9838 CFLAGS=$ac_wine_try_cflags_saved
9839 CC=$ac_wine_try_cflags_saved_cc
9840 ac_exeext=$ac_wine_try_cflags_saved_exeext
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9843 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9844 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9845 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9848 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9849 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9850 $as_echo_n "(cached) " >&6
9851 else
9852 ac_wine_try_cflags_saved=$CFLAGS
9853 ac_wine_try_cflags_saved_cc=$CC
9854 ac_wine_try_cflags_saved_exeext=$ac_exeext
9855 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9856 CC="$CROSSCC"
9857 ac_exeext=".exe"
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859 /* end confdefs.h. */
9860 int __cdecl mainCRTStartup(void) { return 0; }
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9864 else
9865 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 CFLAGS=$ac_wine_try_cflags_saved
9870 CC=$ac_wine_try_cflags_saved_cc
9871 ac_exeext=$ac_wine_try_cflags_saved_exeext
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9874 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9875 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9876 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9879 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9880 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9881 $as_echo_n "(cached) " >&6
9882 else
9883 ac_wine_try_cflags_saved=$CFLAGS
9884 ac_wine_try_cflags_saved_cc=$CC
9885 ac_wine_try_cflags_saved_exeext=$ac_exeext
9886 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9887 CC="$CROSSCC"
9888 ac_exeext=".exe"
9889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9890 /* end confdefs.h. */
9891 int __cdecl mainCRTStartup(void) { return 0; }
9892 _ACEOF
9893 if ac_fn_c_try_link "$LINENO"; then :
9894 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9895 else
9896 ac_cv_crosscflags__Wdeclaration_after_statement=no
9898 rm -f core conftest.err conftest.$ac_objext \
9899 conftest$ac_exeext conftest.$ac_ext
9900 CFLAGS=$ac_wine_try_cflags_saved
9901 CC=$ac_wine_try_cflags_saved_cc
9902 ac_exeext=$ac_wine_try_cflags_saved_exeext
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9905 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9906 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9907 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9910 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9911 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9912 $as_echo_n "(cached) " >&6
9913 else
9914 ac_wine_try_cflags_saved=$CFLAGS
9915 ac_wine_try_cflags_saved_cc=$CC
9916 ac_wine_try_cflags_saved_exeext=$ac_exeext
9917 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9918 CC="$CROSSCC"
9919 ac_exeext=".exe"
9920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9921 /* end confdefs.h. */
9922 int __cdecl mainCRTStartup(void) { return 0; }
9923 _ACEOF
9924 if ac_fn_c_try_link "$LINENO"; then :
9925 ac_cv_crosscflags__Wempty_body=yes
9926 else
9927 ac_cv_crosscflags__Wempty_body=no
9929 rm -f core conftest.err conftest.$ac_objext \
9930 conftest$ac_exeext conftest.$ac_ext
9931 CFLAGS=$ac_wine_try_cflags_saved
9932 CC=$ac_wine_try_cflags_saved_cc
9933 ac_exeext=$ac_wine_try_cflags_saved_exeext
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9936 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9937 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9938 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9941 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9942 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9943 $as_echo_n "(cached) " >&6
9944 else
9945 ac_wine_try_cflags_saved=$CFLAGS
9946 ac_wine_try_cflags_saved_cc=$CC
9947 ac_wine_try_cflags_saved_exeext=$ac_exeext
9948 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9949 CC="$CROSSCC"
9950 ac_exeext=".exe"
9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9953 int __cdecl mainCRTStartup(void) { return 0; }
9954 _ACEOF
9955 if ac_fn_c_try_link "$LINENO"; then :
9956 ac_cv_crosscflags__Wignored_qualifiers=yes
9957 else
9958 ac_cv_crosscflags__Wignored_qualifiers=no
9960 rm -f core conftest.err conftest.$ac_objext \
9961 conftest$ac_exeext conftest.$ac_ext
9962 CFLAGS=$ac_wine_try_cflags_saved
9963 CC=$ac_wine_try_cflags_saved_cc
9964 ac_exeext=$ac_wine_try_cflags_saved_exeext
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9967 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9968 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9969 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9972 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9973 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9974 $as_echo_n "(cached) " >&6
9975 else
9976 ac_wine_try_cflags_saved=$CFLAGS
9977 ac_wine_try_cflags_saved_cc=$CC
9978 ac_wine_try_cflags_saved_exeext=$ac_exeext
9979 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9980 CC="$CROSSCC"
9981 ac_exeext=".exe"
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9984 int __cdecl mainCRTStartup(void) { return 0; }
9985 _ACEOF
9986 if ac_fn_c_try_link "$LINENO"; then :
9987 ac_cv_crosscflags__Wpacked_not_aligned=yes
9988 else
9989 ac_cv_crosscflags__Wpacked_not_aligned=no
9991 rm -f core conftest.err conftest.$ac_objext \
9992 conftest$ac_exeext conftest.$ac_ext
9993 CFLAGS=$ac_wine_try_cflags_saved
9994 CC=$ac_wine_try_cflags_saved_cc
9995 ac_exeext=$ac_wine_try_cflags_saved_exeext
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9998 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9999 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10000 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10003 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10004 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10005 $as_echo_n "(cached) " >&6
10006 else
10007 ac_wine_try_cflags_saved=$CFLAGS
10008 ac_wine_try_cflags_saved_cc=$CC
10009 ac_wine_try_cflags_saved_exeext=$ac_exeext
10010 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10011 CC="$CROSSCC"
10012 ac_exeext=".exe"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10015 int __cdecl mainCRTStartup(void) { return 0; }
10016 _ACEOF
10017 if ac_fn_c_try_link "$LINENO"; then :
10018 ac_cv_crosscflags__Wpragma_pack=yes
10019 else
10020 ac_cv_crosscflags__Wpragma_pack=no
10022 rm -f core conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10024 CFLAGS=$ac_wine_try_cflags_saved
10025 CC=$ac_wine_try_cflags_saved_cc
10026 ac_exeext=$ac_wine_try_cflags_saved_exeext
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10029 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10030 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10031 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10034 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10035 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10036 $as_echo_n "(cached) " >&6
10037 else
10038 ac_wine_try_cflags_saved=$CFLAGS
10039 ac_wine_try_cflags_saved_cc=$CC
10040 ac_wine_try_cflags_saved_exeext=$ac_exeext
10041 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10042 CC="$CROSSCC"
10043 ac_exeext=".exe"
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10046 int __cdecl mainCRTStartup(void) { return 0; }
10047 _ACEOF
10048 if ac_fn_c_try_link "$LINENO"; then :
10049 ac_cv_crosscflags__Wshift_overflow_2=yes
10050 else
10051 ac_cv_crosscflags__Wshift_overflow_2=no
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 CFLAGS=$ac_wine_try_cflags_saved
10056 CC=$ac_wine_try_cflags_saved_cc
10057 ac_exeext=$ac_wine_try_cflags_saved_exeext
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10060 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10061 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10062 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10065 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10066 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10067 $as_echo_n "(cached) " >&6
10068 else
10069 ac_wine_try_cflags_saved=$CFLAGS
10070 ac_wine_try_cflags_saved_cc=$CC
10071 ac_wine_try_cflags_saved_exeext=$ac_exeext
10072 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10073 CC="$CROSSCC"
10074 ac_exeext=".exe"
10075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10077 int __cdecl mainCRTStartup(void) { return 0; }
10078 _ACEOF
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 ac_cv_crosscflags__Wstrict_prototypes=yes
10081 else
10082 ac_cv_crosscflags__Wstrict_prototypes=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 CFLAGS=$ac_wine_try_cflags_saved
10087 CC=$ac_wine_try_cflags_saved_cc
10088 ac_exeext=$ac_wine_try_cflags_saved_exeext
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10091 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10092 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10093 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10096 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10097 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10098 $as_echo_n "(cached) " >&6
10099 else
10100 ac_wine_try_cflags_saved=$CFLAGS
10101 ac_wine_try_cflags_saved_cc=$CC
10102 ac_wine_try_cflags_saved_exeext=$ac_exeext
10103 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10104 CC="$CROSSCC"
10105 ac_exeext=".exe"
10106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10108 int __cdecl mainCRTStartup(void) { return 0; }
10109 _ACEOF
10110 if ac_fn_c_try_link "$LINENO"; then :
10111 ac_cv_crosscflags__Wtype_limits=yes
10112 else
10113 ac_cv_crosscflags__Wtype_limits=no
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 CFLAGS=$ac_wine_try_cflags_saved
10118 CC=$ac_wine_try_cflags_saved_cc
10119 ac_exeext=$ac_wine_try_cflags_saved_exeext
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10122 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10123 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10124 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10127 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10128 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10129 $as_echo_n "(cached) " >&6
10130 else
10131 ac_wine_try_cflags_saved=$CFLAGS
10132 ac_wine_try_cflags_saved_cc=$CC
10133 ac_wine_try_cflags_saved_exeext=$ac_exeext
10134 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10135 CC="$CROSSCC"
10136 ac_exeext=".exe"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10139 int __cdecl mainCRTStartup(void) { return 0; }
10140 _ACEOF
10141 if ac_fn_c_try_link "$LINENO"; then :
10142 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10143 else
10144 ac_cv_crosscflags__Wunused_but_set_parameter=no
10146 rm -f core conftest.err conftest.$ac_objext \
10147 conftest$ac_exeext conftest.$ac_ext
10148 CFLAGS=$ac_wine_try_cflags_saved
10149 CC=$ac_wine_try_cflags_saved_cc
10150 ac_exeext=$ac_wine_try_cflags_saved_exeext
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10153 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10154 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10155 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10158 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10159 if ${ac_cv_crosscflags__Wvla+:} false; then :
10160 $as_echo_n "(cached) " >&6
10161 else
10162 ac_wine_try_cflags_saved=$CFLAGS
10163 ac_wine_try_cflags_saved_cc=$CC
10164 ac_wine_try_cflags_saved_exeext=$ac_exeext
10165 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10166 CC="$CROSSCC"
10167 ac_exeext=".exe"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10170 int __cdecl mainCRTStartup(void) { return 0; }
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"; then :
10173 ac_cv_crosscflags__Wvla=yes
10174 else
10175 ac_cv_crosscflags__Wvla=no
10177 rm -f core conftest.err conftest.$ac_objext \
10178 conftest$ac_exeext conftest.$ac_ext
10179 CFLAGS=$ac_wine_try_cflags_saved
10180 CC=$ac_wine_try_cflags_saved_cc
10181 ac_exeext=$ac_wine_try_cflags_saved_exeext
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10184 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10185 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10186 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10189 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10190 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10191 $as_echo_n "(cached) " >&6
10192 else
10193 ac_wine_try_cflags_saved=$CFLAGS
10194 ac_wine_try_cflags_saved_cc=$CC
10195 ac_wine_try_cflags_saved_exeext=$ac_exeext
10196 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10197 CC="$CROSSCC"
10198 ac_exeext=".exe"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10201 int __cdecl mainCRTStartup(void) { return 0; }
10202 _ACEOF
10203 if ac_fn_c_try_link "$LINENO"; then :
10204 ac_cv_crosscflags__Wwrite_strings=yes
10205 else
10206 ac_cv_crosscflags__Wwrite_strings=no
10208 rm -f core conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 CFLAGS=$ac_wine_try_cflags_saved
10211 CC=$ac_wine_try_cflags_saved_cc
10212 ac_exeext=$ac_wine_try_cflags_saved_exeext
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10215 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10216 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10217 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10220 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10221 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10222 $as_echo_n "(cached) " >&6
10223 else
10224 ac_wine_try_cflags_saved=$CFLAGS
10225 ac_wine_try_cflags_saved_cc=$CC
10226 ac_wine_try_cflags_saved_exeext=$ac_exeext
10227 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10228 CC="$CROSSCC"
10229 ac_exeext=".exe"
10230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10232 int __cdecl mainCRTStartup(void) { return 0; }
10233 _ACEOF
10234 if ac_fn_c_try_link "$LINENO"; then :
10235 ac_cv_crosscflags__Wpointer_arith=yes
10236 else
10237 ac_cv_crosscflags__Wpointer_arith=no
10239 rm -f core conftest.err conftest.$ac_objext \
10240 conftest$ac_exeext conftest.$ac_ext
10241 CFLAGS=$ac_wine_try_cflags_saved
10242 CC=$ac_wine_try_cflags_saved_cc
10243 ac_exeext=$ac_wine_try_cflags_saved_exeext
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10246 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10247 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10248 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10251 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10252 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_wine_try_cflags_saved=$CFLAGS
10256 ac_wine_try_cflags_saved_cc=$CC
10257 ac_wine_try_cflags_saved_exeext=$ac_exeext
10258 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10259 CC="$CROSSCC"
10260 ac_exeext=".exe"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10263 int __cdecl mainCRTStartup(void) { return 0; }
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"; then :
10266 ac_cv_crosscflags__Wlogical_op=yes
10267 else
10268 ac_cv_crosscflags__Wlogical_op=no
10270 rm -f core conftest.err conftest.$ac_objext \
10271 conftest$ac_exeext conftest.$ac_ext
10272 CFLAGS=$ac_wine_try_cflags_saved
10273 CC=$ac_wine_try_cflags_saved_cc
10274 ac_exeext=$ac_wine_try_cflags_saved_exeext
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10277 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10278 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10279 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10282 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10283 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_wine_try_cflags_saved=$CFLAGS
10287 ac_wine_try_cflags_saved_cc=$CC
10288 ac_wine_try_cflags_saved_exeext=$ac_exeext
10289 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10290 CC="$CROSSCC"
10291 ac_exeext=".exe"
10292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10293 /* end confdefs.h. */
10294 int __cdecl mainCRTStartup(void) { return 0; }
10295 _ACEOF
10296 if ac_fn_c_try_link "$LINENO"; then :
10297 ac_cv_crosscflags__Wabsolute_value=yes
10298 else
10299 ac_cv_crosscflags__Wabsolute_value=no
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 CFLAGS=$ac_wine_try_cflags_saved
10304 CC=$ac_wine_try_cflags_saved_cc
10305 ac_exeext=$ac_wine_try_cflags_saved_exeext
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10308 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10309 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10310 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10313 case $host_cpu in
10314 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10315 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10316 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10317 $as_echo_n "(cached) " >&6
10318 else
10319 ac_wine_try_cflags_saved=$CFLAGS
10320 ac_wine_try_cflags_saved_cc=$CC
10321 ac_wine_try_cflags_saved_exeext=$ac_exeext
10322 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10323 CC="$CROSSCC"
10324 ac_exeext=".exe"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10327 int __cdecl mainCRTStartup(void) { return 0; }
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10331 else
10332 ac_cv_crosscflags__fno_omit_frame_pointer=no
10334 rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336 CFLAGS=$ac_wine_try_cflags_saved
10337 CC=$ac_wine_try_cflags_saved_cc
10338 ac_exeext=$ac_wine_try_cflags_saved_exeext
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10341 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10342 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10343 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10344 fi ;;
10345 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10346 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10347 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10348 $as_echo_n "(cached) " >&6
10349 else
10350 ac_wine_try_cflags_saved=$CFLAGS
10351 ac_wine_try_cflags_saved_cc=$CC
10352 ac_wine_try_cflags_saved_exeext=$ac_exeext
10353 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10354 CC="$CROSSCC"
10355 ac_exeext=".exe"
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 int __cdecl mainCRTStartup(void) { return 0; }
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"; then :
10361 ac_cv_crosscflags__Wno_format=yes
10362 else
10363 ac_cv_crosscflags__Wno_format=no
10365 rm -f core conftest.err conftest.$ac_objext \
10366 conftest$ac_exeext conftest.$ac_ext
10367 CFLAGS=$ac_wine_try_cflags_saved
10368 CC=$ac_wine_try_cflags_saved_cc
10369 ac_exeext=$ac_wine_try_cflags_saved_exeext
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10372 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10373 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10374 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10377 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10378 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10379 $as_echo_n "(cached) " >&6
10380 else
10381 ac_wine_try_cflags_saved=$CFLAGS
10382 ac_wine_try_cflags_saved_cc=$CC
10383 ac_wine_try_cflags_saved_exeext=$ac_exeext
10384 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10385 CC="$CROSSCC"
10386 ac_exeext=".exe"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 int __cdecl mainCRTStartup(void) { return 0; }
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 ac_cv_crosscflags__Wformat_overflow=yes
10393 else
10394 ac_cv_crosscflags__Wformat_overflow=no
10396 rm -f core conftest.err conftest.$ac_objext \
10397 conftest$ac_exeext conftest.$ac_ext
10398 CFLAGS=$ac_wine_try_cflags_saved
10399 CC=$ac_wine_try_cflags_saved_cc
10400 ac_exeext=$ac_wine_try_cflags_saved_exeext
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10403 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10404 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10405 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10408 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10409 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10410 $as_echo_n "(cached) " >&6
10411 else
10412 ac_wine_try_cflags_saved=$CFLAGS
10413 ac_wine_try_cflags_saved_cc=$CC
10414 ac_wine_try_cflags_saved_exeext=$ac_exeext
10415 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10416 CC="$CROSSCC"
10417 ac_exeext=".exe"
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420 int __cdecl mainCRTStartup(void) { return 0; }
10421 _ACEOF
10422 if ac_fn_c_try_link "$LINENO"; then :
10423 ac_cv_crosscflags__Wnonnull=yes
10424 else
10425 ac_cv_crosscflags__Wnonnull=no
10427 rm -f core conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 CFLAGS=$ac_wine_try_cflags_saved
10430 CC=$ac_wine_try_cflags_saved_cc
10431 ac_exeext=$ac_wine_try_cflags_saved_exeext
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10434 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10435 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10436 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10439 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10440 if ${ac_cv_crosscflags__mcx16+:} false; then :
10441 $as_echo_n "(cached) " >&6
10442 else
10443 ac_wine_try_cflags_saved=$CFLAGS
10444 ac_wine_try_cflags_saved_cc=$CC
10445 ac_wine_try_cflags_saved_exeext=$ac_exeext
10446 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10447 CC="$CROSSCC"
10448 ac_exeext=".exe"
10449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450 /* end confdefs.h. */
10451 int __cdecl mainCRTStartup(void) { return 0; }
10452 _ACEOF
10453 if ac_fn_c_try_link "$LINENO"; then :
10454 ac_cv_crosscflags__mcx16=yes
10455 else
10456 ac_cv_crosscflags__mcx16=no
10458 rm -f core conftest.err conftest.$ac_objext \
10459 conftest$ac_exeext conftest.$ac_ext
10460 CFLAGS=$ac_wine_try_cflags_saved
10461 CC=$ac_wine_try_cflags_saved_cc
10462 ac_exeext=$ac_wine_try_cflags_saved_exeext
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10465 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10466 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10467 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10468 fi ;;
10469 esac
10472 if test -z "$CROSSDEBUG"
10473 then
10474 for ac_flag in $CROSSCFLAGS; do
10475 case $ac_flag in
10476 -gdwarf*) CROSSDEBUG=dwarf ;;
10477 -gcodeview) CROSSDEBUG=pdb ;;
10478 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10479 esac
10480 done
10482 case $CROSSDEBUG in
10483 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10484 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10485 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10486 $as_echo_n "(cached) " >&6
10487 else
10488 ac_wine_try_cflags_saved=$CFLAGS
10489 ac_wine_try_cflags_saved_cc=$CC
10490 ac_wine_try_cflags_saved_exeext=$ac_exeext
10491 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10492 CC="$CROSSCC"
10493 ac_exeext=".exe"
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10496 int __cdecl mainCRTStartup(void) { return 0; }
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 ac_cv_crosscflags__gdwarf_2=yes
10500 else
10501 ac_cv_crosscflags__gdwarf_2=no
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 CFLAGS=$ac_wine_try_cflags_saved
10506 CC=$ac_wine_try_cflags_saved_cc
10507 ac_exeext=$ac_wine_try_cflags_saved_exeext
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10510 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10511 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10512 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10515 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10516 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_wine_try_cflags_saved=$CFLAGS
10520 ac_wine_try_cflags_saved_cc=$CC
10521 ac_wine_try_cflags_saved_exeext=$ac_exeext
10522 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10523 CC="$CROSSCC"
10524 ac_exeext=".exe"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10527 int __cdecl mainCRTStartup(void) { return 0; }
10528 _ACEOF
10529 if ac_fn_c_try_link "$LINENO"; then :
10530 ac_cv_crosscflags__gstrict_dwarf=yes
10531 else
10532 ac_cv_crosscflags__gstrict_dwarf=no
10534 rm -f core conftest.err conftest.$ac_objext \
10535 conftest$ac_exeext conftest.$ac_ext
10536 CFLAGS=$ac_wine_try_cflags_saved
10537 CC=$ac_wine_try_cflags_saved_cc
10538 ac_exeext=$ac_wine_try_cflags_saved_exeext
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10541 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10542 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10543 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10544 fi ;;
10545 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10546 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10547 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10548 $as_echo_n "(cached) " >&6
10549 else
10550 ac_wine_try_cflags_saved=$CFLAGS
10551 ac_wine_try_cflags_saved_cc=$CC
10552 ac_wine_try_cflags_saved_exeext=$ac_exeext
10553 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10554 CC="$CROSSCC"
10555 ac_exeext=".exe"
10556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */
10558 int __cdecl mainCRTStartup(void) { return 0; }
10559 _ACEOF
10560 if ac_fn_c_try_link "$LINENO"; then :
10561 ac_cv_crosscflags__gcodeview=yes
10562 else
10563 ac_cv_crosscflags__gcodeview=no
10565 rm -f core conftest.err conftest.$ac_objext \
10566 conftest$ac_exeext conftest.$ac_ext
10567 CFLAGS=$ac_wine_try_cflags_saved
10568 CC=$ac_wine_try_cflags_saved_cc
10569 ac_exeext=$ac_wine_try_cflags_saved_exeext
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10572 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10573 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10574 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10575 fi ;;
10576 esac
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10579 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10580 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10581 $as_echo_n "(cached) " >&6
10582 else
10583 ac_wine_try_cflags_saved=$CFLAGS
10584 ac_wine_try_cflags_saved_cc=$CC
10585 ac_wine_try_cflags_saved_exeext=$ac_exeext
10586 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10587 CC="$CROSSCC"
10588 ac_exeext=".exe"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10591 int __cdecl mainCRTStartup(void) { return 0; }
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 ac_cv_crosscflags__fexcess_precision_standard=yes
10595 else
10596 ac_cv_crosscflags__fexcess_precision_standard=no
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 CFLAGS=$ac_wine_try_cflags_saved
10601 CC=$ac_wine_try_cflags_saved_cc
10602 ac_exeext=$ac_wine_try_cflags_saved_exeext
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10605 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10606 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10607 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10611 if test "x$enable_werror" = "xyes"
10612 then
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10614 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10615 if ${ac_cv_crosscflags__Werror+:} false; then :
10616 $as_echo_n "(cached) " >&6
10617 else
10618 ac_wine_try_cflags_saved=$CFLAGS
10619 ac_wine_try_cflags_saved_cc=$CC
10620 ac_wine_try_cflags_saved_exeext=$ac_exeext
10621 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10622 CC="$CROSSCC"
10623 ac_exeext=".exe"
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10626 int __cdecl mainCRTStartup(void) { return 0; }
10627 _ACEOF
10628 if ac_fn_c_try_link "$LINENO"; then :
10629 ac_cv_crosscflags__Werror=yes
10630 else
10631 ac_cv_crosscflags__Werror=no
10633 rm -f core conftest.err conftest.$ac_objext \
10634 conftest$ac_exeext conftest.$ac_ext
10635 CFLAGS=$ac_wine_try_cflags_saved
10636 CC=$ac_wine_try_cflags_saved_cc
10637 ac_exeext=$ac_wine_try_cflags_saved_exeext
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10640 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10641 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10642 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10646 CFLAGS=$saved_CFLAGS
10647 CC="$ac_save_CC"
10650 if test "x$CROSSTARGET" = "x"; then :
10651 case "x$with_mingw" in
10652 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10653 xno) ;;
10654 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10655 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10656 esac
10661 if test "$ac_cv_header_pthread_h" = "yes"
10662 then
10663 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10664 if test "x$ac_cv_func_pthread_create" = xyes; then :
10666 else
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10668 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10669 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10670 $as_echo_n "(cached) " >&6
10671 else
10672 ac_check_lib_save_LIBS=$LIBS
10673 LIBS="-lpthread $LIBS"
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10680 #ifdef __cplusplus
10681 extern "C"
10682 #endif
10683 char pthread_create ();
10685 main ()
10687 return pthread_create ();
10689 return 0;
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"; then :
10693 ac_cv_lib_pthread_pthread_create=yes
10694 else
10695 ac_cv_lib_pthread_pthread_create=no
10697 rm -f core conftest.err conftest.$ac_objext \
10698 conftest$ac_exeext conftest.$ac_ext
10699 LIBS=$ac_check_lib_save_LIBS
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10702 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10703 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10704 PTHREAD_LIBS="-lpthread"
10711 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10712 case "x$with_pthread" in
10713 xno) ;;
10714 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10715 Wine cannot support threads without libpthread.
10716 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10717 esac
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10723 $as_echo_n "checking for X... " >&6; }
10726 # Check whether --with-x was given.
10727 if test "${with_x+set}" = set; then :
10728 withval=$with_x;
10731 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10732 if test "x$with_x" = xno; then
10733 # The user explicitly disabled X.
10734 have_x=disabled
10735 else
10736 case $x_includes,$x_libraries in #(
10737 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10738 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10739 $as_echo_n "(cached) " >&6
10740 else
10741 # One or both of the vars are not set, and there is no cached value.
10742 ac_x_includes=no ac_x_libraries=no
10743 rm -f -r conftest.dir
10744 if mkdir conftest.dir; then
10745 cd conftest.dir
10746 cat >Imakefile <<'_ACEOF'
10747 incroot:
10748 @echo incroot='${INCROOT}'
10749 usrlibdir:
10750 @echo usrlibdir='${USRLIBDIR}'
10751 libdir:
10752 @echo libdir='${LIBDIR}'
10753 _ACEOF
10754 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10755 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10756 for ac_var in incroot usrlibdir libdir; do
10757 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10758 done
10759 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10760 for ac_extension in a so sl dylib la dll; do
10761 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10762 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10763 ac_im_usrlibdir=$ac_im_libdir; break
10765 done
10766 # Screen out bogus values from the imake configuration. They are
10767 # bogus both because they are the default anyway, and because
10768 # using them would break gcc on systems where it needs fixed includes.
10769 case $ac_im_incroot in
10770 /usr/include) ac_x_includes= ;;
10771 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10772 esac
10773 case $ac_im_usrlibdir in
10774 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10775 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10776 esac
10778 cd ..
10779 rm -f -r conftest.dir
10782 # Standard set of common directories for X headers.
10783 # Check X11 before X11Rn because it is often a symlink to the current release.
10784 ac_x_header_dirs='
10785 /usr/X11/include
10786 /usr/X11R7/include
10787 /usr/X11R6/include
10788 /usr/X11R5/include
10789 /usr/X11R4/include
10791 /usr/include/X11
10792 /usr/include/X11R7
10793 /usr/include/X11R6
10794 /usr/include/X11R5
10795 /usr/include/X11R4
10797 /usr/local/X11/include
10798 /usr/local/X11R7/include
10799 /usr/local/X11R6/include
10800 /usr/local/X11R5/include
10801 /usr/local/X11R4/include
10803 /usr/local/include/X11
10804 /usr/local/include/X11R7
10805 /usr/local/include/X11R6
10806 /usr/local/include/X11R5
10807 /usr/local/include/X11R4
10809 /usr/X386/include
10810 /usr/x386/include
10811 /usr/XFree86/include/X11
10813 /usr/include
10814 /usr/local/include
10815 /usr/unsupported/include
10816 /usr/athena/include
10817 /usr/local/x11r5/include
10818 /usr/lpp/Xamples/include
10820 /usr/openwin/include
10821 /usr/openwin/share/include'
10823 if test "$ac_x_includes" = no; then
10824 # Guess where to find include files, by looking for Xlib.h.
10825 # First, try using that file with no special directory specified.
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10828 #include <X11/Xlib.h>
10829 _ACEOF
10830 if ac_fn_c_try_cpp "$LINENO"; then :
10831 # We can compile using X headers with no special include directory.
10832 ac_x_includes=
10833 else
10834 for ac_dir in $ac_x_header_dirs; do
10835 if test -r "$ac_dir/X11/Xlib.h"; then
10836 ac_x_includes=$ac_dir
10837 break
10839 done
10841 rm -f conftest.err conftest.i conftest.$ac_ext
10842 fi # $ac_x_includes = no
10844 if test "$ac_x_libraries" = no; then
10845 # Check for the libraries.
10846 # See if we find them without any special options.
10847 # Don't add to $LIBS permanently.
10848 ac_save_LIBS=$LIBS
10849 LIBS="-lX11 $LIBS"
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10852 #include <X11/Xlib.h>
10854 main ()
10856 XrmInitialize ()
10858 return 0;
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"; then :
10862 LIBS=$ac_save_LIBS
10863 # We can link X programs with no special library path.
10864 ac_x_libraries=
10865 else
10866 LIBS=$ac_save_LIBS
10867 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10869 # Don't even attempt the hair of trying to link an X program!
10870 for ac_extension in a so sl dylib la dll; do
10871 if test -r "$ac_dir/libX11.$ac_extension"; then
10872 ac_x_libraries=$ac_dir
10873 break 2
10875 done
10876 done
10878 rm -f core conftest.err conftest.$ac_objext \
10879 conftest$ac_exeext conftest.$ac_ext
10880 fi # $ac_x_libraries = no
10882 case $ac_x_includes,$ac_x_libraries in #(
10883 no,* | *,no | *\'*)
10884 # Didn't find X, or a directory has "'" in its name.
10885 ac_cv_have_x="have_x=no";; #(
10887 # Record where we found X for the cache.
10888 ac_cv_have_x="have_x=yes\
10889 ac_x_includes='$ac_x_includes'\
10890 ac_x_libraries='$ac_x_libraries'"
10891 esac
10893 ;; #(
10894 *) have_x=yes;;
10895 esac
10896 eval "$ac_cv_have_x"
10897 fi # $with_x != no
10899 if test "$have_x" != yes; then
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10901 $as_echo "$have_x" >&6; }
10902 no_x=yes
10903 else
10904 # If each of the values was on the command line, it overrides each guess.
10905 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10906 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10907 # Update the cache value to reflect the command line values.
10908 ac_cv_have_x="have_x=yes\
10909 ac_x_includes='$x_includes'\
10910 ac_x_libraries='$x_libraries'"
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10912 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10915 if test "$no_x" = yes; then
10916 # Not all programs may use this symbol, but it does not hurt to define it.
10918 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10920 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10921 else
10922 if test -n "$x_includes"; then
10923 X_CFLAGS="$X_CFLAGS -I$x_includes"
10926 # It would also be nice to do this for all -L options, not just this one.
10927 if test -n "$x_libraries"; then
10928 X_LIBS="$X_LIBS -L$x_libraries"
10929 # For Solaris; some versions of Sun CC require a space after -R and
10930 # others require no space. Words are not sufficient . . . .
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10932 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10933 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10934 ac_xsave_c_werror_flag=$ac_c_werror_flag
10935 ac_c_werror_flag=yes
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10940 main ()
10944 return 0;
10946 _ACEOF
10947 if ac_fn_c_try_link "$LINENO"; then :
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10949 $as_echo "no" >&6; }
10950 X_LIBS="$X_LIBS -R$x_libraries"
10951 else
10952 LIBS="$ac_xsave_LIBS -R $x_libraries"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10957 main ()
10961 return 0;
10963 _ACEOF
10964 if ac_fn_c_try_link "$LINENO"; then :
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10966 $as_echo "yes" >&6; }
10967 X_LIBS="$X_LIBS -R $x_libraries"
10968 else
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10970 $as_echo "neither works" >&6; }
10972 rm -f core conftest.err conftest.$ac_objext \
10973 conftest$ac_exeext conftest.$ac_ext
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 ac_c_werror_flag=$ac_xsave_c_werror_flag
10978 LIBS=$ac_xsave_LIBS
10981 # Check for system-dependent libraries X programs must link with.
10982 # Do this before checking for the system-independent R6 libraries
10983 # (-lICE), since we may need -lsocket or whatever for X linking.
10985 if test "$ISC" = yes; then
10986 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10987 else
10988 # Martyn Johnson says this is needed for Ultrix, if the X
10989 # libraries were built with DECnet support. And Karl Berry says
10990 # the Alpha needs dnet_stub (dnet does not exist).
10991 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
10998 #ifdef __cplusplus
10999 extern "C"
11000 #endif
11001 char XOpenDisplay ();
11003 main ()
11005 return XOpenDisplay ();
11007 return 0;
11009 _ACEOF
11010 if ac_fn_c_try_link "$LINENO"; then :
11012 else
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11014 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11015 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11016 $as_echo_n "(cached) " >&6
11017 else
11018 ac_check_lib_save_LIBS=$LIBS
11019 LIBS="-ldnet $LIBS"
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11026 #ifdef __cplusplus
11027 extern "C"
11028 #endif
11029 char dnet_ntoa ();
11031 main ()
11033 return dnet_ntoa ();
11035 return 0;
11037 _ACEOF
11038 if ac_fn_c_try_link "$LINENO"; then :
11039 ac_cv_lib_dnet_dnet_ntoa=yes
11040 else
11041 ac_cv_lib_dnet_dnet_ntoa=no
11043 rm -f core conftest.err conftest.$ac_objext \
11044 conftest$ac_exeext conftest.$ac_ext
11045 LIBS=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11048 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11049 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11050 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11053 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11055 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11056 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11057 $as_echo_n "(cached) " >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-ldnet_stub $LIBS"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11067 #ifdef __cplusplus
11068 extern "C"
11069 #endif
11070 char dnet_ntoa ();
11072 main ()
11074 return dnet_ntoa ();
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11081 else
11082 ac_cv_lib_dnet_stub_dnet_ntoa=no
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11089 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11090 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11091 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS="$ac_xsave_LIBS"
11100 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11101 # to get the SysV transport functions.
11102 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11103 # needs -lnsl.
11104 # The nsl library prevents programs from opening the X display
11105 # on Irix 5.2, according to T.E. Dickey.
11106 # The functions gethostbyname, getservbyname, and inet_addr are
11107 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11108 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11109 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11113 if test $ac_cv_func_gethostbyname = no; then
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11115 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11116 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11117 $as_echo_n "(cached) " >&6
11118 else
11119 ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-lnsl $LIBS"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11127 #ifdef __cplusplus
11128 extern "C"
11129 #endif
11130 char gethostbyname ();
11132 main ()
11134 return gethostbyname ();
11136 return 0;
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11140 ac_cv_lib_nsl_gethostbyname=yes
11141 else
11142 ac_cv_lib_nsl_gethostbyname=no
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_lib_save_LIBS
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11149 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11150 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11151 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11154 if test $ac_cv_lib_nsl_gethostbyname = no; then
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11156 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11157 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11158 $as_echo_n "(cached) " >&6
11159 else
11160 ac_check_lib_save_LIBS=$LIBS
11161 LIBS="-lbsd $LIBS"
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11163 /* end confdefs.h. */
11165 /* Override any GCC internal prototype to avoid an error.
11166 Use char because int might match the return type of a GCC
11167 builtin and then its argument prototype would still apply. */
11168 #ifdef __cplusplus
11169 extern "C"
11170 #endif
11171 char gethostbyname ();
11173 main ()
11175 return gethostbyname ();
11177 return 0;
11179 _ACEOF
11180 if ac_fn_c_try_link "$LINENO"; then :
11181 ac_cv_lib_bsd_gethostbyname=yes
11182 else
11183 ac_cv_lib_bsd_gethostbyname=no
11185 rm -f core conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_lib_save_LIBS
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11190 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11191 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11192 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11198 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11199 # socket/setsockopt and other routines are undefined under SCO ODT
11200 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11201 # on later versions), says Simon Leinen: it contains gethostby*
11202 # variants that don't use the name server (or something). -lsocket
11203 # must be given before -lnsl if both are needed. We assume that
11204 # if connect needs -lnsl, so does gethostbyname.
11205 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11206 if test "x$ac_cv_func_connect" = xyes; then :
11210 if test $ac_cv_func_connect = no; then
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11212 $as_echo_n "checking for connect in -lsocket... " >&6; }
11213 if ${ac_cv_lib_socket_connect+:} false; then :
11214 $as_echo_n "(cached) " >&6
11215 else
11216 ac_check_lib_save_LIBS=$LIBS
11217 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11224 #ifdef __cplusplus
11225 extern "C"
11226 #endif
11227 char connect ();
11229 main ()
11231 return connect ();
11233 return 0;
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"; then :
11237 ac_cv_lib_socket_connect=yes
11238 else
11239 ac_cv_lib_socket_connect=no
11241 rm -f core conftest.err conftest.$ac_objext \
11242 conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11246 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11247 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11248 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11253 # Guillermo Gomez says -lposix is necessary on A/UX.
11254 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11255 if test "x$ac_cv_func_remove" = xyes; then :
11259 if test $ac_cv_func_remove = no; then
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11261 $as_echo_n "checking for remove in -lposix... " >&6; }
11262 if ${ac_cv_lib_posix_remove+:} false; then :
11263 $as_echo_n "(cached) " >&6
11264 else
11265 ac_check_lib_save_LIBS=$LIBS
11266 LIBS="-lposix $LIBS"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11273 #ifdef __cplusplus
11274 extern "C"
11275 #endif
11276 char remove ();
11278 main ()
11280 return remove ();
11282 return 0;
11284 _ACEOF
11285 if ac_fn_c_try_link "$LINENO"; then :
11286 ac_cv_lib_posix_remove=yes
11287 else
11288 ac_cv_lib_posix_remove=no
11290 rm -f core conftest.err conftest.$ac_objext \
11291 conftest$ac_exeext conftest.$ac_ext
11292 LIBS=$ac_check_lib_save_LIBS
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11295 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11296 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11297 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11302 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11303 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11304 if test "x$ac_cv_func_shmat" = xyes; then :
11308 if test $ac_cv_func_shmat = no; then
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11310 $as_echo_n "checking for shmat in -lipc... " >&6; }
11311 if ${ac_cv_lib_ipc_shmat+:} false; then :
11312 $as_echo_n "(cached) " >&6
11313 else
11314 ac_check_lib_save_LIBS=$LIBS
11315 LIBS="-lipc $LIBS"
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11322 #ifdef __cplusplus
11323 extern "C"
11324 #endif
11325 char shmat ();
11327 main ()
11329 return shmat ();
11331 return 0;
11333 _ACEOF
11334 if ac_fn_c_try_link "$LINENO"; then :
11335 ac_cv_lib_ipc_shmat=yes
11336 else
11337 ac_cv_lib_ipc_shmat=no
11339 rm -f core conftest.err conftest.$ac_objext \
11340 conftest$ac_exeext conftest.$ac_ext
11341 LIBS=$ac_check_lib_save_LIBS
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11344 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11345 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11346 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11352 # Check for libraries that X11R6 Xt/Xaw programs need.
11353 ac_save_LDFLAGS=$LDFLAGS
11354 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11355 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11356 # check for ICE first), but we must link in the order -lSM -lICE or
11357 # we get undefined symbols. So assume we have SM if we have ICE.
11358 # These have to be linked with before -lX11, unlike the other
11359 # libraries we check for below, so use a different variable.
11360 # John Interrante, Karl Berry
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11362 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11363 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11371 /* Override any GCC internal prototype to avoid an error.
11372 Use char because int might match the return type of a GCC
11373 builtin and then its argument prototype would still apply. */
11374 #ifdef __cplusplus
11375 extern "C"
11376 #endif
11377 char IceConnectionNumber ();
11379 main ()
11381 return IceConnectionNumber ();
11383 return 0;
11385 _ACEOF
11386 if ac_fn_c_try_link "$LINENO"; then :
11387 ac_cv_lib_ICE_IceConnectionNumber=yes
11388 else
11389 ac_cv_lib_ICE_IceConnectionNumber=no
11391 rm -f core conftest.err conftest.$ac_objext \
11392 conftest$ac_exeext conftest.$ac_ext
11393 LIBS=$ac_check_lib_save_LIBS
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11396 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11397 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11398 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11401 LDFLAGS=$ac_save_LDFLAGS
11406 if test "$have_x" = "yes"
11407 then
11408 ac_save_CPPFLAGS="$CPPFLAGS"
11409 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11412 $as_echo_n "checking for -lX11... " >&6; }
11413 if ${ac_cv_lib_soname_X11+:} false; then :
11414 $as_echo_n "(cached) " >&6
11415 else
11416 ac_check_soname_save_LIBS=$LIBS
11417 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11421 /* Override any GCC internal prototype to avoid an error.
11422 Use char because int might match the return type of a GCC
11423 builtin and then its argument prototype would still apply. */
11424 #ifdef __cplusplus
11425 extern "C"
11426 #endif
11427 char XCreateWindow ();
11429 main ()
11431 return XCreateWindow ();
11433 return 0;
11435 _ACEOF
11436 if ac_fn_c_try_link "$LINENO"; then :
11437 case "$LIBEXT" in
11438 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11439 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'` ;;
11440 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11441 if ${ac_cv_lib_soname_X11:+false} :; then :
11442 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11443 fi ;;
11444 esac
11445 else
11446 ac_cv_lib_soname_X11=
11448 rm -f core conftest.err conftest.$ac_objext \
11449 conftest$ac_exeext conftest.$ac_ext
11450 LIBS=$ac_check_soname_save_LIBS
11452 if ${ac_cv_lib_soname_X11:+false} :; then :
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11454 $as_echo "not found" >&6; }
11456 else
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11458 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11460 cat >>confdefs.h <<_ACEOF
11461 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11462 _ACEOF
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11467 $as_echo_n "checking for -lXext... " >&6; }
11468 if ${ac_cv_lib_soname_Xext+:} false; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_soname_save_LIBS=$LIBS
11472 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11476 /* Override any GCC internal prototype to avoid an error.
11477 Use char because int might match the return type of a GCC
11478 builtin and then its argument prototype would still apply. */
11479 #ifdef __cplusplus
11480 extern "C"
11481 #endif
11482 char XextCreateExtension ();
11484 main ()
11486 return XextCreateExtension ();
11488 return 0;
11490 _ACEOF
11491 if ac_fn_c_try_link "$LINENO"; then :
11492 case "$LIBEXT" in
11493 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11494 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'` ;;
11495 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11496 if ${ac_cv_lib_soname_Xext:+false} :; then :
11497 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11498 fi ;;
11499 esac
11500 else
11501 ac_cv_lib_soname_Xext=
11503 rm -f core conftest.err conftest.$ac_objext \
11504 conftest$ac_exeext conftest.$ac_ext
11505 LIBS=$ac_check_soname_save_LIBS
11507 if ${ac_cv_lib_soname_Xext:+false} :; then :
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11509 $as_echo "not found" >&6; }
11511 else
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11513 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11515 cat >>confdefs.h <<_ACEOF
11516 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11517 _ACEOF
11519 X_LIBS="$X_LIBS -lXext"
11521 X_LIBS="$X_LIBS -lX11"
11523 for ac_header in X11/Xlib.h \
11524 X11/XKBlib.h \
11525 X11/Xutil.h \
11526 X11/Xcursor/Xcursor.h \
11527 X11/extensions/shape.h \
11528 X11/extensions/XInput.h \
11529 X11/extensions/XInput2.h \
11530 X11/extensions/XShm.h \
11531 X11/extensions/Xcomposite.h \
11532 X11/extensions/Xfixes.h \
11533 X11/extensions/Xinerama.h \
11534 X11/extensions/Xrandr.h \
11535 X11/extensions/Xrender.h \
11536 X11/extensions/xf86vmode.h \
11537 X11/extensions/xf86vmproto.h
11538 do :
11539 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11540 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11541 # include <X11/Xlib.h>
11542 #endif
11543 #ifdef HAVE_X11_XUTIL_H
11544 # include <X11/Xutil.h>
11545 #endif
11547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11548 cat >>confdefs.h <<_ACEOF
11549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11550 _ACEOF
11554 done
11557 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11558 then
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11560 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11561 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11562 $as_echo_n "(cached) " >&6
11563 else
11564 ac_check_lib_save_LIBS=$LIBS
11565 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11567 /* end confdefs.h. */
11569 /* Override any GCC internal prototype to avoid an error.
11570 Use char because int might match the return type of a GCC
11571 builtin and then its argument prototype would still apply. */
11572 #ifdef __cplusplus
11573 extern "C"
11574 #endif
11575 char XkbQueryExtension ();
11577 main ()
11579 return XkbQueryExtension ();
11581 return 0;
11583 _ACEOF
11584 if ac_fn_c_try_link "$LINENO"; then :
11585 ac_cv_lib_X11_XkbQueryExtension=yes
11586 else
11587 ac_cv_lib_X11_XkbQueryExtension=no
11589 rm -f core conftest.err conftest.$ac_objext \
11590 conftest$ac_exeext conftest.$ac_ext
11591 LIBS=$ac_check_lib_save_LIBS
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11594 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11595 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11597 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11603 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11604 then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11606 $as_echo_n "checking for -lXcursor... " >&6; }
11607 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11608 $as_echo_n "(cached) " >&6
11609 else
11610 ac_check_soname_save_LIBS=$LIBS
11611 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h. */
11615 /* Override any GCC internal prototype to avoid an error.
11616 Use char because int might match the return type of a GCC
11617 builtin and then its argument prototype would still apply. */
11618 #ifdef __cplusplus
11619 extern "C"
11620 #endif
11621 char XcursorImageLoadCursor ();
11623 main ()
11625 return XcursorImageLoadCursor ();
11627 return 0;
11629 _ACEOF
11630 if ac_fn_c_try_link "$LINENO"; then :
11631 case "$LIBEXT" in
11632 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11633 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'` ;;
11634 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11635 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11636 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11637 fi ;;
11638 esac
11639 else
11640 ac_cv_lib_soname_Xcursor=
11642 rm -f core conftest.err conftest.$ac_objext \
11643 conftest$ac_exeext conftest.$ac_ext
11644 LIBS=$ac_check_soname_save_LIBS
11646 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11648 $as_echo "not found" >&6; }
11650 else
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11652 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11654 cat >>confdefs.h <<_ACEOF
11655 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11656 _ACEOF
11661 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11662 case "x$with_xcursor" in
11663 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11664 xno) ;;
11665 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11666 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11667 esac
11671 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11672 then
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11674 $as_echo_n "checking for -lXi... " >&6; }
11675 if ${ac_cv_lib_soname_Xi+:} false; then :
11676 $as_echo_n "(cached) " >&6
11677 else
11678 ac_check_soname_save_LIBS=$LIBS
11679 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char XOpenDevice ();
11691 main ()
11693 return XOpenDevice ();
11695 return 0;
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"; then :
11699 case "$LIBEXT" in
11700 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11701 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'` ;;
11702 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11703 if ${ac_cv_lib_soname_Xi:+false} :; then :
11704 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11705 fi ;;
11706 esac
11707 else
11708 ac_cv_lib_soname_Xi=
11710 rm -f core conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_soname_save_LIBS
11714 if ${ac_cv_lib_soname_Xi:+false} :; then :
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11716 $as_echo "not found" >&6; }
11718 else
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11720 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11722 cat >>confdefs.h <<_ACEOF
11723 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11724 _ACEOF
11729 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11730 case "x$with_xinput" in
11731 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11732 xno) ;;
11733 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11734 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11735 esac
11739 if test "x$ac_cv_lib_soname_Xi" != x
11740 then
11741 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11742 case "x$with_xinput2" in
11743 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11744 xno) ;;
11745 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11746 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11747 esac
11752 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11753 then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11755 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11756 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11757 $as_echo_n "(cached) " >&6
11758 else
11759 ac_check_lib_save_LIBS=$LIBS
11760 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11764 /* Override any GCC internal prototype to avoid an error.
11765 Use char because int might match the return type of a GCC
11766 builtin and then its argument prototype would still apply. */
11767 #ifdef __cplusplus
11768 extern "C"
11769 #endif
11770 char XShmQueryExtension ();
11772 main ()
11774 return XShmQueryExtension ();
11776 return 0;
11778 _ACEOF
11779 if ac_fn_c_try_link "$LINENO"; then :
11780 ac_cv_lib_Xext_XShmQueryExtension=yes
11781 else
11782 ac_cv_lib_Xext_XShmQueryExtension=no
11784 rm -f core conftest.err conftest.$ac_objext \
11785 conftest$ac_exeext conftest.$ac_ext
11786 LIBS=$ac_check_lib_save_LIBS
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11789 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11790 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11792 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11797 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11798 case "x$with_xshm" in
11799 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11800 xno) ;;
11801 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11802 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11803 esac
11807 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11808 then
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11810 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11811 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11812 $as_echo_n "(cached) " >&6
11813 else
11814 ac_check_lib_save_LIBS=$LIBS
11815 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11819 /* Override any GCC internal prototype to avoid an error.
11820 Use char because int might match the return type of a GCC
11821 builtin and then its argument prototype would still apply. */
11822 #ifdef __cplusplus
11823 extern "C"
11824 #endif
11825 char XShapeQueryExtension ();
11827 main ()
11829 return XShapeQueryExtension ();
11831 return 0;
11833 _ACEOF
11834 if ac_fn_c_try_link "$LINENO"; then :
11835 ac_cv_lib_Xext_XShapeQueryExtension=yes
11836 else
11837 ac_cv_lib_Xext_XShapeQueryExtension=no
11839 rm -f core conftest.err conftest.$ac_objext \
11840 conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_lib_save_LIBS
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11844 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11845 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11847 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11852 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11853 case "x$with_xshape" in
11854 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11855 xno) ;;
11856 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11857 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11858 esac
11862 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11863 then
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11865 $as_echo_n "checking for -lXxf86vm... " >&6; }
11866 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11867 $as_echo_n "(cached) " >&6
11868 else
11869 ac_check_soname_save_LIBS=$LIBS
11870 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11877 #ifdef __cplusplus
11878 extern "C"
11879 #endif
11880 char XF86VidModeQueryExtension ();
11882 main ()
11884 return XF86VidModeQueryExtension ();
11886 return 0;
11888 _ACEOF
11889 if ac_fn_c_try_link "$LINENO"; then :
11890 case "$LIBEXT" in
11891 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11892 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'` ;;
11893 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11894 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11895 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11896 fi ;;
11897 esac
11898 else
11899 ac_cv_lib_soname_Xxf86vm=
11901 rm -f core conftest.err conftest.$ac_objext \
11902 conftest$ac_exeext conftest.$ac_ext
11903 LIBS=$ac_check_soname_save_LIBS
11905 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11907 $as_echo "not found" >&6; }
11909 else
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11911 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11913 cat >>confdefs.h <<_ACEOF
11914 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11915 _ACEOF
11920 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11921 case "x$with_xxf86vm" in
11922 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11923 xno) ;;
11924 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11925 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11926 esac
11930 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11931 then
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11933 $as_echo_n "checking for -lXrender... " >&6; }
11934 if ${ac_cv_lib_soname_Xrender+:} false; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937 ac_check_soname_save_LIBS=$LIBS
11938 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11942 /* Override any GCC internal prototype to avoid an error.
11943 Use char because int might match the return type of a GCC
11944 builtin and then its argument prototype would still apply. */
11945 #ifdef __cplusplus
11946 extern "C"
11947 #endif
11948 char XRenderQueryExtension ();
11950 main ()
11952 return XRenderQueryExtension ();
11954 return 0;
11956 _ACEOF
11957 if ac_fn_c_try_link "$LINENO"; then :
11958 case "$LIBEXT" in
11959 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11960 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'` ;;
11961 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11962 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11963 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11964 fi ;;
11965 esac
11966 else
11967 ac_cv_lib_soname_Xrender=
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_soname_save_LIBS
11973 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11975 $as_echo "not found" >&6; }
11977 else
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11979 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11981 cat >>confdefs.h <<_ACEOF
11982 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11983 _ACEOF
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11986 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11987 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11988 $as_echo_n "(cached) " >&6
11989 else
11990 ac_check_lib_save_LIBS=$LIBS
11991 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
11998 #ifdef __cplusplus
11999 extern "C"
12000 #endif
12001 char XRenderSetPictureTransform ();
12003 main ()
12005 return XRenderSetPictureTransform ();
12007 return 0;
12009 _ACEOF
12010 if ac_fn_c_try_link "$LINENO"; then :
12011 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12012 else
12013 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12015 rm -f core conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_lib_save_LIBS
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12020 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12021 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12023 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12028 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12029 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12030 $as_echo_n "(cached) " >&6
12031 else
12032 ac_check_lib_save_LIBS=$LIBS
12033 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12040 #ifdef __cplusplus
12041 extern "C"
12042 #endif
12043 char XRenderCreateLinearGradient ();
12045 main ()
12047 return XRenderCreateLinearGradient ();
12049 return 0;
12051 _ACEOF
12052 if ac_fn_c_try_link "$LINENO"; then :
12053 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12054 else
12055 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12057 rm -f core conftest.err conftest.$ac_objext \
12058 conftest$ac_exeext conftest.$ac_ext
12059 LIBS=$ac_check_lib_save_LIBS
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12062 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12063 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12065 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12072 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12073 case "x$with_xrender" in
12074 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12075 xno) ;;
12076 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12077 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12078 esac
12082 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12083 then
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12086 #include <X11/Xlib.h>
12087 #include <X11/extensions/Xrandr.h>
12089 main ()
12091 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_compile "$LINENO"; then :
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12098 $as_echo_n "checking for -lXrandr... " >&6; }
12099 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_soname_save_LIBS=$LIBS
12103 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12110 #ifdef __cplusplus
12111 extern "C"
12112 #endif
12113 char XRRQueryExtension ();
12115 main ()
12117 return XRRQueryExtension ();
12119 return 0;
12121 _ACEOF
12122 if ac_fn_c_try_link "$LINENO"; then :
12123 case "$LIBEXT" in
12124 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12125 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'` ;;
12126 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12127 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12128 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12129 fi ;;
12130 esac
12131 else
12132 ac_cv_lib_soname_Xrandr=
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_soname_save_LIBS
12138 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12140 $as_echo "not found" >&6; }
12142 else
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12144 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12146 cat >>confdefs.h <<_ACEOF
12147 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12148 _ACEOF
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12152 #include <X11/Xlib.h>
12153 #include <X11/extensions/Xrandr.h>
12155 main ()
12157 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12159 return 0;
12161 _ACEOF
12162 if ac_fn_c_try_compile "$LINENO"; then :
12164 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12166 else
12167 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12174 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12175 case "x$with_xrandr" in
12176 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12177 xno) ;;
12178 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12179 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12180 esac
12184 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12185 then
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12188 #include <X11/Xlib.h>
12189 #include <X11/extensions/Xfixes.h>
12191 main ()
12193 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12195 return 0;
12197 _ACEOF
12198 if ac_fn_c_try_compile "$LINENO"; then :
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12200 $as_echo_n "checking for -lXfixes... " >&6; }
12201 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12202 $as_echo_n "(cached) " >&6
12203 else
12204 ac_check_soname_save_LIBS=$LIBS
12205 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12212 #ifdef __cplusplus
12213 extern "C"
12214 #endif
12215 char XFixesQueryVersion ();
12217 main ()
12219 return XFixesQueryVersion ();
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_link "$LINENO"; then :
12225 case "$LIBEXT" in
12226 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12227 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'` ;;
12228 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12229 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12230 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12231 fi ;;
12232 esac
12233 else
12234 ac_cv_lib_soname_Xfixes=
12236 rm -f core conftest.err conftest.$ac_objext \
12237 conftest$ac_exeext conftest.$ac_ext
12238 LIBS=$ac_check_soname_save_LIBS
12240 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12242 $as_echo "not found" >&6; }
12244 else
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12246 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12248 cat >>confdefs.h <<_ACEOF
12249 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12250 _ACEOF
12255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12257 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12258 case "x$with_xfixes" in
12259 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12260 xno) ;;
12261 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12262 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12263 esac
12267 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12268 then
12269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12271 #include <X11/Xlib.h>
12272 #include <X11/extensions/Xinerama.h>
12274 main ()
12276 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12278 return 0;
12280 _ACEOF
12281 if ac_fn_c_try_compile "$LINENO"; then :
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12283 $as_echo_n "checking for -lXinerama... " >&6; }
12284 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12285 $as_echo_n "(cached) " >&6
12286 else
12287 ac_check_soname_save_LIBS=$LIBS
12288 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12290 /* end confdefs.h. */
12292 /* Override any GCC internal prototype to avoid an error.
12293 Use char because int might match the return type of a GCC
12294 builtin and then its argument prototype would still apply. */
12295 #ifdef __cplusplus
12296 extern "C"
12297 #endif
12298 char XineramaQueryScreens ();
12300 main ()
12302 return XineramaQueryScreens ();
12304 return 0;
12306 _ACEOF
12307 if ac_fn_c_try_link "$LINENO"; then :
12308 case "$LIBEXT" in
12309 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12310 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'` ;;
12311 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12312 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12313 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12314 fi ;;
12315 esac
12316 else
12317 ac_cv_lib_soname_Xinerama=
12319 rm -f core conftest.err conftest.$ac_objext \
12320 conftest$ac_exeext conftest.$ac_ext
12321 LIBS=$ac_check_soname_save_LIBS
12323 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12325 $as_echo "not found" >&6; }
12327 else
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12329 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12331 cat >>confdefs.h <<_ACEOF
12332 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12333 _ACEOF
12338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12340 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12341 case "x$with_xinerama" in
12342 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12343 xno) ;;
12344 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12345 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12346 esac
12350 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12351 then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12353 $as_echo_n "checking for -lXcomposite... " >&6; }
12354 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12355 $as_echo_n "(cached) " >&6
12356 else
12357 ac_check_soname_save_LIBS=$LIBS
12358 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12365 #ifdef __cplusplus
12366 extern "C"
12367 #endif
12368 char XCompositeRedirectWindow ();
12370 main ()
12372 return XCompositeRedirectWindow ();
12374 return 0;
12376 _ACEOF
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 case "$LIBEXT" in
12379 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12380 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'` ;;
12381 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12382 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12383 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12384 fi ;;
12385 esac
12386 else
12387 ac_cv_lib_soname_Xcomposite=
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 LIBS=$ac_check_soname_save_LIBS
12393 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12395 $as_echo "not found" >&6; }
12397 else
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12399 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12401 cat >>confdefs.h <<_ACEOF
12402 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12403 _ACEOF
12408 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12409 case "x$with_xcomposite" in
12410 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12411 xno) ;;
12412 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12413 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12414 esac
12418 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12419 #include <X11/Xlib.h>
12420 #endif
12422 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12424 cat >>confdefs.h <<_ACEOF
12425 #define HAVE_XICCALLBACK_CALLBACK 1
12426 _ACEOF
12430 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12431 #include <X11/Xlib.h>
12432 #endif
12434 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12436 cat >>confdefs.h <<_ACEOF
12437 #define HAVE_XEVENT_XCOOKIE 1
12438 _ACEOF
12445 opengl_msg=""
12446 if test "x$with_opengl" != "xno"
12447 then
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12449 $as_echo_n "checking for -lGL... " >&6; }
12450 if ${ac_cv_lib_soname_GL+:} false; then :
12451 $as_echo_n "(cached) " >&6
12452 else
12453 ac_check_soname_save_LIBS=$LIBS
12454 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12458 /* Override any GCC internal prototype to avoid an error.
12459 Use char because int might match the return type of a GCC
12460 builtin and then its argument prototype would still apply. */
12461 #ifdef __cplusplus
12462 extern "C"
12463 #endif
12464 char glXCreateContext ();
12466 main ()
12468 return glXCreateContext ();
12470 return 0;
12472 _ACEOF
12473 if ac_fn_c_try_link "$LINENO"; then :
12474 case "$LIBEXT" in
12475 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12476 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'` ;;
12477 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12478 if ${ac_cv_lib_soname_GL:+false} :; then :
12479 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12480 fi ;;
12481 esac
12482 else
12483 ac_cv_lib_soname_GL=
12485 rm -f core conftest.err conftest.$ac_objext \
12486 conftest$ac_exeext conftest.$ac_ext
12487 LIBS=$ac_check_soname_save_LIBS
12489 if ${ac_cv_lib_soname_GL:+false} :; then :
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12491 $as_echo "not found" >&6; }
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12493 $as_echo_n "checking for -lGL... " >&6; }
12494 if ${ac_cv_lib_soname_GL+:} false; then :
12495 $as_echo_n "(cached) " >&6
12496 else
12497 ac_check_soname_save_LIBS=$LIBS
12498 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"
12499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12502 /* Override any GCC internal prototype to avoid an error.
12503 Use char because int might match the return type of a GCC
12504 builtin and then its argument prototype would still apply. */
12505 #ifdef __cplusplus
12506 extern "C"
12507 #endif
12508 char glXCreateContext ();
12510 main ()
12512 return glXCreateContext ();
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_link "$LINENO"; then :
12518 case "$LIBEXT" in
12519 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12520 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'` ;;
12521 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12522 if ${ac_cv_lib_soname_GL:+false} :; then :
12523 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12524 fi ;;
12525 esac
12526 else
12527 ac_cv_lib_soname_GL=
12529 rm -f core conftest.err conftest.$ac_objext \
12530 conftest$ac_exeext conftest.$ac_ext
12531 LIBS=$ac_check_soname_save_LIBS
12533 if ${ac_cv_lib_soname_GL:+false} :; then :
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12535 $as_echo "not found" >&6; }
12536 if test -f /usr/X11R6/lib/libGL.a
12537 then
12538 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12539 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12540 else
12541 opengl_msg="No OpenGL library found on this system."
12543 else
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12545 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12547 cat >>confdefs.h <<_ACEOF
12548 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12549 _ACEOF
12551 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"
12553 else
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12555 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12557 cat >>confdefs.h <<_ACEOF
12558 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12559 _ACEOF
12561 OPENGL_LIBS="-lGL"
12563 if test "x$with_glu" != "xno"
12564 then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12566 $as_echo_n "checking for -lGLU... " >&6; }
12567 if ${ac_cv_lib_soname_GLU+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_check_soname_save_LIBS=$LIBS
12571 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12578 #ifdef __cplusplus
12579 extern "C"
12580 #endif
12581 char gluLookAt ();
12583 main ()
12585 return gluLookAt ();
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 case "$LIBEXT" in
12592 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12593 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12594 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12595 if ${ac_cv_lib_soname_GLU:+false} :; then :
12596 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12597 fi ;;
12598 esac
12599 else
12600 ac_cv_lib_soname_GLU=
12602 rm -f core conftest.err conftest.$ac_objext \
12603 conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_soname_save_LIBS
12606 if ${ac_cv_lib_soname_GLU:+false} :; then :
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12608 $as_echo "not found" >&6; }
12610 else
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12612 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12614 cat >>confdefs.h <<_ACEOF
12615 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12616 _ACEOF
12620 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12621 case "x$with_glu" in
12622 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12623 xno) ;;
12624 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12625 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12626 esac
12631 if test "x$with_osmesa" != "xno"
12632 then
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12634 $as_echo_n "checking for -lOSMesa... " >&6; }
12635 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12636 $as_echo_n "(cached) " >&6
12637 else
12638 ac_check_soname_save_LIBS=$LIBS
12639 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12643 /* Override any GCC internal prototype to avoid an error.
12644 Use char because int might match the return type of a GCC
12645 builtin and then its argument prototype would still apply. */
12646 #ifdef __cplusplus
12647 extern "C"
12648 #endif
12649 char OSMesaGetProcAddress ();
12651 main ()
12653 return OSMesaGetProcAddress ();
12655 return 0;
12657 _ACEOF
12658 if ac_fn_c_try_link "$LINENO"; then :
12659 case "$LIBEXT" in
12660 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12661 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'` ;;
12662 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12663 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12664 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12665 fi ;;
12666 esac
12667 else
12668 ac_cv_lib_soname_OSMesa=
12670 rm -f core conftest.err conftest.$ac_objext \
12671 conftest$ac_exeext conftest.$ac_ext
12672 LIBS=$ac_check_soname_save_LIBS
12674 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12676 $as_echo "not found" >&6; }
12678 else
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12680 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12682 cat >>confdefs.h <<_ACEOF
12683 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12684 _ACEOF
12688 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12689 case "x$with_osmesa" in
12690 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12691 xno) ;;
12692 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12693 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12694 esac
12699 if test -n "$opengl_msg"; then :
12700 case "x$with_opengl" in
12701 x) as_fn_append wine_warnings "|$opengl_msg
12702 OpenGL and Direct3D won't be supported." ;;
12703 xno) ;;
12704 *) as_fn_error $? "$opengl_msg
12705 OpenGL and Direct3D won't be supported.
12706 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12707 esac
12711 CPPFLAGS="$ac_save_CPPFLAGS"
12712 else
12713 X_CFLAGS=""
12714 X_LIBS=""
12717 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12718 then
12719 if test "x$X_LIBS" = "x"; then :
12720 case "x$with_x" in
12721 xno) ;;
12722 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12723 without X support, which probably isn't what you want. You will need
12724 to install ${notice_platform}development packages of Xlib at the very least.
12725 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12726 esac
12727 enable_winex11_drv=${enable_winex11_drv:-no}
12729 else
12730 if test "x$X_LIBS" = "x"; then :
12731 case "x$with_x" in
12732 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12733 xno) ;;
12734 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12735 This is an error since --with-x was requested." "$LINENO" 5 ;;
12736 esac
12737 enable_winex11_drv=${enable_winex11_drv:-no}
12741 if test "$ac_cv_header_CL_cl_h" = "yes"
12742 then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12744 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12745 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12746 $as_echo_n "(cached) " >&6
12747 else
12748 ac_check_lib_save_LIBS=$LIBS
12749 LIBS="-lOpenCL $LIBS"
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 /* Override any GCC internal prototype to avoid an error.
12754 Use char because int might match the return type of a GCC
12755 builtin and then its argument prototype would still apply. */
12756 #ifdef __cplusplus
12757 extern "C"
12758 #endif
12759 char clGetPlatformInfo ();
12761 main ()
12763 return clGetPlatformInfo ();
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_link "$LINENO"; then :
12769 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12770 else
12771 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12773 rm -f core conftest.err conftest.$ac_objext \
12774 conftest$ac_exeext conftest.$ac_ext
12775 LIBS=$ac_check_lib_save_LIBS
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12778 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12779 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12780 OPENCL_LIBS="-lOpenCL"
12785 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12786 case "x$with_opencl" in
12787 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12788 xno) ;;
12789 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12790 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12791 esac
12792 enable_opencl=${enable_opencl:-no}
12795 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12796 then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12798 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12799 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12800 $as_echo_n "(cached) " >&6
12801 else
12802 ac_check_lib_save_LIBS=$LIBS
12803 LIBS="-lpcap $LIBS"
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12807 /* Override any GCC internal prototype to avoid an error.
12808 Use char because int might match the return type of a GCC
12809 builtin and then its argument prototype would still apply. */
12810 #ifdef __cplusplus
12811 extern "C"
12812 #endif
12813 char pcap_create ();
12815 main ()
12817 return pcap_create ();
12819 return 0;
12821 _ACEOF
12822 if ac_fn_c_try_link "$LINENO"; then :
12823 ac_cv_lib_pcap_pcap_create=yes
12824 else
12825 ac_cv_lib_pcap_pcap_create=no
12827 rm -f core conftest.err conftest.$ac_objext \
12828 conftest$ac_exeext conftest.$ac_ext
12829 LIBS=$ac_check_lib_save_LIBS
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12832 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12833 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12834 PCAP_LIBS="-lpcap"
12839 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12840 case "x$with_pcap" in
12841 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12842 xno) ;;
12843 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12844 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12845 esac
12846 enable_wpcap=${enable_wpcap:-no}
12850 if test "x$with_xml" != "xno"
12851 then
12852 if ${XML2_CFLAGS:+false} :; then :
12853 if ${PKG_CONFIG+:} false; then :
12854 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12857 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12858 if ${XML2_LIBS:+false} :; then :
12859 if ${PKG_CONFIG+:} false; then :
12860 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12863 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12864 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12865 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12866 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12867 ac_save_CPPFLAGS=$CPPFLAGS
12868 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12869 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12870 do :
12871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12872 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12874 cat >>confdefs.h <<_ACEOF
12875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12876 _ACEOF
12880 done
12882 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"
12883 then
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12885 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12886 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 ac_check_lib_save_LIBS=$LIBS
12890 LIBS="-lxml2 $XML2_LIBS $LIBS"
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12894 /* Override any GCC internal prototype to avoid an error.
12895 Use char because int might match the return type of a GCC
12896 builtin and then its argument prototype would still apply. */
12897 #ifdef __cplusplus
12898 extern "C"
12899 #endif
12900 char xmlParseMemory ();
12902 main ()
12904 return xmlParseMemory ();
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 ac_cv_lib_xml2_xmlParseMemory=yes
12911 else
12912 ac_cv_lib_xml2_xmlParseMemory=no
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_lib_save_LIBS
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12919 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12920 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12922 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12924 else
12925 XML2_LIBS=""
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12929 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12930 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12931 $as_echo_n "(cached) " >&6
12932 else
12933 ac_check_lib_save_LIBS=$LIBS
12934 LIBS="-lxml2 $XML2_LIBS $LIBS"
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12941 #ifdef __cplusplus
12942 extern "C"
12943 #endif
12944 char xmlReadMemory ();
12946 main ()
12948 return xmlReadMemory ();
12950 return 0;
12952 _ACEOF
12953 if ac_fn_c_try_link "$LINENO"; then :
12954 ac_cv_lib_xml2_xmlReadMemory=yes
12955 else
12956 ac_cv_lib_xml2_xmlReadMemory=no
12958 rm -f core conftest.err conftest.$ac_objext \
12959 conftest$ac_exeext conftest.$ac_ext
12960 LIBS=$ac_check_lib_save_LIBS
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12963 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12964 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12966 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12971 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12972 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12973 $as_echo_n "(cached) " >&6
12974 else
12975 ac_check_lib_save_LIBS=$LIBS
12976 LIBS="-lxml2 $XML2_LIBS $LIBS"
12977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12978 /* end confdefs.h. */
12980 /* Override any GCC internal prototype to avoid an error.
12981 Use char because int might match the return type of a GCC
12982 builtin and then its argument prototype would still apply. */
12983 #ifdef __cplusplus
12984 extern "C"
12985 #endif
12986 char xmlNewDocPI ();
12988 main ()
12990 return xmlNewDocPI ();
12992 return 0;
12994 _ACEOF
12995 if ac_fn_c_try_link "$LINENO"; then :
12996 ac_cv_lib_xml2_xmlNewDocPI=yes
12997 else
12998 ac_cv_lib_xml2_xmlNewDocPI=no
13000 rm -f core conftest.err conftest.$ac_objext \
13001 conftest$ac_exeext conftest.$ac_ext
13002 LIBS=$ac_check_lib_save_LIBS
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13005 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13006 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13008 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13013 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13014 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13015 $as_echo_n "(cached) " >&6
13016 else
13017 ac_check_lib_save_LIBS=$LIBS
13018 LIBS="-lxml2 $XML2_LIBS $LIBS"
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13025 #ifdef __cplusplus
13026 extern "C"
13027 #endif
13028 char xmlSchemaSetParserStructuredErrors ();
13030 main ()
13032 return xmlSchemaSetParserStructuredErrors ();
13034 return 0;
13036 _ACEOF
13037 if ac_fn_c_try_link "$LINENO"; then :
13038 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13039 else
13040 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13042 rm -f core conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_lib_save_LIBS
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13047 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13048 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13050 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13055 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13056 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13057 $as_echo_n "(cached) " >&6
13058 else
13059 ac_check_lib_save_LIBS=$LIBS
13060 LIBS="-lxml2 $XML2_LIBS $LIBS"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13067 #ifdef __cplusplus
13068 extern "C"
13069 #endif
13070 char xmlSchemaSetValidStructuredErrors ();
13072 main ()
13074 return xmlSchemaSetValidStructuredErrors ();
13076 return 0;
13078 _ACEOF
13079 if ac_fn_c_try_link "$LINENO"; then :
13080 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13081 else
13082 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13084 rm -f core conftest.err conftest.$ac_objext \
13085 conftest$ac_exeext conftest.$ac_ext
13086 LIBS=$ac_check_lib_save_LIBS
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13089 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13090 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13092 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13097 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13098 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13099 $as_echo_n "(cached) " >&6
13100 else
13101 ac_check_lib_save_LIBS=$LIBS
13102 LIBS="-lxml2 $XML2_LIBS $LIBS"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13109 #ifdef __cplusplus
13110 extern "C"
13111 #endif
13112 char xmlFirstElementChild ();
13114 main ()
13116 return xmlFirstElementChild ();
13118 return 0;
13120 _ACEOF
13121 if ac_fn_c_try_link "$LINENO"; then :
13122 ac_cv_lib_xml2_xmlFirstElementChild=yes
13123 else
13124 ac_cv_lib_xml2_xmlFirstElementChild=no
13126 rm -f core conftest.err conftest.$ac_objext \
13127 conftest$ac_exeext conftest.$ac_ext
13128 LIBS=$ac_check_lib_save_LIBS
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13131 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13132 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13134 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13138 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13140 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13142 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13146 else
13147 XML2_CFLAGS=""
13148 XML2_LIBS=""
13150 CPPFLAGS=$ac_save_CPPFLAGS
13153 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13154 case "x$with_xml" in
13155 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13156 xno) ;;
13157 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13158 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13159 esac
13163 if test "x$with_xslt" != "xno"
13164 then
13165 if ${XSLT_CFLAGS:+false} :; then :
13166 if ${PKG_CONFIG+:} false; then :
13167 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13170 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13171 if ${XSLT_LIBS:+false} :; then :
13172 if ${PKG_CONFIG+:} false; then :
13173 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13176 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13177 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13178 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13179 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13180 ac_save_CPPFLAGS=$CPPFLAGS
13181 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13182 for ac_header in libxslt/pattern.h libxslt/transform.h
13183 do :
13184 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13185 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13186 # include <libxslt/pattern.h>
13187 #endif
13189 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13190 cat >>confdefs.h <<_ACEOF
13191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13192 _ACEOF
13196 done
13198 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13199 then
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13201 $as_echo_n "checking for -lxslt... " >&6; }
13202 if ${ac_cv_lib_soname_xslt+:} false; then :
13203 $as_echo_n "(cached) " >&6
13204 else
13205 ac_check_soname_save_LIBS=$LIBS
13206 LIBS="-lxslt $XSLT_LIBS $LIBS"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13213 #ifdef __cplusplus
13214 extern "C"
13215 #endif
13216 char xsltCompilePattern ();
13218 main ()
13220 return xsltCompilePattern ();
13222 return 0;
13224 _ACEOF
13225 if ac_fn_c_try_link "$LINENO"; then :
13226 case "$LIBEXT" in
13227 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13228 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'` ;;
13229 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13230 if ${ac_cv_lib_soname_xslt:+false} :; then :
13231 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13232 fi ;;
13233 esac
13234 else
13235 ac_cv_lib_soname_xslt=
13237 rm -f core conftest.err conftest.$ac_objext \
13238 conftest$ac_exeext conftest.$ac_ext
13239 LIBS=$ac_check_soname_save_LIBS
13241 if ${ac_cv_lib_soname_xslt:+false} :; then :
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13243 $as_echo "not found" >&6; }
13245 else
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13247 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13249 cat >>confdefs.h <<_ACEOF
13250 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13251 _ACEOF
13255 else
13256 XSLT_CFLAGS=""
13258 CPPFLAGS=$ac_save_CPPFLAGS
13261 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13262 case "x$with_xslt" in
13263 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13264 xno) ;;
13265 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13266 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13267 esac
13271 if test "x$with_inotify" != "xno"
13272 then
13273 if ${INOTIFY_CFLAGS:+false} :; then :
13274 if ${PKG_CONFIG+:} false; then :
13275 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13279 if ${INOTIFY_LIBS:+false} :; then :
13280 if ${PKG_CONFIG+:} false; then :
13281 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13286 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13287 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13288 ac_save_CPPFLAGS=$CPPFLAGS
13289 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13290 for ac_header in sys/inotify.h
13291 do :
13292 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13293 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13294 cat >>confdefs.h <<_ACEOF
13295 #define HAVE_SYS_INOTIFY_H 1
13296 _ACEOF
13300 done
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13303 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13304 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13305 $as_echo_n "(cached) " >&6
13306 else
13307 ac_check_lib_save_LIBS=$LIBS
13308 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13310 /* end confdefs.h. */
13312 /* Override any GCC internal prototype to avoid an error.
13313 Use char because int might match the return type of a GCC
13314 builtin and then its argument prototype would still apply. */
13315 #ifdef __cplusplus
13316 extern "C"
13317 #endif
13318 char inotify_add_watch ();
13320 main ()
13322 return inotify_add_watch ();
13324 return 0;
13326 _ACEOF
13327 if ac_fn_c_try_link "$LINENO"; then :
13328 ac_cv_lib_inotify_inotify_add_watch=yes
13329 else
13330 ac_cv_lib_inotify_inotify_add_watch=no
13332 rm -f core conftest.err conftest.$ac_objext \
13333 conftest$ac_exeext conftest.$ac_ext
13334 LIBS=$ac_check_lib_save_LIBS
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13337 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13338 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13340 else
13341 INOTIFY_LIBS=""
13344 CPPFLAGS=$ac_save_CPPFLAGS
13347 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13348 case "x$with_inotify" in
13349 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13350 xno) ;;
13351 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13352 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13353 esac
13357 if test "x$with_dbus" != "xno"
13358 then
13359 if ${DBUS_CFLAGS:+false} :; then :
13360 if ${PKG_CONFIG+:} false; then :
13361 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13365 if ${DBUS_LIBS:+false} :; then :
13366 if ${PKG_CONFIG+:} false; then :
13367 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13372 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13373 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13374 ac_save_CPPFLAGS=$CPPFLAGS
13375 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13376 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13377 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13379 $as_echo_n "checking for -ldbus-1... " >&6; }
13380 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13381 $as_echo_n "(cached) " >&6
13382 else
13383 ac_check_soname_save_LIBS=$LIBS
13384 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13391 #ifdef __cplusplus
13392 extern "C"
13393 #endif
13394 char dbus_connection_close ();
13396 main ()
13398 return dbus_connection_close ();
13400 return 0;
13402 _ACEOF
13403 if ac_fn_c_try_link "$LINENO"; then :
13404 case "$LIBEXT" in
13405 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13406 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'` ;;
13407 *) 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'`
13408 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13409 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13410 fi ;;
13411 esac
13412 else
13413 ac_cv_lib_soname_dbus_1=
13415 rm -f core conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS=$ac_check_soname_save_LIBS
13419 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13421 $as_echo "not found" >&6; }
13422 DBUS_CFLAGS=""
13423 else
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13425 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13429 _ACEOF
13433 else
13434 DBUS_CFLAGS=""
13438 CPPFLAGS=$ac_save_CPPFLAGS
13441 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13442 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13443 case "x$with_dbus" in
13444 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13445 xno) ;;
13446 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13447 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13448 esac
13452 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13453 then
13454 if ${HAL_CFLAGS:+false} :; then :
13455 if ${PKG_CONFIG+:} false; then :
13456 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13460 if ${HAL_LIBS:+false} :; then :
13461 if ${PKG_CONFIG+:} false; then :
13462 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13466 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13467 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13468 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13469 ac_save_CPPFLAGS=$CPPFLAGS
13470 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13471 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13472 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13474 $as_echo_n "checking for -lhal... " >&6; }
13475 if ${ac_cv_lib_soname_hal+:} false; then :
13476 $as_echo_n "(cached) " >&6
13477 else
13478 ac_check_soname_save_LIBS=$LIBS
13479 LIBS="-lhal $HAL_LIBS $LIBS"
13480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13486 #ifdef __cplusplus
13487 extern "C"
13488 #endif
13489 char libhal_ctx_new ();
13491 main ()
13493 return libhal_ctx_new ();
13495 return 0;
13497 _ACEOF
13498 if ac_fn_c_try_link "$LINENO"; then :
13499 case "$LIBEXT" in
13500 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13501 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'` ;;
13502 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13503 if ${ac_cv_lib_soname_hal:+false} :; then :
13504 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13505 fi ;;
13506 esac
13507 else
13508 ac_cv_lib_soname_hal=
13510 rm -f core conftest.err conftest.$ac_objext \
13511 conftest$ac_exeext conftest.$ac_ext
13512 LIBS=$ac_check_soname_save_LIBS
13514 if ${ac_cv_lib_soname_hal:+false} :; then :
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13516 $as_echo "not found" >&6; }
13517 HAL_CFLAGS=""
13518 else
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13520 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13522 cat >>confdefs.h <<_ACEOF
13523 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13524 _ACEOF
13528 else
13529 HAL_CFLAGS=""
13533 CPPFLAGS=$ac_save_CPPFLAGS
13535 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13536 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13537 case "x$with_hal" in
13538 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13539 xno) ;;
13540 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13541 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13542 esac
13547 if test "x$with_gnutls" != "xno"
13548 then
13549 if ${GNUTLS_CFLAGS:+false} :; then :
13550 if ${PKG_CONFIG+:} false; then :
13551 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13555 if ${GNUTLS_LIBS:+false} :; then :
13556 if ${PKG_CONFIG+:} false; then :
13557 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13561 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13562 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13563 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13564 ac_save_CPPFLAGS=$CPPFLAGS
13565 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13566 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13567 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13570 #include <gnutls/gnutls.h>
13571 #include <gnutls/crypto.h>
13573 main ()
13575 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13577 return 0;
13579 _ACEOF
13580 if ac_fn_c_try_compile "$LINENO"; then :
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13582 $as_echo_n "checking for -lgnutls... " >&6; }
13583 if ${ac_cv_lib_soname_gnutls+:} false; then :
13584 $as_echo_n "(cached) " >&6
13585 else
13586 ac_check_soname_save_LIBS=$LIBS
13587 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13591 /* Override any GCC internal prototype to avoid an error.
13592 Use char because int might match the return type of a GCC
13593 builtin and then its argument prototype would still apply. */
13594 #ifdef __cplusplus
13595 extern "C"
13596 #endif
13597 char gnutls_global_init ();
13599 main ()
13601 return gnutls_global_init ();
13603 return 0;
13605 _ACEOF
13606 if ac_fn_c_try_link "$LINENO"; then :
13607 case "$LIBEXT" in
13608 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13609 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'` ;;
13610 *) 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'`
13611 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13612 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'`
13613 fi ;;
13614 esac
13615 else
13616 ac_cv_lib_soname_gnutls=
13618 rm -f core conftest.err conftest.$ac_objext \
13619 conftest$ac_exeext conftest.$ac_ext
13620 LIBS=$ac_check_soname_save_LIBS
13622 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13624 $as_echo "not found" >&6; }
13625 GNUTLS_CFLAGS=""
13626 else
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13628 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13630 cat >>confdefs.h <<_ACEOF
13631 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13632 _ACEOF
13636 ac_wine_check_funcs_save_LIBS="$LIBS"
13637 LIBS="$LIBS $GNUTLS_LIBS"
13638 for ac_func in gnutls_cipher_init
13639 do :
13640 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13641 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13642 cat >>confdefs.h <<_ACEOF
13643 #define HAVE_GNUTLS_CIPHER_INIT 1
13644 _ACEOF
13646 else
13647 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13649 done
13651 LIBS="$ac_wine_check_funcs_save_LIBS"
13653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13654 else
13655 GNUTLS_CFLAGS=""
13659 CPPFLAGS=$ac_save_CPPFLAGS
13662 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13663 case "x$with_gnutls" in
13664 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13665 xno) ;;
13666 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13667 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13668 esac
13672 CURSES_LIBS=""
13673 if test "$ac_cv_header_ncurses_h" = "yes"
13674 then
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13676 $as_echo_n "checking for -lncurses... " >&6; }
13677 if ${ac_cv_lib_soname_ncurses+:} false; then :
13678 $as_echo_n "(cached) " >&6
13679 else
13680 ac_check_soname_save_LIBS=$LIBS
13681 LIBS="-lncurses $LIBS"
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13685 /* Override any GCC internal prototype to avoid an error.
13686 Use char because int might match the return type of a GCC
13687 builtin and then its argument prototype would still apply. */
13688 #ifdef __cplusplus
13689 extern "C"
13690 #endif
13691 char waddch ();
13693 main ()
13695 return waddch ();
13697 return 0;
13699 _ACEOF
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 case "$LIBEXT" in
13702 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13703 dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13704 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13705 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13706 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13707 fi ;;
13708 esac
13709 else
13710 ac_cv_lib_soname_ncurses=
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 LIBS=$ac_check_soname_save_LIBS
13716 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13718 $as_echo "not found" >&6; }
13720 else
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13722 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13724 cat >>confdefs.h <<_ACEOF
13725 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13726 _ACEOF
13728 CURSES_LIBS="-lncurses"
13730 elif test "$ac_cv_header_curses_h" = "yes"
13731 then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13733 $as_echo_n "checking for -lcurses... " >&6; }
13734 if ${ac_cv_lib_soname_curses+:} false; then :
13735 $as_echo_n "(cached) " >&6
13736 else
13737 ac_check_soname_save_LIBS=$LIBS
13738 LIBS="-lcurses $LIBS"
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13745 #ifdef __cplusplus
13746 extern "C"
13747 #endif
13748 char waddch ();
13750 main ()
13752 return waddch ();
13754 return 0;
13756 _ACEOF
13757 if ac_fn_c_try_link "$LINENO"; then :
13758 case "$LIBEXT" in
13759 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13760 dylib) ac_cv_lib_soname_curses=`$OTOOL -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13761 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13762 if ${ac_cv_lib_soname_curses:+false} :; then :
13763 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13764 fi ;;
13765 esac
13766 else
13767 ac_cv_lib_soname_curses=
13769 rm -f core conftest.err conftest.$ac_objext \
13770 conftest$ac_exeext conftest.$ac_ext
13771 LIBS=$ac_check_soname_save_LIBS
13773 if ${ac_cv_lib_soname_curses:+false} :; then :
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13775 $as_echo "not found" >&6; }
13777 else
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13779 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13781 cat >>confdefs.h <<_ACEOF
13782 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13783 _ACEOF
13785 CURSES_LIBS="-lcurses"
13788 ac_save_LIBS="$LIBS"
13789 LIBS="$LIBS $CURSES_LIBS"
13790 for ac_func in mousemask
13791 do :
13792 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13793 if test "x$ac_cv_func_mousemask" = xyes; then :
13794 cat >>confdefs.h <<_ACEOF
13795 #define HAVE_MOUSEMASK 1
13796 _ACEOF
13799 done
13801 LIBS="$ac_save_LIBS"
13802 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13803 case "x$with_curses" in
13804 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13805 xno) ;;
13806 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13807 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13808 esac
13812 if test "x$with_sane" != "xno"
13813 then
13814 if ${SANE_CFLAGS:+false} :; then :
13815 if ${PKG_CONFIG+:} false; then :
13816 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13819 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13820 if ${SANE_LIBS:+false} :; then :
13821 if ${PKG_CONFIG+:} false; then :
13822 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13825 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13827 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13828 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13829 ac_save_CPPFLAGS=$CPPFLAGS
13830 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13831 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13832 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13834 $as_echo_n "checking for -lsane... " >&6; }
13835 if ${ac_cv_lib_soname_sane+:} false; then :
13836 $as_echo_n "(cached) " >&6
13837 else
13838 ac_check_soname_save_LIBS=$LIBS
13839 LIBS="-lsane $SANE_LIBS $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 #ifdef __cplusplus
13847 extern "C"
13848 #endif
13849 char sane_init ();
13851 main ()
13853 return sane_init ();
13855 return 0;
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"; then :
13859 case "$LIBEXT" in
13860 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13861 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'` ;;
13862 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13863 if ${ac_cv_lib_soname_sane:+false} :; then :
13864 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13865 fi ;;
13866 esac
13867 else
13868 ac_cv_lib_soname_sane=
13870 rm -f core conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_soname_save_LIBS
13874 if ${ac_cv_lib_soname_sane:+false} :; then :
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13876 $as_echo "not found" >&6; }
13877 SANE_CFLAGS=""
13878 else
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13880 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13882 cat >>confdefs.h <<_ACEOF
13883 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13884 _ACEOF
13888 else
13889 SANE_CFLAGS=""
13893 CPPFLAGS=$ac_save_CPPFLAGS
13896 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13897 case "x$with_sane" in
13898 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13899 xno) ;;
13900 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13901 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13902 esac
13906 if test "x$with_usb" != "xno"
13907 then
13908 if ${USB_CFLAGS:+false} :; then :
13909 if ${PKG_CONFIG+:} false; then :
13910 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13914 if ${USB_LIBS:+false} :; then :
13915 if ${PKG_CONFIG+:} false; then :
13916 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13920 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13921 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13922 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13923 ac_save_CPPFLAGS=$CPPFLAGS
13924 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13925 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13926 if test "x$ac_cv_header_libusb_h" = xyes; then :
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13928 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13929 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13930 $as_echo_n "(cached) " >&6
13931 else
13932 ac_check_lib_save_LIBS=$LIBS
13933 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13935 /* end confdefs.h. */
13937 /* Override any GCC internal prototype to avoid an error.
13938 Use char because int might match the return type of a GCC
13939 builtin and then its argument prototype would still apply. */
13940 #ifdef __cplusplus
13941 extern "C"
13942 #endif
13943 char libusb_interrupt_event_handler ();
13945 main ()
13947 return libusb_interrupt_event_handler ();
13949 return 0;
13951 _ACEOF
13952 if ac_fn_c_try_link "$LINENO"; then :
13953 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13954 else
13955 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 LIBS=$ac_check_lib_save_LIBS
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13962 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13963 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13965 else
13966 USB_LIBS=""
13969 else
13970 USB_LIBS=""
13974 CPPFLAGS=$ac_save_CPPFLAGS
13977 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13978 case "x$with_usb" in
13979 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13980 xno) ;;
13981 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13982 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13983 esac
13984 enable_wineusb_sys=${enable_wineusb_sys:-no}
13987 if test "x$with_v4l2" != "xno"
13988 then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13990 $as_echo_n "checking for -lv4l2... " >&6; }
13991 if ${ac_cv_lib_soname_v4l2+:} false; then :
13992 $as_echo_n "(cached) " >&6
13993 else
13994 ac_check_soname_save_LIBS=$LIBS
13995 LIBS="-lv4l2 $LIBS"
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13999 /* Override any GCC internal prototype to avoid an error.
14000 Use char because int might match the return type of a GCC
14001 builtin and then its argument prototype would still apply. */
14002 #ifdef __cplusplus
14003 extern "C"
14004 #endif
14005 char v4l2_open ();
14007 main ()
14009 return v4l2_open ();
14011 return 0;
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"; then :
14015 case "$LIBEXT" in
14016 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14017 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'` ;;
14018 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14019 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14020 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14021 fi ;;
14022 esac
14023 else
14024 ac_cv_lib_soname_v4l2=
14026 rm -f core conftest.err conftest.$ac_objext \
14027 conftest$ac_exeext conftest.$ac_ext
14028 LIBS=$ac_check_soname_save_LIBS
14030 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14032 $as_echo "not found" >&6; }
14034 else
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14036 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14038 cat >>confdefs.h <<_ACEOF
14039 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14040 _ACEOF
14045 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14046 case "x$with_v4l2" in
14047 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14048 xno) ;;
14049 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14050 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14051 esac
14055 if test "x$with_gphoto" != "xno"
14056 then
14057 if ${GPHOTO2_CFLAGS:+false} :; then :
14058 if ${PKG_CONFIG+:} false; then :
14059 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14062 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14063 if ${GPHOTO2_LIBS:+false} :; then :
14064 if ${PKG_CONFIG+:} false; then :
14065 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14068 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14069 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14070 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14071 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14072 ac_save_CPPFLAGS=$CPPFLAGS
14073 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14074 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14075 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14077 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14078 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14079 $as_echo_n "(cached) " >&6
14080 else
14081 ac_check_lib_save_LIBS=$LIBS
14082 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 #ifdef __cplusplus
14090 extern "C"
14091 #endif
14092 char gp_camera_new ();
14094 main ()
14096 return gp_camera_new ();
14098 return 0;
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14102 ac_cv_lib_gphoto2_gp_camera_new=yes
14103 else
14104 ac_cv_lib_gphoto2_gp_camera_new=no
14106 rm -f core conftest.err conftest.$ac_objext \
14107 conftest$ac_exeext conftest.$ac_ext
14108 LIBS=$ac_check_lib_save_LIBS
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14111 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14112 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14114 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14116 else
14117 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14120 else
14121 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14125 CPPFLAGS=$ac_save_CPPFLAGS
14127 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14128 if ${PKG_CONFIG+:} false; then :
14129 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14132 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14133 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14134 if ${PKG_CONFIG+:} false; then :
14135 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14138 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14139 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14140 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14141 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14142 ac_save_CPPFLAGS=$CPPFLAGS
14143 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14144 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14145 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14147 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14148 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14149 $as_echo_n "(cached) " >&6
14150 else
14151 ac_check_lib_save_LIBS=$LIBS
14152 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14156 /* Override any GCC internal prototype to avoid an error.
14157 Use char because int might match the return type of a GCC
14158 builtin and then its argument prototype would still apply. */
14159 #ifdef __cplusplus
14160 extern "C"
14161 #endif
14162 char gp_port_info_list_new ();
14164 main ()
14166 return gp_port_info_list_new ();
14168 return 0;
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"; then :
14172 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14173 else
14174 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14176 rm -f core conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 LIBS=$ac_check_lib_save_LIBS
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14181 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14182 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14184 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14186 else
14187 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14190 else
14191 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14195 CPPFLAGS=$ac_save_CPPFLAGS
14198 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14199 case "x$with_gphoto" in
14200 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14201 xno) ;;
14202 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14203 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14204 esac
14207 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14208 case "x$with_gphoto" in
14209 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14210 xno) ;;
14211 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14212 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14213 esac
14218 if test "$ac_cv_header_resolv_h" = "yes"
14219 then
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14221 $as_echo_n "checking for resolver library... " >&6; }
14222 if ${ac_cv_have_resolv+:} false; then :
14223 $as_echo_n "(cached) " >&6
14224 else
14225 ac_save_LIBS="$LIBS"
14226 for lib in '' -lresolv
14228 LIBS="$lib $ac_save_LIBS"
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 #ifdef HAVE_NETINET_IN_H
14232 #include <netinet/in.h>
14233 #endif
14234 #include <resolv.h>
14236 main ()
14238 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14240 return 0;
14242 _ACEOF
14243 if ac_fn_c_try_link "$LINENO"; then :
14244 ac_cv_have_resolv=${lib:-"none required"}
14245 else
14246 ac_cv_have_resolv="not found"
14248 rm -f core conftest.err conftest.$ac_objext \
14249 conftest$ac_exeext conftest.$ac_ext
14250 test "x$ac_cv_have_resolv" = "xnot found" || break
14251 done
14252 LIBS="$ac_save_LIBS"
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14255 $as_echo "$ac_cv_have_resolv" >&6; }
14257 case "$ac_cv_have_resolv" in
14258 "not found") ;;
14259 "none required")
14261 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14264 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14266 RESOLV_LIBS=$ac_cv_have_resolv
14268 esac
14270 if test "x$ac_cv_have_resolv" != "xnot found"
14271 then
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14273 $as_echo_n "checking for res_getservers... " >&6; }
14274 if ${ac_cv_have_res_getservers+:} false; then :
14275 $as_echo_n "(cached) " >&6
14276 else
14277 ac_save_LIBS="$LIBS"
14278 LIBS="$RESOLV_LIBS $LIBS"
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 #include <resolv.h>
14283 main ()
14285 res_getservers(NULL, NULL, 0);
14287 return 0;
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_have_res_getservers=yes
14292 else
14293 ac_cv_have_res_getservers=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS="$ac_save_LIBS"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14300 $as_echo "$ac_cv_have_res_getservers" >&6; }
14301 if test "$ac_cv_have_res_getservers" = "yes"
14302 then
14304 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14310 if test "x$with_cms" != "xno"
14311 then
14312 if ${LCMS2_CFLAGS:+false} :; then :
14313 if ${PKG_CONFIG+:} false; then :
14314 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14318 if ${LCMS2_LIBS:+false} :; then :
14319 if ${PKG_CONFIG+:} false; then :
14320 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14324 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14325 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14326 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14327 ac_save_CPPFLAGS=$CPPFLAGS
14328 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14329 for ac_header in lcms2.h
14330 do :
14331 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14332 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14333 cat >>confdefs.h <<_ACEOF
14334 #define HAVE_LCMS2_H 1
14335 _ACEOF
14339 done
14341 if test "$ac_cv_header_lcms2_h" = "yes"
14342 then
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14344 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14345 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14346 $as_echo_n "(cached) " >&6
14347 else
14348 ac_check_lib_save_LIBS=$LIBS
14349 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14353 /* Override any GCC internal prototype to avoid an error.
14354 Use char because int might match the return type of a GCC
14355 builtin and then its argument prototype would still apply. */
14356 #ifdef __cplusplus
14357 extern "C"
14358 #endif
14359 char cmsOpenProfileFromFile ();
14361 main ()
14363 return cmsOpenProfileFromFile ();
14365 return 0;
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14370 else
14371 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14373 rm -f core conftest.err conftest.$ac_objext \
14374 conftest$ac_exeext conftest.$ac_ext
14375 LIBS=$ac_check_lib_save_LIBS
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14378 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14379 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14381 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14383 else
14384 LCMS2_LIBS=""
14387 else
14388 LCMS2_CFLAGS=""
14389 LCMS2_LIBS=""
14391 CPPFLAGS=$ac_save_CPPFLAGS
14394 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14395 case "x$with_cms" in
14396 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14397 xno) ;;
14398 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14399 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14400 esac
14404 if test "x$with_freetype" != "xno"
14405 then
14406 if ${FREETYPE_CFLAGS:+false} :; then :
14407 if ${PKG_CONFIG+:} false; then :
14408 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14411 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14412 if ${FREETYPE_LIBS:+false} :; then :
14413 if ${PKG_CONFIG+:} false; then :
14414 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14417 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14418 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14419 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14420 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14421 ac_save_CPPFLAGS=$CPPFLAGS
14422 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14423 for ac_header in ft2build.h
14424 do :
14425 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14426 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14427 cat >>confdefs.h <<_ACEOF
14428 #define HAVE_FT2BUILD_H 1
14429 _ACEOF
14433 done
14435 if test "$ac_cv_header_ft2build_h" = "yes"
14436 then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14438 $as_echo_n "checking for -lfreetype... " >&6; }
14439 if ${ac_cv_lib_soname_freetype+:} false; then :
14440 $as_echo_n "(cached) " >&6
14441 else
14442 ac_check_soname_save_LIBS=$LIBS
14443 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14447 /* Override any GCC internal prototype to avoid an error.
14448 Use char because int might match the return type of a GCC
14449 builtin and then its argument prototype would still apply. */
14450 #ifdef __cplusplus
14451 extern "C"
14452 #endif
14453 char FT_Init_FreeType ();
14455 main ()
14457 return FT_Init_FreeType ();
14459 return 0;
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 case "$LIBEXT" in
14464 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14465 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'` ;;
14466 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14467 if ${ac_cv_lib_soname_freetype:+false} :; then :
14468 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14469 fi ;;
14470 esac
14471 else
14472 ac_cv_lib_soname_freetype=
14474 rm -f core conftest.err conftest.$ac_objext \
14475 conftest$ac_exeext conftest.$ac_ext
14476 LIBS=$ac_check_soname_save_LIBS
14478 if ${ac_cv_lib_soname_freetype:+false} :; then :
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14480 $as_echo "not found" >&6; }
14481 FREETYPE_LIBS=""
14482 else
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14484 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14486 cat >>confdefs.h <<_ACEOF
14487 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14488 _ACEOF
14491 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14493 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14494 #include FT_MODULE_H
14496 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14498 cat >>confdefs.h <<_ACEOF
14499 #define HAVE_FT_TRUETYPEENGINETYPE 1
14500 _ACEOF
14506 else
14507 FREETYPE_CFLAGS=""
14508 FREETYPE_LIBS=""
14510 CPPFLAGS=$ac_save_CPPFLAGS
14513 if test "x$ac_cv_lib_soname_freetype" = x; then :
14514 case "x$with_freetype" in
14515 xno) ;;
14516 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14517 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14518 esac
14519 enable_fonts=${enable_fonts:-no}
14522 ac_wine_check_funcs_save_LIBS="$LIBS"
14523 LIBS="$LIBS $PTHREAD_LIBS"
14524 for ac_func in \
14525 pthread_getthreadid_np
14526 do :
14527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14529 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14530 cat >>confdefs.h <<_ACEOF
14531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14532 _ACEOF
14535 done
14537 LIBS="$ac_wine_check_funcs_save_LIBS"
14539 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14540 then
14541 if test "$ac_cv_header_gettext_po_h" = "yes"
14542 then
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14544 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14545 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 ac_check_lib_save_LIBS=$LIBS
14549 LIBS="-lgettextpo $LIBS"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 #ifdef __cplusplus
14557 extern "C"
14558 #endif
14559 char po_message_msgctxt ();
14561 main ()
14563 return po_message_msgctxt ();
14565 return 0;
14567 _ACEOF
14568 if ac_fn_c_try_link "$LINENO"; then :
14569 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14570 else
14571 ac_cv_lib_gettextpo_po_message_msgctxt=no
14573 rm -f core conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14575 LIBS=$ac_check_lib_save_LIBS
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14578 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14579 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14581 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14583 GETTEXTPO_LIBS="-lgettextpo"
14588 if test "x$GETTEXTPO_LIBS" = "x"; then :
14589 case "x$with_gettextpo" in
14590 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14591 xno) ;;
14592 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14593 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14594 esac
14597 if test "$srcdir" != .; then :
14598 case "x$with_gettextpo" in
14599 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14600 xno) ;;
14601 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14602 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14603 esac
14608 if test "x$with_pulse" != "xno";
14609 then
14610 if ${PULSE_CFLAGS:+false} :; then :
14611 if ${PKG_CONFIG+:} false; then :
14612 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14616 if ${PULSE_LIBS:+false} :; then :
14617 if ${PKG_CONFIG+:} false; then :
14618 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14623 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14624 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14625 ac_save_CPPFLAGS=$CPPFLAGS
14626 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14627 for ac_header in pulse/pulseaudio.h
14628 do :
14629 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14630 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14631 cat >>confdefs.h <<_ACEOF
14632 #define HAVE_PULSE_PULSEAUDIO_H 1
14633 _ACEOF
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14635 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14636 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14637 $as_echo_n "(cached) " >&6
14638 else
14639 ac_check_lib_save_LIBS=$LIBS
14640 LIBS="-lpulse $PULSE_LIBS $LIBS"
14641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14644 /* Override any GCC internal prototype to avoid an error.
14645 Use char because int might match the return type of a GCC
14646 builtin and then its argument prototype would still apply. */
14647 #ifdef __cplusplus
14648 extern "C"
14649 #endif
14650 char pa_stream_is_corked ();
14652 main ()
14654 return pa_stream_is_corked ();
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"; then :
14660 ac_cv_lib_pulse_pa_stream_is_corked=yes
14661 else
14662 ac_cv_lib_pulse_pa_stream_is_corked=no
14664 rm -f core conftest.err conftest.$ac_objext \
14665 conftest$ac_exeext conftest.$ac_ext
14666 LIBS=$ac_check_lib_save_LIBS
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14669 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14670 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14672 else
14673 PULSE_LIBS=""
14676 else
14677 PULSE_LIBS=""
14680 done
14682 CPPFLAGS=$ac_save_CPPFLAGS
14685 if test -z "$PULSE_LIBS"; then :
14686 case "x$with_pulse" in
14687 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14688 xno) ;;
14689 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14690 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14691 esac
14692 enable_winepulse_drv=${enable_winepulse_drv:-no}
14695 if test "x$with_gstreamer" != "xno"
14696 then
14697 if ${GSTREAMER_CFLAGS:+false} :; then :
14698 if ${PKG_CONFIG+:} false; then :
14699 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14703 if ${GSTREAMER_LIBS:+false} :; then :
14704 if ${PKG_CONFIG+:} false; then :
14705 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14710 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14711 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14712 ac_save_CPPFLAGS=$CPPFLAGS
14713 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14714 ac_gst_incl=""
14715 for i in $GSTREAMER_CFLAGS
14717 case "$i" in
14718 -I*) ac_gst_incl="$ac_gst_incl $i";;
14719 esac
14720 done
14721 GSTREAMER_CFLAGS=$ac_gst_incl
14722 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14723 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14724 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14726 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 #include <gst/gst.h>
14731 main ()
14733 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14735 return 0;
14737 _ACEOF
14738 if ac_fn_c_try_compile "$LINENO"; then :
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14740 $as_echo "yes" >&6; }
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14742 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14743 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14744 $as_echo_n "(cached) " >&6
14745 else
14746 ac_check_lib_save_LIBS=$LIBS
14747 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14751 /* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14754 #ifdef __cplusplus
14755 extern "C"
14756 #endif
14757 char gst_pad_new ();
14759 main ()
14761 return gst_pad_new ();
14763 return 0;
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14768 else
14769 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14773 LIBS=$ac_check_lib_save_LIBS
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14776 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14777 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14781 else
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14783 $as_echo "no" >&6; }
14784 ac_glib2_broken=yes
14785 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14791 CPPFLAGS=$ac_save_CPPFLAGS
14794 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 :
14795 case "x$with_gstreamer" in
14796 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14797 xno) ;;
14798 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14799 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14800 esac
14803 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14805 ALSA_LIBS=""
14807 if test "x$with_alsa" != "xno"
14808 then
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14810 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14811 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 ac_check_lib_save_LIBS=$LIBS
14815 LIBS="-lasound $LIBS"
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14819 /* Override any GCC internal prototype to avoid an error.
14820 Use char because int might match the return type of a GCC
14821 builtin and then its argument prototype would still apply. */
14822 #ifdef __cplusplus
14823 extern "C"
14824 #endif
14825 char snd_pcm_hw_params_get_access_mask ();
14827 main ()
14829 return snd_pcm_hw_params_get_access_mask ();
14831 return 0;
14833 _ACEOF
14834 if ac_fn_c_try_link "$LINENO"; then :
14835 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14836 else
14837 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14839 rm -f core conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14841 LIBS=$ac_check_lib_save_LIBS
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14844 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14845 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14848 #include <alsa/asoundlib.h>
14850 main ()
14852 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14854 return 0;
14856 _ACEOF
14857 if ac_fn_c_try_compile "$LINENO"; then :
14858 ALSA_LIBS="-lasound"
14860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14864 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14866 if test "x$with_oss" != xno
14867 then
14868 ac_save_CPPFLAGS="$CPPFLAGS"
14869 if test -f /etc/oss.conf
14870 then
14871 . /etc/oss.conf
14873 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14874 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14875 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14876 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14877 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14879 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14881 cat >>confdefs.h <<_ACEOF
14882 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14883 _ACEOF
14885 OSS4_CFLAGS="$ac_oss_incl"
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14888 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14889 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14890 $as_echo_n "(cached) " >&6
14891 else
14892 ac_check_lib_save_LIBS=$LIBS
14893 LIBS="-lossaudio $LIBS"
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14897 /* Override any GCC internal prototype to avoid an error.
14898 Use char because int might match the return type of a GCC
14899 builtin and then its argument prototype would still apply. */
14900 #ifdef __cplusplus
14901 extern "C"
14902 #endif
14903 char _oss_ioctl ();
14905 main ()
14907 return _oss_ioctl ();
14909 return 0;
14911 _ACEOF
14912 if ac_fn_c_try_link "$LINENO"; then :
14913 ac_cv_lib_ossaudio__oss_ioctl=yes
14914 else
14915 ac_cv_lib_ossaudio__oss_ioctl=no
14917 rm -f core conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14922 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14923 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14924 OSS4_LIBS="-lossaudio"
14933 CPPFLAGS="$ac_save_CPPFLAGS"
14935 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14936 case "x$with_oss" in
14937 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14938 xno) ;;
14939 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14940 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14941 esac
14942 enable_wineoss_drv=${enable_wineoss_drv:-no}
14945 if test "x$with_udev" != "xno"
14946 then
14947 if ${UDEV_CFLAGS:+false} :; then :
14948 if ${PKG_CONFIG+:} false; then :
14949 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14953 if ${UDEV_LIBS:+false} :; then :
14954 if ${PKG_CONFIG+:} false; then :
14955 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14959 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14960 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14961 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14962 ac_save_CPPFLAGS=$CPPFLAGS
14963 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14964 for ac_header in libudev.h
14965 do :
14966 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14967 if test "x$ac_cv_header_libudev_h" = xyes; then :
14968 cat >>confdefs.h <<_ACEOF
14969 #define HAVE_LIBUDEV_H 1
14970 _ACEOF
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14972 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14973 if ${ac_cv_lib_udev_udev_new+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 ac_check_lib_save_LIBS=$LIBS
14977 LIBS="-ludev $UDEV_LIBS $LIBS"
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 /* Override any GCC internal prototype to avoid an error.
14982 Use char because int might match the return type of a GCC
14983 builtin and then its argument prototype would still apply. */
14984 #ifdef __cplusplus
14985 extern "C"
14986 #endif
14987 char udev_new ();
14989 main ()
14991 return udev_new ();
14993 return 0;
14995 _ACEOF
14996 if ac_fn_c_try_link "$LINENO"; then :
14997 ac_cv_lib_udev_udev_new=yes
14998 else
14999 ac_cv_lib_udev_udev_new=no
15001 rm -f core conftest.err conftest.$ac_objext \
15002 conftest$ac_exeext conftest.$ac_ext
15003 LIBS=$ac_check_lib_save_LIBS
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15006 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15007 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15009 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15011 else
15012 UDEV_LIBS=""
15015 else
15016 UDEV_LIBS=""
15019 done
15021 CPPFLAGS=$ac_save_CPPFLAGS
15024 if test "x$UDEV_LIBS" = "x"; then :
15025 case "x$with_udev" in
15026 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15027 xno) ;;
15028 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15029 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15030 esac
15034 if test "x$with_unwind" != xno
15035 then
15036 if ${UNWIND_CFLAGS:+false} :; then :
15037 if ${PKG_CONFIG+:} false; then :
15038 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15042 if ${UNWIND_LIBS:+false} :; then :
15043 if ${PKG_CONFIG+:} false; then :
15044 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15048 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15049 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15050 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15051 ac_save_CPPFLAGS=$CPPFLAGS
15052 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15054 $as_echo_n "checking for unw_step... " >&6; }
15055 if ${wine_cv_have_unw_step+:} false; then :
15056 $as_echo_n "(cached) " >&6
15057 else
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15060 #define UNW_LOCAL_ONLY
15061 #include <libunwind.h>
15063 main ()
15065 unw_cursor_t cursor; unw_step( &cursor );
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"; then :
15071 wine_cv_have_unw_step="yes"
15072 else
15073 wine_cv_have_unw_step="no"
15075 rm -f core conftest.err conftest.$ac_objext \
15076 conftest$ac_exeext conftest.$ac_ext
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15079 $as_echo "$wine_cv_have_unw_step" >&6; }
15080 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15081 then
15082 save_libs=$LIBS
15083 LIBS="$UNWIND_LIBS $LIBS"
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15085 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15086 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15087 $as_echo_n "(cached) " >&6
15088 else
15089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15091 #define UNW_LOCAL_ONLY
15092 #include <libunwind.h>
15094 main ()
15096 unw_cursor_t cursor; unw_step( &cursor );
15098 return 0;
15100 _ACEOF
15101 if ac_fn_c_try_link "$LINENO"; then :
15102 wine_cv_have_libunwind_unw_step="yes"
15103 else
15104 wine_cv_have_libunwind_unw_step="no"
15106 rm -f core conftest.err conftest.$ac_objext \
15107 conftest$ac_exeext conftest.$ac_ext
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15110 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15111 LIBS=$save_libs
15113 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15114 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15115 then
15117 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15120 CPPFLAGS=$ac_save_CPPFLAGS
15123 case $host in
15124 aarch64*|*-darwin*)
15125 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15126 case "x$with_unwind" in
15127 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15128 xno) ;;
15129 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15130 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15131 esac
15133 fi ;;
15134 esac
15136 if test "x$with_sdl" != "xno"
15137 then
15138 if ${SDL2_CFLAGS:+false} :; then :
15139 if ${PKG_CONFIG+:} false; then :
15140 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15144 if ${SDL2_LIBS:+false} :; then :
15145 if ${PKG_CONFIG+:} false; then :
15146 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15150 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15151 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15152 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15153 ac_save_CPPFLAGS=$CPPFLAGS
15154 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15155 for ac_header in SDL2/SDL.h
15156 do :
15157 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15158 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15159 cat >>confdefs.h <<_ACEOF
15160 #define HAVE_SDL2_SDL_H 1
15161 _ACEOF
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15163 $as_echo_n "checking for -lSDL2... " >&6; }
15164 if ${ac_cv_lib_soname_SDL2+:} false; then :
15165 $as_echo_n "(cached) " >&6
15166 else
15167 ac_check_soname_save_LIBS=$LIBS
15168 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15172 /* Override any GCC internal prototype to avoid an error.
15173 Use char because int might match the return type of a GCC
15174 builtin and then its argument prototype would still apply. */
15175 #ifdef __cplusplus
15176 extern "C"
15177 #endif
15178 char SDL_Init ();
15180 main ()
15182 return SDL_Init ();
15184 return 0;
15186 _ACEOF
15187 if ac_fn_c_try_link "$LINENO"; then :
15188 case "$LIBEXT" in
15189 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15190 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'` ;;
15191 *) 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'`
15192 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15193 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15194 fi ;;
15195 esac
15196 else
15197 ac_cv_lib_soname_SDL2=
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15201 LIBS=$ac_check_soname_save_LIBS
15203 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15205 $as_echo "not found" >&6; }
15207 else
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15209 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15211 cat >>confdefs.h <<_ACEOF
15212 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15213 _ACEOF
15219 done
15221 CPPFLAGS=$ac_save_CPPFLAGS
15224 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15225 case "x$with_sdl" in
15226 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15227 xno) ;;
15228 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15229 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15230 esac
15234 if test "x$with_faudio" != "xno"
15235 then
15236 if ${FAUDIO_CFLAGS:+false} :; then :
15237 if ${PKG_CONFIG+:} false; then :
15238 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15242 if ${FAUDIO_LIBS:+false} :; then :
15243 if ${PKG_CONFIG+:} false; then :
15244 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15248 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15249 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15250 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15251 ac_save_CPPFLAGS=$CPPFLAGS
15252 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15253 for ac_header in FAudio.h
15254 do :
15255 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15256 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15257 cat >>confdefs.h <<_ACEOF
15258 #define HAVE_FAUDIO_H 1
15259 _ACEOF
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15261 $as_echo_n "checking for -lFAudio... " >&6; }
15262 if ${ac_cv_lib_soname_FAudio+:} false; then :
15263 $as_echo_n "(cached) " >&6
15264 else
15265 ac_check_soname_save_LIBS=$LIBS
15266 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15270 /* Override any GCC internal prototype to avoid an error.
15271 Use char because int might match the return type of a GCC
15272 builtin and then its argument prototype would still apply. */
15273 #ifdef __cplusplus
15274 extern "C"
15275 #endif
15276 char FAudioCreate ();
15278 main ()
15280 return FAudioCreate ();
15282 return 0;
15284 _ACEOF
15285 if ac_fn_c_try_link "$LINENO"; then :
15286 case "$LIBEXT" in
15287 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15288 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'` ;;
15289 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15290 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15291 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15292 fi ;;
15293 esac
15294 else
15295 ac_cv_lib_soname_FAudio=
15297 rm -f core conftest.err conftest.$ac_objext \
15298 conftest$ac_exeext conftest.$ac_ext
15299 LIBS=$ac_check_soname_save_LIBS
15301 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15303 $as_echo "not found" >&6; }
15305 else
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15307 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15309 cat >>confdefs.h <<_ACEOF
15310 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15311 _ACEOF
15317 done
15319 ac_wine_check_funcs_save_LIBS="$LIBS"
15320 LIBS="$LIBS $FAUDIO_LIBS"
15321 for ac_func in FAudio_CommitOperationSet \
15322 F3DAudioInitialize8 \
15323 FAudioLinkedVersion \
15324 FAudioCreateReverb9WithCustomAllocatorEXT
15325 do :
15326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15328 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15329 cat >>confdefs.h <<_ACEOF
15330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15331 _ACEOF
15334 done
15336 LIBS="$ac_wine_check_funcs_save_LIBS"
15338 CPPFLAGS=$ac_save_CPPFLAGS
15341 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15342 case "x$with_faudio" in
15343 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15344 xno) ;;
15345 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15346 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15347 esac
15351 if test "x$with_capi" != "xno"
15352 then
15353 if ${CAPI20_CFLAGS:+false} :; then :
15354 if ${PKG_CONFIG+:} false; then :
15355 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15359 if ${CAPI20_LIBS:+false} :; then :
15360 if ${PKG_CONFIG+:} false; then :
15361 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15366 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15367 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15368 ac_save_CPPFLAGS=$CPPFLAGS
15369 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15370 for ac_header in capi20.h linux/capi.h
15371 do :
15372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15373 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15375 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15376 cat >>confdefs.h <<_ACEOF
15377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15378 _ACEOF
15382 done
15384 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15385 then
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15387 $as_echo_n "checking for -lcapi20... " >&6; }
15388 if ${ac_cv_lib_soname_capi20+:} false; then :
15389 $as_echo_n "(cached) " >&6
15390 else
15391 ac_check_soname_save_LIBS=$LIBS
15392 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15394 /* end confdefs.h. */
15396 /* Override any GCC internal prototype to avoid an error.
15397 Use char because int might match the return type of a GCC
15398 builtin and then its argument prototype would still apply. */
15399 #ifdef __cplusplus
15400 extern "C"
15401 #endif
15402 char capi20_register ();
15404 main ()
15406 return capi20_register ();
15408 return 0;
15410 _ACEOF
15411 if ac_fn_c_try_link "$LINENO"; then :
15412 case "$LIBEXT" in
15413 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15414 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'` ;;
15415 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15416 if ${ac_cv_lib_soname_capi20:+false} :; then :
15417 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15418 fi ;;
15419 esac
15420 else
15421 ac_cv_lib_soname_capi20=
15423 rm -f core conftest.err conftest.$ac_objext \
15424 conftest$ac_exeext conftest.$ac_ext
15425 LIBS=$ac_check_soname_save_LIBS
15427 if ${ac_cv_lib_soname_capi20:+false} :; then :
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15429 $as_echo "not found" >&6; }
15431 else
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15433 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15435 cat >>confdefs.h <<_ACEOF
15436 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15437 _ACEOF
15442 CPPFLAGS=$ac_save_CPPFLAGS
15445 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15446 case "x$with_capi" in
15447 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15448 xno) ;;
15449 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15450 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15451 esac
15455 if test "x$with_cups" != "xno"
15456 then
15457 if ${CUPS_CFLAGS:+false} :; then :
15458 if ${PKG_CONFIG+:} false; then :
15459 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15462 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15463 if ${CUPS_LIBS:+false} :; then :
15464 if ${PKG_CONFIG+:} false; then :
15465 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15468 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15469 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15470 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15471 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15472 ac_save_CPPFLAGS=$CPPFLAGS
15473 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15474 for ac_header in cups/cups.h cups/ppd.h
15475 do :
15476 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15477 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15478 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15479 cat >>confdefs.h <<_ACEOF
15480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15481 _ACEOF
15485 done
15487 if test "$ac_cv_header_cups_cups_h" = "yes"
15488 then
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15490 $as_echo_n "checking for -lcups... " >&6; }
15491 if ${ac_cv_lib_soname_cups+:} false; then :
15492 $as_echo_n "(cached) " >&6
15493 else
15494 ac_check_soname_save_LIBS=$LIBS
15495 LIBS="-lcups $CUPS_LIBS $LIBS"
15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15499 /* Override any GCC internal prototype to avoid an error.
15500 Use char because int might match the return type of a GCC
15501 builtin and then its argument prototype would still apply. */
15502 #ifdef __cplusplus
15503 extern "C"
15504 #endif
15505 char cupsGetDefault ();
15507 main ()
15509 return cupsGetDefault ();
15511 return 0;
15513 _ACEOF
15514 if ac_fn_c_try_link "$LINENO"; then :
15515 case "$LIBEXT" in
15516 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15517 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'` ;;
15518 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15519 if ${ac_cv_lib_soname_cups:+false} :; then :
15520 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15521 fi ;;
15522 esac
15523 else
15524 ac_cv_lib_soname_cups=
15526 rm -f core conftest.err conftest.$ac_objext \
15527 conftest$ac_exeext conftest.$ac_ext
15528 LIBS=$ac_check_soname_save_LIBS
15530 if ${ac_cv_lib_soname_cups:+false} :; then :
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15532 $as_echo "not found" >&6; }
15533 CUPS_LIBS=""
15534 else
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15536 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15538 cat >>confdefs.h <<_ACEOF
15539 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15540 _ACEOF
15544 else
15545 CUPS_CFLAGS=""
15546 CUPS_LIBS=""
15548 CPPFLAGS=$ac_save_CPPFLAGS
15551 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15552 case "x$with_cups" in
15553 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15554 xno) ;;
15555 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15556 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15557 esac
15561 if test "x$with_fontconfig" != "xno"
15562 then
15563 if ${FONTCONFIG_CFLAGS:+false} :; then :
15564 if ${PKG_CONFIG+:} false; then :
15565 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15568 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15569 if ${FONTCONFIG_LIBS:+false} :; then :
15570 if ${PKG_CONFIG+:} false; then :
15571 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15574 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15576 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15577 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15578 ac_save_CPPFLAGS=$CPPFLAGS
15579 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15580 for ac_header in fontconfig/fontconfig.h
15581 do :
15582 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15583 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15584 cat >>confdefs.h <<_ACEOF
15585 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15586 _ACEOF
15590 done
15592 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15593 then
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15595 $as_echo_n "checking for -lfontconfig... " >&6; }
15596 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15597 $as_echo_n "(cached) " >&6
15598 else
15599 ac_check_soname_save_LIBS=$LIBS
15600 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15602 /* end confdefs.h. */
15604 /* Override any GCC internal prototype to avoid an error.
15605 Use char because int might match the return type of a GCC
15606 builtin and then its argument prototype would still apply. */
15607 #ifdef __cplusplus
15608 extern "C"
15609 #endif
15610 char FcInit ();
15612 main ()
15614 return FcInit ();
15616 return 0;
15618 _ACEOF
15619 if ac_fn_c_try_link "$LINENO"; then :
15620 case "$LIBEXT" in
15621 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15622 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'` ;;
15623 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15624 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15625 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15626 fi ;;
15627 esac
15628 else
15629 ac_cv_lib_soname_fontconfig=
15631 rm -f core conftest.err conftest.$ac_objext \
15632 conftest$ac_exeext conftest.$ac_ext
15633 LIBS=$ac_check_soname_save_LIBS
15635 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15637 $as_echo "not found" >&6; }
15638 FONTCONFIG_CFLAGS=""
15639 else
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15641 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15643 cat >>confdefs.h <<_ACEOF
15644 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15645 _ACEOF
15649 else
15650 FONTCONFIG_CFLAGS=""
15652 CPPFLAGS=$ac_save_CPPFLAGS
15655 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15656 case "x$with_fontconfig" in
15657 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15658 xno) ;;
15659 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15660 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15661 esac
15665 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15666 then
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15668 $as_echo_n "checking for -lgsm... " >&6; }
15669 if ${ac_cv_lib_soname_gsm+:} false; then :
15670 $as_echo_n "(cached) " >&6
15671 else
15672 ac_check_soname_save_LIBS=$LIBS
15673 LIBS="-lgsm $LIBS"
15674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15677 /* Override any GCC internal prototype to avoid an error.
15678 Use char because int might match the return type of a GCC
15679 builtin and then its argument prototype would still apply. */
15680 #ifdef __cplusplus
15681 extern "C"
15682 #endif
15683 char gsm_create ();
15685 main ()
15687 return gsm_create ();
15689 return 0;
15691 _ACEOF
15692 if ac_fn_c_try_link "$LINENO"; then :
15693 case "$LIBEXT" in
15694 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15695 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'` ;;
15696 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15697 if ${ac_cv_lib_soname_gsm:+false} :; then :
15698 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15699 fi ;;
15700 esac
15701 else
15702 ac_cv_lib_soname_gsm=
15704 rm -f core conftest.err conftest.$ac_objext \
15705 conftest$ac_exeext conftest.$ac_ext
15706 LIBS=$ac_check_soname_save_LIBS
15708 if ${ac_cv_lib_soname_gsm:+false} :; then :
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15710 $as_echo "not found" >&6; }
15712 else
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15714 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15716 cat >>confdefs.h <<_ACEOF
15717 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15718 _ACEOF
15723 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15724 case "x$with_gsm" in
15725 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15726 xno) ;;
15727 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15728 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15729 esac
15733 if test "x$with_krb5" != "xno"
15734 then
15735 if ${KRB5_CFLAGS:+false} :; then :
15736 if ${PKG_CONFIG+:} false; then :
15737 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15740 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15741 if ${KRB5_LIBS:+false} :; then :
15742 if ${PKG_CONFIG+:} false; then :
15743 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15746 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15748 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15749 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15750 ac_save_CPPFLAGS=$CPPFLAGS
15751 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15752 for ac_header in krb5/krb5.h
15753 do :
15754 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15755 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_KRB5_KRB5_H 1
15758 _ACEOF
15762 done
15764 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15765 then
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15767 $as_echo_n "checking for -lkrb5... " >&6; }
15768 if ${ac_cv_lib_soname_krb5+:} false; then :
15769 $as_echo_n "(cached) " >&6
15770 else
15771 ac_check_soname_save_LIBS=$LIBS
15772 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15774 /* end confdefs.h. */
15776 /* Override any GCC internal prototype to avoid an error.
15777 Use char because int might match the return type of a GCC
15778 builtin and then its argument prototype would still apply. */
15779 #ifdef __cplusplus
15780 extern "C"
15781 #endif
15782 char krb5_is_config_principal ();
15784 main ()
15786 return krb5_is_config_principal ();
15788 return 0;
15790 _ACEOF
15791 if ac_fn_c_try_link "$LINENO"; then :
15792 case "$LIBEXT" in
15793 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15794 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'` ;;
15795 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15796 if ${ac_cv_lib_soname_krb5:+false} :; then :
15797 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15798 fi ;;
15799 esac
15800 else
15801 ac_cv_lib_soname_krb5=
15803 rm -f core conftest.err conftest.$ac_objext \
15804 conftest$ac_exeext conftest.$ac_ext
15805 LIBS=$ac_check_soname_save_LIBS
15807 if ${ac_cv_lib_soname_krb5:+false} :; then :
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15809 $as_echo "not found" >&6; }
15810 KRB5_CFLAGS=""
15811 else
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15813 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15815 cat >>confdefs.h <<_ACEOF
15816 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15817 _ACEOF
15821 else
15822 KRB5_CFLAGS=""
15824 CPPFLAGS=$ac_save_CPPFLAGS
15827 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15828 case "x$with_krb5" in
15829 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15830 xno) ;;
15831 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15832 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15833 esac
15836 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15838 if test "x$with_gssapi" != "xno"
15839 then
15840 if ${GSSAPI_CFLAGS:+false} :; then :
15841 if ${PKG_CONFIG+:} false; then :
15842 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15845 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15846 if ${GSSAPI_LIBS:+false} :; then :
15847 if ${PKG_CONFIG+:} false; then :
15848 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15851 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15853 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15854 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15855 ac_save_CPPFLAGS=$CPPFLAGS
15856 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15857 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15858 do :
15859 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15860 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15861 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15862 cat >>confdefs.h <<_ACEOF
15863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15864 _ACEOF
15868 done
15870 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15871 then
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15873 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15874 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15875 $as_echo_n "(cached) " >&6
15876 else
15877 ac_check_soname_save_LIBS=$LIBS
15878 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15882 /* Override any GCC internal prototype to avoid an error.
15883 Use char because int might match the return type of a GCC
15884 builtin and then its argument prototype would still apply. */
15885 #ifdef __cplusplus
15886 extern "C"
15887 #endif
15888 char gss_init_sec_context ();
15890 main ()
15892 return gss_init_sec_context ();
15894 return 0;
15896 _ACEOF
15897 if ac_fn_c_try_link "$LINENO"; then :
15898 case "$LIBEXT" in
15899 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15900 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'` ;;
15901 *) 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'`
15902 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15903 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15904 fi ;;
15905 esac
15906 else
15907 ac_cv_lib_soname_gssapi_krb5=
15909 rm -f core conftest.err conftest.$ac_objext \
15910 conftest$ac_exeext conftest.$ac_ext
15911 LIBS=$ac_check_soname_save_LIBS
15913 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15915 $as_echo "not found" >&6; }
15916 GSSAPI_CFLAGS=""
15917 else
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15919 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15921 cat >>confdefs.h <<_ACEOF
15922 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15923 _ACEOF
15927 else
15928 GSSAPI_CFLAGS=""
15930 CPPFLAGS=$ac_save_CPPFLAGS
15933 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15934 case "x$with_gssapi" in
15935 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15936 xno) ;;
15937 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15938 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15939 esac
15943 if test "x$with_jpeg" != "xno"
15944 then
15945 if ${JPEG_CFLAGS:+false} :; then :
15946 if ${PKG_CONFIG+:} false; then :
15947 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15951 if ${JPEG_LIBS:+false} :; then :
15952 if ${PKG_CONFIG+:} false; then :
15953 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15958 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15959 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15960 ac_save_CPPFLAGS=$CPPFLAGS
15961 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15962 for ac_header in jpeglib.h
15963 do :
15964 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15965 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15966 cat >>confdefs.h <<_ACEOF
15967 #define HAVE_JPEGLIB_H 1
15968 _ACEOF
15972 done
15974 if test "$ac_cv_header_jpeglib_h" = "yes"
15975 then
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15977 $as_echo_n "checking for -ljpeg... " >&6; }
15978 if ${ac_cv_lib_soname_jpeg+:} false; then :
15979 $as_echo_n "(cached) " >&6
15980 else
15981 ac_check_soname_save_LIBS=$LIBS
15982 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15984 /* end confdefs.h. */
15986 /* Override any GCC internal prototype to avoid an error.
15987 Use char because int might match the return type of a GCC
15988 builtin and then its argument prototype would still apply. */
15989 #ifdef __cplusplus
15990 extern "C"
15991 #endif
15992 char jpeg_start_decompress ();
15994 main ()
15996 return jpeg_start_decompress ();
15998 return 0;
16000 _ACEOF
16001 if ac_fn_c_try_link "$LINENO"; then :
16002 case "$LIBEXT" in
16003 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16004 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'` ;;
16005 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16006 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16007 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16008 fi ;;
16009 esac
16010 else
16011 ac_cv_lib_soname_jpeg=
16013 rm -f core conftest.err conftest.$ac_objext \
16014 conftest$ac_exeext conftest.$ac_ext
16015 LIBS=$ac_check_soname_save_LIBS
16017 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16019 $as_echo "not found" >&6; }
16020 JPEG_CFLAGS=""
16021 else
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16023 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16025 cat >>confdefs.h <<_ACEOF
16026 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16027 _ACEOF
16031 else
16032 JPEG_CFLAGS=""
16034 CPPFLAGS=$ac_save_CPPFLAGS
16037 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16038 case "x$with_jpeg" in
16039 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16040 xno) ;;
16041 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16042 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16043 esac
16047 if test "x$with_png" != "xno"
16048 then
16049 if ${PNG_CFLAGS:+false} :; then :
16050 if ${PKG_CONFIG+:} false; then :
16051 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16054 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16055 if ${PNG_LIBS:+false} :; then :
16056 if ${PKG_CONFIG+:} false; then :
16057 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16060 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16062 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16063 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16064 ac_save_CPPFLAGS=$CPPFLAGS
16065 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16066 for ac_header in png.h
16067 do :
16068 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16069 if test "x$ac_cv_header_png_h" = xyes; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_PNG_H 1
16072 _ACEOF
16076 done
16078 if test "$ac_cv_header_png_h" = "yes"
16079 then
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16081 $as_echo_n "checking for -lpng... " >&6; }
16082 if ${ac_cv_lib_soname_png+:} false; then :
16083 $as_echo_n "(cached) " >&6
16084 else
16085 ac_check_soname_save_LIBS=$LIBS
16086 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16090 /* Override any GCC internal prototype to avoid an error.
16091 Use char because int might match the return type of a GCC
16092 builtin and then its argument prototype would still apply. */
16093 #ifdef __cplusplus
16094 extern "C"
16095 #endif
16096 char png_create_read_struct ();
16098 main ()
16100 return png_create_read_struct ();
16102 return 0;
16104 _ACEOF
16105 if ac_fn_c_try_link "$LINENO"; then :
16106 case "$LIBEXT" in
16107 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16108 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'` ;;
16109 *) 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'`
16110 if ${ac_cv_lib_soname_png:+false} :; then :
16111 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16112 fi ;;
16113 esac
16114 else
16115 ac_cv_lib_soname_png=
16117 rm -f core conftest.err conftest.$ac_objext \
16118 conftest$ac_exeext conftest.$ac_ext
16119 LIBS=$ac_check_soname_save_LIBS
16121 if ${ac_cv_lib_soname_png:+false} :; then :
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16123 $as_echo "not found" >&6; }
16124 PNG_CFLAGS=""
16125 else
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16127 $as_echo "$ac_cv_lib_soname_png" >&6; }
16129 cat >>confdefs.h <<_ACEOF
16130 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16131 _ACEOF
16135 else
16136 PNG_CFLAGS=""
16138 CPPFLAGS=$ac_save_CPPFLAGS
16141 if test "x$ac_cv_lib_soname_png" = "x"; then :
16142 case "x$with_png" in
16143 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16144 xno) ;;
16145 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16146 This is an error since --with-png was requested." "$LINENO" 5 ;;
16147 esac
16151 if test "x$with_tiff" != "xno"
16152 then
16153 if ${TIFF_CFLAGS:+false} :; then :
16154 if ${PKG_CONFIG+:} false; then :
16155 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16159 if ${TIFF_LIBS:+false} :; then :
16160 if ${PKG_CONFIG+:} false; then :
16161 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16166 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16167 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16168 ac_save_CPPFLAGS=$CPPFLAGS
16169 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16170 for ac_header in tiffio.h
16171 do :
16172 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16173 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16174 cat >>confdefs.h <<_ACEOF
16175 #define HAVE_TIFFIO_H 1
16176 _ACEOF
16180 done
16182 if test "$ac_cv_header_tiffio_h" = "yes"
16183 then
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16185 $as_echo_n "checking for -ltiff... " >&6; }
16186 if ${ac_cv_lib_soname_tiff+:} false; then :
16187 $as_echo_n "(cached) " >&6
16188 else
16189 ac_check_soname_save_LIBS=$LIBS
16190 LIBS="-ltiff $TIFF_LIBS $LIBS"
16191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16192 /* end confdefs.h. */
16194 /* Override any GCC internal prototype to avoid an error.
16195 Use char because int might match the return type of a GCC
16196 builtin and then its argument prototype would still apply. */
16197 #ifdef __cplusplus
16198 extern "C"
16199 #endif
16200 char TIFFClientOpen ();
16202 main ()
16204 return TIFFClientOpen ();
16206 return 0;
16208 _ACEOF
16209 if ac_fn_c_try_link "$LINENO"; then :
16210 case "$LIBEXT" in
16211 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16212 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'` ;;
16213 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16214 if ${ac_cv_lib_soname_tiff:+false} :; then :
16215 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16216 fi ;;
16217 esac
16218 else
16219 ac_cv_lib_soname_tiff=
16221 rm -f core conftest.err conftest.$ac_objext \
16222 conftest$ac_exeext conftest.$ac_ext
16223 LIBS=$ac_check_soname_save_LIBS
16225 if ${ac_cv_lib_soname_tiff:+false} :; then :
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16227 $as_echo "not found" >&6; }
16229 else
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16231 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16233 cat >>confdefs.h <<_ACEOF
16234 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16235 _ACEOF
16240 CPPFLAGS=$ac_save_CPPFLAGS
16243 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16244 case "x$with_tiff" in
16245 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16246 xno) ;;
16247 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16248 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16249 esac
16253 if test "x$with_mpg123" != "xno"
16254 then
16255 if ${MPG123_CFLAGS:+false} :; then :
16256 if ${PKG_CONFIG+:} false; then :
16257 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16261 if ${MPG123_LIBS:+false} :; then :
16262 if ${PKG_CONFIG+:} false; then :
16263 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16267 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16268 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16269 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16270 ac_save_CPPFLAGS=$CPPFLAGS
16271 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16272 for ac_header in mpg123.h
16273 do :
16274 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16275 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_MPG123_H 1
16278 _ACEOF
16282 done
16284 if test "$ac_cv_header_mpg123_h" = "yes"
16285 then
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16287 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16288 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16289 $as_echo_n "(cached) " >&6
16290 else
16291 ac_check_lib_save_LIBS=$LIBS
16292 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294 /* end confdefs.h. */
16296 /* Override any GCC internal prototype to avoid an error.
16297 Use char because int might match the return type of a GCC
16298 builtin and then its argument prototype would still apply. */
16299 #ifdef __cplusplus
16300 extern "C"
16301 #endif
16302 char mpg123_feed ();
16304 main ()
16306 return mpg123_feed ();
16308 return 0;
16310 _ACEOF
16311 if ac_fn_c_try_link "$LINENO"; then :
16312 ac_cv_lib_mpg123_mpg123_feed=yes
16313 else
16314 ac_cv_lib_mpg123_mpg123_feed=no
16316 rm -f core conftest.err conftest.$ac_objext \
16317 conftest$ac_exeext conftest.$ac_ext
16318 LIBS=$ac_check_lib_save_LIBS
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16321 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16322 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16324 else
16325 MPG123_LIBS=""
16328 else
16329 MPG123_CFLAGS=""
16330 MPG123_LIBS=""
16332 CPPFLAGS=$ac_save_CPPFLAGS
16335 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16336 case "x$with_mpg123" in
16337 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16338 xno) ;;
16339 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16340 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16341 esac
16342 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16344 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16346 if test "$ac_cv_header_AL_al_h" = "yes"
16347 then
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16349 $as_echo_n "checking for -lopenal... " >&6; }
16350 if ${ac_cv_lib_soname_openal+:} false; then :
16351 $as_echo_n "(cached) " >&6
16352 else
16353 ac_check_soname_save_LIBS=$LIBS
16354 LIBS="-lopenal $LIBS"
16355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16358 /* Override any GCC internal prototype to avoid an error.
16359 Use char because int might match the return type of a GCC
16360 builtin and then its argument prototype would still apply. */
16361 #ifdef __cplusplus
16362 extern "C"
16363 #endif
16364 char alGetSource3i ();
16366 main ()
16368 return alGetSource3i ();
16370 return 0;
16372 _ACEOF
16373 if ac_fn_c_try_link "$LINENO"; then :
16374 case "$LIBEXT" in
16375 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16376 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'` ;;
16377 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16378 if ${ac_cv_lib_soname_openal:+false} :; then :
16379 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16380 fi ;;
16381 esac
16382 else
16383 ac_cv_lib_soname_openal=
16385 rm -f core conftest.err conftest.$ac_objext \
16386 conftest$ac_exeext conftest.$ac_ext
16387 LIBS=$ac_check_soname_save_LIBS
16389 if ${ac_cv_lib_soname_openal:+false} :; then :
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16391 $as_echo "not found" >&6; }
16393 else
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16395 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16397 cat >>confdefs.h <<_ACEOF
16398 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16399 _ACEOF
16401 OPENAL_LIBS="-lopenal"
16403 ac_cv_lib_openal=yes
16405 cat >>confdefs.h <<_ACEOF
16406 #define HAVE_OPENAL 1
16407 _ACEOF
16411 if test "x$ac_cv_lib_openal" != xyes; then :
16412 case "x$with_openal" in
16413 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16414 xno) ;;
16415 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16416 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16417 esac
16418 enable_openal32=${enable_openal32:-no}
16421 if test "x$ac_cv_lib_soname_FAudio" = "x"
16422 then
16423 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16424 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16425 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16426 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16427 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16428 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16429 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16430 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16431 enable_xactengine3_0=${enable_xactengine3_0:-no}
16432 enable_xactengine3_1=${enable_xactengine3_1:-no}
16433 enable_xactengine3_2=${enable_xactengine3_2:-no}
16434 enable_xactengine3_3=${enable_xactengine3_3:-no}
16435 enable_xactengine3_4=${enable_xactengine3_4:-no}
16436 enable_xactengine3_5=${enable_xactengine3_5:-no}
16437 enable_xactengine3_6=${enable_xactengine3_6:-no}
16438 enable_xactengine3_7=${enable_xactengine3_7:-no}
16439 enable_xapofx1_1=${enable_xapofx1_1:-no}
16440 enable_xapofx1_2=${enable_xapofx1_2:-no}
16441 enable_xapofx1_3=${enable_xapofx1_3:-no}
16442 enable_xapofx1_4=${enable_xapofx1_4:-no}
16443 enable_xapofx1_5=${enable_xapofx1_5:-no}
16444 enable_xaudio2_0=${enable_xaudio2_0:-no}
16445 enable_xaudio2_1=${enable_xaudio2_1:-no}
16446 enable_xaudio2_2=${enable_xaudio2_2:-no}
16447 enable_xaudio2_3=${enable_xaudio2_3:-no}
16448 enable_xaudio2_4=${enable_xaudio2_4:-no}
16449 enable_xaudio2_5=${enable_xaudio2_5:-no}
16450 enable_xaudio2_6=${enable_xaudio2_6:-no}
16451 enable_xaudio2_7=${enable_xaudio2_7:-no}
16452 enable_xaudio2_8=${enable_xaudio2_8:-no}
16453 enable_xaudio2_9=${enable_xaudio2_9:-no}
16456 if test "$ac_cv_header_kstat_h" = "yes"
16457 then
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16459 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16460 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16461 $as_echo_n "(cached) " >&6
16462 else
16463 ac_check_lib_save_LIBS=$LIBS
16464 LIBS="-lkstat $LIBS"
16465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16468 /* Override any GCC internal prototype to avoid an error.
16469 Use char because int might match the return type of a GCC
16470 builtin and then its argument prototype would still apply. */
16471 #ifdef __cplusplus
16472 extern "C"
16473 #endif
16474 char kstat_open ();
16476 main ()
16478 return kstat_open ();
16480 return 0;
16482 _ACEOF
16483 if ac_fn_c_try_link "$LINENO"; then :
16484 ac_cv_lib_kstat_kstat_open=yes
16485 else
16486 ac_cv_lib_kstat_kstat_open=no
16488 rm -f core conftest.err conftest.$ac_objext \
16489 conftest$ac_exeext conftest.$ac_ext
16490 LIBS=$ac_check_lib_save_LIBS
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16493 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16494 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16496 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16498 KSTAT_LIBS="-lkstat"
16504 if test "$ac_cv_header_libprocstat_h" = "yes"
16505 then
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16507 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16508 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16509 $as_echo_n "(cached) " >&6
16510 else
16511 ac_check_lib_save_LIBS=$LIBS
16512 LIBS="-lprocstat $LIBS"
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16516 /* Override any GCC internal prototype to avoid an error.
16517 Use char because int might match the return type of a GCC
16518 builtin and then its argument prototype would still apply. */
16519 #ifdef __cplusplus
16520 extern "C"
16521 #endif
16522 char procstat_open_sysctl ();
16524 main ()
16526 return procstat_open_sysctl ();
16528 return 0;
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"; then :
16532 ac_cv_lib_procstat_procstat_open_sysctl=yes
16533 else
16534 ac_cv_lib_procstat_procstat_open_sysctl=no
16536 rm -f core conftest.err conftest.$ac_objext \
16537 conftest$ac_exeext conftest.$ac_ext
16538 LIBS=$ac_check_lib_save_LIBS
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16541 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16542 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16544 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16546 PROCSTAT_LIBS="-lprocstat"
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16553 $as_echo_n "checking for -lodbc... " >&6; }
16554 if ${ac_cv_lib_soname_odbc+:} false; then :
16555 $as_echo_n "(cached) " >&6
16556 else
16557 ac_check_soname_save_LIBS=$LIBS
16558 LIBS="-lodbc $LIBS"
16559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16560 /* end confdefs.h. */
16562 /* Override any GCC internal prototype to avoid an error.
16563 Use char because int might match the return type of a GCC
16564 builtin and then its argument prototype would still apply. */
16565 #ifdef __cplusplus
16566 extern "C"
16567 #endif
16568 char SQLConnect ();
16570 main ()
16572 return SQLConnect ();
16574 return 0;
16576 _ACEOF
16577 if ac_fn_c_try_link "$LINENO"; then :
16578 case "$LIBEXT" in
16579 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16580 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'` ;;
16581 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16582 if ${ac_cv_lib_soname_odbc:+false} :; then :
16583 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16584 fi ;;
16585 esac
16586 else
16587 ac_cv_lib_soname_odbc=
16589 rm -f core conftest.err conftest.$ac_objext \
16590 conftest$ac_exeext conftest.$ac_ext
16591 LIBS=$ac_check_soname_save_LIBS
16593 if ${ac_cv_lib_soname_odbc:+false} :; then :
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16595 $as_echo "not found" >&6; }
16596 cat >>confdefs.h <<_ACEOF
16597 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16598 _ACEOF
16600 else
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16602 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16604 cat >>confdefs.h <<_ACEOF
16605 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16606 _ACEOF
16611 if test "x$with_netapi" != "xno"
16612 then
16613 if ${NETAPI_CFLAGS:+false} :; then :
16614 if ${PKG_CONFIG+:} false; then :
16615 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16619 if ${NETAPI_LIBS:+false} :; then :
16620 if ${PKG_CONFIG+:} false; then :
16621 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16626 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16627 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16628 ac_save_CPPFLAGS=$CPPFLAGS
16629 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16631 $as_echo_n "checking for -lnetapi... " >&6; }
16632 if ${ac_cv_lib_soname_netapi+:} false; then :
16633 $as_echo_n "(cached) " >&6
16634 else
16635 ac_check_soname_save_LIBS=$LIBS
16636 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16640 /* Override any GCC internal prototype to avoid an error.
16641 Use char because int might match the return type of a GCC
16642 builtin and then its argument prototype would still apply. */
16643 #ifdef __cplusplus
16644 extern "C"
16645 #endif
16646 char libnetapi_init ();
16648 main ()
16650 return libnetapi_init ();
16652 return 0;
16654 _ACEOF
16655 if ac_fn_c_try_link "$LINENO"; then :
16656 case "$LIBEXT" in
16657 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16658 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'` ;;
16659 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16660 if ${ac_cv_lib_soname_netapi:+false} :; then :
16661 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16662 fi ;;
16663 esac
16664 else
16665 ac_cv_lib_soname_netapi=
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16669 LIBS=$ac_check_soname_save_LIBS
16671 if ${ac_cv_lib_soname_netapi:+false} :; then :
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16673 $as_echo "not found" >&6; }
16674 cat >>confdefs.h <<_ACEOF
16675 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16676 _ACEOF
16678 else
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16680 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16682 cat >>confdefs.h <<_ACEOF
16683 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16684 _ACEOF
16688 CPPFLAGS=$ac_save_CPPFLAGS
16692 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16693 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16694 then
16695 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16698 if test "x$with_vulkan" != "xno"
16699 then
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16701 $as_echo_n "checking for -lvulkan... " >&6; }
16702 if ${ac_cv_lib_soname_vulkan+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 ac_check_soname_save_LIBS=$LIBS
16706 LIBS="-lvulkan $LIBS"
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16710 /* Override any GCC internal prototype to avoid an error.
16711 Use char because int might match the return type of a GCC
16712 builtin and then its argument prototype would still apply. */
16713 #ifdef __cplusplus
16714 extern "C"
16715 #endif
16716 char vkGetInstanceProcAddr ();
16718 main ()
16720 return vkGetInstanceProcAddr ();
16722 return 0;
16724 _ACEOF
16725 if ac_fn_c_try_link "$LINENO"; then :
16726 case "$LIBEXT" in
16727 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16728 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'` ;;
16729 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16730 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16731 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16732 fi ;;
16733 esac
16734 else
16735 ac_cv_lib_soname_vulkan=
16737 rm -f core conftest.err conftest.$ac_objext \
16738 conftest$ac_exeext conftest.$ac_ext
16739 LIBS=$ac_check_soname_save_LIBS
16741 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16743 $as_echo "not found" >&6; }
16745 else
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16747 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16749 cat >>confdefs.h <<_ACEOF
16750 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16751 _ACEOF
16755 if test "x$ac_cv_lib_soname_vulkan" = "x"
16756 then
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16758 $as_echo_n "checking for -lMoltenVK... " >&6; }
16759 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 ac_check_soname_save_LIBS=$LIBS
16763 LIBS="-lMoltenVK $LIBS"
16764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16765 /* end confdefs.h. */
16767 /* Override any GCC internal prototype to avoid an error.
16768 Use char because int might match the return type of a GCC
16769 builtin and then its argument prototype would still apply. */
16770 #ifdef __cplusplus
16771 extern "C"
16772 #endif
16773 char vkGetInstanceProcAddr ();
16775 main ()
16777 return vkGetInstanceProcAddr ();
16779 return 0;
16781 _ACEOF
16782 if ac_fn_c_try_link "$LINENO"; then :
16783 case "$LIBEXT" in
16784 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16785 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'` ;;
16786 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16787 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16788 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16789 fi ;;
16790 esac
16791 else
16792 ac_cv_lib_soname_MoltenVK=
16794 rm -f core conftest.err conftest.$ac_objext \
16795 conftest$ac_exeext conftest.$ac_ext
16796 LIBS=$ac_check_soname_save_LIBS
16798 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16800 $as_echo "not found" >&6; }
16802 else
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16804 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16806 cat >>confdefs.h <<_ACEOF
16807 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16808 _ACEOF
16814 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16815 case "x$with_vulkan" in
16816 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16817 xno) ;;
16818 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16819 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16820 esac
16824 if test "x$with_vkd3d" != "xno"
16825 then
16826 if ${VKD3D_CFLAGS:+false} :; then :
16827 if ${PKG_CONFIG+:} false; then :
16828 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16832 if ${VKD3D_LIBS:+false} :; then :
16833 if ${PKG_CONFIG+:} false; then :
16834 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16839 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16840 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16841 ac_save_CPPFLAGS=$CPPFLAGS
16842 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16844 $as_echo_n "checking for -lvkd3d... " >&6; }
16845 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16846 $as_echo_n "(cached) " >&6
16847 else
16848 ac_check_soname_save_LIBS=$LIBS
16849 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16853 /* Override any GCC internal prototype to avoid an error.
16854 Use char because int might match the return type of a GCC
16855 builtin and then its argument prototype would still apply. */
16856 #ifdef __cplusplus
16857 extern "C"
16858 #endif
16859 char vkd3d_get_dxgi_format ();
16861 main ()
16863 return vkd3d_get_dxgi_format ();
16865 return 0;
16867 _ACEOF
16868 if ac_fn_c_try_link "$LINENO"; then :
16869 case "$LIBEXT" in
16870 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16871 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'` ;;
16872 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16873 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16874 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16875 fi ;;
16876 esac
16877 else
16878 ac_cv_lib_soname_vkd3d=
16880 rm -f core conftest.err conftest.$ac_objext \
16881 conftest$ac_exeext conftest.$ac_ext
16882 LIBS=$ac_check_soname_save_LIBS
16884 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16886 $as_echo "not found" >&6; }
16888 else
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16890 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16892 cat >>confdefs.h <<_ACEOF
16893 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16894 _ACEOF
16898 CPPFLAGS=$ac_save_CPPFLAGS
16901 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16902 case "x$with_vkd3d" in
16903 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16904 xno) ;;
16905 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16906 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16907 esac
16910 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16913 EXTRACFLAGS=""
16915 if test "x${GCC}" = "xyes"
16916 then
16917 EXTRACFLAGS="-Wall -pipe"
16919 saved_CFLAGS=$CFLAGS
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16921 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16922 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16923 $as_echo_n "(cached) " >&6
16924 else
16925 ac_wine_try_cflags_saved=$CFLAGS
16926 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16929 int main(int argc, char **argv) { return 0; }
16930 _ACEOF
16931 if ac_fn_c_try_link "$LINENO"; then :
16932 ac_cv_cflags__Werror_unknown_warning_option=yes
16933 else
16934 ac_cv_cflags__Werror_unknown_warning_option=no
16936 rm -f core conftest.err conftest.$ac_objext \
16937 conftest$ac_exeext conftest.$ac_ext
16938 CFLAGS=$ac_wine_try_cflags_saved
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16941 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16942 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16943 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16946 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16947 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16948 $as_echo_n "(cached) " >&6
16949 else
16950 ac_wine_try_cflags_saved=$CFLAGS
16951 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 int main(int argc, char **argv) { return 0; }
16955 _ACEOF
16956 if ac_fn_c_try_link "$LINENO"; then :
16957 ac_cv_cflags__Werror_unused_command_line_argument=yes
16958 else
16959 ac_cv_cflags__Werror_unused_command_line_argument=no
16961 rm -f core conftest.err conftest.$ac_objext \
16962 conftest$ac_exeext conftest.$ac_ext
16963 CFLAGS=$ac_wine_try_cflags_saved
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16966 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16967 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16968 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16971 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16972 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16973 $as_echo_n "(cached) " >&6
16974 else
16975 ac_wine_try_cflags_saved=$CFLAGS
16976 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16979 int main(int argc, char **argv) { return 0; }
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"; then :
16982 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16983 else
16984 ac_cv_cflags__Werror_ignored_optimization_argument=no
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16988 CFLAGS=$ac_wine_try_cflags_saved
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16991 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16992 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16993 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16996 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16997 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16998 $as_echo_n "(cached) " >&6
16999 else
17000 ac_wine_try_cflags_saved=$CFLAGS
17001 CFLAGS="$CFLAGS -fcf-protection=none"
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 int main(int argc, char **argv) { return 0; }
17005 _ACEOF
17006 if ac_fn_c_try_link "$LINENO"; then :
17007 ac_cv_cflags__fcf_protection_none=yes
17008 else
17009 ac_cv_cflags__fcf_protection_none=no
17011 rm -f core conftest.err conftest.$ac_objext \
17012 conftest$ac_exeext conftest.$ac_ext
17013 CFLAGS=$ac_wine_try_cflags_saved
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17016 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17017 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17018 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17021 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17022 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 ac_wine_try_cflags_saved=$CFLAGS
17026 CFLAGS="$CFLAGS -fno-stack-protector"
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17029 int main(int argc, char **argv) { return 0; }
17030 _ACEOF
17031 if ac_fn_c_try_link "$LINENO"; then :
17032 ac_cv_cflags__fno_stack_protector=yes
17033 else
17034 ac_cv_cflags__fno_stack_protector=no
17036 rm -f core conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17038 CFLAGS=$ac_wine_try_cflags_saved
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17041 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17042 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17043 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17046 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17047 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 ac_wine_try_cflags_saved=$CFLAGS
17051 CFLAGS="$CFLAGS -fno-strict-aliasing"
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 int main(int argc, char **argv) { return 0; }
17055 _ACEOF
17056 if ac_fn_c_try_link "$LINENO"; then :
17057 ac_cv_cflags__fno_strict_aliasing=yes
17058 else
17059 ac_cv_cflags__fno_strict_aliasing=no
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17063 CFLAGS=$ac_wine_try_cflags_saved
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17066 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17067 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17068 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17071 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17072 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17073 $as_echo_n "(cached) " >&6
17074 else
17075 ac_wine_try_cflags_saved=$CFLAGS
17076 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 int main(int argc, char **argv) { return 0; }
17080 _ACEOF
17081 if ac_fn_c_try_link "$LINENO"; then :
17082 ac_cv_cflags__Wdeclaration_after_statement=yes
17083 else
17084 ac_cv_cflags__Wdeclaration_after_statement=no
17086 rm -f core conftest.err conftest.$ac_objext \
17087 conftest$ac_exeext conftest.$ac_ext
17088 CFLAGS=$ac_wine_try_cflags_saved
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17091 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17092 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17093 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17096 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17097 if ${ac_cv_cflags__Wempty_body+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 ac_wine_try_cflags_saved=$CFLAGS
17101 CFLAGS="$CFLAGS -Wempty-body"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 int main(int argc, char **argv) { return 0; }
17105 _ACEOF
17106 if ac_fn_c_try_link "$LINENO"; then :
17107 ac_cv_cflags__Wempty_body=yes
17108 else
17109 ac_cv_cflags__Wempty_body=no
17111 rm -f core conftest.err conftest.$ac_objext \
17112 conftest$ac_exeext conftest.$ac_ext
17113 CFLAGS=$ac_wine_try_cflags_saved
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17116 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17117 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17118 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17121 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17122 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 ac_wine_try_cflags_saved=$CFLAGS
17126 CFLAGS="$CFLAGS -Wignored-qualifiers"
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 int main(int argc, char **argv) { return 0; }
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"; then :
17132 ac_cv_cflags__Wignored_qualifiers=yes
17133 else
17134 ac_cv_cflags__Wignored_qualifiers=no
17136 rm -f core conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17138 CFLAGS=$ac_wine_try_cflags_saved
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17141 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17142 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17143 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17146 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17147 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 ac_wine_try_cflags_saved=$CFLAGS
17151 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 int main(int argc, char **argv) { return 0; }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_cflags__Wpacked_not_aligned=yes
17158 else
17159 ac_cv_cflags__Wpacked_not_aligned=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 CFLAGS=$ac_wine_try_cflags_saved
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17166 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17167 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17168 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17171 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17172 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 ac_wine_try_cflags_saved=$CFLAGS
17176 CFLAGS="$CFLAGS -Wpragma-pack"
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 int main(int argc, char **argv) { return 0; }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 ac_cv_cflags__Wpragma_pack=yes
17183 else
17184 ac_cv_cflags__Wpragma_pack=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 CFLAGS=$ac_wine_try_cflags_saved
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17191 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17192 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17193 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17196 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17197 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 ac_wine_try_cflags_saved=$CFLAGS
17201 CFLAGS="$CFLAGS -Wshift-overflow=2"
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 int main(int argc, char **argv) { return 0; }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_cflags__Wshift_overflow_2=yes
17208 else
17209 ac_cv_cflags__Wshift_overflow_2=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 CFLAGS=$ac_wine_try_cflags_saved
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17216 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17217 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17218 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17221 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17222 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 ac_wine_try_cflags_saved=$CFLAGS
17226 CFLAGS="$CFLAGS -Wstrict-prototypes"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 int main(int argc, char **argv) { return 0; }
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"; then :
17232 ac_cv_cflags__Wstrict_prototypes=yes
17233 else
17234 ac_cv_cflags__Wstrict_prototypes=no
17236 rm -f core conftest.err conftest.$ac_objext \
17237 conftest$ac_exeext conftest.$ac_ext
17238 CFLAGS=$ac_wine_try_cflags_saved
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17241 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17242 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17243 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17246 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17247 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 ac_wine_try_cflags_saved=$CFLAGS
17251 CFLAGS="$CFLAGS -Wtype-limits"
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 int main(int argc, char **argv) { return 0; }
17255 _ACEOF
17256 if ac_fn_c_try_link "$LINENO"; then :
17257 ac_cv_cflags__Wtype_limits=yes
17258 else
17259 ac_cv_cflags__Wtype_limits=no
17261 rm -f core conftest.err conftest.$ac_objext \
17262 conftest$ac_exeext conftest.$ac_ext
17263 CFLAGS=$ac_wine_try_cflags_saved
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17266 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17267 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17268 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17271 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17272 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 ac_wine_try_cflags_saved=$CFLAGS
17276 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 int main(int argc, char **argv) { return 0; }
17280 _ACEOF
17281 if ac_fn_c_try_link "$LINENO"; then :
17282 ac_cv_cflags__Wunused_but_set_parameter=yes
17283 else
17284 ac_cv_cflags__Wunused_but_set_parameter=no
17286 rm -f core conftest.err conftest.$ac_objext \
17287 conftest$ac_exeext conftest.$ac_ext
17288 CFLAGS=$ac_wine_try_cflags_saved
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17291 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17292 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17293 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17296 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17297 if ${ac_cv_cflags__Wvla+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 ac_wine_try_cflags_saved=$CFLAGS
17301 CFLAGS="$CFLAGS -Wvla"
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 int main(int argc, char **argv) { return 0; }
17305 _ACEOF
17306 if ac_fn_c_try_link "$LINENO"; then :
17307 ac_cv_cflags__Wvla=yes
17308 else
17309 ac_cv_cflags__Wvla=no
17311 rm -f core conftest.err conftest.$ac_objext \
17312 conftest$ac_exeext conftest.$ac_ext
17313 CFLAGS=$ac_wine_try_cflags_saved
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17316 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17317 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17318 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17321 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17322 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17323 $as_echo_n "(cached) " >&6
17324 else
17325 ac_wine_try_cflags_saved=$CFLAGS
17326 CFLAGS="$CFLAGS -Wwrite-strings"
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 int main(int argc, char **argv) { return 0; }
17330 _ACEOF
17331 if ac_fn_c_try_link "$LINENO"; then :
17332 ac_cv_cflags__Wwrite_strings=yes
17333 else
17334 ac_cv_cflags__Wwrite_strings=no
17336 rm -f core conftest.err conftest.$ac_objext \
17337 conftest$ac_exeext conftest.$ac_ext
17338 CFLAGS=$ac_wine_try_cflags_saved
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17341 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17342 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17343 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17346 if test -z "$CROSSTARGET"
17347 then
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17349 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17350 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17351 $as_echo_n "(cached) " >&6
17352 else
17353 ac_wine_try_cflags_saved=$CFLAGS
17354 CFLAGS="$CFLAGS -fexcess-precision=standard"
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 int main(int argc, char **argv) { return 0; }
17358 _ACEOF
17359 if ac_fn_c_try_link "$LINENO"; then :
17360 ac_cv_cflags__fexcess_precision_standard=yes
17361 else
17362 ac_cv_cflags__fexcess_precision_standard=no
17364 rm -f core conftest.err conftest.$ac_objext \
17365 conftest$ac_exeext conftest.$ac_ext
17366 CFLAGS=$ac_wine_try_cflags_saved
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17369 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17370 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17371 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17377 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17378 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 ac_wine_try_cflags_saved=$CFLAGS
17382 CFLAGS="$CFLAGS -Wpointer-arith"
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 int main(int argc, char **argv) { return 0; }
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"; then :
17388 ac_cv_cflags__Wpointer_arith=yes
17389 else
17390 ac_cv_cflags__Wpointer_arith=no
17392 rm -f core conftest.err conftest.$ac_objext \
17393 conftest$ac_exeext conftest.$ac_ext
17394 CFLAGS=$ac_wine_try_cflags_saved
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17397 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17398 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17399 saved_string_h_CFLAGS=$CFLAGS
17400 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17402 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17403 if ${ac_cv_c_string_h_warnings+:} false; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408 #include <string.h>
17410 main ()
17414 return 0;
17416 _ACEOF
17417 if ac_fn_c_try_compile "$LINENO"; then :
17418 ac_cv_c_string_h_warnings=no
17419 else
17420 ac_cv_c_string_h_warnings=yes
17422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17425 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17426 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17427 CFLAGS=$saved_string_h_CFLAGS
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17431 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17432 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 ac_wine_try_cflags_saved=$CFLAGS
17436 CFLAGS="$CFLAGS -Wlogical-op"
17437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17439 int main(int argc, char **argv) { return 0; }
17440 _ACEOF
17441 if ac_fn_c_try_link "$LINENO"; then :
17442 ac_cv_cflags__Wlogical_op=yes
17443 else
17444 ac_cv_cflags__Wlogical_op=no
17446 rm -f core conftest.err conftest.$ac_objext \
17447 conftest$ac_exeext conftest.$ac_ext
17448 CFLAGS=$ac_wine_try_cflags_saved
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17451 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17452 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17453 saved_string_h_CFLAGS=$CFLAGS
17454 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17456 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17457 if ${ac_cv_c_logicalop_noisy+:} false; then :
17458 $as_echo_n "(cached) " >&6
17459 else
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17462 #include <string.h>
17463 char*f(const char *h,char n) {return strchr(h,n);}
17465 main ()
17469 return 0;
17471 _ACEOF
17472 if ac_fn_c_try_compile "$LINENO"; then :
17473 ac_cv_c_logicalop_noisy=no
17474 else
17475 ac_cv_c_logicalop_noisy=yes
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17480 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17481 CFLAGS=$saved_string_h_CFLAGS
17482 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17485 for ac_flag in $CFLAGS; do
17486 case $ac_flag in
17487 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17488 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17489 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17492 ac_wine_try_cflags_saved=$CFLAGS
17493 CFLAGS="$CFLAGS -gdwarf-2"
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 int main(int argc, char **argv) { return 0; }
17497 _ACEOF
17498 if ac_fn_c_try_link "$LINENO"; then :
17499 ac_cv_cflags__gdwarf_2=yes
17500 else
17501 ac_cv_cflags__gdwarf_2=no
17503 rm -f core conftest.err conftest.$ac_objext \
17504 conftest$ac_exeext conftest.$ac_ext
17505 CFLAGS=$ac_wine_try_cflags_saved
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17508 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17509 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17510 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17513 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17514 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17515 $as_echo_n "(cached) " >&6
17516 else
17517 ac_wine_try_cflags_saved=$CFLAGS
17518 CFLAGS="$CFLAGS -gstrict-dwarf"
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17521 int main(int argc, char **argv) { return 0; }
17522 _ACEOF
17523 if ac_fn_c_try_link "$LINENO"; then :
17524 ac_cv_cflags__gstrict_dwarf=yes
17525 else
17526 ac_cv_cflags__gstrict_dwarf=no
17528 rm -f core conftest.err conftest.$ac_objext \
17529 conftest$ac_exeext conftest.$ac_ext
17530 CFLAGS=$ac_wine_try_cflags_saved
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17533 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17534 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17535 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17536 fi ;;
17537 esac
17538 done
17540 MSVCRTFLAGS=""
17542 case $host_os in
17543 mingw32*) ;;
17544 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17545 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17546 if ${ac_cv_cflags__fno_builtin+:} false; then :
17547 $as_echo_n "(cached) " >&6
17548 else
17549 ac_wine_try_cflags_saved=$CFLAGS
17550 CFLAGS="$CFLAGS -fno-builtin"
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17553 int main(int argc, char **argv) { return 0; }
17554 _ACEOF
17555 if ac_fn_c_try_link "$LINENO"; then :
17556 ac_cv_cflags__fno_builtin=yes
17557 else
17558 ac_cv_cflags__fno_builtin=no
17560 rm -f core conftest.err conftest.$ac_objext \
17561 conftest$ac_exeext conftest.$ac_ext
17562 CFLAGS=$ac_wine_try_cflags_saved
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17565 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17566 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17567 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17570 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17571 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17572 $as_echo_n "(cached) " >&6
17573 else
17574 ac_wine_try_cflags_saved=$CFLAGS
17575 CFLAGS="$CFLAGS -fshort-wchar"
17576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17578 int main(int argc, char **argv) { return 0; }
17579 _ACEOF
17580 if ac_fn_c_try_link "$LINENO"; then :
17581 ac_cv_cflags__fshort_wchar=yes
17582 else
17583 ac_cv_cflags__fshort_wchar=no
17585 rm -f core conftest.err conftest.$ac_objext \
17586 conftest$ac_exeext conftest.$ac_ext
17587 CFLAGS=$ac_wine_try_cflags_saved
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17590 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17591 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17592 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17593 fi ;;
17594 esac
17596 case $host_cpu in
17597 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17598 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17599 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 ac_wine_try_cflags_saved=$CFLAGS
17603 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 int main(int argc, char **argv) { return 0; }
17607 _ACEOF
17608 if ac_fn_c_try_link "$LINENO"; then :
17609 ac_cv_cflags__fno_omit_frame_pointer=yes
17610 else
17611 ac_cv_cflags__fno_omit_frame_pointer=no
17613 rm -f core conftest.err conftest.$ac_objext \
17614 conftest$ac_exeext conftest.$ac_ext
17615 CFLAGS=$ac_wine_try_cflags_saved
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17618 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17619 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17620 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17621 fi ;;
17622 *x86_64*)
17623 case $host_os in
17624 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17625 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17626 if ${ac_cv_cflags__Wno_format+:} false; then :
17627 $as_echo_n "(cached) " >&6
17628 else
17629 ac_wine_try_cflags_saved=$CFLAGS
17630 CFLAGS="$CFLAGS -Wno-format"
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17633 int main(int argc, char **argv) { return 0; }
17634 _ACEOF
17635 if ac_fn_c_try_link "$LINENO"; then :
17636 ac_cv_cflags__Wno_format=yes
17637 else
17638 ac_cv_cflags__Wno_format=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17642 CFLAGS=$ac_wine_try_cflags_saved
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17645 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17646 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17647 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17648 fi ;;
17649 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17650 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17651 if ${ac_cv_cflags__mabi_ms+:} false; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17654 ac_wine_try_cflags_saved=$CFLAGS
17655 CFLAGS="$CFLAGS -mabi=ms"
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 int main(int argc, char **argv) { return 0; }
17659 _ACEOF
17660 if ac_fn_c_try_link "$LINENO"; then :
17661 ac_cv_cflags__mabi_ms=yes
17662 else
17663 ac_cv_cflags__mabi_ms=no
17665 rm -f core conftest.err conftest.$ac_objext \
17666 conftest$ac_exeext conftest.$ac_ext
17667 CFLAGS=$ac_wine_try_cflags_saved
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17670 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17671 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17672 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17673 fi ;;
17674 esac ;;
17675 esac
17677 CFLAGS=$saved_CFLAGS
17679 if test "x$enable_werror" = "xyes"
17680 then
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17682 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17683 if ${ac_cv_cflags__Werror+:} false; then :
17684 $as_echo_n "(cached) " >&6
17685 else
17686 ac_wine_try_cflags_saved=$CFLAGS
17687 CFLAGS="$CFLAGS -Werror"
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 int main(int argc, char **argv) { return 0; }
17691 _ACEOF
17692 if ac_fn_c_try_link "$LINENO"; then :
17693 ac_cv_cflags__Werror=yes
17694 else
17695 ac_cv_cflags__Werror=no
17697 rm -f core conftest.err conftest.$ac_objext \
17698 conftest$ac_exeext conftest.$ac_ext
17699 CFLAGS=$ac_wine_try_cflags_saved
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17702 $as_echo "$ac_cv_cflags__Werror" >&6; }
17703 if test "x$ac_cv_cflags__Werror" = xyes; then :
17704 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17711 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17712 if ${ac_cv_c_fortify_enabled+:} false; then :
17713 $as_echo_n "(cached) " >&6
17714 else
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #include <string.h>
17719 main ()
17721 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17722 #error Fortify enabled
17723 #endif
17725 return 0;
17727 _ACEOF
17728 if ac_fn_c_try_compile "$LINENO"; then :
17729 ac_cv_c_fortify_enabled=no
17730 else
17731 ac_cv_c_fortify_enabled=yes
17733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17736 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17737 if test "$ac_cv_c_fortify_enabled" = yes
17738 then
17739 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17744 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17745 if ${ac_cv_c_cfi_support+:} false; then :
17746 $as_echo_n "(cached) " >&6
17747 else
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17750 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17752 main ()
17756 return 0;
17758 _ACEOF
17759 if ac_fn_c_try_compile "$LINENO"; then :
17760 ac_cv_c_cfi_support="yes"
17761 else
17762 ac_cv_c_cfi_support="no"
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17767 $as_echo "$ac_cv_c_cfi_support" >&6; }
17768 if test "$ac_cv_c_cfi_support" = "yes"
17769 then
17770 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17771 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17772 else
17773 if test "x$enable_win64" = "xyes"
17774 then
17775 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17780 case $build_os in
17781 cygwin*|mingw32*) TOOLSEXT=".exe"
17783 esac
17785 case $host_os in
17786 linux*)
17787 case $host_cpu in
17788 *i[3456789]86*|x86_64*|*aarch64*)
17789 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17790 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17792 esac
17794 esac
17797 ac_save_CFLAGS="$CFLAGS"
17798 CFLAGS="$CFLAGS $BUILTINFLAG"
17799 for ac_func in \
17800 __res_get_state \
17801 __res_getservers \
17802 _spawnvp \
17803 epoll_create \
17804 ffs \
17805 finite \
17806 finitef \
17807 fnmatch \
17808 fork \
17809 fpclass \
17810 fstatfs \
17811 fstatvfs \
17812 futimens \
17813 futimes \
17814 futimesat \
17815 getattrlist \
17816 getauxval \
17817 getifaddrs \
17818 getopt_long_only \
17819 getrandom \
17820 kqueue \
17821 lstat \
17822 mach_continuous_time \
17823 pipe2 \
17824 poll \
17825 port_create \
17826 prctl \
17827 pread \
17828 proc_pidinfo \
17829 pwrite \
17830 readdir \
17831 readlink \
17832 sched_yield \
17833 select \
17834 setproctitle \
17835 setprogname \
17836 settimeofday \
17837 sigprocmask \
17838 statfs \
17839 statvfs \
17840 strnlen \
17841 strtold \
17842 symlink \
17843 sysinfo \
17844 tcdrain \
17845 thr_kill2 \
17846 usleep
17848 do :
17849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17851 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17852 cat >>confdefs.h <<_ACEOF
17853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17854 _ACEOF
17857 done
17859 CFLAGS="$ac_save_CFLAGS"
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17862 $as_echo_n "checking for library containing dlopen... " >&6; }
17863 if ${ac_cv_search_dlopen+:} false; then :
17864 $as_echo_n "(cached) " >&6
17865 else
17866 ac_func_search_save_LIBS=$LIBS
17867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17870 /* Override any GCC internal prototype to avoid an error.
17871 Use char because int might match the return type of a GCC
17872 builtin and then its argument prototype would still apply. */
17873 #ifdef __cplusplus
17874 extern "C"
17875 #endif
17876 char dlopen ();
17878 main ()
17880 return dlopen ();
17882 return 0;
17884 _ACEOF
17885 for ac_lib in '' dl; do
17886 if test -z "$ac_lib"; then
17887 ac_res="none required"
17888 else
17889 ac_res=-l$ac_lib
17890 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17892 if ac_fn_c_try_link "$LINENO"; then :
17893 ac_cv_search_dlopen=$ac_res
17895 rm -f core conftest.err conftest.$ac_objext \
17896 conftest$ac_exeext
17897 if ${ac_cv_search_dlopen+:} false; then :
17898 break
17900 done
17901 if ${ac_cv_search_dlopen+:} false; then :
17903 else
17904 ac_cv_search_dlopen=no
17906 rm conftest.$ac_ext
17907 LIBS=$ac_func_search_save_LIBS
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17910 $as_echo "$ac_cv_search_dlopen" >&6; }
17911 ac_res=$ac_cv_search_dlopen
17912 if test "$ac_res" != no; then :
17913 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17917 ac_wine_check_funcs_save_LIBS="$LIBS"
17918 LIBS="$LIBS $DL_LIBS"
17919 for ac_func in dladdr dlinfo
17920 do :
17921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17923 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17924 cat >>confdefs.h <<_ACEOF
17925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17926 _ACEOF
17929 done
17931 LIBS="$ac_wine_check_funcs_save_LIBS"
17933 if test "$ac_cv_func_poll" = no
17934 then
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17936 $as_echo_n "checking for poll in -lpoll... " >&6; }
17937 if ${ac_cv_lib_poll_poll+:} false; then :
17938 $as_echo_n "(cached) " >&6
17939 else
17940 ac_check_lib_save_LIBS=$LIBS
17941 LIBS="-lpoll $LIBS"
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17945 /* Override any GCC internal prototype to avoid an error.
17946 Use char because int might match the return type of a GCC
17947 builtin and then its argument prototype would still apply. */
17948 #ifdef __cplusplus
17949 extern "C"
17950 #endif
17951 char poll ();
17953 main ()
17955 return poll ();
17957 return 0;
17959 _ACEOF
17960 if ac_fn_c_try_link "$LINENO"; then :
17961 ac_cv_lib_poll_poll=yes
17962 else
17963 ac_cv_lib_poll_poll=no
17965 rm -f core conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17967 LIBS=$ac_check_lib_save_LIBS
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17970 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17971 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17972 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17973 POLL_LIBS="-lpoll"
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17980 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17981 if ${ac_cv_search_gethostbyname+:} false; then :
17982 $as_echo_n "(cached) " >&6
17983 else
17984 ac_func_search_save_LIBS=$LIBS
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 /* Override any GCC internal prototype to avoid an error.
17989 Use char because int might match the return type of a GCC
17990 builtin and then its argument prototype would still apply. */
17991 #ifdef __cplusplus
17992 extern "C"
17993 #endif
17994 char gethostbyname ();
17996 main ()
17998 return gethostbyname ();
18000 return 0;
18002 _ACEOF
18003 for ac_lib in '' nsl; do
18004 if test -z "$ac_lib"; then
18005 ac_res="none required"
18006 else
18007 ac_res=-l$ac_lib
18008 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18010 if ac_fn_c_try_link "$LINENO"; then :
18011 ac_cv_search_gethostbyname=$ac_res
18013 rm -f core conftest.err conftest.$ac_objext \
18014 conftest$ac_exeext
18015 if ${ac_cv_search_gethostbyname+:} false; then :
18016 break
18018 done
18019 if ${ac_cv_search_gethostbyname+:} false; then :
18021 else
18022 ac_cv_search_gethostbyname=no
18024 rm conftest.$ac_ext
18025 LIBS=$ac_func_search_save_LIBS
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18028 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18029 ac_res=$ac_cv_search_gethostbyname
18030 if test "$ac_res" != no; then :
18031 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18037 $as_echo_n "checking for library containing connect... " >&6; }
18038 if ${ac_cv_search_connect+:} false; then :
18039 $as_echo_n "(cached) " >&6
18040 else
18041 ac_func_search_save_LIBS=$LIBS
18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18045 /* Override any GCC internal prototype to avoid an error.
18046 Use char because int might match the return type of a GCC
18047 builtin and then its argument prototype would still apply. */
18048 #ifdef __cplusplus
18049 extern "C"
18050 #endif
18051 char connect ();
18053 main ()
18055 return connect ();
18057 return 0;
18059 _ACEOF
18060 for ac_lib in '' socket; do
18061 if test -z "$ac_lib"; then
18062 ac_res="none required"
18063 else
18064 ac_res=-l$ac_lib
18065 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18067 if ac_fn_c_try_link "$LINENO"; then :
18068 ac_cv_search_connect=$ac_res
18070 rm -f core conftest.err conftest.$ac_objext \
18071 conftest$ac_exeext
18072 if ${ac_cv_search_connect+:} false; then :
18073 break
18075 done
18076 if ${ac_cv_search_connect+:} false; then :
18078 else
18079 ac_cv_search_connect=no
18081 rm conftest.$ac_ext
18082 LIBS=$ac_func_search_save_LIBS
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18085 $as_echo "$ac_cv_search_connect" >&6; }
18086 ac_res=$ac_cv_search_connect
18087 if test "$ac_res" != no; then :
18088 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18094 $as_echo_n "checking for library containing inet_aton... " >&6; }
18095 if ${ac_cv_search_inet_aton+:} false; then :
18096 $as_echo_n "(cached) " >&6
18097 else
18098 ac_func_search_save_LIBS=$LIBS
18099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18100 /* end confdefs.h. */
18102 /* Override any GCC internal prototype to avoid an error.
18103 Use char because int might match the return type of a GCC
18104 builtin and then its argument prototype would still apply. */
18105 #ifdef __cplusplus
18106 extern "C"
18107 #endif
18108 char inet_aton ();
18110 main ()
18112 return inet_aton ();
18114 return 0;
18116 _ACEOF
18117 for ac_lib in '' resolv; do
18118 if test -z "$ac_lib"; then
18119 ac_res="none required"
18120 else
18121 ac_res=-l$ac_lib
18122 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18124 if ac_fn_c_try_link "$LINENO"; then :
18125 ac_cv_search_inet_aton=$ac_res
18127 rm -f core conftest.err conftest.$ac_objext \
18128 conftest$ac_exeext
18129 if ${ac_cv_search_inet_aton+:} false; then :
18130 break
18132 done
18133 if ${ac_cv_search_inet_aton+:} false; then :
18135 else
18136 ac_cv_search_inet_aton=no
18138 rm conftest.$ac_ext
18139 LIBS=$ac_func_search_save_LIBS
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18142 $as_echo "$ac_cv_search_inet_aton" >&6; }
18143 ac_res=$ac_cv_search_inet_aton
18144 if test "$ac_res" != no; then :
18145 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18150 for ac_func in \
18151 getaddrinfo \
18152 getnameinfo \
18153 getnetbyname \
18154 getservbyport \
18156 do :
18157 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18160 cat >>confdefs.h <<_ACEOF
18161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18162 _ACEOF
18165 done
18168 case $host_os in
18169 darwin*|macosx*) ;;
18170 *) ac_save_LIBS=$LIBS
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18172 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18173 if ${ac_cv_search_clock_gettime+:} false; then :
18174 $as_echo_n "(cached) " >&6
18175 else
18176 ac_func_search_save_LIBS=$LIBS
18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18178 /* end confdefs.h. */
18180 /* Override any GCC internal prototype to avoid an error.
18181 Use char because int might match the return type of a GCC
18182 builtin and then its argument prototype would still apply. */
18183 #ifdef __cplusplus
18184 extern "C"
18185 #endif
18186 char clock_gettime ();
18188 main ()
18190 return clock_gettime ();
18192 return 0;
18194 _ACEOF
18195 for ac_lib in '' rt; do
18196 if test -z "$ac_lib"; then
18197 ac_res="none required"
18198 else
18199 ac_res=-l$ac_lib
18200 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18202 if ac_fn_c_try_link "$LINENO"; then :
18203 ac_cv_search_clock_gettime=$ac_res
18205 rm -f core conftest.err conftest.$ac_objext \
18206 conftest$ac_exeext
18207 if ${ac_cv_search_clock_gettime+:} false; then :
18208 break
18210 done
18211 if ${ac_cv_search_clock_gettime+:} false; then :
18213 else
18214 ac_cv_search_clock_gettime=no
18216 rm conftest.$ac_ext
18217 LIBS=$ac_func_search_save_LIBS
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18220 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18221 ac_res=$ac_cv_search_clock_gettime
18222 if test "$ac_res" != no; then :
18223 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18225 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18227 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18231 LIBS=$ac_save_LIBS
18233 esac
18235 if test "x$with_ldap" != "xno"
18236 then
18237 if ${LDAP_CFLAGS:+false} :; then :
18238 if ${PKG_CONFIG+:} false; then :
18239 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18243 if ${LDAP_LIBS:+false} :; then :
18244 if ${PKG_CONFIG+:} false; then :
18245 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18249 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18250 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18251 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18252 ac_save_CPPFLAGS=$CPPFLAGS
18253 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18254 for ac_header in ldap.h lber.h
18255 do :
18256 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18257 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18258 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18259 cat >>confdefs.h <<_ACEOF
18260 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18261 _ACEOF
18265 done
18267 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18268 then
18269 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18271 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18273 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18274 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18275 $as_echo_n "(cached) " >&6
18276 else
18277 ac_check_lib_save_LIBS=$LIBS
18278 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18282 /* Override any GCC internal prototype to avoid an error.
18283 Use char because int might match the return type of a GCC
18284 builtin and then its argument prototype would still apply. */
18285 #ifdef __cplusplus
18286 extern "C"
18287 #endif
18288 char ldap_initialize ();
18290 main ()
18292 return ldap_initialize ();
18294 return 0;
18296 _ACEOF
18297 if ac_fn_c_try_link "$LINENO"; then :
18298 ac_cv_lib_ldap_r_ldap_initialize=yes
18299 else
18300 ac_cv_lib_ldap_r_ldap_initialize=no
18302 rm -f core conftest.err conftest.$ac_objext \
18303 conftest$ac_exeext conftest.$ac_ext
18304 LIBS=$ac_check_lib_save_LIBS
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18307 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18308 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18310 $as_echo_n "checking for ber_init in -llber... " >&6; }
18311 if ${ac_cv_lib_lber_ber_init+:} false; then :
18312 $as_echo_n "(cached) " >&6
18313 else
18314 ac_check_lib_save_LIBS=$LIBS
18315 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18319 /* Override any GCC internal prototype to avoid an error.
18320 Use char because int might match the return type of a GCC
18321 builtin and then its argument prototype would still apply. */
18322 #ifdef __cplusplus
18323 extern "C"
18324 #endif
18325 char ber_init ();
18327 main ()
18329 return ber_init ();
18331 return 0;
18333 _ACEOF
18334 if ac_fn_c_try_link "$LINENO"; then :
18335 ac_cv_lib_lber_ber_init=yes
18336 else
18337 ac_cv_lib_lber_ber_init=no
18339 rm -f core conftest.err conftest.$ac_objext \
18340 conftest$ac_exeext conftest.$ac_ext
18341 LIBS=$ac_check_lib_save_LIBS
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18344 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18345 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18347 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18349 else
18350 LDAP_LIBS=""
18353 else
18354 LDAP_LIBS=""
18357 else
18358 LDAP_LIBS=""
18361 ac_wine_check_funcs_save_LIBS="$LIBS"
18362 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18363 for ac_func in \
18364 ldap_count_references \
18365 ldap_first_reference \
18366 ldap_next_reference \
18367 ldap_parse_reference \
18368 ldap_parse_sort_control \
18369 ldap_parse_sortresponse_control \
18370 ldap_parse_vlv_control \
18371 ldap_parse_vlvresponse_control
18372 do :
18373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18375 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18376 cat >>confdefs.h <<_ACEOF
18377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18378 _ACEOF
18381 done
18383 LIBS="$ac_wine_check_funcs_save_LIBS"
18384 else
18385 LDAP_LIBS=""
18387 CPPFLAGS=$ac_save_CPPFLAGS
18390 if test "x$LDAP_LIBS" = "x"; then :
18391 case "x$with_ldap" in
18392 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18393 xno) ;;
18394 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18395 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18396 esac
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18401 $as_echo_n "checking for sched_setaffinity... " >&6; }
18402 if ${wine_cv_have_sched_setaffinity+:} false; then :
18403 $as_echo_n "(cached) " >&6
18404 else
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 #define _GNU_SOURCE
18408 #include <sched.h>
18410 main ()
18412 sched_setaffinity(0, 0, 0);
18414 return 0;
18416 _ACEOF
18417 if ac_fn_c_try_link "$LINENO"; then :
18418 wine_cv_have_sched_setaffinity=yes
18419 else
18420 wine_cv_have_sched_setaffinity=no
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18426 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18427 if test "$wine_cv_have_sched_setaffinity" = "yes"
18428 then
18430 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18435 $as_echo_n "checking for fallocate... " >&6; }
18436 if ${wine_cv_have_fallocate+:} false; then :
18437 $as_echo_n "(cached) " >&6
18438 else
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18441 #define _GNU_SOURCE
18442 #include <fcntl.h>
18444 main ()
18446 fallocate(-1, 0, 0, 0);
18448 return 0;
18450 _ACEOF
18451 if ac_fn_c_try_link "$LINENO"; then :
18452 wine_cv_have_fallocate=yes
18453 else
18454 wine_cv_have_fallocate=no
18456 rm -f core conftest.err conftest.$ac_objext \
18457 conftest$ac_exeext conftest.$ac_ext
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18460 $as_echo "$wine_cv_have_fallocate" >&6; }
18461 if test "$wine_cv_have_fallocate" = "yes"
18462 then
18464 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18470 $as_echo_n "checking for inline... " >&6; }
18471 if ${ac_cv_c_inline+:} false; then :
18472 $as_echo_n "(cached) " >&6
18473 else
18474 ac_cv_c_inline=no
18475 for ac_kw in inline __inline__ __inline; do
18476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18477 /* end confdefs.h. */
18478 #ifndef __cplusplus
18479 typedef int foo_t;
18480 static $ac_kw foo_t static_foo () {return 0; }
18481 $ac_kw foo_t foo () {return 0; }
18482 #endif
18484 _ACEOF
18485 if ac_fn_c_try_compile "$LINENO"; then :
18486 ac_cv_c_inline=$ac_kw
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 test "$ac_cv_c_inline" != no && break
18490 done
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18494 $as_echo "$ac_cv_c_inline" >&6; }
18496 case $ac_cv_c_inline in
18497 inline | yes) ;;
18499 case $ac_cv_c_inline in
18500 no) ac_val=;;
18501 *) ac_val=$ac_cv_c_inline;;
18502 esac
18503 cat >>confdefs.h <<_ACEOF
18504 #ifndef __cplusplus
18505 #define inline $ac_val
18506 #endif
18507 _ACEOF
18509 esac
18511 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18512 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18514 cat >>confdefs.h <<_ACEOF
18515 #define HAVE_FSBLKCNT_T 1
18516 _ACEOF
18520 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18521 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18523 cat >>confdefs.h <<_ACEOF
18524 #define HAVE_FSFILCNT_T 1
18525 _ACEOF
18530 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18531 #include <signal.h>
18533 if test "x$ac_cv_type_sigset_t" = xyes; then :
18535 cat >>confdefs.h <<_ACEOF
18536 #define HAVE_SIGSET_T 1
18537 _ACEOF
18542 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18544 if test "x$ac_cv_type_request_sense" = xyes; then :
18546 cat >>confdefs.h <<_ACEOF
18547 #define HAVE_REQUEST_SENSE 1
18548 _ACEOF
18554 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18555 #ifdef HAVE_SYS_SOCKET_H
18556 #include <sys/socket.h>
18557 #endif
18558 #ifdef HAVE_SYS_SOCKETVAR_H
18559 #include <sys/socketvar.h>
18560 #endif
18561 #ifdef HAVE_NET_ROUTE_H
18562 #include <net/route.h>
18563 #endif
18564 #ifdef HAVE_NETINET_IN_H
18565 #include <netinet/in.h>
18566 #endif
18567 #ifdef HAVE_NETINET_IN_SYSTM_H
18568 #include <netinet/in_systm.h>
18569 #endif
18570 #ifdef HAVE_NETINET_IP_H
18571 #include <netinet/ip.h>
18572 #endif
18573 #ifdef HAVE_NETINET_IN_PCB_H
18574 #include <netinet/in_pcb.h>
18575 #endif
18577 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18579 cat >>confdefs.h <<_ACEOF
18580 #define HAVE_STRUCT_XINPGEN 1
18581 _ACEOF
18587 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18588 #include <linux/input.h>
18589 #endif
18591 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18593 cat >>confdefs.h <<_ACEOF
18594 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18595 _ACEOF
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18602 $as_echo_n "checking for if_nameindex... " >&6; }
18603 if ${wine_cv_have_if_nameindex+:} false; then :
18604 $as_echo_n "(cached) " >&6
18605 else
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 #ifdef HAVE_SYS_TYPES_H
18609 #include <sys/types.h>
18610 #endif
18611 #ifdef HAVE_SYS_SOCKET_H
18612 #include <sys/socket.h>
18613 #endif
18614 #ifdef HAVE_NET_IF_H
18615 # include <net/if.h>
18616 #endif
18618 main ()
18620 struct if_nameindex *p = if_nameindex(); return p->if_index;
18622 return 0;
18624 _ACEOF
18625 if ac_fn_c_try_link "$LINENO"; then :
18626 wine_cv_have_if_nameindex=yes
18627 else
18628 wine_cv_have_if_nameindex=no
18630 rm -f core conftest.err conftest.$ac_objext \
18631 conftest$ac_exeext conftest.$ac_ext
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18634 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18635 if test "$wine_cv_have_if_nameindex" = "yes"
18636 then
18638 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18643 $as_echo_n "checking for sigaddset... " >&6; }
18644 if ${wine_cv_have_sigaddset+:} false; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 #include <signal.h>
18651 main ()
18653 sigset_t set; sigaddset(&set,SIGTERM);
18655 return 0;
18657 _ACEOF
18658 if ac_fn_c_try_link "$LINENO"; then :
18659 wine_cv_have_sigaddset=yes
18660 else
18661 wine_cv_have_sigaddset=no
18663 rm -f core conftest.err conftest.$ac_objext \
18664 conftest$ac_exeext conftest.$ac_ext
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18667 $as_echo "$wine_cv_have_sigaddset" >&6; }
18668 if test "$wine_cv_have_sigaddset" = "yes"
18669 then
18671 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18677 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18678 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18679 $as_echo_n "(cached) " >&6
18680 else
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 #include <netdb.h>
18685 main ()
18688 char *name=0;
18689 struct hostent he;
18690 struct hostent *result;
18691 char *buf=0;
18692 int bufsize=0;
18693 int errnr;
18694 char *addr=0;
18695 int addrlen=0;
18696 int addrtype=0;
18697 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18698 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18701 return 0;
18703 _ACEOF
18704 if ac_fn_c_try_link "$LINENO"; then :
18705 wine_cv_linux_gethostbyname_r_6=yes
18706 else
18707 wine_cv_linux_gethostbyname_r_6=no
18710 rm -f core conftest.err conftest.$ac_objext \
18711 conftest$ac_exeext conftest.$ac_ext
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18715 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18716 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18717 then
18719 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18723 if test "$ac_cv_header_linux_joystick_h" = "yes"
18724 then
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18726 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18727 if ${wine_cv_linux_joystick_22_api+:} false; then :
18728 $as_echo_n "(cached) " >&6
18729 else
18730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18733 #include <sys/ioctl.h>
18734 #include <sys/types.h>
18735 #include <linux/joystick.h>
18737 struct js_event blub;
18738 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18739 #error "no 2.2 header"
18740 #endif
18743 main ()
18745 /*empty*/
18747 return 0;
18749 _ACEOF
18750 if ac_fn_c_try_compile "$LINENO"; then :
18751 wine_cv_linux_joystick_22_api=yes
18752 else
18753 wine_cv_linux_joystick_22_api=no
18755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18759 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18760 if test "$wine_cv_linux_joystick_22_api" = "yes"
18761 then
18763 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18769 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18770 #ifdef HAVE_SYS_PARAM_H
18771 # include <sys/param.h>
18772 #endif
18773 #ifdef HAVE_SYS_MOUNT_H
18774 # include <sys/mount.h>
18775 #endif
18776 #ifdef HAVE_SYS_VFS_H
18777 # include <sys/vfs.h>
18778 #endif
18779 #ifdef HAVE_SYS_STATFS_H
18780 # include <sys/statfs.h>
18781 #endif
18783 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18785 cat >>confdefs.h <<_ACEOF
18786 #define HAVE_STRUCT_STATFS_F_BFREE 1
18787 _ACEOF
18791 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18792 #ifdef HAVE_SYS_PARAM_H
18793 # include <sys/param.h>
18794 #endif
18795 #ifdef HAVE_SYS_MOUNT_H
18796 # include <sys/mount.h>
18797 #endif
18798 #ifdef HAVE_SYS_VFS_H
18799 # include <sys/vfs.h>
18800 #endif
18801 #ifdef HAVE_SYS_STATFS_H
18802 # include <sys/statfs.h>
18803 #endif
18805 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18807 cat >>confdefs.h <<_ACEOF
18808 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18809 _ACEOF
18813 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18814 #ifdef HAVE_SYS_PARAM_H
18815 # include <sys/param.h>
18816 #endif
18817 #ifdef HAVE_SYS_MOUNT_H
18818 # include <sys/mount.h>
18819 #endif
18820 #ifdef HAVE_SYS_VFS_H
18821 # include <sys/vfs.h>
18822 #endif
18823 #ifdef HAVE_SYS_STATFS_H
18824 # include <sys/statfs.h>
18825 #endif
18827 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18831 _ACEOF
18835 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18836 #ifdef HAVE_SYS_PARAM_H
18837 # include <sys/param.h>
18838 #endif
18839 #ifdef HAVE_SYS_MOUNT_H
18840 # include <sys/mount.h>
18841 #endif
18842 #ifdef HAVE_SYS_VFS_H
18843 # include <sys/vfs.h>
18844 #endif
18845 #ifdef HAVE_SYS_STATFS_H
18846 # include <sys/statfs.h>
18847 #endif
18849 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18851 cat >>confdefs.h <<_ACEOF
18852 #define HAVE_STRUCT_STATFS_F_FFREE 1
18853 _ACEOF
18857 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18858 #ifdef HAVE_SYS_PARAM_H
18859 # include <sys/param.h>
18860 #endif
18861 #ifdef HAVE_SYS_MOUNT_H
18862 # include <sys/mount.h>
18863 #endif
18864 #ifdef HAVE_SYS_VFS_H
18865 # include <sys/vfs.h>
18866 #endif
18867 #ifdef HAVE_SYS_STATFS_H
18868 # include <sys/statfs.h>
18869 #endif
18871 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18875 _ACEOF
18879 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18880 #ifdef HAVE_SYS_PARAM_H
18881 # include <sys/param.h>
18882 #endif
18883 #ifdef HAVE_SYS_MOUNT_H
18884 # include <sys/mount.h>
18885 #endif
18886 #ifdef HAVE_SYS_VFS_H
18887 # include <sys/vfs.h>
18888 #endif
18889 #ifdef HAVE_SYS_STATFS_H
18890 # include <sys/statfs.h>
18891 #endif
18893 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18897 _ACEOF
18903 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18904 #include <sys/statvfs.h>
18905 #endif
18907 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18909 cat >>confdefs.h <<_ACEOF
18910 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18911 _ACEOF
18917 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18918 #include <dirent.h>
18919 #endif
18921 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18925 _ACEOF
18931 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18932 #ifdef HAVE_SYS_SOCKET_H
18933 # include <sys/socket.h>
18934 #endif
18935 #ifdef HAVE_SYS_UN_H
18936 # include <sys/un.h>
18937 #endif
18939 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18941 cat >>confdefs.h <<_ACEOF
18942 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18943 _ACEOF
18947 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18948 #ifdef HAVE_SYS_SOCKET_H
18949 # include <sys/socket.h>
18950 #endif
18951 #ifdef HAVE_SYS_UN_H
18952 # include <sys/un.h>
18953 #endif
18955 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18959 _ACEOF
18963 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18964 #ifdef HAVE_SYS_SOCKET_H
18965 # include <sys/socket.h>
18966 #endif
18967 #ifdef HAVE_SYS_UN_H
18968 # include <sys/un.h>
18969 #endif
18971 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18975 _ACEOF
18981 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18982 #ifdef HAVE_SCSI_SG_H
18983 #include <scsi/sg.h>
18984 #endif
18986 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18988 cat >>confdefs.h <<_ACEOF
18989 #define HAVE_SCSIREQ_T_CMD 1
18990 _ACEOF
18994 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>
18995 #ifdef HAVE_SCSI_SG_H
18996 #include <scsi/sg.h>
18997 #endif
18999 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19001 cat >>confdefs.h <<_ACEOF
19002 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19003 _ACEOF
19009 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19011 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_SIGINFO_T_SI_FD 1
19015 _ACEOF
19021 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19022 #ifdef HAVE_SYS_MTIO_H
19023 #include <sys/mtio.h>
19024 #endif
19026 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19030 _ACEOF
19034 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19035 #ifdef HAVE_SYS_MTIO_H
19036 #include <sys/mtio.h>
19037 #endif
19039 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19041 cat >>confdefs.h <<_ACEOF
19042 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19043 _ACEOF
19047 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19048 #ifdef HAVE_SYS_MTIO_H
19049 #include <sys/mtio.h>
19050 #endif
19052 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19056 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19063 #include <getopt.h>
19064 #endif
19066 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19068 cat >>confdefs.h <<_ACEOF
19069 #define HAVE_STRUCT_OPTION_NAME 1
19070 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19077 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19081 _ACEOF
19085 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19086 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19088 cat >>confdefs.h <<_ACEOF
19089 #define HAVE_STRUCT_STAT_ST_MTIM 1
19090 _ACEOF
19094 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19095 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19097 cat >>confdefs.h <<_ACEOF
19098 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19099 _ACEOF
19103 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19104 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STRUCT_STAT_ST_CTIM 1
19108 _ACEOF
19112 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19113 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19115 cat >>confdefs.h <<_ACEOF
19116 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19117 _ACEOF
19121 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19122 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_STRUCT_STAT_ST_ATIM 1
19126 _ACEOF
19130 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19131 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19135 _ACEOF
19139 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19140 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19142 cat >>confdefs.h <<_ACEOF
19143 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19144 _ACEOF
19148 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19149 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19151 cat >>confdefs.h <<_ACEOF
19152 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19153 _ACEOF
19157 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19158 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19160 cat >>confdefs.h <<_ACEOF
19161 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19162 _ACEOF
19166 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19167 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19171 _ACEOF
19175 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19176 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19178 cat >>confdefs.h <<_ACEOF
19179 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19180 _ACEOF
19186 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
19187 #include <sys/types.h>
19188 #endif
19189 #ifdef HAVE_NETINET_IN_H
19190 #include <netinet/in.h>
19191 #endif
19193 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19195 cat >>confdefs.h <<_ACEOF
19196 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19197 _ACEOF
19203 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19204 #include <sys/types.h>
19205 #endif
19206 #ifdef HAVE_NETINET_IN_H
19207 #include <netinet/in.h>
19208 #endif
19209 #ifdef HAVE_RESOLV_H
19210 #include <resolv.h>
19211 #endif
19213 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19215 cat >>confdefs.h <<_ACEOF
19216 #define HAVE_STRUCT___RES_STATE 1
19217 _ACEOF
19223 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
19224 #include <resolv.h>
19225 #endif
19227 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19229 cat >>confdefs.h <<_ACEOF
19230 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19231 _ACEOF
19237 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19238 #include <sys/types.h>
19239 #endif
19240 #ifdef HAVE_NETINET_IN_H
19241 # include <netinet/in.h>
19242 #endif
19243 #ifdef HAVE_ARPA_NAMESER_H
19244 # include <arpa/nameser.h>
19245 #endif
19247 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_NS_MSG__MSG_PTR 1
19251 _ACEOF
19257 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19258 #include <sys/types.h>
19259 #endif
19260 #ifdef HAVE_NETINET_IN_H
19261 #include <netinet/in.h>
19262 #endif
19263 #ifdef HAVE_NETINET_IP_H
19264 #include <netinet/ip.h>
19265 #endif
19266 #ifdef HAVE_NETINET_IP_ICMP_H
19267 #include <netinet/ip_icmp.h>
19268 #endif
19269 #ifdef HAVE_NETINET_ICMP_VAR_H
19270 #include <netinet/icmp_var.h>
19271 #endif
19273 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19275 cat >>confdefs.h <<_ACEOF
19276 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19277 _ACEOF
19283 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19284 #include <sys/types.h>
19285 #endif
19286 #ifdef HAVE_ALIAS_H
19287 #include <alias.h>
19288 #endif
19289 #ifdef HAVE_SYS_SOCKET_H
19290 #include <sys/socket.h>
19291 #endif
19292 #ifdef HAVE_SYS_SOCKETVAR_H
19293 #include <sys/socketvar.h>
19294 #endif
19295 #ifdef HAVE_SYS_TIMEOUT_H
19296 #include <sys/timeout.h>
19297 #endif
19298 #ifdef HAVE_NETINET_IN_H
19299 #include <netinet/in.h>
19300 #endif
19301 #ifdef HAVE_NETINET_IN_SYSTM_H
19302 #include <netinet/in_systm.h>
19303 #endif
19304 #ifdef HAVE_NETINET_IP_H
19305 #include <netinet/ip.h>
19306 #endif
19307 #ifdef HAVE_NETINET_IP_VAR_H
19308 #include <netinet/ip_var.h>
19309 #endif
19310 #ifdef HAVE_NETINET_IP_ICMP_H
19311 #include <netinet/ip_icmp.h>
19312 #endif
19313 #ifdef HAVE_NETINET_ICMP_VAR_H
19314 #include <netinet/icmp_var.h>
19315 #endif
19317 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19319 cat >>confdefs.h <<_ACEOF
19320 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19321 _ACEOF
19327 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19328 #include <sys/types.h>
19329 #endif
19330 #ifdef HAVE_SYS_SOCKETVAR_H
19331 #include <sys/socketvar.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IN_H
19334 #include <netinet/in.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IP_VAR_H
19337 #include <netinet/ip_var.h>
19338 #endif
19340 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19342 cat >>confdefs.h <<_ACEOF
19343 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19344 _ACEOF
19350 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
19351 #include <netinet/ip_var.h>
19352 #endif
19354 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19356 cat >>confdefs.h <<_ACEOF
19357 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19358 _ACEOF
19364 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19365 #include <sys/types.h>
19366 #endif
19367 #ifdef HAVE_SYS_SOCKETVAR_H
19368 #include <sys/socketvar.h>
19369 #endif
19370 #ifdef HAVE_NETINET_IN_H
19371 #include <netinet/in.h>
19372 #endif
19373 #ifdef HAVE_NETINET_TCP_H
19374 #include <netinet/tcp.h>
19375 #endif
19376 #ifdef HAVE_NETINET_TCP_VAR_H
19377 #include <netinet/tcp_var.h>
19378 #endif
19380 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19382 cat >>confdefs.h <<_ACEOF
19383 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19384 _ACEOF
19390 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
19391 #include <netinet/tcp_var.h>
19392 #endif
19394 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19396 cat >>confdefs.h <<_ACEOF
19397 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19398 _ACEOF
19404 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19405 #include <sys/types.h>
19406 #endif
19407 #ifdef HAVE_NETINET_IN_H
19408 #include <netinet/in.h>
19409 #endif
19410 #ifdef HAVE_NETINET_IP_VAR_H
19411 #include <netinet/ip_var.h>
19412 #endif
19413 #ifdef HAVE_NETINET_UDP_H
19414 #include <netinet/udp.h>
19415 #endif
19416 #ifdef HAVE_NETINET_UDP_VAR_H
19417 #include <netinet/udp_var.h>
19418 #endif
19420 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19422 cat >>confdefs.h <<_ACEOF
19423 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19424 _ACEOF
19430 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19431 #include <sys/types.h>
19432 #endif
19433 #ifdef HAVE_NET_IF_H
19434 # include <net/if.h>
19435 #endif
19437 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19439 cat >>confdefs.h <<_ACEOF
19440 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19441 _ACEOF
19447 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19448 # include <sys/sysinfo.h>
19449 #endif
19451 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19453 cat >>confdefs.h <<_ACEOF
19454 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19455 _ACEOF
19459 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19460 # include <sys/sysinfo.h>
19461 #endif
19463 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19467 _ACEOF
19473 ac_save_LIBS="$LIBS"
19474 LIBS="$LIBS -lm"
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19476 $as_echo_n "checking for isfinite... " >&6; }
19477 if ${ac_cv_have_isfinite+:} false; then :
19478 $as_echo_n "(cached) " >&6
19479 else
19480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19481 /* end confdefs.h. */
19482 #define _GNU_SOURCE
19483 #include <math.h>
19485 main ()
19487 float f = 0.0; return isfinite(f)
19489 return 0;
19491 _ACEOF
19492 if ac_fn_c_try_link "$LINENO"; then :
19493 ac_cv_have_isfinite="yes"
19494 else
19495 ac_cv_have_isfinite="no"
19497 rm -f core conftest.err conftest.$ac_objext \
19498 conftest$ac_exeext conftest.$ac_ext
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19501 $as_echo "$ac_cv_have_isfinite" >&6; }
19502 if test "$ac_cv_have_isfinite" = "yes"
19503 then
19505 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19510 $as_echo_n "checking for isinf... " >&6; }
19511 if ${ac_cv_have_isinf+:} false; then :
19512 $as_echo_n "(cached) " >&6
19513 else
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516 #include <math.h>
19518 main ()
19520 float f = 0.0; return isinf(f)
19522 return 0;
19524 _ACEOF
19525 if ac_fn_c_try_link "$LINENO"; then :
19526 ac_cv_have_isinf="yes"
19527 else
19528 ac_cv_have_isinf="no"
19530 rm -f core conftest.err conftest.$ac_objext \
19531 conftest$ac_exeext conftest.$ac_ext
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19534 $as_echo "$ac_cv_have_isinf" >&6; }
19535 if test "$ac_cv_have_isinf" = "yes"
19536 then
19538 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19543 $as_echo_n "checking for isnan... " >&6; }
19544 if ${ac_cv_have_isnan+:} false; then :
19545 $as_echo_n "(cached) " >&6
19546 else
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19549 #include <math.h>
19551 main ()
19553 float f = 0.0; return isnan(f)
19555 return 0;
19557 _ACEOF
19558 if ac_fn_c_try_link "$LINENO"; then :
19559 ac_cv_have_isnan="yes"
19560 else
19561 ac_cv_have_isnan="no"
19563 rm -f core conftest.err conftest.$ac_objext \
19564 conftest$ac_exeext conftest.$ac_ext
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19567 $as_echo "$ac_cv_have_isnan" >&6; }
19568 if test "$ac_cv_have_isnan" = "yes"
19569 then
19571 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19575 for ac_func in \
19576 acosh \
19577 acoshf \
19578 asinh \
19579 asinhf \
19580 atanh \
19581 atanhf \
19582 cbrt \
19583 cbrtf \
19584 erf \
19585 erfc \
19586 erfcf \
19587 erff \
19588 exp2 \
19589 exp2f \
19590 expm1 \
19591 expm1f \
19592 fma \
19593 fmaf \
19594 ilogb \
19595 ilogbf \
19596 j0 \
19597 j1 \
19598 jn \
19599 lgamma \
19600 lgammaf \
19601 llrint \
19602 llrintf \
19603 llround \
19604 llroundf \
19605 log1p \
19606 log1pf \
19607 log2 \
19608 log2f \
19609 lrint \
19610 lrintf \
19611 lround \
19612 lroundf \
19613 nearbyint \
19614 nearbyintf \
19615 nexttoward \
19616 nexttowardf \
19617 remainder \
19618 remainderf \
19619 remquo \
19620 remquof \
19621 rint \
19622 rintf \
19623 round \
19624 roundf \
19625 tgamma \
19626 tgammaf \
19627 trunc \
19628 truncf \
19629 y0 \
19630 y1 \
19633 do :
19634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19637 cat >>confdefs.h <<_ACEOF
19638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19639 _ACEOF
19642 done
19644 LIBS="$ac_save_LIBS"
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19647 $as_echo_n "checking for __builtin_popcount... " >&6; }
19648 if ${ac_cv_have___builtin_popcount+:} false; then :
19649 $as_echo_n "(cached) " >&6
19650 else
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19655 main ()
19657 return __builtin_popcount(1)
19659 return 0;
19661 _ACEOF
19662 if ac_fn_c_try_link "$LINENO"; then :
19663 ac_cv_have___builtin_popcount="yes"
19664 else
19665 ac_cv_have___builtin_popcount="no"
19667 rm -f core conftest.err conftest.$ac_objext \
19668 conftest$ac_exeext conftest.$ac_ext
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19671 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19672 if test "$ac_cv_have___builtin_popcount" = "yes"
19673 then
19675 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19680 $as_echo_n "checking for __clear_cache... " >&6; }
19681 if ${ac_cv_have___clear_cache+:} false; then :
19682 $as_echo_n "(cached) " >&6
19683 else
19684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19688 main ()
19690 __clear_cache((void*)0, (void*)0); return 0;
19692 return 0;
19694 _ACEOF
19695 if ac_fn_c_try_link "$LINENO"; then :
19696 ac_cv_have___clear_cache="yes"
19697 else
19698 ac_cv_have___clear_cache="no"
19700 rm -f core conftest.err conftest.$ac_objext \
19701 conftest$ac_exeext conftest.$ac_ext
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19704 $as_echo "$ac_cv_have___clear_cache" >&6; }
19705 if test "$ac_cv_have___clear_cache" = "yes"
19706 then
19708 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19713 case $host_cpu in
19714 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19715 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19716 if ${ac_cv_cpp_def___i386__+:} false; then :
19717 $as_echo_n "(cached) " >&6
19718 else
19719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19720 /* end confdefs.h. */
19721 #ifndef __i386__
19723 #endif
19724 _ACEOF
19725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19726 $EGREP "yes" >/dev/null 2>&1; then :
19727 ac_cv_cpp_def___i386__=yes
19728 else
19729 ac_cv_cpp_def___i386__=no
19731 rm -f conftest*
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19735 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19736 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19737 CFLAGS="$CFLAGS -D__i386__"
19738 LINTFLAGS="$LINTFLAGS -D__i386__"
19739 fi ;;
19740 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19741 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19742 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19743 $as_echo_n "(cached) " >&6
19744 else
19745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746 /* end confdefs.h. */
19747 #ifndef __x86_64__
19749 #endif
19750 _ACEOF
19751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19752 $EGREP "yes" >/dev/null 2>&1; then :
19753 ac_cv_cpp_def___x86_64__=yes
19754 else
19755 ac_cv_cpp_def___x86_64__=no
19757 rm -f conftest*
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19761 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19762 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19763 CFLAGS="$CFLAGS -D__x86_64__"
19764 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19765 fi ;;
19766 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19767 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19768 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19769 $as_echo_n "(cached) " >&6
19770 else
19771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19772 /* end confdefs.h. */
19773 #ifndef __sparc64__
19775 #endif
19776 _ACEOF
19777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19778 $EGREP "yes" >/dev/null 2>&1; then :
19779 ac_cv_cpp_def___sparc64__=yes
19780 else
19781 ac_cv_cpp_def___sparc64__=no
19783 rm -f conftest*
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19787 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19788 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19789 CFLAGS="$CFLAGS -D__sparc64__"
19790 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19791 fi ;;
19792 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19793 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19794 if ${ac_cv_cpp_def___sparc__+:} false; then :
19795 $as_echo_n "(cached) " >&6
19796 else
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799 #ifndef __sparc__
19801 #endif
19802 _ACEOF
19803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19804 $EGREP "yes" >/dev/null 2>&1; then :
19805 ac_cv_cpp_def___sparc__=yes
19806 else
19807 ac_cv_cpp_def___sparc__=no
19809 rm -f conftest*
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19813 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19814 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19815 CFLAGS="$CFLAGS -D__sparc__"
19816 LINTFLAGS="$LINTFLAGS -D__sparc__"
19817 fi ;;
19818 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19819 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19820 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19821 $as_echo_n "(cached) " >&6
19822 else
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825 #ifndef __powerpc64__
19827 #endif
19828 _ACEOF
19829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19830 $EGREP "yes" >/dev/null 2>&1; then :
19831 ac_cv_cpp_def___powerpc64__=yes
19832 else
19833 ac_cv_cpp_def___powerpc64__=no
19835 rm -f conftest*
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19839 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19840 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19841 CFLAGS="$CFLAGS -D__powerpc64__"
19842 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19843 fi ;;
19844 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19845 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19846 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19847 $as_echo_n "(cached) " >&6
19848 else
19849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19850 /* end confdefs.h. */
19851 #ifndef __powerpc__
19853 #endif
19854 _ACEOF
19855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19856 $EGREP "yes" >/dev/null 2>&1; then :
19857 ac_cv_cpp_def___powerpc__=yes
19858 else
19859 ac_cv_cpp_def___powerpc__=no
19861 rm -f conftest*
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19865 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19866 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19867 CFLAGS="$CFLAGS -D__powerpc__"
19868 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19869 fi ;;
19870 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19871 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19872 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19873 $as_echo_n "(cached) " >&6
19874 else
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h. */
19877 #ifndef __aarch64__
19879 #endif
19880 _ACEOF
19881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19882 $EGREP "yes" >/dev/null 2>&1; then :
19883 ac_cv_cpp_def___aarch64__=yes
19884 else
19885 ac_cv_cpp_def___aarch64__=no
19887 rm -f conftest*
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19891 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19892 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19893 CFLAGS="$CFLAGS -D__aarch64__"
19894 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19895 fi ;;
19896 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19897 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19898 if ${ac_cv_cpp_def___arm__+:} false; then :
19899 $as_echo_n "(cached) " >&6
19900 else
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19903 #ifndef __arm__
19905 #endif
19906 _ACEOF
19907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19908 $EGREP "yes" >/dev/null 2>&1; then :
19909 ac_cv_cpp_def___arm__=yes
19910 else
19911 ac_cv_cpp_def___arm__=no
19913 rm -f conftest*
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19917 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19918 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19919 CFLAGS="$CFLAGS -D__arm__"
19920 LINTFLAGS="$LINTFLAGS -D__arm__"
19921 fi ;;
19922 esac
19924 case $host_vendor in
19925 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19926 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19927 if ${ac_cv_cpp_def___sun__+:} false; then :
19928 $as_echo_n "(cached) " >&6
19929 else
19930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19931 /* end confdefs.h. */
19932 #ifndef __sun__
19934 #endif
19935 _ACEOF
19936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19937 $EGREP "yes" >/dev/null 2>&1; then :
19938 ac_cv_cpp_def___sun__=yes
19939 else
19940 ac_cv_cpp_def___sun__=no
19942 rm -f conftest*
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19946 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19947 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19948 CFLAGS="$CFLAGS -D__sun__"
19949 LINTFLAGS="$LINTFLAGS -D__sun__"
19950 fi ;;
19951 esac
19957 ac_config_commands="$ac_config_commands include/stamp-h"
19959 $as_echo_n "creating Makefile rules..." >&6
19961 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19962 OPENGL_LIBS = $OPENGL_LIBS
19963 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19964 IOKIT_LIBS = $IOKIT_LIBS
19965 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19966 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19967 CORESERVICES_LIBS = $CORESERVICES_LIBS
19968 APPKIT_LIBS = $APPKIT_LIBS
19969 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19970 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19971 SECURITY_LIBS = $SECURITY_LIBS
19972 COREAUDIO_LIBS = $COREAUDIO_LIBS
19973 OPENAL_LIBS = $OPENAL_LIBS
19974 OPENCL_LIBS = $OPENCL_LIBS
19975 QUICKTIME_LIBS = $QUICKTIME_LIBS
19976 CARBON_LIBS = $CARBON_LIBS
19977 METAL_LIBS = $METAL_LIBS
19978 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19979 PTHREAD_LIBS = $PTHREAD_LIBS
19980 X_CFLAGS = $X_CFLAGS
19981 X_PRE_LIBS = $X_PRE_LIBS
19982 X_LIBS = $X_LIBS
19983 X_EXTRA_LIBS = $X_EXTRA_LIBS
19984 PCAP_LIBS = $PCAP_LIBS
19985 XML2_CFLAGS = $XML2_CFLAGS
19986 XML2_LIBS = $XML2_LIBS
19987 XSLT_CFLAGS = $XSLT_CFLAGS
19988 XSLT_LIBS = $XSLT_LIBS
19989 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19990 INOTIFY_LIBS = $INOTIFY_LIBS
19991 DBUS_CFLAGS = $DBUS_CFLAGS
19992 DBUS_LIBS = $DBUS_LIBS
19993 HAL_CFLAGS = $HAL_CFLAGS
19994 HAL_LIBS = $HAL_LIBS
19995 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19996 GNUTLS_LIBS = $GNUTLS_LIBS
19997 SANE_CFLAGS = $SANE_CFLAGS
19998 SANE_LIBS = $SANE_LIBS
19999 USB_CFLAGS = $USB_CFLAGS
20000 USB_LIBS = $USB_LIBS
20001 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20002 GPHOTO2_LIBS = $GPHOTO2_LIBS
20003 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20004 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20005 RESOLV_LIBS = $RESOLV_LIBS
20006 LCMS2_CFLAGS = $LCMS2_CFLAGS
20007 LCMS2_LIBS = $LCMS2_LIBS
20008 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20009 FREETYPE_LIBS = $FREETYPE_LIBS
20010 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20011 PULSE_CFLAGS = $PULSE_CFLAGS
20012 PULSE_LIBS = $PULSE_LIBS
20013 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20014 GSTREAMER_LIBS = $GSTREAMER_LIBS
20015 ALSA_LIBS = $ALSA_LIBS
20016 OSS4_CFLAGS = $OSS4_CFLAGS
20017 OSS4_LIBS = $OSS4_LIBS
20018 UDEV_CFLAGS = $UDEV_CFLAGS
20019 UDEV_LIBS = $UDEV_LIBS
20020 UNWIND_CFLAGS = $UNWIND_CFLAGS
20021 UNWIND_LIBS = $UNWIND_LIBS
20022 SDL2_CFLAGS = $SDL2_CFLAGS
20023 SDL2_LIBS = $SDL2_LIBS
20024 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20025 FAUDIO_LIBS = $FAUDIO_LIBS
20026 CAPI20_CFLAGS = $CAPI20_CFLAGS
20027 CAPI20_LIBS = $CAPI20_LIBS
20028 CUPS_CFLAGS = $CUPS_CFLAGS
20029 CUPS_LIBS = $CUPS_LIBS
20030 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20031 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20032 KRB5_CFLAGS = $KRB5_CFLAGS
20033 KRB5_LIBS = $KRB5_LIBS
20034 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20035 GSSAPI_LIBS = $GSSAPI_LIBS
20036 JPEG_CFLAGS = $JPEG_CFLAGS
20037 JPEG_LIBS = $JPEG_LIBS
20038 PNG_CFLAGS = $PNG_CFLAGS
20039 PNG_LIBS = $PNG_LIBS
20040 TIFF_CFLAGS = $TIFF_CFLAGS
20041 TIFF_LIBS = $TIFF_LIBS
20042 MPG123_CFLAGS = $MPG123_CFLAGS
20043 MPG123_LIBS = $MPG123_LIBS
20044 KSTAT_LIBS = $KSTAT_LIBS
20045 PROCSTAT_LIBS = $PROCSTAT_LIBS
20046 NETAPI_CFLAGS = $NETAPI_CFLAGS
20047 NETAPI_LIBS = $NETAPI_LIBS
20048 VKD3D_CFLAGS = $VKD3D_CFLAGS
20049 VKD3D_LIBS = $VKD3D_LIBS
20050 POLL_LIBS = $POLL_LIBS
20051 RT_LIBS = $RT_LIBS
20052 LDAP_CFLAGS = $LDAP_CFLAGS
20053 LDAP_LIBS = $LDAP_LIBS
20058 wine_fn_append_rule "
20059 # Rules automatically generated by configure
20061 .INIT: Makefile
20062 .MAKEFILEDEPS:
20063 all: Makefile
20064 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20065 @./config.status Make.tmp Makefile
20066 depend: \$(MAKEDEP)
20067 \$(MAKEDEP)
20068 dummy:
20069 .PHONY: depend dummy"
20071 ac_config_links="$ac_config_links wine:tools/winewrapper"
20072 wine_fn_config_symlink wine
20073 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20074 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20075 wine_fn_config_symlink wine64
20078 wine_fn_config_makefile dlls/acledit enable_acledit
20079 wine_fn_config_makefile dlls/aclui enable_aclui
20080 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20081 wine_fn_config_makefile dlls/activeds enable_activeds
20082 wine_fn_config_makefile dlls/activeds/tests enable_tests
20083 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20084 wine_fn_config_makefile dlls/adsiid enable_adsiid
20085 wine_fn_config_makefile dlls/adsldp enable_adsldp
20086 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20087 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20088 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20089 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20090 wine_fn_config_makefile dlls/advpack enable_advpack
20091 wine_fn_config_makefile dlls/advpack/tests enable_tests
20092 wine_fn_config_makefile dlls/amsi enable_amsi
20093 wine_fn_config_makefile dlls/amstream enable_amstream
20094 wine_fn_config_makefile dlls/amstream/tests enable_tests
20095 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20098 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20100 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20120 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20121 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20129 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20132 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20151 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20152 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20157 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20166 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20167 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20168 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20181 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20182 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20205 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20209 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20223 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20228 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20229 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20236 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20255 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20256 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20276 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20287 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20291 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20293 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20295 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20296 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20301 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20303 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20309 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20312 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20314 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20316 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20320 wine_fn_config_makefile dlls/apphelp enable_apphelp
20321 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20322 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20323 wine_fn_config_makefile dlls/atl enable_atl
20324 wine_fn_config_makefile dlls/atl/tests enable_tests
20325 wine_fn_config_makefile dlls/atl100 enable_atl100
20326 wine_fn_config_makefile dlls/atl100/tests enable_tests
20327 wine_fn_config_makefile dlls/atl110 enable_atl110
20328 wine_fn_config_makefile dlls/atl80 enable_atl80
20329 wine_fn_config_makefile dlls/atl80/tests enable_tests
20330 wine_fn_config_makefile dlls/atl90 enable_atl90
20331 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20332 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20333 wine_fn_config_makefile dlls/atmlib enable_atmlib
20334 wine_fn_config_makefile dlls/authz enable_authz
20335 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20336 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20337 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20338 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20339 wine_fn_config_makefile dlls/avrt enable_avrt
20340 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20341 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20342 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20343 wine_fn_config_makefile dlls/browseui enable_browseui
20344 wine_fn_config_makefile dlls/browseui/tests enable_tests
20345 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20346 wine_fn_config_makefile dlls/cabinet enable_cabinet
20347 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20348 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20349 wine_fn_config_makefile dlls/cards enable_cards
20350 wine_fn_config_makefile dlls/cdosys enable_cdosys
20351 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20352 wine_fn_config_makefile dlls/clusapi enable_clusapi
20353 wine_fn_config_makefile dlls/combase enable_combase
20354 wine_fn_config_makefile dlls/combase/tests enable_tests
20355 wine_fn_config_makefile dlls/comcat enable_comcat
20356 wine_fn_config_makefile dlls/comcat/tests enable_tests
20357 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20358 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20359 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20360 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20361 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20362 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20363 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20364 wine_fn_config_makefile dlls/compstui enable_compstui
20365 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20366 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20367 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20368 wine_fn_config_makefile dlls/connect enable_connect
20369 wine_fn_config_makefile dlls/credui enable_credui
20370 wine_fn_config_makefile dlls/credui/tests enable_tests
20371 wine_fn_config_makefile dlls/crtdll enable_crtdll
20372 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20373 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20374 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20375 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20376 wine_fn_config_makefile dlls/cryptext enable_cryptext
20377 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20378 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20379 wine_fn_config_makefile dlls/cryptui enable_cryptui
20380 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20381 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20382 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20383 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20384 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20385 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20386 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20387 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20388 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20389 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20390 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20391 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20392 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20393 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20394 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20395 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20396 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20397 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20398 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20399 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20400 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20401 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20402 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20403 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20404 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20405 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20406 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20407 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20408 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20409 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20410 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20411 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20412 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20413 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20414 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20415 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20416 wine_fn_config_makefile dlls/d3dim enable_d3dim
20417 wine_fn_config_makefile dlls/d3drm enable_d3drm
20418 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20419 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20420 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20421 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20422 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20423 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20424 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20425 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20426 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20427 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20428 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20429 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20430 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20431 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20432 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20433 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20434 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20435 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20436 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20437 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20438 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20439 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20440 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20441 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20442 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20443 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20444 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20445 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20446 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20447 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20448 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20449 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20450 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20451 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20452 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20453 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20454 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20455 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20456 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20457 wine_fn_config_makefile dlls/davclnt enable_davclnt
20458 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20459 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20460 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20461 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20462 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20463 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20464 wine_fn_config_makefile dlls/ddraw enable_ddraw
20465 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20466 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20467 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20468 wine_fn_config_makefile dlls/devenum enable_devenum
20469 wine_fn_config_makefile dlls/devenum/tests enable_tests
20470 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20471 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20472 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20473 wine_fn_config_makefile dlls/difxapi enable_difxapi
20474 wine_fn_config_makefile dlls/dinput enable_dinput
20475 wine_fn_config_makefile dlls/dinput/tests enable_tests
20476 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20477 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20478 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20479 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20480 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20481 wine_fn_config_makefile dlls/dispex enable_dispex
20482 wine_fn_config_makefile dlls/dispex/tests enable_tests
20483 wine_fn_config_makefile dlls/display.drv16 enable_win16
20484 wine_fn_config_makefile dlls/dmband enable_dmband
20485 wine_fn_config_makefile dlls/dmband/tests enable_tests
20486 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20487 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20488 wine_fn_config_makefile dlls/dmime enable_dmime
20489 wine_fn_config_makefile dlls/dmime/tests enable_tests
20490 wine_fn_config_makefile dlls/dmloader enable_dmloader
20491 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20492 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20493 wine_fn_config_makefile dlls/dmscript enable_dmscript
20494 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20495 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20496 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20497 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20498 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20499 wine_fn_config_makefile dlls/dmusic enable_dmusic
20500 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20501 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20502 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20503 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20504 wine_fn_config_makefile dlls/dplay enable_dplay
20505 wine_fn_config_makefile dlls/dplayx enable_dplayx
20506 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20507 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20508 wine_fn_config_makefile dlls/dpnet enable_dpnet
20509 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20510 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20511 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20512 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20513 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20514 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20515 wine_fn_config_makefile dlls/drmclien enable_drmclien
20516 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20517 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20518 wine_fn_config_makefile dlls/dsound enable_dsound
20519 wine_fn_config_makefile dlls/dsound/tests enable_tests
20520 wine_fn_config_makefile dlls/dsquery enable_dsquery
20521 wine_fn_config_makefile dlls/dssenh enable_dssenh
20522 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20523 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20524 wine_fn_config_makefile dlls/dswave enable_dswave
20525 wine_fn_config_makefile dlls/dswave/tests enable_tests
20526 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20527 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20528 wine_fn_config_makefile dlls/dwrite enable_dwrite
20529 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20530 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20531 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20532 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20533 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20534 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20535 wine_fn_config_makefile dlls/dxgi enable_dxgi
20536 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20537 wine_fn_config_makefile dlls/dxguid enable_dxguid
20538 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20539 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20540 wine_fn_config_makefile dlls/esent enable_esent
20541 wine_fn_config_makefile dlls/evr enable_evr
20542 wine_fn_config_makefile dlls/evr/tests enable_tests
20543 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20544 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20545 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20548 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20550 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20551 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20554 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20556 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20579 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20585 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
20586 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20588 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20596 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20597 wine_fn_config_makefile dlls/faultrep enable_faultrep
20598 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20599 wine_fn_config_makefile dlls/feclient enable_feclient
20600 wine_fn_config_makefile dlls/fltlib enable_fltlib
20601 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20602 wine_fn_config_makefile dlls/fntcache enable_fntcache
20603 wine_fn_config_makefile dlls/fontsub enable_fontsub
20604 wine_fn_config_makefile dlls/fusion enable_fusion
20605 wine_fn_config_makefile dlls/fusion/tests enable_tests
20606 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20607 wine_fn_config_makefile dlls/gameux enable_gameux
20608 wine_fn_config_makefile dlls/gameux/tests enable_tests
20609 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20610 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20611 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20612 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20613 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20614 wine_fn_config_makefile dlls/glu32 enable_glu32
20615 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20616 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20617 wine_fn_config_makefile dlls/hal enable_hal
20618 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20619 wine_fn_config_makefile dlls/hid enable_hid
20620 wine_fn_config_makefile dlls/hid/tests enable_tests
20621 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20622 wine_fn_config_makefile dlls/hlink enable_hlink
20623 wine_fn_config_makefile dlls/hlink/tests enable_tests
20624 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20625 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20626 wine_fn_config_makefile dlls/http.sys enable_http_sys
20627 wine_fn_config_makefile dlls/httpapi enable_httpapi
20628 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20629 wine_fn_config_makefile dlls/iccvid enable_iccvid
20630 wine_fn_config_makefile dlls/icmp enable_icmp
20631 wine_fn_config_makefile dlls/ieframe enable_ieframe
20632 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20633 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20634 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20635 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20636 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20637 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20638 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20639 wine_fn_config_makefile dlls/imm32 enable_imm32
20640 wine_fn_config_makefile dlls/imm32/tests enable_tests
20641 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20642 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20643 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20644 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20645 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20646 wine_fn_config_makefile dlls/infosoft enable_infosoft
20647 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20648 wine_fn_config_makefile dlls/initpki enable_initpki
20649 wine_fn_config_makefile dlls/inkobj enable_inkobj
20650 wine_fn_config_makefile dlls/inseng enable_inseng
20651 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20652 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20653 wine_fn_config_makefile dlls/iprop enable_iprop
20654 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20655 wine_fn_config_makefile dlls/itircl enable_itircl
20656 wine_fn_config_makefile dlls/itss enable_itss
20657 wine_fn_config_makefile dlls/itss/tests enable_tests
20658 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20659 wine_fn_config_makefile dlls/jscript enable_jscript
20660 wine_fn_config_makefile dlls/jscript/tests enable_tests
20661 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20662 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20663 wine_fn_config_makefile dlls/kerberos enable_kerberos
20664 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20665 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20666 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20667 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20668 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20669 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20670 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20671 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20672 wine_fn_config_makefile dlls/ksuser enable_ksuser
20673 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20674 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20675 wine_fn_config_makefile dlls/loadperf enable_loadperf
20676 wine_fn_config_makefile dlls/localspl enable_localspl
20677 wine_fn_config_makefile dlls/localspl/tests enable_tests
20678 wine_fn_config_makefile dlls/localui enable_localui
20679 wine_fn_config_makefile dlls/localui/tests enable_tests
20680 wine_fn_config_makefile dlls/lz32 enable_lz32
20681 wine_fn_config_makefile dlls/lz32/tests enable_tests
20682 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20683 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20684 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20685 wine_fn_config_makefile dlls/mapistub enable_mapistub
20686 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20687 wine_fn_config_makefile dlls/mcicda enable_mcicda
20688 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20689 wine_fn_config_makefile dlls/mciseq enable_mciseq
20690 wine_fn_config_makefile dlls/mciwave enable_mciwave
20691 wine_fn_config_makefile dlls/mf enable_mf
20692 wine_fn_config_makefile dlls/mf/tests enable_tests
20693 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20694 wine_fn_config_makefile dlls/mferror enable_mferror
20695 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20696 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20697 wine_fn_config_makefile dlls/mfplat enable_mfplat
20698 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20699 wine_fn_config_makefile dlls/mfplay enable_mfplay
20700 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20701 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20702 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20703 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20704 wine_fn_config_makefile dlls/midimap enable_midimap
20705 wine_fn_config_makefile dlls/mlang enable_mlang
20706 wine_fn_config_makefile dlls/mlang/tests enable_tests
20707 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20708 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20709 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20710 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20711 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20712 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20713 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20714 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20715 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20716 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20717 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20718 wine_fn_config_makefile dlls/mpr enable_mpr
20719 wine_fn_config_makefile dlls/mpr/tests enable_tests
20720 wine_fn_config_makefile dlls/mprapi enable_mprapi
20721 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20722 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20723 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20724 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20725 wine_fn_config_makefile dlls/msado15 enable_msado15
20726 wine_fn_config_makefile dlls/msado15/tests enable_tests
20727 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20728 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20729 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20730 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20731 wine_fn_config_makefile dlls/mscms enable_mscms
20732 wine_fn_config_makefile dlls/mscms/tests enable_tests
20733 wine_fn_config_makefile dlls/mscoree enable_mscoree
20734 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20735 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20736 wine_fn_config_makefile dlls/msctf enable_msctf
20737 wine_fn_config_makefile dlls/msctf/tests enable_tests
20738 wine_fn_config_makefile dlls/msctfp enable_msctfp
20739 wine_fn_config_makefile dlls/msdaps enable_msdaps
20740 wine_fn_config_makefile dlls/msdelta enable_msdelta
20741 wine_fn_config_makefile dlls/msdmo enable_msdmo
20742 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20743 wine_fn_config_makefile dlls/msdrm enable_msdrm
20744 wine_fn_config_makefile dlls/msftedit enable_msftedit
20745 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20746 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20747 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20748 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20749 wine_fn_config_makefile dlls/mshtml enable_mshtml
20750 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20751 wine_fn_config_makefile dlls/msi enable_msi
20752 wine_fn_config_makefile dlls/msi/tests enable_tests
20753 wine_fn_config_makefile dlls/msident enable_msident
20754 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20755 wine_fn_config_makefile dlls/msimsg enable_msimsg
20756 wine_fn_config_makefile dlls/msimtf enable_msimtf
20757 wine_fn_config_makefile dlls/msisip enable_msisip
20758 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20759 wine_fn_config_makefile dlls/msls31 enable_msls31
20760 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20761 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20762 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20763 wine_fn_config_makefile dlls/msports enable_msports
20764 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20765 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20766 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20767 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20768 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20769 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20770 wine_fn_config_makefile dlls/mstask enable_mstask
20771 wine_fn_config_makefile dlls/mstask/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20773 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20775 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20776 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20777 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20779 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20781 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20782 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20783 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20784 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20785 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20786 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20787 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20789 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20790 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20791 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20792 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20793 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20794 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20795 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20796 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20797 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20798 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20799 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20800 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20801 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20802 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20803 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20804 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20805 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20806 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20807 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20808 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20809 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20810 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20811 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20812 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20813 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20814 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20815 wine_fn_config_makefile dlls/mswsock enable_mswsock
20816 wine_fn_config_makefile dlls/msxml enable_msxml
20817 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20818 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20819 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20820 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20821 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20822 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20823 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20824 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20825 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20826 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20827 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20828 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20829 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20830 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20831 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20832 wine_fn_config_makefile dlls/netprofm enable_netprofm
20833 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20834 wine_fn_config_makefile dlls/newdev enable_newdev
20835 wine_fn_config_makefile dlls/ninput enable_ninput
20836 wine_fn_config_makefile dlls/ninput/tests enable_tests
20837 wine_fn_config_makefile dlls/normaliz enable_normaliz
20838 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20839 wine_fn_config_makefile dlls/npptools enable_npptools
20840 wine_fn_config_makefile dlls/ntdll enable_ntdll
20841 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20842 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20843 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20844 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20845 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20846 wine_fn_config_makefile dlls/ntprint enable_ntprint
20847 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20848 wine_fn_config_makefile dlls/objsel enable_objsel
20849 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20850 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20851 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20852 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20853 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20854 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20855 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20856 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20857 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20858 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20859 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20860 wine_fn_config_makefile dlls/ole32 enable_ole32
20861 wine_fn_config_makefile dlls/ole32/tests enable_tests
20862 wine_fn_config_makefile dlls/oleacc enable_oleacc
20863 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20864 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20865 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20866 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20867 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20868 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20869 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20870 wine_fn_config_makefile dlls/oledlg enable_oledlg
20871 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20872 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20873 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20874 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20875 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20876 wine_fn_config_makefile dlls/opcservices enable_opcservices
20877 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20878 wine_fn_config_makefile dlls/openal32 enable_openal32
20879 wine_fn_config_makefile dlls/opencl enable_opencl
20880 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20881 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20882 wine_fn_config_makefile dlls/packager enable_packager
20883 wine_fn_config_makefile dlls/packager/tests enable_tests
20884 wine_fn_config_makefile dlls/pdh enable_pdh
20885 wine_fn_config_makefile dlls/pdh/tests enable_tests
20886 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20887 wine_fn_config_makefile dlls/pidgen enable_pidgen
20888 wine_fn_config_makefile dlls/powrprof enable_powrprof
20889 wine_fn_config_makefile dlls/printui enable_printui
20890 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20891 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20892 wine_fn_config_makefile dlls/propsys enable_propsys
20893 wine_fn_config_makefile dlls/propsys/tests enable_tests
20894 wine_fn_config_makefile dlls/psapi enable_psapi
20895 wine_fn_config_makefile dlls/psapi/tests enable_tests
20896 wine_fn_config_makefile dlls/pstorec enable_pstorec
20897 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20898 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20899 wine_fn_config_makefile dlls/qasf enable_qasf
20900 wine_fn_config_makefile dlls/qasf/tests enable_tests
20901 wine_fn_config_makefile dlls/qcap enable_qcap
20902 wine_fn_config_makefile dlls/qcap/tests enable_tests
20903 wine_fn_config_makefile dlls/qdvd enable_qdvd
20904 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20905 wine_fn_config_makefile dlls/qedit enable_qedit
20906 wine_fn_config_makefile dlls/qedit/tests enable_tests
20907 wine_fn_config_makefile dlls/qmgr enable_qmgr
20908 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20909 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20910 wine_fn_config_makefile dlls/quartz enable_quartz
20911 wine_fn_config_makefile dlls/quartz/tests enable_tests
20912 wine_fn_config_makefile dlls/query enable_query
20913 wine_fn_config_makefile dlls/qwave enable_qwave
20914 wine_fn_config_makefile dlls/qwave/tests enable_tests
20915 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20916 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20917 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20918 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20919 wine_fn_config_makefile dlls/regapi enable_regapi
20920 wine_fn_config_makefile dlls/resutils enable_resutils
20921 wine_fn_config_makefile dlls/riched20 enable_riched20
20922 wine_fn_config_makefile dlls/riched20/tests enable_tests
20923 wine_fn_config_makefile dlls/riched32 enable_riched32
20924 wine_fn_config_makefile dlls/riched32/tests enable_tests
20925 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20926 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20927 wine_fn_config_makefile dlls/rsabase enable_rsabase
20928 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20929 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20930 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20931 wine_fn_config_makefile dlls/rtutils enable_rtutils
20932 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20933 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20934 wine_fn_config_makefile dlls/samlib enable_samlib
20935 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20936 wine_fn_config_makefile dlls/sapi enable_sapi
20937 wine_fn_config_makefile dlls/sapi/tests enable_tests
20938 wine_fn_config_makefile dlls/sas enable_sas
20939 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20940 wine_fn_config_makefile dlls/sccbase enable_sccbase
20941 wine_fn_config_makefile dlls/schannel enable_schannel
20942 wine_fn_config_makefile dlls/schannel/tests enable_tests
20943 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20944 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20945 wine_fn_config_makefile dlls/scrobj enable_scrobj
20946 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20947 wine_fn_config_makefile dlls/scrrun enable_scrrun
20948 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20949 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20950 wine_fn_config_makefile dlls/sechost enable_sechost
20951 wine_fn_config_makefile dlls/secur32 enable_secur32
20952 wine_fn_config_makefile dlls/secur32/tests enable_tests
20953 wine_fn_config_makefile dlls/security enable_security
20954 wine_fn_config_makefile dlls/sensapi enable_sensapi
20955 wine_fn_config_makefile dlls/serialui enable_serialui
20956 wine_fn_config_makefile dlls/serialui/tests enable_tests
20957 wine_fn_config_makefile dlls/setupapi enable_setupapi
20958 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20959 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20960 wine_fn_config_makefile dlls/sfc enable_sfc
20961 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20962 wine_fn_config_makefile dlls/shcore enable_shcore
20963 wine_fn_config_makefile dlls/shcore/tests enable_tests
20964 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20965 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20966 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20967 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20968 wine_fn_config_makefile dlls/shell32 enable_shell32
20969 wine_fn_config_makefile dlls/shell32/tests enable_tests
20970 wine_fn_config_makefile dlls/shfolder enable_shfolder
20971 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20972 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20973 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20974 wine_fn_config_makefile dlls/slc enable_slc
20975 wine_fn_config_makefile dlls/slc/tests enable_tests
20976 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20977 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20978 wine_fn_config_makefile dlls/softpub enable_softpub
20979 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20980 wine_fn_config_makefile dlls/spoolss enable_spoolss
20981 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20982 wine_fn_config_makefile dlls/srclient enable_srclient
20983 wine_fn_config_makefile dlls/sspicli enable_sspicli
20984 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20985 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20986 wine_fn_config_makefile dlls/sti enable_sti
20987 wine_fn_config_makefile dlls/sti/tests enable_tests
20988 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20989 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20990 wine_fn_config_makefile dlls/strmbase enable_strmbase
20991 wine_fn_config_makefile dlls/strmdll enable_strmdll
20992 wine_fn_config_makefile dlls/strmiids enable_strmiids
20993 wine_fn_config_makefile dlls/svrapi enable_svrapi
20994 wine_fn_config_makefile dlls/sxs enable_sxs
20995 wine_fn_config_makefile dlls/sxs/tests enable_tests
20996 wine_fn_config_makefile dlls/system.drv16 enable_win16
20997 wine_fn_config_makefile dlls/t2embed enable_t2embed
20998 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20999 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21000 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21001 wine_fn_config_makefile dlls/taskschd enable_taskschd
21002 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21003 wine_fn_config_makefile dlls/tdh enable_tdh
21004 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21005 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21006 wine_fn_config_makefile dlls/traffic enable_traffic
21007 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21008 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21009 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21010 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21011 wine_fn_config_makefile dlls/tzres enable_tzres
21012 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21013 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21014 wine_fn_config_makefile dlls/uianimation enable_uianimation
21015 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21016 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21017 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21018 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21019 wine_fn_config_makefile dlls/unicows enable_unicows
21020 wine_fn_config_makefile dlls/updspapi enable_updspapi
21021 wine_fn_config_makefile dlls/url enable_url
21022 wine_fn_config_makefile dlls/urlmon enable_urlmon
21023 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21024 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21025 wine_fn_config_makefile dlls/user.exe16 enable_win16
21026 wine_fn_config_makefile dlls/user32 enable_user32
21027 wine_fn_config_makefile dlls/user32/tests enable_tests
21028 wine_fn_config_makefile dlls/userenv enable_userenv
21029 wine_fn_config_makefile dlls/userenv/tests enable_tests
21030 wine_fn_config_makefile dlls/usp10 enable_usp10
21031 wine_fn_config_makefile dlls/usp10/tests enable_tests
21032 wine_fn_config_makefile dlls/utildll enable_utildll
21033 wine_fn_config_makefile dlls/uuid enable_uuid
21034 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21035 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21036 wine_fn_config_makefile dlls/vbscript enable_vbscript
21037 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21038 wine_fn_config_makefile dlls/vcomp enable_vcomp
21039 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21040 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21041 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21042 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21043 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21044 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21045 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21046 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21047 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21048 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21049 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21050 wine_fn_config_makefile dlls/version enable_version
21051 wine_fn_config_makefile dlls/version/tests enable_tests
21052 wine_fn_config_makefile dlls/vga enable_vga
21053 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21054 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21055 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21056 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21057 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21058 wine_fn_config_makefile dlls/vssapi enable_vssapi
21059 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21060 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21061 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21062 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21063 wine_fn_config_makefile dlls/w32skrnl enable_win16
21064 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21065 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21066 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21067 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21068 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21069 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21070 wine_fn_config_makefile dlls/wdscore enable_wdscore
21071 wine_fn_config_makefile dlls/webservices enable_webservices
21072 wine_fn_config_makefile dlls/webservices/tests enable_tests
21073 wine_fn_config_makefile dlls/wer enable_wer
21074 wine_fn_config_makefile dlls/wer/tests enable_tests
21075 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21076 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21077 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21078 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21079 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21080 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21081 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21082 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21083 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21084 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21085 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21086 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21087 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21088 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21089 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21090 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21091 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21092 wine_fn_config_makefile dlls/wined3d enable_wined3d
21093 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21094 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21095 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21096 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21097 wine_fn_config_makefile dlls/winemapi enable_winemapi
21098 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21099 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21100 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21101 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21102 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21103 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21104 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21105 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21106 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21107 wine_fn_config_makefile dlls/wing32 enable_wing32
21108 wine_fn_config_makefile dlls/winhttp enable_winhttp
21109 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21110 wine_fn_config_makefile dlls/wininet enable_wininet
21111 wine_fn_config_makefile dlls/wininet/tests enable_tests
21112 wine_fn_config_makefile dlls/winmm enable_winmm
21113 wine_fn_config_makefile dlls/winmm/tests enable_tests
21114 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21115 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21116 wine_fn_config_makefile dlls/winscard enable_winscard
21117 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21118 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21119 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21120 wine_fn_config_makefile dlls/winsta enable_winsta
21121 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21122 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21123 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21124 wine_fn_config_makefile dlls/wintrust enable_wintrust
21125 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21126 wine_fn_config_makefile dlls/winusb enable_winusb
21127 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21128 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21129 wine_fn_config_makefile dlls/wlanui enable_wlanui
21130 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21131 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21132 wine_fn_config_makefile dlls/wmasf enable_wmasf
21133 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21134 wine_fn_config_makefile dlls/wmi enable_wmi
21135 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21136 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21137 wine_fn_config_makefile dlls/wmp enable_wmp
21138 wine_fn_config_makefile dlls/wmp/tests enable_tests
21139 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21140 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21141 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21142 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21143 wine_fn_config_makefile dlls/wow32 enable_win16
21144 wine_fn_config_makefile dlls/wpc enable_wpc
21145 wine_fn_config_makefile dlls/wpc/tests enable_tests
21146 wine_fn_config_makefile dlls/wpcap enable_wpcap
21147 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21148 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21149 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21150 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21151 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21152 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21153 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21154 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21155 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21156 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21157 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21158 wine_fn_config_makefile dlls/wuapi enable_wuapi
21159 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21160 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21161 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21162 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21163 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21164 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21165 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21166 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21167 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21168 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21169 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21170 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21171 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21172 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21173 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21174 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21175 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21176 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21177 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21178 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21179 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21180 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21181 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21182 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21183 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21184 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21185 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21186 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21187 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21188 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21189 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21190 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21191 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21192 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21193 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21194 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21195 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21196 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21197 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21198 wine_fn_config_makefile dlls/xmllite enable_xmllite
21199 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21200 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21201 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21202 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21203 wine_fn_config_makefile fonts enable_fonts
21204 wine_fn_config_makefile include enable_include
21205 wine_fn_config_makefile libs/port enable_port
21206 wine_fn_config_makefile libs/wine enable_wine
21207 wine_fn_config_makefile libs/wpp enable_wpp
21208 wine_fn_config_makefile loader enable_loader
21209 wine_fn_config_makefile nls enable_nls
21210 wine_fn_config_makefile po enable_po
21211 wine_fn_config_makefile programs/arp enable_arp
21212 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21213 wine_fn_config_makefile programs/attrib enable_attrib
21214 wine_fn_config_makefile programs/cabarc enable_cabarc
21215 wine_fn_config_makefile programs/cacls enable_cacls
21216 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21217 wine_fn_config_makefile programs/clock enable_clock
21218 wine_fn_config_makefile programs/cmd enable_cmd
21219 wine_fn_config_makefile programs/cmd/tests enable_tests
21220 wine_fn_config_makefile programs/conhost enable_conhost
21221 wine_fn_config_makefile programs/conhost/tests enable_tests
21222 wine_fn_config_makefile programs/control enable_control
21223 wine_fn_config_makefile programs/cscript enable_cscript
21224 wine_fn_config_makefile programs/dism enable_dism
21225 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21226 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21227 wine_fn_config_makefile programs/eject enable_eject
21228 wine_fn_config_makefile programs/expand enable_expand
21229 wine_fn_config_makefile programs/explorer enable_explorer
21230 wine_fn_config_makefile programs/extrac32 enable_extrac32
21231 wine_fn_config_makefile programs/fc enable_fc
21232 wine_fn_config_makefile programs/find enable_find
21233 wine_fn_config_makefile programs/find/tests enable_tests
21234 wine_fn_config_makefile programs/findstr enable_findstr
21235 wine_fn_config_makefile programs/fsutil enable_fsutil
21236 wine_fn_config_makefile programs/fsutil/tests enable_tests
21237 wine_fn_config_makefile programs/hh enable_hh
21238 wine_fn_config_makefile programs/hostname enable_hostname
21239 wine_fn_config_makefile programs/icacls enable_icacls
21240 wine_fn_config_makefile programs/icinfo enable_icinfo
21241 wine_fn_config_makefile programs/iexplore enable_iexplore
21242 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21243 wine_fn_config_makefile programs/lodctr enable_lodctr
21244 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21245 wine_fn_config_makefile programs/mshta enable_mshta
21246 wine_fn_config_makefile programs/msidb enable_msidb
21247 wine_fn_config_makefile programs/msiexec enable_msiexec
21248 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21249 wine_fn_config_makefile programs/net enable_net
21250 wine_fn_config_makefile programs/netsh enable_netsh
21251 wine_fn_config_makefile programs/netstat enable_netstat
21252 wine_fn_config_makefile programs/ngen enable_ngen
21253 wine_fn_config_makefile programs/notepad enable_notepad
21254 wine_fn_config_makefile programs/oleview enable_oleview
21255 wine_fn_config_makefile programs/ping enable_ping
21256 wine_fn_config_makefile programs/plugplay enable_plugplay
21257 wine_fn_config_makefile programs/powershell enable_powershell
21258 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21259 wine_fn_config_makefile programs/progman enable_progman
21260 wine_fn_config_makefile programs/reg enable_reg
21261 wine_fn_config_makefile programs/reg/tests enable_tests
21262 wine_fn_config_makefile programs/regasm enable_regasm
21263 wine_fn_config_makefile programs/regedit enable_regedit
21264 wine_fn_config_makefile programs/regedit/tests enable_tests
21265 wine_fn_config_makefile programs/regini enable_regini
21266 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21267 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21268 wine_fn_config_makefile programs/rpcss enable_rpcss
21269 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21270 wine_fn_config_makefile programs/rundll32 enable_rundll32
21271 wine_fn_config_makefile programs/sc enable_sc
21272 wine_fn_config_makefile programs/schtasks enable_schtasks
21273 wine_fn_config_makefile programs/schtasks/tests enable_tests
21274 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21275 wine_fn_config_makefile programs/secedit enable_secedit
21276 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21277 wine_fn_config_makefile programs/services enable_services
21278 wine_fn_config_makefile programs/services/tests enable_tests
21279 wine_fn_config_makefile programs/shutdown enable_shutdown
21280 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21281 wine_fn_config_makefile programs/start enable_start
21282 wine_fn_config_makefile programs/subst enable_subst
21283 wine_fn_config_makefile programs/svchost enable_svchost
21284 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21285 wine_fn_config_makefile programs/taskkill enable_taskkill
21286 wine_fn_config_makefile programs/tasklist enable_tasklist
21287 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21288 wine_fn_config_makefile programs/termsv enable_termsv
21289 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21290 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21291 wine_fn_config_makefile programs/view enable_view
21292 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21293 wine_fn_config_makefile programs/where enable_where
21294 wine_fn_config_makefile programs/whoami enable_whoami
21295 wine_fn_config_makefile programs/wineboot enable_wineboot
21296 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21297 wine_fn_config_makefile programs/winecfg enable_winecfg
21298 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21299 wine_fn_config_makefile programs/winedbg enable_winedbg
21300 wine_fn_config_makefile programs/winedevice enable_winedevice
21301 wine_fn_config_makefile programs/winefile enable_winefile
21302 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21303 wine_fn_config_makefile programs/winemine enable_winemine
21304 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21305 wine_fn_config_makefile programs/winepath enable_winepath
21306 wine_fn_config_makefile programs/winetest enable_winetest
21307 wine_fn_config_makefile programs/winevdm enable_win16
21308 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21309 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21310 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21311 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21312 wine_fn_config_makefile programs/winver enable_winver
21313 wine_fn_config_makefile programs/wmic enable_wmic
21314 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21315 wine_fn_config_makefile programs/wordpad enable_wordpad
21316 wine_fn_config_makefile programs/write enable_write
21317 wine_fn_config_makefile programs/wscript enable_wscript
21318 wine_fn_config_makefile programs/wscript/tests enable_tests
21319 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21320 wine_fn_config_makefile programs/wusa enable_wusa
21321 wine_fn_config_makefile programs/xcopy enable_xcopy
21322 wine_fn_config_makefile programs/xcopy/tests enable_tests
21323 wine_fn_config_makefile server enable_server
21324 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21325 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21326 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21327 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21328 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21329 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21330 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21331 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21332 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21335 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21336 wine_fn_append_file CONFIGURE_TARGETS "tags"
21337 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21338 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21339 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21340 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21341 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21342 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21344 if test "x$enable_tools" != xno
21345 then
21346 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21347 ac_config_commands="$ac_config_commands tools/makedep"
21351 ac_config_commands="$ac_config_commands Makefile"
21354 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21358 if test "x$enable_maintainer_mode" = xyes
21359 then
21360 wine_fn_append_rule "configure: configure.ac aclocal.m4
21361 autoconf --warnings=all
21362 include/config.h.in: include/stamp-h.in
21363 include/stamp-h.in: configure.ac aclocal.m4
21364 autoheader --warnings=all
21365 @echo timestamp > \$@"
21368 if test "x$enable_tools" != xno
21369 then
21370 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21371 @./config.status tools/makedep
21372 Makefile: tools/makedep$ac_exeext"
21373 else
21374 wine_fn_append_rule "\$(MAKEDEP):
21375 @echo \"You need to run make in $TOOLSDIR first\" && false"
21378 if test -n "$with_wine64"
21379 then
21380 case "$with_wine64" in
21381 /*) reldir="" ;;
21382 *) reldir="../" ;;
21383 esac
21384 rm -f fonts server 2>/dev/null
21385 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21386 loader/wine64 loader/wine64-preloader:
21387 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21388 $with_wine64/loader/wine:
21389 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21390 $with_wine64/loader/wine-preloader:
21391 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21392 clean::
21393 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21394 else
21395 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21396 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21397 fonts \
21398 loader/wine.inf \
21399 loader/winebus.inf \
21400 loader/winehid.inf \
21401 loader/wineusb.inf \
21402 nls \
21403 programs/msidb/msidb \
21404 programs/msiexec/msiexec \
21405 programs/notepad/notepad \
21406 programs/regedit/regedit \
21407 programs/regsvr32/regsvr32 \
21408 programs/wineboot/wineboot \
21409 programs/winecfg/winecfg \
21410 programs/wineconsole/wineconsole \
21411 programs/winedbg/winedbg \
21412 programs/winefile/winefile \
21413 programs/winemine/winemine \
21414 programs/winepath/winepath \
21415 server/wineserver"
21417 case $host_os in
21418 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21419 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21420 esac
21423 $as_echo " done" >&6
21424 cat >confcache <<\_ACEOF
21425 # This file is a shell script that caches the results of configure
21426 # tests run on this system so they can be shared between configure
21427 # scripts and configure runs, see configure's option --config-cache.
21428 # It is not useful on other systems. If it contains results you don't
21429 # want to keep, you may remove or edit it.
21431 # config.status only pays attention to the cache file if you give it
21432 # the --recheck option to rerun configure.
21434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21436 # following values.
21438 _ACEOF
21440 # The following way of writing the cache mishandles newlines in values,
21441 # but we know of no workaround that is simple, portable, and efficient.
21442 # So, we kill variables containing newlines.
21443 # Ultrix sh set writes to stderr and can't be redirected directly,
21444 # and sets the high bit in the cache file unless we assign to the vars.
21446 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21447 eval ac_val=\$$ac_var
21448 case $ac_val in #(
21449 *${as_nl}*)
21450 case $ac_var in #(
21451 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21453 esac
21454 case $ac_var in #(
21455 _ | IFS | as_nl) ;; #(
21456 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21457 *) { eval $ac_var=; unset $ac_var;} ;;
21458 esac ;;
21459 esac
21460 done
21462 (set) 2>&1 |
21463 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21464 *${as_nl}ac_space=\ *)
21465 # `set' does not quote correctly, so add quotes: double-quote
21466 # substitution turns \\\\ into \\, and sed turns \\ into \.
21467 sed -n \
21468 "s/'/'\\\\''/g;
21469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21470 ;; #(
21472 # `set' quotes correctly as required by POSIX, so do not add quotes.
21473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21475 esac |
21476 sort
21478 sed '
21479 /^ac_cv_env_/b end
21480 t clear
21481 :clear
21482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21483 t end
21484 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21485 :end' >>confcache
21486 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21487 if test -w "$cache_file"; then
21488 if test "x$cache_file" != "x/dev/null"; then
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21490 $as_echo "$as_me: updating cache $cache_file" >&6;}
21491 if test ! -f "$cache_file" || test -h "$cache_file"; then
21492 cat confcache >"$cache_file"
21493 else
21494 case $cache_file in #(
21495 */* | ?:*)
21496 mv -f confcache "$cache_file"$$ &&
21497 mv -f "$cache_file"$$ "$cache_file" ;; #(
21499 mv -f confcache "$cache_file" ;;
21500 esac
21503 else
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21505 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21508 rm -f confcache
21510 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21511 # Let make expand exec_prefix.
21512 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21514 DEFS=-DHAVE_CONFIG_H
21516 ac_libobjs=
21517 ac_ltlibobjs=
21519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21520 # 1. Remove the extension, and $U if already installed.
21521 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21522 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21523 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21524 # will be set to the directory where LIBOBJS objects are built.
21525 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21526 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21527 done
21528 LIBOBJS=$ac_libobjs
21530 LTLIBOBJS=$ac_ltlibobjs
21534 : "${CONFIG_STATUS=./config.status}"
21535 ac_write_fail=0
21536 ac_clean_files_save=$ac_clean_files
21537 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21539 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21540 as_write_fail=0
21541 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21542 #! $SHELL
21543 # Generated by $as_me.
21544 # Run this file to recreate the current configuration.
21545 # Compiler output produced by configure, useful for debugging
21546 # configure, is in config.log if it exists.
21548 debug=false
21549 ac_cs_recheck=false
21550 ac_cs_silent=false
21552 SHELL=\${CONFIG_SHELL-$SHELL}
21553 export SHELL
21554 _ASEOF
21555 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21556 ## -------------------- ##
21557 ## M4sh Initialization. ##
21558 ## -------------------- ##
21560 # Be more Bourne compatible
21561 DUALCASE=1; export DUALCASE # for MKS sh
21562 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21563 emulate sh
21564 NULLCMD=:
21565 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21566 # is contrary to our usage. Disable this feature.
21567 alias -g '${1+"$@"}'='"$@"'
21568 setopt NO_GLOB_SUBST
21569 else
21570 case `(set -o) 2>/dev/null` in #(
21571 *posix*) :
21572 set -o posix ;; #(
21573 *) :
21575 esac
21579 as_nl='
21581 export as_nl
21582 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21583 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21584 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21585 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21586 # Prefer a ksh shell builtin over an external printf program on Solaris,
21587 # but without wasting forks for bash or zsh.
21588 if test -z "$BASH_VERSION$ZSH_VERSION" \
21589 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21590 as_echo='print -r --'
21591 as_echo_n='print -rn --'
21592 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21593 as_echo='printf %s\n'
21594 as_echo_n='printf %s'
21595 else
21596 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21597 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21598 as_echo_n='/usr/ucb/echo -n'
21599 else
21600 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21601 as_echo_n_body='eval
21602 arg=$1;
21603 case $arg in #(
21604 *"$as_nl"*)
21605 expr "X$arg" : "X\\(.*\\)$as_nl";
21606 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21607 esac;
21608 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21610 export as_echo_n_body
21611 as_echo_n='sh -c $as_echo_n_body as_echo'
21613 export as_echo_body
21614 as_echo='sh -c $as_echo_body as_echo'
21617 # The user is always right.
21618 if test "${PATH_SEPARATOR+set}" != set; then
21619 PATH_SEPARATOR=:
21620 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21621 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21622 PATH_SEPARATOR=';'
21627 # IFS
21628 # We need space, tab and new line, in precisely that order. Quoting is
21629 # there to prevent editors from complaining about space-tab.
21630 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21631 # splitting by setting IFS to empty value.)
21632 IFS=" "" $as_nl"
21634 # Find who we are. Look in the path if we contain no directory separator.
21635 as_myself=
21636 case $0 in #((
21637 *[\\/]* ) as_myself=$0 ;;
21638 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21639 for as_dir in $PATH
21641 IFS=$as_save_IFS
21642 test -z "$as_dir" && as_dir=.
21643 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21644 done
21645 IFS=$as_save_IFS
21648 esac
21649 # We did not find ourselves, most probably we were run as `sh COMMAND'
21650 # in which case we are not to be found in the path.
21651 if test "x$as_myself" = x; then
21652 as_myself=$0
21654 if test ! -f "$as_myself"; then
21655 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21656 exit 1
21659 # Unset variables that we do not need and which cause bugs (e.g. in
21660 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21661 # suppresses any "Segmentation fault" message there. '((' could
21662 # trigger a bug in pdksh 5.2.14.
21663 for as_var in BASH_ENV ENV MAIL MAILPATH
21664 do eval test x\${$as_var+set} = xset \
21665 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21666 done
21667 PS1='$ '
21668 PS2='> '
21669 PS4='+ '
21671 # NLS nuisances.
21672 LC_ALL=C
21673 export LC_ALL
21674 LANGUAGE=C
21675 export LANGUAGE
21677 # CDPATH.
21678 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21681 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21682 # ----------------------------------------
21683 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21684 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21685 # script with STATUS, using 1 if that was 0.
21686 as_fn_error ()
21688 as_status=$1; test $as_status -eq 0 && as_status=1
21689 if test "$4"; then
21690 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21691 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21693 $as_echo "$as_me: error: $2" >&2
21694 as_fn_exit $as_status
21695 } # as_fn_error
21698 # as_fn_set_status STATUS
21699 # -----------------------
21700 # Set $? to STATUS, without forking.
21701 as_fn_set_status ()
21703 return $1
21704 } # as_fn_set_status
21706 # as_fn_exit STATUS
21707 # -----------------
21708 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21709 as_fn_exit ()
21711 set +e
21712 as_fn_set_status $1
21713 exit $1
21714 } # as_fn_exit
21716 # as_fn_unset VAR
21717 # ---------------
21718 # Portably unset VAR.
21719 as_fn_unset ()
21721 { eval $1=; unset $1;}
21723 as_unset=as_fn_unset
21724 # as_fn_append VAR VALUE
21725 # ----------------------
21726 # Append the text in VALUE to the end of the definition contained in VAR. Take
21727 # advantage of any shell optimizations that allow amortized linear growth over
21728 # repeated appends, instead of the typical quadratic growth present in naive
21729 # implementations.
21730 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21731 eval 'as_fn_append ()
21733 eval $1+=\$2
21735 else
21736 as_fn_append ()
21738 eval $1=\$$1\$2
21740 fi # as_fn_append
21742 # as_fn_arith ARG...
21743 # ------------------
21744 # Perform arithmetic evaluation on the ARGs, and store the result in the
21745 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21746 # must be portable across $(()) and expr.
21747 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21748 eval 'as_fn_arith ()
21750 as_val=$(( $* ))
21752 else
21753 as_fn_arith ()
21755 as_val=`expr "$@" || test $? -eq 1`
21757 fi # as_fn_arith
21760 if expr a : '\(a\)' >/dev/null 2>&1 &&
21761 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21762 as_expr=expr
21763 else
21764 as_expr=false
21767 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21768 as_basename=basename
21769 else
21770 as_basename=false
21773 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21774 as_dirname=dirname
21775 else
21776 as_dirname=false
21779 as_me=`$as_basename -- "$0" ||
21780 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21781 X"$0" : 'X\(//\)$' \| \
21782 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21783 $as_echo X/"$0" |
21784 sed '/^.*\/\([^/][^/]*\)\/*$/{
21785 s//\1/
21788 /^X\/\(\/\/\)$/{
21789 s//\1/
21792 /^X\/\(\/\).*/{
21793 s//\1/
21796 s/.*/./; q'`
21798 # Avoid depending upon Character Ranges.
21799 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21800 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21801 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21802 as_cr_digits='0123456789'
21803 as_cr_alnum=$as_cr_Letters$as_cr_digits
21805 ECHO_C= ECHO_N= ECHO_T=
21806 case `echo -n x` in #(((((
21807 -n*)
21808 case `echo 'xy\c'` in
21809 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21810 xy) ECHO_C='\c';;
21811 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21812 ECHO_T=' ';;
21813 esac;;
21815 ECHO_N='-n';;
21816 esac
21818 rm -f conf$$ conf$$.exe conf$$.file
21819 if test -d conf$$.dir; then
21820 rm -f conf$$.dir/conf$$.file
21821 else
21822 rm -f conf$$.dir
21823 mkdir conf$$.dir 2>/dev/null
21825 if (echo >conf$$.file) 2>/dev/null; then
21826 if ln -s conf$$.file conf$$ 2>/dev/null; then
21827 as_ln_s='ln -s'
21828 # ... but there are two gotchas:
21829 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21830 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21831 # In both cases, we have to default to `cp -pR'.
21832 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21833 as_ln_s='cp -pR'
21834 elif ln conf$$.file conf$$ 2>/dev/null; then
21835 as_ln_s=ln
21836 else
21837 as_ln_s='cp -pR'
21839 else
21840 as_ln_s='cp -pR'
21842 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21843 rmdir conf$$.dir 2>/dev/null
21846 # as_fn_mkdir_p
21847 # -------------
21848 # Create "$as_dir" as a directory, including parents if necessary.
21849 as_fn_mkdir_p ()
21852 case $as_dir in #(
21853 -*) as_dir=./$as_dir;;
21854 esac
21855 test -d "$as_dir" || eval $as_mkdir_p || {
21856 as_dirs=
21857 while :; do
21858 case $as_dir in #(
21859 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21860 *) as_qdir=$as_dir;;
21861 esac
21862 as_dirs="'$as_qdir' $as_dirs"
21863 as_dir=`$as_dirname -- "$as_dir" ||
21864 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21865 X"$as_dir" : 'X\(//\)[^/]' \| \
21866 X"$as_dir" : 'X\(//\)$' \| \
21867 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21868 $as_echo X"$as_dir" |
21869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21870 s//\1/
21873 /^X\(\/\/\)[^/].*/{
21874 s//\1/
21877 /^X\(\/\/\)$/{
21878 s//\1/
21881 /^X\(\/\).*/{
21882 s//\1/
21885 s/.*/./; q'`
21886 test -d "$as_dir" && break
21887 done
21888 test -z "$as_dirs" || eval "mkdir $as_dirs"
21889 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21892 } # as_fn_mkdir_p
21893 if mkdir -p . 2>/dev/null; then
21894 as_mkdir_p='mkdir -p "$as_dir"'
21895 else
21896 test -d ./-p && rmdir ./-p
21897 as_mkdir_p=false
21901 # as_fn_executable_p FILE
21902 # -----------------------
21903 # Test if FILE is an executable regular file.
21904 as_fn_executable_p ()
21906 test -f "$1" && test -x "$1"
21907 } # as_fn_executable_p
21908 as_test_x='test -x'
21909 as_executable_p=as_fn_executable_p
21911 # Sed expression to map a string onto a valid CPP name.
21912 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21914 # Sed expression to map a string onto a valid variable name.
21915 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21918 exec 6>&1
21919 ## ----------------------------------- ##
21920 ## Main body of $CONFIG_STATUS script. ##
21921 ## ----------------------------------- ##
21922 _ASEOF
21923 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21926 # Save the log message, to keep $0 and so on meaningful, and to
21927 # report actual input values of CONFIG_FILES etc. instead of their
21928 # values after options handling.
21929 ac_log="
21930 This file was extended by Wine $as_me 5.17, which was
21931 generated by GNU Autoconf 2.69. Invocation command line was
21933 CONFIG_FILES = $CONFIG_FILES
21934 CONFIG_HEADERS = $CONFIG_HEADERS
21935 CONFIG_LINKS = $CONFIG_LINKS
21936 CONFIG_COMMANDS = $CONFIG_COMMANDS
21937 $ $0 $@
21939 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21942 _ACEOF
21944 case $ac_config_files in *"
21945 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21946 esac
21948 case $ac_config_headers in *"
21949 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21950 esac
21953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21954 # Files that config.status was made for.
21955 config_files="$ac_config_files"
21956 config_headers="$ac_config_headers"
21957 config_links="$ac_config_links"
21958 config_commands="$ac_config_commands"
21960 _ACEOF
21962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21963 ac_cs_usage="\
21964 \`$as_me' instantiates files and other configuration actions
21965 from templates according to the current configuration. Unless the files
21966 and actions are specified as TAGs, all are instantiated by default.
21968 Usage: $0 [OPTION]... [TAG]...
21970 -h, --help print this help, then exit
21971 -V, --version print version number and configuration settings, then exit
21972 --config print configuration, then exit
21973 -q, --quiet, --silent
21974 do not print progress messages
21975 -d, --debug don't remove temporary files
21976 --recheck update $as_me by reconfiguring in the same conditions
21977 --file=FILE[:TEMPLATE]
21978 instantiate the configuration file FILE
21979 --header=FILE[:TEMPLATE]
21980 instantiate the configuration header FILE
21982 Configuration files:
21983 $config_files
21985 Configuration headers:
21986 $config_headers
21988 Configuration links:
21989 $config_links
21991 Configuration commands:
21992 $config_commands
21994 Report bugs to <wine-devel@winehq.org>.
21995 Wine home page: <https://www.winehq.org>."
21997 _ACEOF
21998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21999 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22000 ac_cs_version="\\
22001 Wine config.status 5.17
22002 configured by $0, generated by GNU Autoconf 2.69,
22003 with options \\"\$ac_cs_config\\"
22005 Copyright (C) 2012 Free Software Foundation, Inc.
22006 This config.status script is free software; the Free Software Foundation
22007 gives unlimited permission to copy, distribute and modify it."
22009 ac_pwd='$ac_pwd'
22010 srcdir='$srcdir'
22011 test -n "\$AWK" || AWK=awk
22012 _ACEOF
22014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22015 # The default lists apply if the user does not specify any file.
22016 ac_need_defaults=:
22017 while test $# != 0
22019 case $1 in
22020 --*=?*)
22021 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22022 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22023 ac_shift=:
22025 --*=)
22026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22027 ac_optarg=
22028 ac_shift=:
22031 ac_option=$1
22032 ac_optarg=$2
22033 ac_shift=shift
22035 esac
22037 case $ac_option in
22038 # Handling of the options.
22039 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22040 ac_cs_recheck=: ;;
22041 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22042 $as_echo "$ac_cs_version"; exit ;;
22043 --config | --confi | --conf | --con | --co | --c )
22044 $as_echo "$ac_cs_config"; exit ;;
22045 --debug | --debu | --deb | --de | --d | -d )
22046 debug=: ;;
22047 --file | --fil | --fi | --f )
22048 $ac_shift
22049 case $ac_optarg in
22050 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22051 '') as_fn_error $? "missing file argument" ;;
22052 esac
22053 as_fn_append CONFIG_FILES " '$ac_optarg'"
22054 ac_need_defaults=false;;
22055 --header | --heade | --head | --hea )
22056 $ac_shift
22057 case $ac_optarg in
22058 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22059 esac
22060 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22061 ac_need_defaults=false;;
22062 --he | --h)
22063 # Conflict between --help and --header
22064 as_fn_error $? "ambiguous option: \`$1'
22065 Try \`$0 --help' for more information.";;
22066 --help | --hel | -h )
22067 $as_echo "$ac_cs_usage"; exit ;;
22068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22069 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22070 ac_cs_silent=: ;;
22072 # This is an error.
22073 -*) as_fn_error $? "unrecognized option: \`$1'
22074 Try \`$0 --help' for more information." ;;
22076 *) as_fn_append ac_config_targets " $1"
22077 ac_need_defaults=false ;;
22079 esac
22080 shift
22081 done
22083 ac_configure_extra_args=
22085 if $ac_cs_silent; then
22086 exec 6>/dev/null
22087 ac_configure_extra_args="$ac_configure_extra_args --silent"
22090 _ACEOF
22091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22092 if \$ac_cs_recheck; then
22093 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22094 shift
22095 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22096 CONFIG_SHELL='$SHELL'
22097 export CONFIG_SHELL
22098 exec "\$@"
22101 _ACEOF
22102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22103 exec 5>>config.log
22105 echo
22106 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22107 ## Running $as_me. ##
22108 _ASBOX
22109 $as_echo "$ac_log"
22110 } >&5
22112 _ACEOF
22113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22115 # INIT-COMMANDS
22117 wine_fn_output_makedep ()
22119 as_dir=tools; as_fn_mkdir_p
22120 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22122 wine_fn_output_makefile ()
22124 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22125 `cat $wine_rules_file`
22126 _WINE_EOF
22127 as_fn_error $? "could not create Makefile" "$LINENO" 5
22130 _ACEOF
22132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22134 # Handling of arguments.
22135 for ac_config_target in $ac_config_targets
22137 case $ac_config_target in
22138 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22139 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22140 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22141 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22142 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22143 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22144 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22146 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22147 esac
22148 done
22151 # If the user did not use the arguments to specify the items to instantiate,
22152 # then the envvar interface is used. Set only those that are not.
22153 # We use the long form for the default assignment because of an extremely
22154 # bizarre bug on SunOS 4.1.3.
22155 if $ac_need_defaults; then
22156 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22157 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22158 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22162 # Have a temporary directory for convenience. Make it in the build tree
22163 # simply because there is no reason against having it here, and in addition,
22164 # creating and moving files from /tmp can sometimes cause problems.
22165 # Hook for its removal unless debugging.
22166 # Note that there is a small window in which the directory will not be cleaned:
22167 # after its creation but before its name has been assigned to `$tmp'.
22168 $debug ||
22170 tmp= ac_tmp=
22171 trap 'exit_status=$?
22172 : "${ac_tmp:=$tmp}"
22173 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22175 trap 'as_fn_exit 1' 1 2 13 15
22177 # Create a (secure) tmp directory for tmp files.
22180 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22181 test -d "$tmp"
22182 } ||
22184 tmp=./conf$$-$RANDOM
22185 (umask 077 && mkdir "$tmp")
22186 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22187 ac_tmp=$tmp
22189 # Set up the scripts for CONFIG_FILES section.
22190 # No need to generate them if there are no CONFIG_FILES.
22191 # This happens for instance with `./config.status config.h'.
22192 if test -n "$CONFIG_FILES"; then
22195 ac_cr=`echo X | tr X '\015'`
22196 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22197 # But we know of no other shell where ac_cr would be empty at this
22198 # point, so we can use a bashism as a fallback.
22199 if test "x$ac_cr" = x; then
22200 eval ac_cr=\$\'\\r\'
22202 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22203 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22204 ac_cs_awk_cr='\\r'
22205 else
22206 ac_cs_awk_cr=$ac_cr
22209 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22210 _ACEOF
22214 echo "cat >conf$$subs.awk <<_ACEOF" &&
22215 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22216 echo "_ACEOF"
22217 } >conf$$subs.sh ||
22218 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22219 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22220 ac_delim='%!_!# '
22221 for ac_last_try in false false false false false :; do
22222 . ./conf$$subs.sh ||
22223 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22225 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22226 if test $ac_delim_n = $ac_delim_num; then
22227 break
22228 elif $ac_last_try; then
22229 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22230 else
22231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22233 done
22234 rm -f conf$$subs.sh
22236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22237 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22238 _ACEOF
22239 sed -n '
22241 s/^/S["/; s/!.*/"]=/
22244 s/^[^!]*!//
22245 :repl
22246 t repl
22247 s/'"$ac_delim"'$//
22248 t delim
22251 s/\(.\{148\}\)..*/\1/
22252 t more1
22253 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22256 b repl
22257 :more1
22258 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22261 s/.\{148\}//
22262 t nl
22263 :delim
22265 s/\(.\{148\}\)..*/\1/
22266 t more2
22267 s/["\\]/\\&/g; s/^/"/; s/$/"/
22270 :more2
22271 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22274 s/.\{148\}//
22275 t delim
22276 ' <conf$$subs.awk | sed '
22277 /^[^""]/{
22279 s/\n//
22281 ' >>$CONFIG_STATUS || ac_write_fail=1
22282 rm -f conf$$subs.awk
22283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22284 _ACAWK
22285 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22286 for (key in S) S_is_set[key] = 1
22287 FS = "\a"
22291 line = $ 0
22292 nfields = split(line, field, "@")
22293 substed = 0
22294 len = length(field[1])
22295 for (i = 2; i < nfields; i++) {
22296 key = field[i]
22297 keylen = length(key)
22298 if (S_is_set[key]) {
22299 value = S[key]
22300 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22301 len += length(value) + length(field[++i])
22302 substed = 1
22303 } else
22304 len += 1 + keylen
22307 print line
22310 _ACAWK
22311 _ACEOF
22312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22313 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22314 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22315 else
22317 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22318 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22319 _ACEOF
22321 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22322 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22323 # trailing colons and then remove the whole line if VPATH becomes empty
22324 # (actually we leave an empty line to preserve line numbers).
22325 if test "x$srcdir" = x.; then
22326 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22328 s///
22329 s/^/:/
22330 s/[ ]*$/:/
22331 s/:\$(srcdir):/:/g
22332 s/:\${srcdir}:/:/g
22333 s/:@srcdir@:/:/g
22334 s/^:*//
22335 s/:*$//
22337 s/\(=[ ]*\).*/\1/
22339 s/\n//
22340 s/^[^=]*=[ ]*$//
22344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22345 fi # test -n "$CONFIG_FILES"
22347 # Set up the scripts for CONFIG_HEADERS section.
22348 # No need to generate them if there are no CONFIG_HEADERS.
22349 # This happens for instance with `./config.status Makefile'.
22350 if test -n "$CONFIG_HEADERS"; then
22351 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22352 BEGIN {
22353 _ACEOF
22355 # Transform confdefs.h into an awk script `defines.awk', embedded as
22356 # here-document in config.status, that substitutes the proper values into
22357 # config.h.in to produce config.h.
22359 # Create a delimiter string that does not exist in confdefs.h, to ease
22360 # handling of long lines.
22361 ac_delim='%!_!# '
22362 for ac_last_try in false false :; do
22363 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22364 if test -z "$ac_tt"; then
22365 break
22366 elif $ac_last_try; then
22367 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22368 else
22369 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22371 done
22373 # For the awk script, D is an array of macro values keyed by name,
22374 # likewise P contains macro parameters if any. Preserve backslash
22375 # newline sequences.
22377 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22378 sed -n '
22379 s/.\{148\}/&'"$ac_delim"'/g
22380 t rset
22381 :rset
22382 s/^[ ]*#[ ]*define[ ][ ]*/ /
22383 t def
22385 :def
22386 s/\\$//
22387 t bsnl
22388 s/["\\]/\\&/g
22389 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22390 D["\1"]=" \3"/p
22391 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22393 :bsnl
22394 s/["\\]/\\&/g
22395 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22396 D["\1"]=" \3\\\\\\n"\\/p
22397 t cont
22398 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22399 t cont
22401 :cont
22403 s/.\{148\}/&'"$ac_delim"'/g
22404 t clear
22405 :clear
22406 s/\\$//
22407 t bsnlc
22408 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22410 :bsnlc
22411 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22412 b cont
22413 ' <confdefs.h | sed '
22414 s/'"$ac_delim"'/"\\\
22415 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22418 for (key in D) D_is_set[key] = 1
22419 FS = "\a"
22421 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22422 line = \$ 0
22423 split(line, arg, " ")
22424 if (arg[1] == "#") {
22425 defundef = arg[2]
22426 mac1 = arg[3]
22427 } else {
22428 defundef = substr(arg[1], 2)
22429 mac1 = arg[2]
22431 split(mac1, mac2, "(") #)
22432 macro = mac2[1]
22433 prefix = substr(line, 1, index(line, defundef) - 1)
22434 if (D_is_set[macro]) {
22435 # Preserve the white space surrounding the "#".
22436 print prefix "define", macro P[macro] D[macro]
22437 next
22438 } else {
22439 # Replace #undef with comments. This is necessary, for example,
22440 # in the case of _POSIX_SOURCE, which is predefined and required
22441 # on some systems where configure will not decide to define it.
22442 if (defundef == "undef") {
22443 print "/*", prefix defundef, macro, "*/"
22444 next
22448 { print }
22449 _ACAWK
22450 _ACEOF
22451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22452 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22453 fi # test -n "$CONFIG_HEADERS"
22456 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22457 shift
22458 for ac_tag
22460 case $ac_tag in
22461 :[FHLC]) ac_mode=$ac_tag; continue;;
22462 esac
22463 case $ac_mode$ac_tag in
22464 :[FHL]*:*);;
22465 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22466 :[FH]-) ac_tag=-:-;;
22467 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22468 esac
22469 ac_save_IFS=$IFS
22470 IFS=:
22471 set x $ac_tag
22472 IFS=$ac_save_IFS
22473 shift
22474 ac_file=$1
22475 shift
22477 case $ac_mode in
22478 :L) ac_source=$1;;
22479 :[FH])
22480 ac_file_inputs=
22481 for ac_f
22483 case $ac_f in
22484 -) ac_f="$ac_tmp/stdin";;
22485 *) # Look for the file first in the build tree, then in the source tree
22486 # (if the path is not absolute). The absolute path cannot be DOS-style,
22487 # because $ac_f cannot contain `:'.
22488 test -f "$ac_f" ||
22489 case $ac_f in
22490 [\\/$]*) false;;
22491 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22492 esac ||
22493 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22494 esac
22495 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22496 as_fn_append ac_file_inputs " '$ac_f'"
22497 done
22499 # Let's still pretend it is `configure' which instantiates (i.e., don't
22500 # use $as_me), people would be surprised to read:
22501 # /* config.h. Generated by config.status. */
22502 configure_input='Generated from '`
22503 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22504 `' by configure.'
22505 if test x"$ac_file" != x-; then
22506 configure_input="$ac_file. $configure_input"
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22508 $as_echo "$as_me: creating $ac_file" >&6;}
22510 # Neutralize special characters interpreted by sed in replacement strings.
22511 case $configure_input in #(
22512 *\&* | *\|* | *\\* )
22513 ac_sed_conf_input=`$as_echo "$configure_input" |
22514 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22515 *) ac_sed_conf_input=$configure_input;;
22516 esac
22518 case $ac_tag in
22519 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22521 esac
22523 esac
22525 ac_dir=`$as_dirname -- "$ac_file" ||
22526 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22527 X"$ac_file" : 'X\(//\)[^/]' \| \
22528 X"$ac_file" : 'X\(//\)$' \| \
22529 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22530 $as_echo X"$ac_file" |
22531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22532 s//\1/
22535 /^X\(\/\/\)[^/].*/{
22536 s//\1/
22539 /^X\(\/\/\)$/{
22540 s//\1/
22543 /^X\(\/\).*/{
22544 s//\1/
22547 s/.*/./; q'`
22548 as_dir="$ac_dir"; as_fn_mkdir_p
22549 ac_builddir=.
22551 case "$ac_dir" in
22552 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22554 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22555 # A ".." for each directory in $ac_dir_suffix.
22556 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22557 case $ac_top_builddir_sub in
22558 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22559 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22560 esac ;;
22561 esac
22562 ac_abs_top_builddir=$ac_pwd
22563 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22564 # for backward compatibility:
22565 ac_top_builddir=$ac_top_build_prefix
22567 case $srcdir in
22568 .) # We are building in place.
22569 ac_srcdir=.
22570 ac_top_srcdir=$ac_top_builddir_sub
22571 ac_abs_top_srcdir=$ac_pwd ;;
22572 [\\/]* | ?:[\\/]* ) # Absolute name.
22573 ac_srcdir=$srcdir$ac_dir_suffix;
22574 ac_top_srcdir=$srcdir
22575 ac_abs_top_srcdir=$srcdir ;;
22576 *) # Relative name.
22577 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22578 ac_top_srcdir=$ac_top_build_prefix$srcdir
22579 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22580 esac
22581 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22584 case $ac_mode in
22587 # CONFIG_FILE
22590 _ACEOF
22592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22593 # If the template does not know about datarootdir, expand it.
22594 # FIXME: This hack should be removed a few years after 2.60.
22595 ac_datarootdir_hack=; ac_datarootdir_seen=
22596 ac_sed_dataroot='
22597 /datarootdir/ {
22601 /@datadir@/p
22602 /@docdir@/p
22603 /@infodir@/p
22604 /@localedir@/p
22605 /@mandir@/p'
22606 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22607 *datarootdir*) ac_datarootdir_seen=yes;;
22608 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22610 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22611 _ACEOF
22612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22613 ac_datarootdir_hack='
22614 s&@datadir@&$datadir&g
22615 s&@docdir@&$docdir&g
22616 s&@infodir@&$infodir&g
22617 s&@localedir@&$localedir&g
22618 s&@mandir@&$mandir&g
22619 s&\\\${datarootdir}&$datarootdir&g' ;;
22620 esac
22621 _ACEOF
22623 # Neutralize VPATH when `$srcdir' = `.'.
22624 # Shell code in configure.ac might set extrasub.
22625 # FIXME: do we really want to maintain this feature?
22626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22627 ac_sed_extra="$ac_vpsub
22628 $extrasub
22629 _ACEOF
22630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22632 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22633 s|@configure_input@|$ac_sed_conf_input|;t t
22634 s&@top_builddir@&$ac_top_builddir_sub&;t t
22635 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22636 s&@srcdir@&$ac_srcdir&;t t
22637 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22638 s&@top_srcdir@&$ac_top_srcdir&;t t
22639 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22640 s&@builddir@&$ac_builddir&;t t
22641 s&@abs_builddir@&$ac_abs_builddir&;t t
22642 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22643 $ac_datarootdir_hack
22645 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22646 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22648 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22649 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22650 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22651 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22653 which seems to be undefined. Please make sure it is defined" >&5
22654 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22655 which seems to be undefined. Please make sure it is defined" >&2;}
22657 rm -f "$ac_tmp/stdin"
22658 case $ac_file in
22659 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22660 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22661 esac \
22662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22666 # CONFIG_HEADER
22668 if test x"$ac_file" != x-; then
22670 $as_echo "/* $configure_input */" \
22671 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22672 } >"$ac_tmp/config.h" \
22673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22674 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22676 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22677 else
22678 rm -f "$ac_file"
22679 mv "$ac_tmp/config.h" "$ac_file" \
22680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22682 else
22683 $as_echo "/* $configure_input */" \
22684 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22685 || as_fn_error $? "could not create -" "$LINENO" 5
22690 # CONFIG_LINK
22693 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22695 else
22696 # Prefer the file from the source tree if names are identical.
22697 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22698 ac_source=$srcdir/$ac_source
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22702 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22704 if test ! -r "$ac_source"; then
22705 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22707 rm -f "$ac_file"
22709 # Try a relative symlink, then a hard link, then a copy.
22710 case $ac_source in
22711 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22712 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22713 esac
22714 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22715 ln "$ac_source" "$ac_file" 2>/dev/null ||
22716 cp -p "$ac_source" "$ac_file" ||
22717 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22720 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22721 $as_echo "$as_me: executing $ac_file commands" >&6;}
22723 esac
22726 case $ac_file$ac_mode in
22727 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22728 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22729 "Makefile":C) wine_fn_output_makefile Makefile ;;
22731 esac
22732 done # for ac_tag
22735 as_fn_exit 0
22736 _ACEOF
22737 ac_clean_files=$ac_clean_files_save
22739 test $ac_write_fail = 0 ||
22740 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22743 # configure is writing to config.log, and then calls config.status.
22744 # config.status does its own redirection, appending to config.log.
22745 # Unfortunately, on DOS this fails, as config.log is still kept open
22746 # by configure, so config.status won't be able to write to it; its
22747 # output is simply discarded. So we exec the FD to /dev/null,
22748 # effectively closing config.log, so it can be properly (re)opened and
22749 # appended to by config.status. When coming back to configure, we
22750 # need to make the FD available again.
22751 if test "$no_create" != yes; then
22752 ac_cs_success=:
22753 ac_config_status_args=
22754 test "$silent" = yes &&
22755 ac_config_status_args="$ac_config_status_args --quiet"
22756 exec 5>/dev/null
22757 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22758 exec 5>>config.log
22759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22760 # would make configure fail if this is the last instruction.
22761 $ac_cs_success || as_fn_exit 1
22763 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22765 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22769 if test "$no_create" = "yes"
22770 then
22771 exit 0
22774 ac_save_IFS="$IFS"
22775 if test "x$wine_notices" != x; then
22776 echo >&6
22777 IFS="|"
22778 for msg in $wine_notices; do
22779 IFS="$ac_save_IFS"
22780 if ${msg:+false} :; then :
22782 else
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22784 $as_echo "$as_me: $msg" >&6;}
22786 done
22788 IFS="|"
22789 for msg in $wine_warnings; do
22790 IFS="$ac_save_IFS"
22791 if ${msg:+false} :; then :
22793 else
22794 echo >&2
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22796 $as_echo "$as_me: WARNING: $msg" >&2;}
22798 done
22799 IFS="$ac_save_IFS"
22801 $as_echo "
22802 $as_me: Finished. Do '${ac_make}' to compile Wine.
22803 " >&6