wmphoto: Implement WMP decoder using jxrlib.
[wine.git] / configure
blob3f17db20fd66b4ec1fb821b24a88446ed57dd4d9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.1.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='6.1'
584 PACKAGE_STRING='Wine 6.1'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_maintainer_mode
846 enable_silent_rules
847 enable_werror
848 with_alsa
849 with_capi
850 with_cms
851 with_coreaudio
852 with_cups
853 with_dbus
854 with_faudio
855 with_float_abi
856 with_fontconfig
857 with_freetype
858 with_gettext
859 with_gettextpo
860 with_gphoto
861 with_gnutls
862 with_gsm
863 with_gssapi
864 with_gstreamer
865 with_hal
866 with_inotify
867 with_jpeg
868 with_jxrlib
869 with_krb5
870 with_ldap
871 with_mingw
872 with_mpg123
873 with_netapi
874 with_openal
875 with_opencl
876 with_opengl
877 with_osmesa
878 with_oss
879 with_pcap
880 with_png
881 with_pthread
882 with_pulse
883 with_quicktime
884 with_sane
885 with_sdl
886 with_tiff
887 with_udev
888 with_unwind
889 with_usb
890 with_v4l2
891 with_vkd3d
892 with_vulkan
893 with_xcomposite
894 with_xcursor
895 with_xfixes
896 with_xinerama
897 with_xinput
898 with_xinput2
899 with_xml
900 with_xrandr
901 with_xrender
902 with_xshape
903 with_xshm
904 with_xslt
905 with_xxf86vm
906 with_wine_tools
907 with_wine64
908 enable_largefile
909 with_x
910 enable_acledit
911 enable_aclui
912 enable_activeds_tlb
913 enable_activeds
914 enable_actxprxy
915 enable_adsiid
916 enable_adsldp
917 enable_adsldpc
918 enable_advapi32
919 enable_advpack
920 enable_amsi
921 enable_amstream
922 enable_api_ms_win_appmodel_identity_l1_1_0
923 enable_api_ms_win_appmodel_runtime_l1_1_1
924 enable_api_ms_win_appmodel_runtime_l1_1_2
925 enable_api_ms_win_core_apiquery_l1_1_0
926 enable_api_ms_win_core_appcompat_l1_1_1
927 enable_api_ms_win_core_appinit_l1_1_0
928 enable_api_ms_win_core_atoms_l1_1_0
929 enable_api_ms_win_core_bem_l1_1_0
930 enable_api_ms_win_core_com_l1_1_0
931 enable_api_ms_win_core_com_l1_1_1
932 enable_api_ms_win_core_com_private_l1_1_0
933 enable_api_ms_win_core_comm_l1_1_0
934 enable_api_ms_win_core_console_l1_1_0
935 enable_api_ms_win_core_console_l2_1_0
936 enable_api_ms_win_core_crt_l1_1_0
937 enable_api_ms_win_core_crt_l2_1_0
938 enable_api_ms_win_core_datetime_l1_1_0
939 enable_api_ms_win_core_datetime_l1_1_1
940 enable_api_ms_win_core_debug_l1_1_0
941 enable_api_ms_win_core_debug_l1_1_1
942 enable_api_ms_win_core_delayload_l1_1_0
943 enable_api_ms_win_core_delayload_l1_1_1
944 enable_api_ms_win_core_errorhandling_l1_1_0
945 enable_api_ms_win_core_errorhandling_l1_1_1
946 enable_api_ms_win_core_errorhandling_l1_1_2
947 enable_api_ms_win_core_errorhandling_l1_1_3
948 enable_api_ms_win_core_fibers_l1_1_0
949 enable_api_ms_win_core_fibers_l1_1_1
950 enable_api_ms_win_core_file_ansi_l2_1_0
951 enable_api_ms_win_core_file_fromapp_l1_1_0
952 enable_api_ms_win_core_file_l1_1_0
953 enable_api_ms_win_core_file_l1_2_0
954 enable_api_ms_win_core_file_l1_2_1
955 enable_api_ms_win_core_file_l1_2_2
956 enable_api_ms_win_core_file_l2_1_0
957 enable_api_ms_win_core_file_l2_1_1
958 enable_api_ms_win_core_file_l2_1_2
959 enable_api_ms_win_core_handle_l1_1_0
960 enable_api_ms_win_core_heap_l1_1_0
961 enable_api_ms_win_core_heap_l1_2_0
962 enable_api_ms_win_core_heap_l2_1_0
963 enable_api_ms_win_core_heap_obsolete_l1_1_0
964 enable_api_ms_win_core_interlocked_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_2_0
966 enable_api_ms_win_core_io_l1_1_0
967 enable_api_ms_win_core_io_l1_1_1
968 enable_api_ms_win_core_job_l1_1_0
969 enable_api_ms_win_core_job_l2_1_0
970 enable_api_ms_win_core_kernel32_legacy_l1_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_1
972 enable_api_ms_win_core_kernel32_private_l1_1_1
973 enable_api_ms_win_core_largeinteger_l1_1_0
974 enable_api_ms_win_core_libraryloader_l1_1_0
975 enable_api_ms_win_core_libraryloader_l1_1_1
976 enable_api_ms_win_core_libraryloader_l1_2_0
977 enable_api_ms_win_core_libraryloader_l1_2_1
978 enable_api_ms_win_core_libraryloader_l1_2_2
979 enable_api_ms_win_core_libraryloader_l2_1_0
980 enable_api_ms_win_core_localization_l1_1_0
981 enable_api_ms_win_core_localization_l1_2_0
982 enable_api_ms_win_core_localization_l1_2_1
983 enable_api_ms_win_core_localization_l1_2_2
984 enable_api_ms_win_core_localization_l2_1_0
985 enable_api_ms_win_core_localization_obsolete_l1_1_0
986 enable_api_ms_win_core_localization_obsolete_l1_2_0
987 enable_api_ms_win_core_localization_obsolete_l1_3_0
988 enable_api_ms_win_core_localization_private_l1_1_0
989 enable_api_ms_win_core_localregistry_l1_1_0
990 enable_api_ms_win_core_memory_l1_1_0
991 enable_api_ms_win_core_memory_l1_1_1
992 enable_api_ms_win_core_memory_l1_1_2
993 enable_api_ms_win_core_memory_l1_1_3
994 enable_api_ms_win_core_memory_l1_1_4
995 enable_api_ms_win_core_misc_l1_1_0
996 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
997 enable_api_ms_win_core_namedpipe_l1_1_0
998 enable_api_ms_win_core_namedpipe_l1_2_0
999 enable_api_ms_win_core_namespace_l1_1_0
1000 enable_api_ms_win_core_normalization_l1_1_0
1001 enable_api_ms_win_core_path_l1_1_0
1002 enable_api_ms_win_core_privateprofile_l1_1_1
1003 enable_api_ms_win_core_processenvironment_l1_1_0
1004 enable_api_ms_win_core_processenvironment_l1_2_0
1005 enable_api_ms_win_core_processthreads_l1_1_0
1006 enable_api_ms_win_core_processthreads_l1_1_1
1007 enable_api_ms_win_core_processthreads_l1_1_2
1008 enable_api_ms_win_core_processthreads_l1_1_3
1009 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1010 enable_api_ms_win_core_profile_l1_1_0
1011 enable_api_ms_win_core_psapi_ansi_l1_1_0
1012 enable_api_ms_win_core_psapi_l1_1_0
1013 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_quirks_l1_1_0
1015 enable_api_ms_win_core_realtime_l1_1_0
1016 enable_api_ms_win_core_registry_l1_1_0
1017 enable_api_ms_win_core_registry_l2_1_0
1018 enable_api_ms_win_core_registry_l2_2_0
1019 enable_api_ms_win_core_registryuserspecific_l1_1_0
1020 enable_api_ms_win_core_rtlsupport_l1_1_0
1021 enable_api_ms_win_core_rtlsupport_l1_2_0
1022 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1023 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1024 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1025 enable_api_ms_win_core_shutdown_l1_1_0
1026 enable_api_ms_win_core_sidebyside_l1_1_0
1027 enable_api_ms_win_core_string_l1_1_0
1028 enable_api_ms_win_core_string_l2_1_0
1029 enable_api_ms_win_core_string_obsolete_l1_1_0
1030 enable_api_ms_win_core_stringansi_l1_1_0
1031 enable_api_ms_win_core_stringloader_l1_1_1
1032 enable_api_ms_win_core_synch_ansi_l1_1_0
1033 enable_api_ms_win_core_synch_l1_1_0
1034 enable_api_ms_win_core_synch_l1_2_0
1035 enable_api_ms_win_core_synch_l1_2_1
1036 enable_api_ms_win_core_sysinfo_l1_1_0
1037 enable_api_ms_win_core_sysinfo_l1_2_0
1038 enable_api_ms_win_core_sysinfo_l1_2_1
1039 enable_api_ms_win_core_systemtopology_l1_1_0
1040 enable_api_ms_win_core_threadpool_l1_1_0
1041 enable_api_ms_win_core_threadpool_l1_2_0
1042 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1043 enable_api_ms_win_core_threadpool_private_l1_1_0
1044 enable_api_ms_win_core_timezone_l1_1_0
1045 enable_api_ms_win_core_toolhelp_l1_1_0
1046 enable_api_ms_win_core_url_l1_1_0
1047 enable_api_ms_win_core_util_l1_1_0
1048 enable_api_ms_win_core_version_l1_1_0
1049 enable_api_ms_win_core_version_l1_1_1
1050 enable_api_ms_win_core_version_private_l1_1_0
1051 enable_api_ms_win_core_versionansi_l1_1_0
1052 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1053 enable_api_ms_win_core_winrt_error_l1_1_0
1054 enable_api_ms_win_core_winrt_error_l1_1_1
1055 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1056 enable_api_ms_win_core_winrt_l1_1_0
1057 enable_api_ms_win_core_winrt_registration_l1_1_0
1058 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1059 enable_api_ms_win_core_winrt_string_l1_1_0
1060 enable_api_ms_win_core_winrt_string_l1_1_1
1061 enable_api_ms_win_core_wow64_l1_1_0
1062 enable_api_ms_win_core_wow64_l1_1_1
1063 enable_api_ms_win_core_xstate_l1_1_0
1064 enable_api_ms_win_core_xstate_l2_1_0
1065 enable_api_ms_win_crt_conio_l1_1_0
1066 enable_api_ms_win_crt_convert_l1_1_0
1067 enable_api_ms_win_crt_environment_l1_1_0
1068 enable_api_ms_win_crt_filesystem_l1_1_0
1069 enable_api_ms_win_crt_heap_l1_1_0
1070 enable_api_ms_win_crt_locale_l1_1_0
1071 enable_api_ms_win_crt_math_l1_1_0
1072 enable_api_ms_win_crt_multibyte_l1_1_0
1073 enable_api_ms_win_crt_private_l1_1_0
1074 enable_api_ms_win_crt_process_l1_1_0
1075 enable_api_ms_win_crt_runtime_l1_1_0
1076 enable_api_ms_win_crt_stdio_l1_1_0
1077 enable_api_ms_win_crt_string_l1_1_0
1078 enable_api_ms_win_crt_time_l1_1_0
1079 enable_api_ms_win_crt_utility_l1_1_0
1080 enable_api_ms_win_devices_config_l1_1_0
1081 enable_api_ms_win_devices_config_l1_1_1
1082 enable_api_ms_win_devices_query_l1_1_1
1083 enable_api_ms_win_downlevel_advapi32_l1_1_0
1084 enable_api_ms_win_downlevel_advapi32_l2_1_0
1085 enable_api_ms_win_downlevel_kernel32_l2_1_0
1086 enable_api_ms_win_downlevel_normaliz_l1_1_0
1087 enable_api_ms_win_downlevel_ole32_l1_1_0
1088 enable_api_ms_win_downlevel_shell32_l1_1_0
1089 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1090 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1091 enable_api_ms_win_downlevel_user32_l1_1_0
1092 enable_api_ms_win_downlevel_version_l1_1_0
1093 enable_api_ms_win_dx_d3dkmt_l1_1_0
1094 enable_api_ms_win_eventing_classicprovider_l1_1_0
1095 enable_api_ms_win_eventing_consumer_l1_1_0
1096 enable_api_ms_win_eventing_controller_l1_1_0
1097 enable_api_ms_win_eventing_legacy_l1_1_0
1098 enable_api_ms_win_eventing_provider_l1_1_0
1099 enable_api_ms_win_eventlog_legacy_l1_1_0
1100 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1101 enable_api_ms_win_mm_joystick_l1_1_0
1102 enable_api_ms_win_mm_misc_l1_1_1
1103 enable_api_ms_win_mm_mme_l1_1_0
1104 enable_api_ms_win_mm_time_l1_1_0
1105 enable_api_ms_win_ntuser_dc_access_l1_1_0
1106 enable_api_ms_win_ntuser_rectangle_l1_1_0
1107 enable_api_ms_win_ntuser_sysparams_l1_1_0
1108 enable_api_ms_win_perf_legacy_l1_1_0
1109 enable_api_ms_win_power_base_l1_1_0
1110 enable_api_ms_win_power_setting_l1_1_0
1111 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1114 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1118 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1119 enable_api_ms_win_security_audit_l1_1_1
1120 enable_api_ms_win_security_base_l1_1_0
1121 enable_api_ms_win_security_base_l1_2_0
1122 enable_api_ms_win_security_base_private_l1_1_1
1123 enable_api_ms_win_security_credentials_l1_1_0
1124 enable_api_ms_win_security_cryptoapi_l1_1_0
1125 enable_api_ms_win_security_grouppolicy_l1_1_0
1126 enable_api_ms_win_security_lsalookup_l1_1_0
1127 enable_api_ms_win_security_lsalookup_l1_1_1
1128 enable_api_ms_win_security_lsalookup_l2_1_0
1129 enable_api_ms_win_security_lsalookup_l2_1_1
1130 enable_api_ms_win_security_lsapolicy_l1_1_0
1131 enable_api_ms_win_security_provider_l1_1_0
1132 enable_api_ms_win_security_sddl_l1_1_0
1133 enable_api_ms_win_security_systemfunctions_l1_1_0
1134 enable_api_ms_win_service_core_l1_1_0
1135 enable_api_ms_win_service_core_l1_1_1
1136 enable_api_ms_win_service_management_l1_1_0
1137 enable_api_ms_win_service_management_l2_1_0
1138 enable_api_ms_win_service_private_l1_1_1
1139 enable_api_ms_win_service_winsvc_l1_1_0
1140 enable_api_ms_win_service_winsvc_l1_2_0
1141 enable_api_ms_win_shcore_obsolete_l1_1_0
1142 enable_api_ms_win_shcore_scaling_l1_1_1
1143 enable_api_ms_win_shcore_stream_l1_1_0
1144 enable_api_ms_win_shcore_thread_l1_1_0
1145 enable_api_ms_win_shell_shellcom_l1_1_0
1146 enable_api_ms_win_shell_shellfolders_l1_1_0
1147 enable_apphelp
1148 enable_appwiz_cpl
1149 enable_atl
1150 enable_atl100
1151 enable_atl110
1152 enable_atl80
1153 enable_atl90
1154 enable_atlthunk
1155 enable_atmlib
1156 enable_authz
1157 enable_avicap32
1158 enable_avifil32
1159 enable_avrt
1160 enable_bcrypt
1161 enable_bluetoothapis
1162 enable_browseui
1163 enable_bthprops_cpl
1164 enable_cabinet
1165 enable_capi2032
1166 enable_cards
1167 enable_cdosys
1168 enable_cfgmgr32
1169 enable_clusapi
1170 enable_combase
1171 enable_comcat
1172 enable_comctl32
1173 enable_comdlg32
1174 enable_compstui
1175 enable_comsvcs
1176 enable_concrt140
1177 enable_connect
1178 enable_credui
1179 enable_crtdll
1180 enable_crypt32
1181 enable_cryptdlg
1182 enable_cryptdll
1183 enable_cryptext
1184 enable_cryptnet
1185 enable_cryptui
1186 enable_ctapi32
1187 enable_ctl3d32
1188 enable_d2d1
1189 enable_d3d10
1190 enable_d3d10_1
1191 enable_d3d10core
1192 enable_d3d11
1193 enable_d3d12
1194 enable_d3d8
1195 enable_d3d8thk
1196 enable_d3d9
1197 enable_d3dcompiler_33
1198 enable_d3dcompiler_34
1199 enable_d3dcompiler_35
1200 enable_d3dcompiler_36
1201 enable_d3dcompiler_37
1202 enable_d3dcompiler_38
1203 enable_d3dcompiler_39
1204 enable_d3dcompiler_40
1205 enable_d3dcompiler_41
1206 enable_d3dcompiler_42
1207 enable_d3dcompiler_43
1208 enable_d3dcompiler_46
1209 enable_d3dcompiler_47
1210 enable_d3dim
1211 enable_d3dim700
1212 enable_d3drm
1213 enable_d3dx10_33
1214 enable_d3dx10_34
1215 enable_d3dx10_35
1216 enable_d3dx10_36
1217 enable_d3dx10_37
1218 enable_d3dx10_38
1219 enable_d3dx10_39
1220 enable_d3dx10_40
1221 enable_d3dx10_41
1222 enable_d3dx10_42
1223 enable_d3dx10_43
1224 enable_d3dx11_42
1225 enable_d3dx11_43
1226 enable_d3dx9_24
1227 enable_d3dx9_25
1228 enable_d3dx9_26
1229 enable_d3dx9_27
1230 enable_d3dx9_28
1231 enable_d3dx9_29
1232 enable_d3dx9_30
1233 enable_d3dx9_31
1234 enable_d3dx9_32
1235 enable_d3dx9_33
1236 enable_d3dx9_34
1237 enable_d3dx9_35
1238 enable_d3dx9_36
1239 enable_d3dx9_37
1240 enable_d3dx9_38
1241 enable_d3dx9_39
1242 enable_d3dx9_40
1243 enable_d3dx9_41
1244 enable_d3dx9_42
1245 enable_d3dx9_43
1246 enable_d3dxof
1247 enable_davclnt
1248 enable_dbgeng
1249 enable_dbghelp
1250 enable_dciman32
1251 enable_dcomp
1252 enable_ddraw
1253 enable_ddrawex
1254 enable_devenum
1255 enable_dhcpcsvc
1256 enable_dhtmled_ocx
1257 enable_difxapi
1258 enable_dinput
1259 enable_dinput8
1260 enable_directmanipulation
1261 enable_dispex
1262 enable_dmband
1263 enable_dmcompos
1264 enable_dmime
1265 enable_dmloader
1266 enable_dmoguids
1267 enable_dmscript
1268 enable_dmstyle
1269 enable_dmsynth
1270 enable_dmusic
1271 enable_dmusic32
1272 enable_dnsapi
1273 enable_dplay
1274 enable_dplayx
1275 enable_dpnaddr
1276 enable_dpnet
1277 enable_dpnhpast
1278 enable_dpnlobby
1279 enable_dpvoice
1280 enable_dpwsockx
1281 enable_drmclien
1282 enable_dsdmo
1283 enable_dsound
1284 enable_dsquery
1285 enable_dssenh
1286 enable_dsuiext
1287 enable_dswave
1288 enable_dwmapi
1289 enable_dwrite
1290 enable_dx8vb
1291 enable_dxdiagn
1292 enable_dxerr8
1293 enable_dxerr9
1294 enable_dxgi
1295 enable_dxguid
1296 enable_dxva2
1297 enable_esent
1298 enable_evr
1299 enable_explorerframe
1300 enable_ext_ms_win_authz_context_l1_1_0
1301 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1302 enable_ext_ms_win_dwmapi_ext_l1_1_0
1303 enable_ext_ms_win_gdi_dc_create_l1_1_0
1304 enable_ext_ms_win_gdi_dc_create_l1_1_1
1305 enable_ext_ms_win_gdi_dc_l1_2_0
1306 enable_ext_ms_win_gdi_devcaps_l1_1_0
1307 enable_ext_ms_win_gdi_draw_l1_1_0
1308 enable_ext_ms_win_gdi_draw_l1_1_1
1309 enable_ext_ms_win_gdi_font_l1_1_0
1310 enable_ext_ms_win_gdi_font_l1_1_1
1311 enable_ext_ms_win_gdi_render_l1_1_0
1312 enable_ext_ms_win_kernel32_package_current_l1_1_0
1313 enable_ext_ms_win_kernel32_package_l1_1_1
1314 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1315 enable_ext_ms_win_ntuser_draw_l1_1_0
1316 enable_ext_ms_win_ntuser_gui_l1_1_0
1317 enable_ext_ms_win_ntuser_gui_l1_3_0
1318 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1319 enable_ext_ms_win_ntuser_message_l1_1_0
1320 enable_ext_ms_win_ntuser_message_l1_1_1
1321 enable_ext_ms_win_ntuser_misc_l1_1_0
1322 enable_ext_ms_win_ntuser_misc_l1_2_0
1323 enable_ext_ms_win_ntuser_misc_l1_5_1
1324 enable_ext_ms_win_ntuser_mouse_l1_1_0
1325 enable_ext_ms_win_ntuser_private_l1_1_1
1326 enable_ext_ms_win_ntuser_private_l1_3_1
1327 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1328 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1329 enable_ext_ms_win_ntuser_window_l1_1_0
1330 enable_ext_ms_win_ntuser_window_l1_1_1
1331 enable_ext_ms_win_ntuser_window_l1_1_4
1332 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1333 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1334 enable_ext_ms_win_oleacc_l1_1_0
1335 enable_ext_ms_win_ras_rasapi32_l1_1_0
1336 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1337 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1338 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1340 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1343 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1346 enable_ext_ms_win_security_credui_l1_1_0
1347 enable_ext_ms_win_security_cryptui_l1_1_0
1348 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1349 enable_ext_ms_win_shell_comdlg32_l1_1_0
1350 enable_ext_ms_win_shell_shell32_l1_2_0
1351 enable_ext_ms_win_uxtheme_themes_l1_1_0
1352 enable_faultrep
1353 enable_feclient
1354 enable_fltlib
1355 enable_fltmgr_sys
1356 enable_fntcache
1357 enable_fontsub
1358 enable_fusion
1359 enable_fwpuclnt
1360 enable_gameux
1361 enable_gdi32
1362 enable_gdiplus
1363 enable_glu32
1364 enable_gphoto2_ds
1365 enable_gpkcsp
1366 enable_hal
1367 enable_hhctrl_ocx
1368 enable_hid
1369 enable_hidclass_sys
1370 enable_hlink
1371 enable_hnetcfg
1372 enable_http_sys
1373 enable_httpapi
1374 enable_iccvid
1375 enable_icmp
1376 enable_ieframe
1377 enable_ieproxy
1378 enable_imaadp32_acm
1379 enable_imagehlp
1380 enable_imm32
1381 enable_inetcomm
1382 enable_inetcpl_cpl
1383 enable_inetmib1
1384 enable_infosoft
1385 enable_initpki
1386 enable_inkobj
1387 enable_inseng
1388 enable_iphlpapi
1389 enable_iprop
1390 enable_irprops_cpl
1391 enable_itircl
1392 enable_itss
1393 enable_joy_cpl
1394 enable_jscript
1395 enable_jsproxy
1396 enable_kerberos
1397 enable_kernel32
1398 enable_kernelbase
1399 enable_ksecdd_sys
1400 enable_ksproxy_ax
1401 enable_ksuser
1402 enable_ktmw32
1403 enable_l3codeca_acm
1404 enable_loadperf
1405 enable_localspl
1406 enable_localui
1407 enable_lz32
1408 enable_mapi32
1409 enable_mapistub
1410 enable_mciavi32
1411 enable_mcicda
1412 enable_mciqtz32
1413 enable_mciseq
1414 enable_mciwave
1415 enable_mf
1416 enable_mf3216
1417 enable_mferror
1418 enable_mfmediaengine
1419 enable_mfplat
1420 enable_mfplay
1421 enable_mfreadwrite
1422 enable_mfuuid
1423 enable_mgmtapi
1424 enable_midimap
1425 enable_mlang
1426 enable_mmcndmgr
1427 enable_mmdevapi
1428 enable_mountmgr_sys
1429 enable_mp3dmod
1430 enable_mpr
1431 enable_mprapi
1432 enable_msacm32_drv
1433 enable_msacm32
1434 enable_msado15
1435 enable_msadp32_acm
1436 enable_msasn1
1437 enable_mscat32
1438 enable_mscms
1439 enable_mscoree
1440 enable_mscorwks
1441 enable_msctf
1442 enable_msctfp
1443 enable_msdaps
1444 enable_msdelta
1445 enable_msdmo
1446 enable_msdrm
1447 enable_msftedit
1448 enable_msg711_acm
1449 enable_msgsm32_acm
1450 enable_mshtml_tlb
1451 enable_mshtml
1452 enable_msi
1453 enable_msident
1454 enable_msimg32
1455 enable_msimsg
1456 enable_msimtf
1457 enable_msisip
1458 enable_msisys_ocx
1459 enable_msls31
1460 enable_msnet32
1461 enable_mspatcha
1462 enable_msports
1463 enable_msrle32
1464 enable_msscript_ocx
1465 enable_mssign32
1466 enable_mssip32
1467 enable_mstask
1468 enable_msvcirt
1469 enable_msvcm80
1470 enable_msvcm90
1471 enable_msvcp100
1472 enable_msvcp110
1473 enable_msvcp120
1474 enable_msvcp120_app
1475 enable_msvcp140
1476 enable_msvcp140_1
1477 enable_msvcp60
1478 enable_msvcp70
1479 enable_msvcp71
1480 enable_msvcp80
1481 enable_msvcp90
1482 enable_msvcr100
1483 enable_msvcr110
1484 enable_msvcr120
1485 enable_msvcr120_app
1486 enable_msvcr70
1487 enable_msvcr71
1488 enable_msvcr80
1489 enable_msvcr90
1490 enable_msvcrt
1491 enable_msvcrt20
1492 enable_msvcrt40
1493 enable_msvcrtd
1494 enable_msvfw32
1495 enable_msvidc32
1496 enable_mswsock
1497 enable_msxml
1498 enable_msxml2
1499 enable_msxml3
1500 enable_msxml4
1501 enable_msxml6
1502 enable_mtxdm
1503 enable_ncrypt
1504 enable_nddeapi
1505 enable_ndis_sys
1506 enable_netapi32
1507 enable_netcfgx
1508 enable_netio_sys
1509 enable_netprofm
1510 enable_netutils
1511 enable_newdev
1512 enable_ninput
1513 enable_normaliz
1514 enable_npmshtml
1515 enable_npptools
1516 enable_ntdll
1517 enable_ntdsapi
1518 enable_ntoskrnl_exe
1519 enable_ntprint
1520 enable_objsel
1521 enable_odbc32
1522 enable_odbcbcp
1523 enable_odbccp32
1524 enable_odbccu32
1525 enable_ole32
1526 enable_oleacc
1527 enable_oleaut32
1528 enable_olecli32
1529 enable_oledb32
1530 enable_oledlg
1531 enable_olepro32
1532 enable_olesvr32
1533 enable_olethk32
1534 enable_opcservices
1535 enable_openal32
1536 enable_opencl
1537 enable_opengl32
1538 enable_packager
1539 enable_pdh
1540 enable_photometadatahandler
1541 enable_pidgen
1542 enable_powrprof
1543 enable_printui
1544 enable_prntvpt
1545 enable_propsys
1546 enable_psapi
1547 enable_pstorec
1548 enable_pwrshplugin
1549 enable_qasf
1550 enable_qcap
1551 enable_qdvd
1552 enable_qedit
1553 enable_qmgr
1554 enable_qmgrprxy
1555 enable_quartz
1556 enable_query
1557 enable_qwave
1558 enable_rasapi32
1559 enable_rasdlg
1560 enable_regapi
1561 enable_resutils
1562 enable_riched20
1563 enable_riched32
1564 enable_rpcrt4
1565 enable_rsabase
1566 enable_rsaenh
1567 enable_rstrtmgr
1568 enable_rtutils
1569 enable_rtworkq
1570 enable_samlib
1571 enable_sane_ds
1572 enable_sapi
1573 enable_sas
1574 enable_scarddlg
1575 enable_sccbase
1576 enable_schannel
1577 enable_schedsvc
1578 enable_scrobj
1579 enable_scrrun
1580 enable_scsiport_sys
1581 enable_sechost
1582 enable_secur32
1583 enable_security
1584 enable_sensapi
1585 enable_serialui
1586 enable_setupapi
1587 enable_sfc
1588 enable_sfc_os
1589 enable_shcore
1590 enable_shdoclc
1591 enable_shdocvw
1592 enable_shell32
1593 enable_shfolder
1594 enable_shlwapi
1595 enable_slbcsp
1596 enable_slc
1597 enable_snmpapi
1598 enable_softpub
1599 enable_spoolss
1600 enable_srclient
1601 enable_srvcli
1602 enable_sspicli
1603 enable_stdole2_tlb
1604 enable_stdole32_tlb
1605 enable_sti
1606 enable_strmbase
1607 enable_strmdll
1608 enable_strmiids
1609 enable_svrapi
1610 enable_sxs
1611 enable_t2embed
1612 enable_tapi32
1613 enable_taskschd
1614 enable_tdh
1615 enable_tdi_sys
1616 enable_traffic
1617 enable_twain_32
1618 enable_tzres
1619 enable_ucrtbase
1620 enable_uianimation
1621 enable_uiautomationcore
1622 enable_uiribbon
1623 enable_unicows
1624 enable_updspapi
1625 enable_url
1626 enable_urlmon
1627 enable_usbd_sys
1628 enable_user32
1629 enable_userenv
1630 enable_usp10
1631 enable_utildll
1632 enable_uuid
1633 enable_uxtheme
1634 enable_vbscript
1635 enable_vcomp
1636 enable_vcomp100
1637 enable_vcomp110
1638 enable_vcomp120
1639 enable_vcomp140
1640 enable_vcomp90
1641 enable_vcruntime140
1642 enable_vcruntime140_1
1643 enable_vdmdbg
1644 enable_version
1645 enable_vga
1646 enable_virtdisk
1647 enable_vssapi
1648 enable_vulkan_1
1649 enable_wbemdisp
1650 enable_wbemprox
1651 enable_wbemuuid
1652 enable_wdscore
1653 enable_webservices
1654 enable_wer
1655 enable_wevtapi
1656 enable_wevtsvc
1657 enable_wiaservc
1658 enable_wimgapi
1659 enable_windowscodecs
1660 enable_windowscodecsext
1661 enable_winealsa_drv
1662 enable_wineandroid_drv
1663 enable_winebus_sys
1664 enable_winecoreaudio_drv
1665 enable_winecrt0
1666 enable_wined3d
1667 enable_winegstreamer
1668 enable_winehid_sys
1669 enable_winejoystick_drv
1670 enable_winemac_drv
1671 enable_winemapi
1672 enable_wineoss_drv
1673 enable_wineps_drv
1674 enable_winepulse_drv
1675 enable_wineqtdecoder
1676 enable_wineusb_sys
1677 enable_winevulkan
1678 enable_winex11_drv
1679 enable_wing32
1680 enable_winhttp
1681 enable_wininet
1682 enable_winmm
1683 enable_winnls32
1684 enable_winscard
1685 enable_winspool_drv
1686 enable_winsta
1687 enable_wintab32
1688 enable_wintrust
1689 enable_winusb
1690 enable_wlanapi
1691 enable_wlanui
1692 enable_wldap32
1693 enable_wmasf
1694 enable_wmcodecdspuuid
1695 enable_wmi
1696 enable_wmiutils
1697 enable_wmp
1698 enable_wmphoto
1699 enable_wmvcore
1700 enable_wnaspi32
1701 enable_wpc
1702 enable_wpcap
1703 enable_ws2_32
1704 enable_wsdapi
1705 enable_wshom_ocx
1706 enable_wsnmp32
1707 enable_wsock32
1708 enable_wtsapi32
1709 enable_wuapi
1710 enable_wuaueng
1711 enable_x3daudio1_0
1712 enable_x3daudio1_1
1713 enable_x3daudio1_2
1714 enable_x3daudio1_3
1715 enable_x3daudio1_4
1716 enable_x3daudio1_5
1717 enable_x3daudio1_6
1718 enable_x3daudio1_7
1719 enable_xactengine3_0
1720 enable_xactengine3_1
1721 enable_xactengine3_2
1722 enable_xactengine3_3
1723 enable_xactengine3_4
1724 enable_xactengine3_5
1725 enable_xactengine3_6
1726 enable_xactengine3_7
1727 enable_xapofx1_1
1728 enable_xapofx1_2
1729 enable_xapofx1_3
1730 enable_xapofx1_4
1731 enable_xapofx1_5
1732 enable_xaudio2_0
1733 enable_xaudio2_1
1734 enable_xaudio2_2
1735 enable_xaudio2_3
1736 enable_xaudio2_4
1737 enable_xaudio2_5
1738 enable_xaudio2_6
1739 enable_xaudio2_7
1740 enable_xaudio2_8
1741 enable_xaudio2_9
1742 enable_xinput1_1
1743 enable_xinput1_2
1744 enable_xinput1_3
1745 enable_xinput1_4
1746 enable_xinput9_1_0
1747 enable_xmllite
1748 enable_xolehlp
1749 enable_xpsprint
1750 enable_xpssvcs
1751 enable_fonts
1752 enable_include
1753 enable_port
1754 enable_wine
1755 enable_wpp
1756 enable_loader
1757 enable_nls
1758 enable_po
1759 enable_arp
1760 enable_aspnet_regiis
1761 enable_attrib
1762 enable_cabarc
1763 enable_cacls
1764 enable_chcp_com
1765 enable_clock
1766 enable_cmd
1767 enable_conhost
1768 enable_control
1769 enable_cscript
1770 enable_dism
1771 enable_dplaysvr
1772 enable_dpnsvr
1773 enable_dpvsetup
1774 enable_dxdiag
1775 enable_eject
1776 enable_expand
1777 enable_explorer
1778 enable_extrac32
1779 enable_fc
1780 enable_find
1781 enable_findstr
1782 enable_fsutil
1783 enable_hh
1784 enable_hostname
1785 enable_icacls
1786 enable_icinfo
1787 enable_iexplore
1788 enable_ipconfig
1789 enable_lodctr
1790 enable_mofcomp
1791 enable_mshta
1792 enable_msidb
1793 enable_msiexec
1794 enable_msinfo32
1795 enable_net
1796 enable_netsh
1797 enable_netstat
1798 enable_ngen
1799 enable_notepad
1800 enable_oleview
1801 enable_ping
1802 enable_plugplay
1803 enable_powershell
1804 enable_presentationfontcache
1805 enable_progman
1806 enable_reg
1807 enable_regasm
1808 enable_regedit
1809 enable_regini
1810 enable_regsvcs
1811 enable_regsvr32
1812 enable_rpcss
1813 enable_rundll32
1814 enable_sc
1815 enable_schtasks
1816 enable_sdbinst
1817 enable_secedit
1818 enable_servicemodelreg
1819 enable_services
1820 enable_shutdown
1821 enable_spoolsv
1822 enable_start
1823 enable_subst
1824 enable_svchost
1825 enable_systeminfo
1826 enable_taskkill
1827 enable_tasklist
1828 enable_taskmgr
1829 enable_termsv
1830 enable_uninstaller
1831 enable_unlodctr
1832 enable_view
1833 enable_wevtutil
1834 enable_where
1835 enable_whoami
1836 enable_wineboot
1837 enable_winebrowser
1838 enable_winecfg
1839 enable_wineconsole
1840 enable_winedbg
1841 enable_winedevice
1842 enable_winefile
1843 enable_winemenubuilder
1844 enable_winemine
1845 enable_winemsibuilder
1846 enable_winepath
1847 enable_winetest
1848 enable_winhlp32
1849 enable_winmgmt
1850 enable_winver
1851 enable_wmic
1852 enable_wmplayer
1853 enable_wordpad
1854 enable_write
1855 enable_wscript
1856 enable_wuauserv
1857 enable_wusa
1858 enable_xcopy
1859 enable_server
1860 enable_tools
1861 enable_sfnt2fon
1862 enable_widl
1863 enable_winebuild
1864 enable_winedump
1865 enable_winegcc
1866 enable_winemaker
1867 enable_wmc
1868 enable_wrc
1870 ac_precious_vars='build_alias
1871 host_alias
1872 target_alias
1874 CFLAGS
1875 LDFLAGS
1876 LIBS
1877 CPPFLAGS
1879 CXXFLAGS
1882 OBJC
1883 OBJCFLAGS
1884 OBJCPP
1885 XMKMF
1886 XML2_CFLAGS
1887 XML2_LIBS
1888 XSLT_CFLAGS
1889 XSLT_LIBS
1890 INOTIFY_CFLAGS
1891 INOTIFY_LIBS
1892 DBUS_CFLAGS
1893 DBUS_LIBS
1894 HAL_CFLAGS
1895 HAL_LIBS
1896 GNUTLS_CFLAGS
1897 GNUTLS_LIBS
1898 SANE_CFLAGS
1899 SANE_LIBS
1900 USB_CFLAGS
1901 USB_LIBS
1902 GPHOTO2_CFLAGS
1903 GPHOTO2_LIBS
1904 GPHOTO2_PORT_CFLAGS
1905 GPHOTO2_PORT_LIBS
1906 LCMS2_CFLAGS
1907 LCMS2_LIBS
1908 FREETYPE_CFLAGS
1909 FREETYPE_LIBS
1910 PULSE_CFLAGS
1911 PULSE_LIBS
1912 GSTREAMER_CFLAGS
1913 GSTREAMER_LIBS
1914 UDEV_CFLAGS
1915 UDEV_LIBS
1916 UNWIND_CFLAGS
1917 UNWIND_LIBS
1918 SDL2_CFLAGS
1919 SDL2_LIBS
1920 FAUDIO_CFLAGS
1921 FAUDIO_LIBS
1922 CAPI20_CFLAGS
1923 CAPI20_LIBS
1924 CUPS_CFLAGS
1925 CUPS_LIBS
1926 FONTCONFIG_CFLAGS
1927 FONTCONFIG_LIBS
1928 KRB5_CFLAGS
1929 KRB5_LIBS
1930 GSSAPI_CFLAGS
1931 GSSAPI_LIBS
1932 JPEG_CFLAGS
1933 JPEG_LIBS
1934 JXRLIB_CFLAGS
1935 JXRLIB_LIBS
1936 PNG_CFLAGS
1937 PNG_LIBS
1938 TIFF_CFLAGS
1939 TIFF_LIBS
1940 MPG123_CFLAGS
1941 MPG123_LIBS
1942 NETAPI_CFLAGS
1943 NETAPI_LIBS
1944 VKD3D_CFLAGS
1945 VKD3D_LIBS
1946 VKD3D_SHADER_CFLAGS
1947 VKD3D_SHADER_LIBS
1948 LDAP_CFLAGS
1949 LDAP_LIBS'
1952 # Initialize some variables set by options.
1953 ac_init_help=
1954 ac_init_version=false
1955 ac_unrecognized_opts=
1956 ac_unrecognized_sep=
1957 # The variables have the same names as the options, with
1958 # dashes changed to underlines.
1959 cache_file=/dev/null
1960 exec_prefix=NONE
1961 no_create=
1962 no_recursion=
1963 prefix=NONE
1964 program_prefix=NONE
1965 program_suffix=NONE
1966 program_transform_name=s,x,x,
1967 silent=
1968 site=
1969 srcdir=
1970 verbose=
1971 x_includes=NONE
1972 x_libraries=NONE
1974 # Installation directory options.
1975 # These are left unexpanded so users can "make install exec_prefix=/foo"
1976 # and all the variables that are supposed to be based on exec_prefix
1977 # by default will actually change.
1978 # Use braces instead of parens because sh, perl, etc. also accept them.
1979 # (The list follows the same order as the GNU Coding Standards.)
1980 bindir='${exec_prefix}/bin'
1981 sbindir='${exec_prefix}/sbin'
1982 libexecdir='${exec_prefix}/libexec'
1983 datarootdir='${prefix}/share'
1984 datadir='${datarootdir}'
1985 sysconfdir='${prefix}/etc'
1986 sharedstatedir='${prefix}/com'
1987 localstatedir='${prefix}/var'
1988 runstatedir='${localstatedir}/run'
1989 includedir='${prefix}/include'
1990 oldincludedir='/usr/include'
1991 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1992 infodir='${datarootdir}/info'
1993 htmldir='${docdir}'
1994 dvidir='${docdir}'
1995 pdfdir='${docdir}'
1996 psdir='${docdir}'
1997 libdir='${exec_prefix}/lib'
1998 localedir='${datarootdir}/locale'
1999 mandir='${datarootdir}/man'
2001 ac_prev=
2002 ac_dashdash=
2003 for ac_option
2005 # If the previous option needs an argument, assign it.
2006 if test -n "$ac_prev"; then
2007 eval $ac_prev=\$ac_option
2008 ac_prev=
2009 continue
2012 case $ac_option in
2013 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2014 *=) ac_optarg= ;;
2015 *) ac_optarg=yes ;;
2016 esac
2018 # Accept the important Cygnus configure options, so we can diagnose typos.
2020 case $ac_dashdash$ac_option in
2022 ac_dashdash=yes ;;
2024 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2025 ac_prev=bindir ;;
2026 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2027 bindir=$ac_optarg ;;
2029 -build | --build | --buil | --bui | --bu)
2030 ac_prev=build_alias ;;
2031 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2032 build_alias=$ac_optarg ;;
2034 -cache-file | --cache-file | --cache-fil | --cache-fi \
2035 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2036 ac_prev=cache_file ;;
2037 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2038 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2039 cache_file=$ac_optarg ;;
2041 --config-cache | -C)
2042 cache_file=config.cache ;;
2044 -datadir | --datadir | --datadi | --datad)
2045 ac_prev=datadir ;;
2046 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2047 datadir=$ac_optarg ;;
2049 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2050 | --dataroo | --dataro | --datar)
2051 ac_prev=datarootdir ;;
2052 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2053 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2054 datarootdir=$ac_optarg ;;
2056 -disable-* | --disable-*)
2057 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2058 # Reject names that are not valid shell variable names.
2059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2060 as_fn_error $? "invalid feature name: $ac_useropt"
2061 ac_useropt_orig=$ac_useropt
2062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2063 case $ac_user_opts in
2065 "enable_$ac_useropt"
2066 "*) ;;
2067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2068 ac_unrecognized_sep=', ';;
2069 esac
2070 eval enable_$ac_useropt=no ;;
2072 -docdir | --docdir | --docdi | --doc | --do)
2073 ac_prev=docdir ;;
2074 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2075 docdir=$ac_optarg ;;
2077 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2078 ac_prev=dvidir ;;
2079 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2080 dvidir=$ac_optarg ;;
2082 -enable-* | --enable-*)
2083 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2084 # Reject names that are not valid shell variable names.
2085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2086 as_fn_error $? "invalid feature name: $ac_useropt"
2087 ac_useropt_orig=$ac_useropt
2088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2089 case $ac_user_opts in
2091 "enable_$ac_useropt"
2092 "*) ;;
2093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2094 ac_unrecognized_sep=', ';;
2095 esac
2096 eval enable_$ac_useropt=\$ac_optarg ;;
2098 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2099 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2100 | --exec | --exe | --ex)
2101 ac_prev=exec_prefix ;;
2102 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2103 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2104 | --exec=* | --exe=* | --ex=*)
2105 exec_prefix=$ac_optarg ;;
2107 -gas | --gas | --ga | --g)
2108 # Obsolete; use --with-gas.
2109 with_gas=yes ;;
2111 -help | --help | --hel | --he | -h)
2112 ac_init_help=long ;;
2113 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2114 ac_init_help=recursive ;;
2115 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2116 ac_init_help=short ;;
2118 -host | --host | --hos | --ho)
2119 ac_prev=host_alias ;;
2120 -host=* | --host=* | --hos=* | --ho=*)
2121 host_alias=$ac_optarg ;;
2123 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2124 ac_prev=htmldir ;;
2125 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2126 | --ht=*)
2127 htmldir=$ac_optarg ;;
2129 -includedir | --includedir | --includedi | --included | --include \
2130 | --includ | --inclu | --incl | --inc)
2131 ac_prev=includedir ;;
2132 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2133 | --includ=* | --inclu=* | --incl=* | --inc=*)
2134 includedir=$ac_optarg ;;
2136 -infodir | --infodir | --infodi | --infod | --info | --inf)
2137 ac_prev=infodir ;;
2138 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2139 infodir=$ac_optarg ;;
2141 -libdir | --libdir | --libdi | --libd)
2142 ac_prev=libdir ;;
2143 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2144 libdir=$ac_optarg ;;
2146 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2147 | --libexe | --libex | --libe)
2148 ac_prev=libexecdir ;;
2149 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2150 | --libexe=* | --libex=* | --libe=*)
2151 libexecdir=$ac_optarg ;;
2153 -localedir | --localedir | --localedi | --localed | --locale)
2154 ac_prev=localedir ;;
2155 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2156 localedir=$ac_optarg ;;
2158 -localstatedir | --localstatedir | --localstatedi | --localstated \
2159 | --localstate | --localstat | --localsta | --localst | --locals)
2160 ac_prev=localstatedir ;;
2161 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2162 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2163 localstatedir=$ac_optarg ;;
2165 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2166 ac_prev=mandir ;;
2167 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2168 mandir=$ac_optarg ;;
2170 -nfp | --nfp | --nf)
2171 # Obsolete; use --without-fp.
2172 with_fp=no ;;
2174 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2175 | --no-cr | --no-c | -n)
2176 no_create=yes ;;
2178 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2179 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2180 no_recursion=yes ;;
2182 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2183 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2184 | --oldin | --oldi | --old | --ol | --o)
2185 ac_prev=oldincludedir ;;
2186 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2187 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2188 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2189 oldincludedir=$ac_optarg ;;
2191 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2192 ac_prev=prefix ;;
2193 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2194 prefix=$ac_optarg ;;
2196 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2197 | --program-pre | --program-pr | --program-p)
2198 ac_prev=program_prefix ;;
2199 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2200 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2201 program_prefix=$ac_optarg ;;
2203 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2204 | --program-suf | --program-su | --program-s)
2205 ac_prev=program_suffix ;;
2206 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2207 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2208 program_suffix=$ac_optarg ;;
2210 -program-transform-name | --program-transform-name \
2211 | --program-transform-nam | --program-transform-na \
2212 | --program-transform-n | --program-transform- \
2213 | --program-transform | --program-transfor \
2214 | --program-transfo | --program-transf \
2215 | --program-trans | --program-tran \
2216 | --progr-tra | --program-tr | --program-t)
2217 ac_prev=program_transform_name ;;
2218 -program-transform-name=* | --program-transform-name=* \
2219 | --program-transform-nam=* | --program-transform-na=* \
2220 | --program-transform-n=* | --program-transform-=* \
2221 | --program-transform=* | --program-transfor=* \
2222 | --program-transfo=* | --program-transf=* \
2223 | --program-trans=* | --program-tran=* \
2224 | --progr-tra=* | --program-tr=* | --program-t=*)
2225 program_transform_name=$ac_optarg ;;
2227 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2228 ac_prev=pdfdir ;;
2229 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2230 pdfdir=$ac_optarg ;;
2232 -psdir | --psdir | --psdi | --psd | --ps)
2233 ac_prev=psdir ;;
2234 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2235 psdir=$ac_optarg ;;
2237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2238 | -silent | --silent | --silen | --sile | --sil)
2239 silent=yes ;;
2241 -runstatedir | --runstatedir | --runstatedi | --runstated \
2242 | --runstate | --runstat | --runsta | --runst | --runs \
2243 | --run | --ru | --r)
2244 ac_prev=runstatedir ;;
2245 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2246 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2247 | --run=* | --ru=* | --r=*)
2248 runstatedir=$ac_optarg ;;
2250 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2251 ac_prev=sbindir ;;
2252 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2253 | --sbi=* | --sb=*)
2254 sbindir=$ac_optarg ;;
2256 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2257 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2258 | --sharedst | --shareds | --shared | --share | --shar \
2259 | --sha | --sh)
2260 ac_prev=sharedstatedir ;;
2261 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2262 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2263 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2264 | --sha=* | --sh=*)
2265 sharedstatedir=$ac_optarg ;;
2267 -site | --site | --sit)
2268 ac_prev=site ;;
2269 -site=* | --site=* | --sit=*)
2270 site=$ac_optarg ;;
2272 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2273 ac_prev=srcdir ;;
2274 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2275 srcdir=$ac_optarg ;;
2277 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2278 | --syscon | --sysco | --sysc | --sys | --sy)
2279 ac_prev=sysconfdir ;;
2280 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2281 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2282 sysconfdir=$ac_optarg ;;
2284 -target | --target | --targe | --targ | --tar | --ta | --t)
2285 ac_prev=target_alias ;;
2286 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2287 target_alias=$ac_optarg ;;
2289 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2290 verbose=yes ;;
2292 -version | --version | --versio | --versi | --vers | -V)
2293 ac_init_version=: ;;
2295 -with-* | --with-*)
2296 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2297 # Reject names that are not valid shell variable names.
2298 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2299 as_fn_error $? "invalid package name: $ac_useropt"
2300 ac_useropt_orig=$ac_useropt
2301 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2302 case $ac_user_opts in
2304 "with_$ac_useropt"
2305 "*) ;;
2306 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2307 ac_unrecognized_sep=', ';;
2308 esac
2309 eval with_$ac_useropt=\$ac_optarg ;;
2311 -without-* | --without-*)
2312 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2313 # Reject names that are not valid shell variable names.
2314 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2315 as_fn_error $? "invalid package name: $ac_useropt"
2316 ac_useropt_orig=$ac_useropt
2317 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2318 case $ac_user_opts in
2320 "with_$ac_useropt"
2321 "*) ;;
2322 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2323 ac_unrecognized_sep=', ';;
2324 esac
2325 eval with_$ac_useropt=no ;;
2327 --x)
2328 # Obsolete; use --with-x.
2329 with_x=yes ;;
2331 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2332 | --x-incl | --x-inc | --x-in | --x-i)
2333 ac_prev=x_includes ;;
2334 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2335 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2336 x_includes=$ac_optarg ;;
2338 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2339 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2340 ac_prev=x_libraries ;;
2341 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2342 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2343 x_libraries=$ac_optarg ;;
2345 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2346 Try \`$0 --help' for more information"
2349 *=*)
2350 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2351 # Reject names that are not valid shell variable names.
2352 case $ac_envvar in #(
2353 '' | [0-9]* | *[!_$as_cr_alnum]* )
2354 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2355 esac
2356 eval $ac_envvar=\$ac_optarg
2357 export $ac_envvar ;;
2360 # FIXME: should be removed in autoconf 3.0.
2361 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2362 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2363 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2364 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2367 esac
2368 done
2370 if test -n "$ac_prev"; then
2371 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2372 as_fn_error $? "missing argument to $ac_option"
2375 if test -n "$ac_unrecognized_opts"; then
2376 case $enable_option_checking in
2377 no) ;;
2378 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2379 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2380 esac
2383 # Check all directory arguments for consistency.
2384 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2385 datadir sysconfdir sharedstatedir localstatedir includedir \
2386 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2387 libdir localedir mandir runstatedir
2389 eval ac_val=\$$ac_var
2390 # Remove trailing slashes.
2391 case $ac_val in
2392 */ )
2393 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2394 eval $ac_var=\$ac_val;;
2395 esac
2396 # Be sure to have absolute directory names.
2397 case $ac_val in
2398 [\\/$]* | ?:[\\/]* ) continue;;
2399 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2400 esac
2401 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2402 done
2404 # There might be people who depend on the old broken behavior: `$host'
2405 # used to hold the argument of --host etc.
2406 # FIXME: To remove some day.
2407 build=$build_alias
2408 host=$host_alias
2409 target=$target_alias
2411 # FIXME: To remove some day.
2412 if test "x$host_alias" != x; then
2413 if test "x$build_alias" = x; then
2414 cross_compiling=maybe
2415 elif test "x$build_alias" != "x$host_alias"; then
2416 cross_compiling=yes
2420 ac_tool_prefix=
2421 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2423 test "$silent" = yes && exec 6>/dev/null
2426 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2427 ac_ls_di=`ls -di .` &&
2428 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2429 as_fn_error $? "working directory cannot be determined"
2430 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2431 as_fn_error $? "pwd does not report name of working directory"
2434 # Find the source files, if location was not specified.
2435 if test -z "$srcdir"; then
2436 ac_srcdir_defaulted=yes
2437 # Try the directory containing this script, then the parent directory.
2438 ac_confdir=`$as_dirname -- "$as_myself" ||
2439 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2440 X"$as_myself" : 'X\(//\)[^/]' \| \
2441 X"$as_myself" : 'X\(//\)$' \| \
2442 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2443 $as_echo X"$as_myself" |
2444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2445 s//\1/
2448 /^X\(\/\/\)[^/].*/{
2449 s//\1/
2452 /^X\(\/\/\)$/{
2453 s//\1/
2456 /^X\(\/\).*/{
2457 s//\1/
2460 s/.*/./; q'`
2461 srcdir=$ac_confdir
2462 if test ! -r "$srcdir/$ac_unique_file"; then
2463 srcdir=..
2465 else
2466 ac_srcdir_defaulted=no
2468 if test ! -r "$srcdir/$ac_unique_file"; then
2469 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2470 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2472 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2473 ac_abs_confdir=`(
2474 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2475 pwd)`
2476 # When building in place, set srcdir=.
2477 if test "$ac_abs_confdir" = "$ac_pwd"; then
2478 srcdir=.
2480 # Remove unnecessary trailing slashes from srcdir.
2481 # Double slashes in file names in object file debugging info
2482 # mess up M-x gdb in Emacs.
2483 case $srcdir in
2484 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2485 esac
2486 for ac_var in $ac_precious_vars; do
2487 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2488 eval ac_env_${ac_var}_value=\$${ac_var}
2489 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2490 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2491 done
2494 # Report the --help message.
2496 if test "$ac_init_help" = "long"; then
2497 # Omit some internal or obsolete options to make the list less imposing.
2498 # This message is too long to be a string in the A/UX 3.1 sh.
2499 cat <<_ACEOF
2500 \`configure' configures Wine 6.1 to adapt to many kinds of systems.
2502 Usage: $0 [OPTION]... [VAR=VALUE]...
2504 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2505 VAR=VALUE. See below for descriptions of some of the useful variables.
2507 Defaults for the options are specified in brackets.
2509 Configuration:
2510 -h, --help display this help and exit
2511 --help=short display options specific to this package
2512 --help=recursive display the short help of all the included packages
2513 -V, --version display version information and exit
2514 -q, --quiet, --silent do not print \`checking ...' messages
2515 --cache-file=FILE cache test results in FILE [disabled]
2516 -C, --config-cache alias for \`--cache-file=config.cache'
2517 -n, --no-create do not create output files
2518 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2520 Installation directories:
2521 --prefix=PREFIX install architecture-independent files in PREFIX
2522 [$ac_default_prefix]
2523 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2524 [PREFIX]
2526 By default, \`make install' will install all the files in
2527 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2528 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2529 for instance \`--prefix=\$HOME'.
2531 For better control, use the options below.
2533 Fine tuning of the installation directories:
2534 --bindir=DIR user executables [EPREFIX/bin]
2535 --sbindir=DIR system admin executables [EPREFIX/sbin]
2536 --libexecdir=DIR program executables [EPREFIX/libexec]
2537 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2538 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2539 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2540 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2541 --libdir=DIR object code libraries [EPREFIX/lib]
2542 --includedir=DIR C header files [PREFIX/include]
2543 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2544 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2545 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2546 --infodir=DIR info documentation [DATAROOTDIR/info]
2547 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2548 --mandir=DIR man documentation [DATAROOTDIR/man]
2549 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2550 --htmldir=DIR html documentation [DOCDIR]
2551 --dvidir=DIR dvi documentation [DOCDIR]
2552 --pdfdir=DIR pdf documentation [DOCDIR]
2553 --psdir=DIR ps documentation [DOCDIR]
2554 _ACEOF
2556 cat <<\_ACEOF
2558 X features:
2559 --x-includes=DIR X include files are in DIR
2560 --x-libraries=DIR X library files are in DIR
2562 System types:
2563 --build=BUILD configure for building on BUILD [guessed]
2564 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2565 _ACEOF
2568 if test -n "$ac_init_help"; then
2569 case $ac_init_help in
2570 short | recursive ) echo "Configuration of Wine 6.1:";;
2571 esac
2572 cat <<\_ACEOF
2574 Optional Features:
2575 --disable-option-checking ignore unrecognized --enable/--with options
2576 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2577 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2578 --disable-win16 do not include Win16 support
2579 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2580 binaries)
2581 --disable-tests do not build the regression tests
2582 --enable-maintainer-mode
2583 enable maintainer-specific build rules
2584 --enable-silent-rules use silent build rules (override: "make V=1")
2585 --enable-werror treat compilation warnings as errors
2586 --disable-largefile omit support for large files
2588 Optional Packages:
2589 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2590 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2591 --without-alsa do not use the Alsa sound support
2592 --without-capi do not use CAPI (ISDN support)
2593 --without-cms do not use CMS (color management support)
2594 --without-coreaudio do not use the CoreAudio sound support
2595 --without-cups do not use CUPS
2596 --without-dbus do not use DBus (dynamic device support)
2597 --without-faudio do not use FAudio (XAudio2 support)
2598 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2599 --without-fontconfig do not use fontconfig
2600 --without-freetype do not use the FreeType library
2601 --without-gettext do not use gettext
2602 --with-gettextpo use the GetTextPO library to rebuild po files
2603 --without-gphoto do not use gphoto (Digital Camera support)
2604 --without-gnutls do not use GnuTLS (schannel support)
2605 --without-gsm do not use libgsm (GSM 06.10 codec support)
2606 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2607 --without-gstreamer do not use GStreamer (codecs support)
2608 --without-hal do not use HAL (dynamic device support)
2609 --without-inotify do not use inotify (filesystem change notifications)
2610 --without-jpeg do not use JPEG
2611 --without-jxrlib do not use JPEG-XR
2612 --without-krb5 do not use krb5 (Kerberos)
2613 --without-ldap do not use LDAP
2614 --without-mingw do not use the MinGW cross-compiler
2615 --without-mpg123 do not use the mpg123 library
2616 --without-netapi do not use the Samba NetAPI library
2617 --without-openal do not use OpenAL
2618 --without-opencl do not use OpenCL
2619 --without-opengl do not use OpenGL
2620 --without-osmesa do not use the OSMesa library
2621 --without-oss do not use the OSS sound support
2622 --without-pcap do not use the Packet Capture library
2623 --without-png do not use PNG
2624 --without-pthread do not use the pthread library
2625 --without-pulse do not use PulseAudio sound support
2626 --without-quicktime do not use QuickTime support
2627 --without-sane do not use SANE (scanner support)
2628 --without-sdl do not use SDL
2629 --without-tiff do not use TIFF
2630 --without-udev do not use udev (plug and play support)
2631 --without-unwind do not use the libunwind library (exception
2632 handling)
2633 --without-usb do not use the libusb library
2634 --without-v4l2 do not use v4l2 (video capture)
2635 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2636 --without-vulkan do not use Vulkan
2637 --without-xcomposite do not use the Xcomposite extension
2638 --without-xcursor do not use the Xcursor extension
2639 --without-xfixes do not use Xfixes for clipboard change notifications
2640 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2641 --without-xinput do not use the Xinput extension
2642 --without-xinput2 do not use the Xinput 2 extension
2643 --without-xml do not use XML
2644 --without-xrandr do not use Xrandr (multi-monitor support)
2645 --without-xrender do not use the Xrender extension
2646 --without-xshape do not use the Xshape extension
2647 --without-xshm do not use XShm (shared memory extension)
2648 --without-xslt do not use XSLT
2649 --without-xxf86vm do not use XFree video mode extension
2650 --with-wine-tools=DIR use Wine tools from directory DIR
2651 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2652 --with-x use the X Window System
2654 Some influential environment variables:
2655 CC C compiler command
2656 CFLAGS C compiler flags
2657 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2658 nonstandard directory <lib dir>
2659 LIBS libraries to pass to the linker, e.g. -l<library>
2660 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2661 you have headers in a nonstandard directory <include dir>
2662 CXX C++ compiler command
2663 CXXFLAGS C++ compiler flags
2664 CPP C preprocessor
2665 OBJC Objective C compiler command
2666 OBJCFLAGS Objective C compiler flags
2667 OBJCPP Objective C preprocessor
2668 XMKMF Path to xmkmf, Makefile generator for X Window System
2669 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2670 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2671 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2672 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2673 INOTIFY_CFLAGS
2674 C compiler flags for libinotify, overriding pkg-config
2675 INOTIFY_LIBS
2676 Linker flags for libinotify, overriding pkg-config
2677 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2678 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2679 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2680 HAL_LIBS Linker flags for hal, overriding pkg-config
2681 GNUTLS_CFLAGS
2682 C compiler flags for gnutls, overriding pkg-config
2683 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2684 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2685 SANE_LIBS Linker flags for libsane, overriding pkg-config
2686 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2687 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2688 GPHOTO2_CFLAGS
2689 C compiler flags for libgphoto2, overriding pkg-config
2690 GPHOTO2_LIBS
2691 Linker flags for libgphoto2, overriding pkg-config
2692 GPHOTO2_PORT_CFLAGS
2693 C compiler flags for libgphoto2_port, overriding pkg-config
2694 GPHOTO2_PORT_LIBS
2695 Linker flags for libgphoto2_port, overriding pkg-config
2696 LCMS2_CFLAGS
2697 C compiler flags for lcms2, overriding pkg-config
2698 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2699 FREETYPE_CFLAGS
2700 C compiler flags for freetype2, overriding pkg-config
2701 FREETYPE_LIBS
2702 Linker flags for freetype2, overriding pkg-config
2703 PULSE_CFLAGS
2704 C compiler flags for libpulse, overriding pkg-config
2705 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2706 GSTREAMER_CFLAGS
2707 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2708 gstreamer-audio-1.0, overriding pkg-config
2709 GSTREAMER_LIBS
2710 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2711 gstreamer-audio-1.0, overriding pkg-config
2712 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2713 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2714 UNWIND_CFLAGS
2715 C compiler flags for libunwind, overriding pkg-config
2716 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2717 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2718 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2719 FAUDIO_CFLAGS
2720 C compiler flags for faudio, overriding pkg-config
2721 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2722 CAPI20_CFLAGS
2723 C compiler flags for capi20, overriding pkg-config
2724 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2725 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2726 CUPS_LIBS Linker flags for cups, overriding pkg-config
2727 FONTCONFIG_CFLAGS
2728 C compiler flags for fontconfig, overriding pkg-config
2729 FONTCONFIG_LIBS
2730 Linker flags for fontconfig, overriding pkg-config
2731 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2732 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2733 GSSAPI_CFLAGS
2734 C compiler flags for krb5-gssapi, overriding pkg-config
2735 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2736 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2737 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2738 JXRLIB_CFLAGS
2739 C compiler flags for jxrlib, overriding pkg-config
2740 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2741 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2742 PNG_LIBS Linker flags for libpng, overriding pkg-config
2743 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2744 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2745 MPG123_CFLAGS
2746 C compiler flags for libmpg123, overriding pkg-config
2747 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2748 NETAPI_CFLAGS
2749 C compiler flags for netapi, overriding pkg-config
2750 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2751 VKD3D_CFLAGS
2752 C compiler flags for libvkd3d, overriding pkg-config
2753 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2754 VKD3D_SHADER_CFLAGS
2755 C compiler flags for libvkd3d-shader, overriding pkg-config
2756 VKD3D_SHADER_LIBS
2757 Linker flags for libvkd3d-shader, overriding pkg-config
2758 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2759 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2761 Use these variables to override the choices made by `configure' or to help
2762 it to find libraries and programs with nonstandard names/locations.
2764 Report bugs to <wine-devel@winehq.org>.
2765 Wine home page: <https://www.winehq.org>.
2766 _ACEOF
2767 ac_status=$?
2770 if test "$ac_init_help" = "recursive"; then
2771 # If there are subdirs, report their specific --help.
2772 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2773 test -d "$ac_dir" ||
2774 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2775 continue
2776 ac_builddir=.
2778 case "$ac_dir" in
2779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2781 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2782 # A ".." for each directory in $ac_dir_suffix.
2783 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2784 case $ac_top_builddir_sub in
2785 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2786 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2787 esac ;;
2788 esac
2789 ac_abs_top_builddir=$ac_pwd
2790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2791 # for backward compatibility:
2792 ac_top_builddir=$ac_top_build_prefix
2794 case $srcdir in
2795 .) # We are building in place.
2796 ac_srcdir=.
2797 ac_top_srcdir=$ac_top_builddir_sub
2798 ac_abs_top_srcdir=$ac_pwd ;;
2799 [\\/]* | ?:[\\/]* ) # Absolute name.
2800 ac_srcdir=$srcdir$ac_dir_suffix;
2801 ac_top_srcdir=$srcdir
2802 ac_abs_top_srcdir=$srcdir ;;
2803 *) # Relative name.
2804 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2805 ac_top_srcdir=$ac_top_build_prefix$srcdir
2806 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2807 esac
2808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2810 cd "$ac_dir" || { ac_status=$?; continue; }
2811 # Check for guested configure.
2812 if test -f "$ac_srcdir/configure.gnu"; then
2813 echo &&
2814 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2815 elif test -f "$ac_srcdir/configure"; then
2816 echo &&
2817 $SHELL "$ac_srcdir/configure" --help=recursive
2818 else
2819 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2820 fi || ac_status=$?
2821 cd "$ac_pwd" || { ac_status=$?; break; }
2822 done
2825 test -n "$ac_init_help" && exit $ac_status
2826 if $ac_init_version; then
2827 cat <<\_ACEOF
2828 Wine configure 6.1
2829 generated by GNU Autoconf 2.69
2831 Copyright (C) 2012 Free Software Foundation, Inc.
2832 This configure script is free software; the Free Software Foundation
2833 gives unlimited permission to copy, distribute and modify it.
2834 _ACEOF
2835 exit
2838 ## ------------------------ ##
2839 ## Autoconf initialization. ##
2840 ## ------------------------ ##
2842 # ac_fn_c_try_compile LINENO
2843 # --------------------------
2844 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2845 ac_fn_c_try_compile ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 rm -f conftest.$ac_objext
2849 if { { ac_try="$ac_compile"
2850 case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2853 esac
2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2855 $as_echo "$ac_try_echo"; } >&5
2856 (eval "$ac_compile") 2>conftest.err
2857 ac_status=$?
2858 if test -s conftest.err; then
2859 grep -v '^ *+' conftest.err >conftest.er1
2860 cat conftest.er1 >&5
2861 mv -f conftest.er1 conftest.err
2863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2864 test $ac_status = 0; } && {
2865 test -z "$ac_c_werror_flag" ||
2866 test ! -s conftest.err
2867 } && test -s conftest.$ac_objext; then :
2868 ac_retval=0
2869 else
2870 $as_echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2873 ac_retval=1
2875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 as_fn_set_status $ac_retval
2878 } # ac_fn_c_try_compile
2880 # ac_fn_cxx_try_compile LINENO
2881 # ----------------------------
2882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2883 ac_fn_cxx_try_compile ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 rm -f conftest.$ac_objext
2887 if { { ac_try="$ac_compile"
2888 case "(($ac_try" in
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2891 esac
2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 $as_echo "$ac_try_echo"; } >&5
2894 (eval "$ac_compile") 2>conftest.err
2895 ac_status=$?
2896 if test -s conftest.err; then
2897 grep -v '^ *+' conftest.err >conftest.er1
2898 cat conftest.er1 >&5
2899 mv -f conftest.er1 conftest.err
2901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2902 test $ac_status = 0; } && {
2903 test -z "$ac_cxx_werror_flag" ||
2904 test ! -s conftest.err
2905 } && test -s conftest.$ac_objext; then :
2906 ac_retval=0
2907 else
2908 $as_echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2911 ac_retval=1
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2914 as_fn_set_status $ac_retval
2916 } # ac_fn_cxx_try_compile
2918 # ac_fn_c_try_link LINENO
2919 # -----------------------
2920 # Try to link conftest.$ac_ext, and return whether this succeeded.
2921 ac_fn_c_try_link ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 rm -f conftest.$ac_objext conftest$ac_exeext
2925 if { { ac_try="$ac_link"
2926 case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2929 esac
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_link") 2>conftest.err
2933 ac_status=$?
2934 if test -s conftest.err; then
2935 grep -v '^ *+' conftest.err >conftest.er1
2936 cat conftest.er1 >&5
2937 mv -f conftest.er1 conftest.err
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; } && {
2941 test -z "$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2943 } && test -s conftest$ac_exeext && {
2944 test "$cross_compiling" = yes ||
2945 test -x conftest$ac_exeext
2946 }; then :
2947 ac_retval=0
2948 else
2949 $as_echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2952 ac_retval=1
2954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2956 # interfere with the next link command; also delete a directory that is
2957 # left behind by Apple's compiler. We do this before executing the actions.
2958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2960 as_fn_set_status $ac_retval
2962 } # ac_fn_c_try_link
2964 # ac_fn_c_try_cpp LINENO
2965 # ----------------------
2966 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2967 ac_fn_c_try_cpp ()
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 if { { ac_try="$ac_cpp conftest.$ac_ext"
2971 case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2974 esac
2975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2976 $as_echo "$ac_try_echo"; } >&5
2977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2978 ac_status=$?
2979 if test -s conftest.err; then
2980 grep -v '^ *+' conftest.err >conftest.er1
2981 cat conftest.er1 >&5
2982 mv -f conftest.er1 conftest.err
2984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; } > conftest.i && {
2986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2987 test ! -s conftest.err
2988 }; then :
2989 ac_retval=0
2990 else
2991 $as_echo "$as_me: failed program was:" >&5
2992 sed 's/^/| /' conftest.$ac_ext >&5
2994 ac_retval=1
2996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2997 as_fn_set_status $ac_retval
2999 } # ac_fn_c_try_cpp
3001 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3002 # -------------------------------------------------------
3003 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3004 # the include files in INCLUDES and setting the cache variable VAR
3005 # accordingly.
3006 ac_fn_c_check_header_mongrel ()
3008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3009 if eval \${$3+:} false; then :
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3011 $as_echo_n "checking for $2... " >&6; }
3012 if eval \${$3+:} false; then :
3013 $as_echo_n "(cached) " >&6
3015 eval ac_res=\$$3
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3017 $as_echo "$ac_res" >&6; }
3018 else
3019 # Is the header compilable?
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3021 $as_echo_n "checking $2 usability... " >&6; }
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3025 #include <$2>
3026 _ACEOF
3027 if ac_fn_c_try_compile "$LINENO"; then :
3028 ac_header_compiler=yes
3029 else
3030 ac_header_compiler=no
3032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3034 $as_echo "$ac_header_compiler" >&6; }
3036 # Is the header present?
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3038 $as_echo_n "checking $2 presence... " >&6; }
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3041 #include <$2>
3042 _ACEOF
3043 if ac_fn_c_try_cpp "$LINENO"; then :
3044 ac_header_preproc=yes
3045 else
3046 ac_header_preproc=no
3048 rm -f conftest.err conftest.i conftest.$ac_ext
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3050 $as_echo "$ac_header_preproc" >&6; }
3052 # So? What about this header?
3053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3054 yes:no: )
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3056 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3058 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3060 no:yes:* )
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3062 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3064 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3066 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3068 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3070 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3071 ( $as_echo "## ------------------------------------ ##
3072 ## Report this to wine-devel@winehq.org ##
3073 ## ------------------------------------ ##"
3074 ) | sed "s/^/$as_me: WARNING: /" >&2
3076 esac
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3078 $as_echo_n "checking for $2... " >&6; }
3079 if eval \${$3+:} false; then :
3080 $as_echo_n "(cached) " >&6
3081 else
3082 eval "$3=\$ac_header_compiler"
3084 eval ac_res=\$$3
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3086 $as_echo "$ac_res" >&6; }
3088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3090 } # ac_fn_c_check_header_mongrel
3092 # ac_fn_c_try_run LINENO
3093 # ----------------------
3094 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3095 # that executables *can* be run.
3096 ac_fn_c_try_run ()
3098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3099 if { { ac_try="$ac_link"
3100 case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103 esac
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_link") 2>&5
3107 ac_status=$?
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3110 { { case "(($ac_try" in
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3113 esac
3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_try") 2>&5
3117 ac_status=$?
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }; }; then :
3120 ac_retval=0
3121 else
3122 $as_echo "$as_me: program exited with status $ac_status" >&5
3123 $as_echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3126 ac_retval=$ac_status
3128 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3130 as_fn_set_status $ac_retval
3132 } # ac_fn_c_try_run
3134 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3135 # -------------------------------------------------------
3136 # Tests whether HEADER exists and can be compiled using the include files in
3137 # INCLUDES, setting the cache variable VAR accordingly.
3138 ac_fn_c_check_header_compile ()
3140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3142 $as_echo_n "checking for $2... " >&6; }
3143 if eval \${$3+:} false; then :
3144 $as_echo_n "(cached) " >&6
3145 else
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3149 #include <$2>
3150 _ACEOF
3151 if ac_fn_c_try_compile "$LINENO"; then :
3152 eval "$3=yes"
3153 else
3154 eval "$3=no"
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 eval ac_res=\$$3
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3160 $as_echo "$ac_res" >&6; }
3161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3163 } # ac_fn_c_check_header_compile
3165 # ac_fn_objc_try_compile LINENO
3166 # -----------------------------
3167 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3168 ac_fn_objc_try_compile ()
3170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3171 rm -f conftest.$ac_objext
3172 if { { ac_try="$ac_compile"
3173 case "(($ac_try" in
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3176 esac
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_compile") 2>conftest.err
3180 ac_status=$?
3181 if test -s conftest.err; then
3182 grep -v '^ *+' conftest.err >conftest.er1
3183 cat conftest.er1 >&5
3184 mv -f conftest.er1 conftest.err
3186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3187 test $ac_status = 0; } && {
3188 test -z "$ac_objc_werror_flag" ||
3189 test ! -s conftest.err
3190 } && test -s conftest.$ac_objext; then :
3191 ac_retval=0
3192 else
3193 $as_echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3196 ac_retval=1
3198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199 as_fn_set_status $ac_retval
3201 } # ac_fn_objc_try_compile
3203 # ac_fn_objc_try_cpp LINENO
3204 # -------------------------
3205 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3206 ac_fn_objc_try_cpp ()
3208 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3209 if { { ac_try="$ac_cpp conftest.$ac_ext"
3210 case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3213 esac
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3217 ac_status=$?
3218 if test -s conftest.err; then
3219 grep -v '^ *+' conftest.err >conftest.er1
3220 cat conftest.er1 >&5
3221 mv -f conftest.er1 conftest.err
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; } > conftest.i && {
3225 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3226 test ! -s conftest.err
3227 }; then :
3228 ac_retval=0
3229 else
3230 $as_echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3233 ac_retval=1
3235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3236 as_fn_set_status $ac_retval
3238 } # ac_fn_objc_try_cpp
3240 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3241 # ----------------------------------------------------------
3242 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3243 # the include files in INCLUDES and setting the cache variable VAR
3244 # accordingly.
3245 ac_fn_objc_check_header_mongrel ()
3247 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3248 if eval \${$3+:} false; then :
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3250 $as_echo_n "checking for $2... " >&6; }
3251 if eval \${$3+:} false; then :
3252 $as_echo_n "(cached) " >&6
3254 eval ac_res=\$$3
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3256 $as_echo "$ac_res" >&6; }
3257 else
3258 # Is the header compilable?
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3260 $as_echo_n "checking $2 usability... " >&6; }
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3264 #include <$2>
3265 _ACEOF
3266 if ac_fn_objc_try_compile "$LINENO"; then :
3267 ac_header_compiler=yes
3268 else
3269 ac_header_compiler=no
3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3273 $as_echo "$ac_header_compiler" >&6; }
3275 # Is the header present?
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3277 $as_echo_n "checking $2 presence... " >&6; }
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3280 #include <$2>
3281 _ACEOF
3282 if ac_fn_objc_try_cpp "$LINENO"; then :
3283 ac_header_preproc=yes
3284 else
3285 ac_header_preproc=no
3287 rm -f conftest.err conftest.i conftest.$ac_ext
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3289 $as_echo "$ac_header_preproc" >&6; }
3291 # So? What about this header?
3292 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3293 yes:no: )
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3295 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3297 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3299 no:yes:* )
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3301 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3303 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3305 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3307 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3309 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3310 ( $as_echo "## ------------------------------------ ##
3311 ## Report this to wine-devel@winehq.org ##
3312 ## ------------------------------------ ##"
3313 ) | sed "s/^/$as_me: WARNING: /" >&2
3315 esac
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3317 $as_echo_n "checking for $2... " >&6; }
3318 if eval \${$3+:} false; then :
3319 $as_echo_n "(cached) " >&6
3320 else
3321 eval "$3=\$ac_header_compiler"
3323 eval ac_res=\$$3
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3325 $as_echo "$ac_res" >&6; }
3327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3329 } # ac_fn_objc_check_header_mongrel
3331 # ac_fn_c_check_func LINENO FUNC VAR
3332 # ----------------------------------
3333 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3334 ac_fn_c_check_func ()
3336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3338 $as_echo_n "checking for $2... " >&6; }
3339 if eval \${$3+:} false; then :
3340 $as_echo_n "(cached) " >&6
3341 else
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3344 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3346 #define $2 innocuous_$2
3348 /* System header to define __stub macros and hopefully few prototypes,
3349 which can conflict with char $2 (); below.
3350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3351 <limits.h> exists even on freestanding compilers. */
3353 #ifdef __STDC__
3354 # include <limits.h>
3355 #else
3356 # include <assert.h>
3357 #endif
3359 #undef $2
3361 /* Override any GCC internal prototype to avoid an error.
3362 Use char because int might match the return type of a GCC
3363 builtin and then its argument prototype would still apply. */
3364 #ifdef __cplusplus
3365 extern "C"
3366 #endif
3367 char $2 ();
3368 /* The GNU C library defines this for functions which it implements
3369 to always fail with ENOSYS. Some functions are actually named
3370 something starting with __ and the normal name is an alias. */
3371 #if defined __stub_$2 || defined __stub___$2
3372 choke me
3373 #endif
3376 main ()
3378 return $2 ();
3380 return 0;
3382 _ACEOF
3383 if ac_fn_c_try_link "$LINENO"; then :
3384 eval "$3=yes"
3385 else
3386 eval "$3=no"
3388 rm -f core conftest.err conftest.$ac_objext \
3389 conftest$ac_exeext conftest.$ac_ext
3391 eval ac_res=\$$3
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3393 $as_echo "$ac_res" >&6; }
3394 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3396 } # ac_fn_c_check_func
3398 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3399 # ----------------------------------------------------
3400 # Tries to find if the field MEMBER exists in type AGGR, after including
3401 # INCLUDES, setting cache variable VAR accordingly.
3402 ac_fn_c_check_member ()
3404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3406 $as_echo_n "checking for $2.$3... " >&6; }
3407 if eval \${$4+:} false; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3414 main ()
3416 static $2 ac_aggr;
3417 if (ac_aggr.$3)
3418 return 0;
3420 return 0;
3422 _ACEOF
3423 if ac_fn_c_try_compile "$LINENO"; then :
3424 eval "$4=yes"
3425 else
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3430 main ()
3432 static $2 ac_aggr;
3433 if (sizeof ac_aggr.$3)
3434 return 0;
3436 return 0;
3438 _ACEOF
3439 if ac_fn_c_try_compile "$LINENO"; then :
3440 eval "$4=yes"
3441 else
3442 eval "$4=no"
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 eval ac_res=\$$4
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3450 $as_echo "$ac_res" >&6; }
3451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3453 } # ac_fn_c_check_member
3455 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3456 # -------------------------------------------
3457 # Tests whether TYPE exists after having included INCLUDES, setting cache
3458 # variable VAR accordingly.
3459 ac_fn_c_check_type ()
3461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3463 $as_echo_n "checking for $2... " >&6; }
3464 if eval \${$3+:} false; then :
3465 $as_echo_n "(cached) " >&6
3466 else
3467 eval "$3=no"
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3472 main ()
3474 if (sizeof ($2))
3475 return 0;
3477 return 0;
3479 _ACEOF
3480 if ac_fn_c_try_compile "$LINENO"; then :
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3485 main ()
3487 if (sizeof (($2)))
3488 return 0;
3490 return 0;
3492 _ACEOF
3493 if ac_fn_c_try_compile "$LINENO"; then :
3495 else
3496 eval "$3=yes"
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 eval ac_res=\$$3
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3504 $as_echo "$ac_res" >&6; }
3505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3507 } # ac_fn_c_check_type
3508 cat >config.log <<_ACEOF
3509 This file contains any messages produced by compilers while
3510 running configure, to aid debugging if configure makes a mistake.
3512 It was created by Wine $as_me 6.1, which was
3513 generated by GNU Autoconf 2.69. Invocation command line was
3515 $ $0 $@
3517 _ACEOF
3518 exec 5>>config.log
3520 cat <<_ASUNAME
3521 ## --------- ##
3522 ## Platform. ##
3523 ## --------- ##
3525 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3526 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3527 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3528 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3529 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3531 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3532 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3534 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3535 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3536 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3537 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3538 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3539 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3540 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3542 _ASUNAME
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3547 IFS=$as_save_IFS
3548 test -z "$as_dir" && as_dir=.
3549 $as_echo "PATH: $as_dir"
3550 done
3551 IFS=$as_save_IFS
3553 } >&5
3555 cat >&5 <<_ACEOF
3558 ## ----------- ##
3559 ## Core tests. ##
3560 ## ----------- ##
3562 _ACEOF
3565 # Keep a trace of the command line.
3566 # Strip out --no-create and --no-recursion so they do not pile up.
3567 # Strip out --silent because we don't want to record it for future runs.
3568 # Also quote any args containing shell meta-characters.
3569 # Make two passes to allow for proper duplicate-argument suppression.
3570 ac_configure_args=
3571 ac_configure_args0=
3572 ac_configure_args1=
3573 ac_must_keep_next=false
3574 for ac_pass in 1 2
3576 for ac_arg
3578 case $ac_arg in
3579 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3581 | -silent | --silent | --silen | --sile | --sil)
3582 continue ;;
3583 *\'*)
3584 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3585 esac
3586 case $ac_pass in
3587 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3589 as_fn_append ac_configure_args1 " '$ac_arg'"
3590 if test $ac_must_keep_next = true; then
3591 ac_must_keep_next=false # Got value, back to normal.
3592 else
3593 case $ac_arg in
3594 *=* | --config-cache | -C | -disable-* | --disable-* \
3595 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3596 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3597 | -with-* | --with-* | -without-* | --without-* | --x)
3598 case "$ac_configure_args0 " in
3599 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3600 esac
3602 -* ) ac_must_keep_next=true ;;
3603 esac
3605 as_fn_append ac_configure_args " '$ac_arg'"
3607 esac
3608 done
3609 done
3610 { ac_configure_args0=; unset ac_configure_args0;}
3611 { ac_configure_args1=; unset ac_configure_args1;}
3613 # When interrupted or exit'd, cleanup temporary files, and complete
3614 # config.log. We remove comments because anyway the quotes in there
3615 # would cause problems or look ugly.
3616 # WARNING: Use '\'' to represent an apostrophe within the trap.
3617 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3618 trap 'exit_status=$?
3619 # Save into config.log some information that might help in debugging.
3621 echo
3623 $as_echo "## ---------------- ##
3624 ## Cache variables. ##
3625 ## ---------------- ##"
3626 echo
3627 # The following way of writing the cache mishandles newlines in values,
3629 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3630 eval ac_val=\$$ac_var
3631 case $ac_val in #(
3632 *${as_nl}*)
3633 case $ac_var in #(
3634 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3635 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3636 esac
3637 case $ac_var in #(
3638 _ | IFS | as_nl) ;; #(
3639 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3640 *) { eval $ac_var=; unset $ac_var;} ;;
3641 esac ;;
3642 esac
3643 done
3644 (set) 2>&1 |
3645 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3646 *${as_nl}ac_space=\ *)
3647 sed -n \
3648 "s/'\''/'\''\\\\'\'''\''/g;
3649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3650 ;; #(
3652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3654 esac |
3655 sort
3657 echo
3659 $as_echo "## ----------------- ##
3660 ## Output variables. ##
3661 ## ----------------- ##"
3662 echo
3663 for ac_var in $ac_subst_vars
3665 eval ac_val=\$$ac_var
3666 case $ac_val in
3667 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3668 esac
3669 $as_echo "$ac_var='\''$ac_val'\''"
3670 done | sort
3671 echo
3673 if test -n "$ac_subst_files"; then
3674 $as_echo "## ------------------- ##
3675 ## File substitutions. ##
3676 ## ------------------- ##"
3677 echo
3678 for ac_var in $ac_subst_files
3680 eval ac_val=\$$ac_var
3681 case $ac_val in
3682 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3683 esac
3684 $as_echo "$ac_var='\''$ac_val'\''"
3685 done | sort
3686 echo
3689 if test -s confdefs.h; then
3690 $as_echo "## ----------- ##
3691 ## confdefs.h. ##
3692 ## ----------- ##"
3693 echo
3694 cat confdefs.h
3695 echo
3697 test "$ac_signal" != 0 &&
3698 $as_echo "$as_me: caught signal $ac_signal"
3699 $as_echo "$as_me: exit $exit_status"
3700 } >&5
3701 rm -f core *.core core.conftest.* &&
3702 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3703 exit $exit_status
3705 for ac_signal in 1 2 13 15; do
3706 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3707 done
3708 ac_signal=0
3710 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3711 rm -f -r conftest* confdefs.h
3713 $as_echo "/* confdefs.h */" > confdefs.h
3715 # Predefined preprocessor variables.
3717 cat >>confdefs.h <<_ACEOF
3718 #define PACKAGE_NAME "$PACKAGE_NAME"
3719 _ACEOF
3721 cat >>confdefs.h <<_ACEOF
3722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3723 _ACEOF
3725 cat >>confdefs.h <<_ACEOF
3726 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3727 _ACEOF
3729 cat >>confdefs.h <<_ACEOF
3730 #define PACKAGE_STRING "$PACKAGE_STRING"
3731 _ACEOF
3733 cat >>confdefs.h <<_ACEOF
3734 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3735 _ACEOF
3737 cat >>confdefs.h <<_ACEOF
3738 #define PACKAGE_URL "$PACKAGE_URL"
3739 _ACEOF
3742 # Let the site file select an alternate cache file if it wants to.
3743 # Prefer an explicitly selected file to automatically selected ones.
3744 ac_site_file1=NONE
3745 ac_site_file2=NONE
3746 if test -n "$CONFIG_SITE"; then
3747 # We do not want a PATH search for config.site.
3748 case $CONFIG_SITE in #((
3749 -*) ac_site_file1=./$CONFIG_SITE;;
3750 */*) ac_site_file1=$CONFIG_SITE;;
3751 *) ac_site_file1=./$CONFIG_SITE;;
3752 esac
3753 elif test "x$prefix" != xNONE; then
3754 ac_site_file1=$prefix/share/config.site
3755 ac_site_file2=$prefix/etc/config.site
3756 else
3757 ac_site_file1=$ac_default_prefix/share/config.site
3758 ac_site_file2=$ac_default_prefix/etc/config.site
3760 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3762 test "x$ac_site_file" = xNONE && continue
3763 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3765 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3766 sed 's/^/| /' "$ac_site_file" >&5
3767 . "$ac_site_file" \
3768 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770 as_fn_error $? "failed to load site script $ac_site_file
3771 See \`config.log' for more details" "$LINENO" 5; }
3773 done
3775 if test -r "$cache_file"; then
3776 # Some versions of bash will fail to source /dev/null (special files
3777 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3778 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3780 $as_echo "$as_me: loading cache $cache_file" >&6;}
3781 case $cache_file in
3782 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3783 *) . "./$cache_file";;
3784 esac
3786 else
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3788 $as_echo "$as_me: creating cache $cache_file" >&6;}
3789 >$cache_file
3792 # Check that the precious variables saved in the cache have kept the same
3793 # value.
3794 ac_cache_corrupted=false
3795 for ac_var in $ac_precious_vars; do
3796 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3797 eval ac_new_set=\$ac_env_${ac_var}_set
3798 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3799 eval ac_new_val=\$ac_env_${ac_var}_value
3800 case $ac_old_set,$ac_new_set in
3801 set,)
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3803 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3804 ac_cache_corrupted=: ;;
3805 ,set)
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3807 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3808 ac_cache_corrupted=: ;;
3809 ,);;
3811 if test "x$ac_old_val" != "x$ac_new_val"; then
3812 # differences in whitespace do not lead to failure.
3813 ac_old_val_w=`echo x $ac_old_val`
3814 ac_new_val_w=`echo x $ac_new_val`
3815 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3817 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3818 ac_cache_corrupted=:
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3821 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3822 eval $ac_var=\$ac_old_val
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3825 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3827 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3828 fi;;
3829 esac
3830 # Pass precious variables to config.status.
3831 if test "$ac_new_set" = set; then
3832 case $ac_new_val in
3833 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3834 *) ac_arg=$ac_var=$ac_new_val ;;
3835 esac
3836 case " $ac_configure_args " in
3837 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3838 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3839 esac
3841 done
3842 if $ac_cache_corrupted; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3846 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3847 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3849 ## -------------------- ##
3850 ## Main body of script. ##
3851 ## -------------------- ##
3853 ac_ext=c
3854 ac_cpp='$CPP $CPPFLAGS'
3855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3861 ac_config_headers="$ac_config_headers include/config.h"
3863 ac_aux_dir=
3864 for ac_dir in tools "$srcdir"/tools; do
3865 if test -f "$ac_dir/install-sh"; then
3866 ac_aux_dir=$ac_dir
3867 ac_install_sh="$ac_aux_dir/install-sh -c"
3868 break
3869 elif test -f "$ac_dir/install.sh"; then
3870 ac_aux_dir=$ac_dir
3871 ac_install_sh="$ac_aux_dir/install.sh -c"
3872 break
3873 elif test -f "$ac_dir/shtool"; then
3874 ac_aux_dir=$ac_dir
3875 ac_install_sh="$ac_aux_dir/shtool install -c"
3876 break
3878 done
3879 if test -z "$ac_aux_dir"; then
3880 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3883 # These three variables are undocumented and unsupported,
3884 # and are intended to be withdrawn in a future Autoconf release.
3885 # They can cause serious problems if a builder's source tree is in a directory
3886 # whose full name contains unusual characters.
3887 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3888 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3889 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3893 libwine_version="1.0"
3897 # Check whether --enable-win16 was given.
3898 if test "${enable_win16+set}" = set; then :
3899 enableval=$enable_win16;
3902 # Check whether --enable-win64 was given.
3903 if test "${enable_win64+set}" = set; then :
3904 enableval=$enable_win64;
3907 # Check whether --enable-tests was given.
3908 if test "${enable_tests+set}" = set; then :
3909 enableval=$enable_tests;
3912 # Check whether --enable-maintainer-mode was given.
3913 if test "${enable_maintainer_mode+set}" = set; then :
3914 enableval=$enable_maintainer_mode;
3917 # Check whether --enable-silent-rules was given.
3918 if test "${enable_silent_rules+set}" = set; then :
3919 enableval=$enable_silent_rules;
3922 # Check whether --enable-werror was given.
3923 if test "${enable_werror+set}" = set; then :
3924 enableval=$enable_werror;
3929 # Check whether --with-alsa was given.
3930 if test "${with_alsa+set}" = set; then :
3931 withval=$with_alsa;
3935 # Check whether --with-capi was given.
3936 if test "${with_capi+set}" = set; then :
3937 withval=$with_capi;
3941 # Check whether --with-cms was given.
3942 if test "${with_cms+set}" = set; then :
3943 withval=$with_cms;
3947 # Check whether --with-coreaudio was given.
3948 if test "${with_coreaudio+set}" = set; then :
3949 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3953 # Check whether --with-cups was given.
3954 if test "${with_cups+set}" = set; then :
3955 withval=$with_cups;
3959 # Check whether --with-dbus was given.
3960 if test "${with_dbus+set}" = set; then :
3961 withval=$with_dbus;
3965 # Check whether --with-faudio was given.
3966 if test "${with_faudio+set}" = set; then :
3967 withval=$with_faudio;
3971 # Check whether --with-float-abi was given.
3972 if test "${with_float_abi+set}" = set; then :
3973 withval=$with_float_abi;
3977 # Check whether --with-fontconfig was given.
3978 if test "${with_fontconfig+set}" = set; then :
3979 withval=$with_fontconfig;
3983 # Check whether --with-freetype was given.
3984 if test "${with_freetype+set}" = set; then :
3985 withval=$with_freetype;
3989 # Check whether --with-gettext was given.
3990 if test "${with_gettext+set}" = set; then :
3991 withval=$with_gettext;
3995 # Check whether --with-gettextpo was given.
3996 if test "${with_gettextpo+set}" = set; then :
3997 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4001 # Check whether --with-gphoto was given.
4002 if test "${with_gphoto+set}" = set; then :
4003 withval=$with_gphoto;
4007 # Check whether --with-gnutls was given.
4008 if test "${with_gnutls+set}" = set; then :
4009 withval=$with_gnutls;
4013 # Check whether --with-gsm was given.
4014 if test "${with_gsm+set}" = set; then :
4015 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4019 # Check whether --with-gssapi was given.
4020 if test "${with_gssapi+set}" = set; then :
4021 withval=$with_gssapi;
4025 # Check whether --with-gstreamer was given.
4026 if test "${with_gstreamer+set}" = set; then :
4027 withval=$with_gstreamer;
4031 # Check whether --with-hal was given.
4032 if test "${with_hal+set}" = set; then :
4033 withval=$with_hal;
4037 # Check whether --with-inotify was given.
4038 if test "${with_inotify+set}" = set; then :
4039 withval=$with_inotify;
4043 # Check whether --with-jpeg was given.
4044 if test "${with_jpeg+set}" = set; then :
4045 withval=$with_jpeg;
4049 # Check whether --with-jxrlib was given.
4050 if test "${with_jxrlib+set}" = set; then :
4051 withval=$with_jxrlib;
4055 # Check whether --with-krb5 was given.
4056 if test "${with_krb5+set}" = set; then :
4057 withval=$with_krb5;
4061 # Check whether --with-ldap was given.
4062 if test "${with_ldap+set}" = set; then :
4063 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4067 # Check whether --with-mingw was given.
4068 if test "${with_mingw+set}" = set; then :
4069 withval=$with_mingw;
4073 # Check whether --with-mpg123 was given.
4074 if test "${with_mpg123+set}" = set; then :
4075 withval=$with_mpg123;
4079 # Check whether --with-netapi was given.
4080 if test "${with_netapi+set}" = set; then :
4081 withval=$with_netapi;
4085 # Check whether --with-openal was given.
4086 if test "${with_openal+set}" = set; then :
4087 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4091 # Check whether --with-opencl was given.
4092 if test "${with_opencl+set}" = set; then :
4093 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4097 # Check whether --with-opengl was given.
4098 if test "${with_opengl+set}" = set; then :
4099 withval=$with_opengl;
4103 # Check whether --with-osmesa was given.
4104 if test "${with_osmesa+set}" = set; then :
4105 withval=$with_osmesa;
4109 # Check whether --with-oss was given.
4110 if test "${with_oss+set}" = set; then :
4111 withval=$with_oss;
4115 # Check whether --with-pcap was given.
4116 if test "${with_pcap+set}" = set; then :
4117 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4121 # Check whether --with-png was given.
4122 if test "${with_png+set}" = set; then :
4123 withval=$with_png;
4127 # Check whether --with-pthread was given.
4128 if test "${with_pthread+set}" = set; then :
4129 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4133 # Check whether --with-pulse was given.
4134 if test "${with_pulse+set}" = set; then :
4135 withval=$with_pulse;
4139 # Check whether --with-quicktime was given.
4140 if test "${with_quicktime+set}" = set; then :
4141 withval=$with_quicktime;
4145 # Check whether --with-sane was given.
4146 if test "${with_sane+set}" = set; then :
4147 withval=$with_sane;
4151 # Check whether --with-sdl was given.
4152 if test "${with_sdl+set}" = set; then :
4153 withval=$with_sdl;
4157 # Check whether --with-tiff was given.
4158 if test "${with_tiff+set}" = set; then :
4159 withval=$with_tiff;
4163 # Check whether --with-udev was given.
4164 if test "${with_udev+set}" = set; then :
4165 withval=$with_udev;
4169 # Check whether --with-unwind was given.
4170 if test "${with_unwind+set}" = set; then :
4171 withval=$with_unwind;
4175 # Check whether --with-usb was given.
4176 if test "${with_usb+set}" = set; then :
4177 withval=$with_usb;
4181 # Check whether --with-v4l2 was given.
4182 if test "${with_v4l2+set}" = set; then :
4183 withval=$with_v4l2;
4187 # Check whether --with-vkd3d was given.
4188 if test "${with_vkd3d+set}" = set; then :
4189 withval=$with_vkd3d;
4193 # Check whether --with-vulkan was given.
4194 if test "${with_vulkan+set}" = set; then :
4195 withval=$with_vulkan;
4199 # Check whether --with-xcomposite was given.
4200 if test "${with_xcomposite+set}" = set; then :
4201 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4205 # Check whether --with-xcursor was given.
4206 if test "${with_xcursor+set}" = set; then :
4207 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4211 # Check whether --with-xfixes was given.
4212 if test "${with_xfixes+set}" = set; then :
4213 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4217 # Check whether --with-xinerama was given.
4218 if test "${with_xinerama+set}" = set; then :
4219 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4223 # Check whether --with-xinput was given.
4224 if test "${with_xinput+set}" = set; then :
4225 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4229 # Check whether --with-xinput2 was given.
4230 if test "${with_xinput2+set}" = set; then :
4231 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4235 # Check whether --with-xml was given.
4236 if test "${with_xml+set}" = set; then :
4237 withval=$with_xml;
4241 # Check whether --with-xrandr was given.
4242 if test "${with_xrandr+set}" = set; then :
4243 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4247 # Check whether --with-xrender was given.
4248 if test "${with_xrender+set}" = set; then :
4249 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4253 # Check whether --with-xshape was given.
4254 if test "${with_xshape+set}" = set; then :
4255 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4259 # Check whether --with-xshm was given.
4260 if test "${with_xshm+set}" = set; then :
4261 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4265 # Check whether --with-xslt was given.
4266 if test "${with_xslt+set}" = set; then :
4267 withval=$with_xslt;
4271 # Check whether --with-xxf86vm was given.
4272 if test "${with_xxf86vm+set}" = set; then :
4273 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4278 # Check whether --with-wine-tools was given.
4279 if test "${with_wine_tools+set}" = set; then :
4280 withval=$with_wine_tools;
4284 # Check whether --with-wine64 was given.
4285 if test "${with_wine64+set}" = set; then :
4286 withval=$with_wine64;
4290 # Make sure we can run config.sub.
4291 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4292 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4295 $as_echo_n "checking build system type... " >&6; }
4296 if ${ac_cv_build+:} false; then :
4297 $as_echo_n "(cached) " >&6
4298 else
4299 ac_build_alias=$build_alias
4300 test "x$ac_build_alias" = x &&
4301 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4302 test "x$ac_build_alias" = x &&
4303 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4305 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4309 $as_echo "$ac_cv_build" >&6; }
4310 case $ac_cv_build in
4311 *-*-*) ;;
4312 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4313 esac
4314 build=$ac_cv_build
4315 ac_save_IFS=$IFS; IFS='-'
4316 set x $ac_cv_build
4317 shift
4318 build_cpu=$1
4319 build_vendor=$2
4320 shift; shift
4321 # Remember, the first character of IFS is used to create $*,
4322 # except with old shells:
4323 build_os=$*
4324 IFS=$ac_save_IFS
4325 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4329 $as_echo_n "checking host system type... " >&6; }
4330 if ${ac_cv_host+:} false; then :
4331 $as_echo_n "(cached) " >&6
4332 else
4333 if test "x$host_alias" = x; then
4334 ac_cv_host=$ac_cv_build
4335 else
4336 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4337 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4342 $as_echo "$ac_cv_host" >&6; }
4343 case $ac_cv_host in
4344 *-*-*) ;;
4345 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4346 esac
4347 host=$ac_cv_host
4348 ac_save_IFS=$IFS; IFS='-'
4349 set x $ac_cv_host
4350 shift
4351 host_cpu=$1
4352 host_vendor=$2
4353 shift; shift
4354 # Remember, the first character of IFS is used to create $*,
4355 # except with old shells:
4356 host_os=$*
4357 IFS=$ac_save_IFS
4358 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4364 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4365 set x ${MAKE-make}
4366 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4367 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4368 $as_echo_n "(cached) " >&6
4369 else
4370 cat >conftest.make <<\_ACEOF
4371 SHELL = /bin/sh
4372 all:
4373 @echo '@@@%%%=$(MAKE)=@@@%%%'
4374 _ACEOF
4375 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4376 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4377 *@@@%%%=?*=@@@%%%*)
4378 eval ac_cv_prog_make_${ac_make}_set=yes;;
4380 eval ac_cv_prog_make_${ac_make}_set=no;;
4381 esac
4382 rm -f conftest.make
4384 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4386 $as_echo "yes" >&6; }
4387 SET_MAKE=
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 SET_MAKE="MAKE=${MAKE-make}"
4394 ac_ext=c
4395 ac_cpp='$CPP $CPPFLAGS'
4396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4399 if test -n "$ac_tool_prefix"; then
4400 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4401 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if ${ac_cv_prog_CC+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 if test -n "$CC"; then
4408 ac_cv_prog_CC="$CC" # Let the user override the test.
4409 else
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH
4413 IFS=$as_save_IFS
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4417 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 break 2
4421 done
4422 done
4423 IFS=$as_save_IFS
4427 CC=$ac_cv_prog_CC
4428 if test -n "$CC"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4430 $as_echo "$CC" >&6; }
4431 else
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4438 if test -z "$ac_cv_prog_CC"; then
4439 ac_ct_CC=$CC
4440 # Extract the first word of "gcc", so it can be a program name with args.
4441 set dummy gcc; ac_word=$2
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443 $as_echo_n "checking for $ac_word... " >&6; }
4444 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4445 $as_echo_n "(cached) " >&6
4446 else
4447 if test -n "$ac_ct_CC"; then
4448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4449 else
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH
4453 IFS=$as_save_IFS
4454 test -z "$as_dir" && as_dir=.
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4457 ac_cv_prog_ac_ct_CC="gcc"
4458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 break 2
4461 done
4462 done
4463 IFS=$as_save_IFS
4467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4468 if test -n "$ac_ct_CC"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4470 $as_echo "$ac_ct_CC" >&6; }
4471 else
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4476 if test "x$ac_ct_CC" = x; then
4477 CC=""
4478 else
4479 case $cross_compiling:$ac_tool_warned in
4480 yes:)
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4483 ac_tool_warned=yes ;;
4484 esac
4485 CC=$ac_ct_CC
4487 else
4488 CC="$ac_cv_prog_CC"
4491 if test -z "$CC"; then
4492 if test -n "$ac_tool_prefix"; then
4493 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4494 set dummy ${ac_tool_prefix}cc; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if ${ac_cv_prog_CC+:} false; then :
4498 $as_echo_n "(cached) " >&6
4499 else
4500 if test -n "$CC"; then
4501 ac_cv_prog_CC="$CC" # Let the user override the test.
4502 else
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH
4506 IFS=$as_save_IFS
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4510 ac_cv_prog_CC="${ac_tool_prefix}cc"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 break 2
4514 done
4515 done
4516 IFS=$as_save_IFS
4520 CC=$ac_cv_prog_CC
4521 if test -n "$CC"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4523 $as_echo "$CC" >&6; }
4524 else
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4532 if test -z "$CC"; then
4533 # Extract the first word of "cc", so it can be a program name with args.
4534 set dummy cc; ac_word=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if ${ac_cv_prog_CC+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 if test -n "$CC"; then
4541 ac_cv_prog_CC="$CC" # Let the user override the test.
4542 else
4543 ac_prog_rejected=no
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH
4547 IFS=$as_save_IFS
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4552 ac_prog_rejected=yes
4553 continue
4555 ac_cv_prog_CC="cc"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 break 2
4559 done
4560 done
4561 IFS=$as_save_IFS
4563 if test $ac_prog_rejected = yes; then
4564 # We found a bogon in the path, so make sure we never use it.
4565 set dummy $ac_cv_prog_CC
4566 shift
4567 if test $# != 0; then
4568 # We chose a different compiler from the bogus one.
4569 # However, it has the same basename, so the bogon will be chosen
4570 # first if we set CC to just the basename; use the full file name.
4571 shift
4572 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4577 CC=$ac_cv_prog_CC
4578 if test -n "$CC"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4580 $as_echo "$CC" >&6; }
4581 else
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4588 if test -z "$CC"; then
4589 if test -n "$ac_tool_prefix"; then
4590 for ac_prog in cl.exe
4592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if ${ac_cv_prog_CC+:} false; then :
4597 $as_echo_n "(cached) " >&6
4598 else
4599 if test -n "$CC"; then
4600 ac_cv_prog_CC="$CC" # Let the user override the test.
4601 else
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH
4605 IFS=$as_save_IFS
4606 test -z "$as_dir" && as_dir=.
4607 for ac_exec_ext in '' $ac_executable_extensions; do
4608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4609 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 break 2
4613 done
4614 done
4615 IFS=$as_save_IFS
4619 CC=$ac_cv_prog_CC
4620 if test -n "$CC"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4622 $as_echo "$CC" >&6; }
4623 else
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4629 test -n "$CC" && break
4630 done
4632 if test -z "$CC"; then
4633 ac_ct_CC=$CC
4634 for ac_prog in cl.exe
4636 # Extract the first word of "$ac_prog", so it can be a program name with args.
4637 set dummy $ac_prog; ac_word=$2
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4639 $as_echo_n "checking for $ac_word... " >&6; }
4640 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4641 $as_echo_n "(cached) " >&6
4642 else
4643 if test -n "$ac_ct_CC"; then
4644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4645 else
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $PATH
4649 IFS=$as_save_IFS
4650 test -z "$as_dir" && as_dir=.
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_ac_ct_CC="$ac_prog"
4654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 break 2
4657 done
4658 done
4659 IFS=$as_save_IFS
4663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4664 if test -n "$ac_ct_CC"; then
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4666 $as_echo "$ac_ct_CC" >&6; }
4667 else
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4669 $as_echo "no" >&6; }
4673 test -n "$ac_ct_CC" && break
4674 done
4676 if test "x$ac_ct_CC" = x; then
4677 CC=""
4678 else
4679 case $cross_compiling:$ac_tool_warned in
4680 yes:)
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4683 ac_tool_warned=yes ;;
4684 esac
4685 CC=$ac_ct_CC
4692 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4694 as_fn_error $? "no acceptable C compiler found in \$PATH
4695 See \`config.log' for more details" "$LINENO" 5; }
4697 # Provide some information about the compiler.
4698 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4699 set X $ac_compile
4700 ac_compiler=$2
4701 for ac_option in --version -v -V -qversion; do
4702 { { ac_try="$ac_compiler $ac_option >&5"
4703 case "(($ac_try" in
4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4705 *) ac_try_echo=$ac_try;;
4706 esac
4707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4708 $as_echo "$ac_try_echo"; } >&5
4709 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4710 ac_status=$?
4711 if test -s conftest.err; then
4712 sed '10a\
4713 ... rest of stderr output deleted ...
4714 10q' conftest.err >conftest.er1
4715 cat conftest.er1 >&5
4717 rm -f conftest.er1 conftest.err
4718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4719 test $ac_status = 0; }
4720 done
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4726 main ()
4730 return 0;
4732 _ACEOF
4733 ac_clean_files_save=$ac_clean_files
4734 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4735 # Try to create an executable without -o first, disregard a.out.
4736 # It will help us diagnose broken compilers, and finding out an intuition
4737 # of exeext.
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4739 $as_echo_n "checking whether the C compiler works... " >&6; }
4740 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4742 # The possible output files:
4743 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4745 ac_rmfiles=
4746 for ac_file in $ac_files
4748 case $ac_file in
4749 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4750 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4751 esac
4752 done
4753 rm -f $ac_rmfiles
4755 if { { ac_try="$ac_link_default"
4756 case "(($ac_try" in
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4759 esac
4760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4761 $as_echo "$ac_try_echo"; } >&5
4762 (eval "$ac_link_default") 2>&5
4763 ac_status=$?
4764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4765 test $ac_status = 0; }; then :
4766 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4767 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4768 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4769 # so that the user can short-circuit this test for compilers unknown to
4770 # Autoconf.
4771 for ac_file in $ac_files ''
4773 test -f "$ac_file" || continue
4774 case $ac_file in
4775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4777 [ab].out )
4778 # We found the default executable, but exeext='' is most
4779 # certainly right.
4780 break;;
4781 *.* )
4782 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4783 then :; else
4784 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4786 # We set ac_cv_exeext here because the later test for it is not
4787 # safe: cross compilers may not add the suffix if given an `-o'
4788 # argument, so we may need to know it at that point already.
4789 # Even if this section looks crufty: it has the advantage of
4790 # actually working.
4791 break;;
4793 break;;
4794 esac
4795 done
4796 test "$ac_cv_exeext" = no && ac_cv_exeext=
4798 else
4799 ac_file=''
4801 if test -z "$ac_file"; then :
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4804 $as_echo "$as_me: failed program was:" >&5
4805 sed 's/^/| /' conftest.$ac_ext >&5
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error 77 "C compiler cannot create executables
4810 See \`config.log' for more details" "$LINENO" 5; }
4811 else
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4813 $as_echo "yes" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4816 $as_echo_n "checking for C compiler default output file name... " >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4818 $as_echo "$ac_file" >&6; }
4819 ac_exeext=$ac_cv_exeext
4821 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4822 ac_clean_files=$ac_clean_files_save
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4824 $as_echo_n "checking for suffix of executables... " >&6; }
4825 if { { ac_try="$ac_link"
4826 case "(($ac_try" in
4827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4829 esac
4830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4831 $as_echo "$ac_try_echo"; } >&5
4832 (eval "$ac_link") 2>&5
4833 ac_status=$?
4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4835 test $ac_status = 0; }; then :
4836 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4837 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4838 # work properly (i.e., refer to `conftest.exe'), while it won't with
4839 # `rm'.
4840 for ac_file in conftest.exe conftest conftest.*; do
4841 test -f "$ac_file" || continue
4842 case $ac_file in
4843 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4844 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4845 break;;
4846 * ) break;;
4847 esac
4848 done
4849 else
4850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4852 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4853 See \`config.log' for more details" "$LINENO" 5; }
4855 rm -f conftest conftest$ac_cv_exeext
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4857 $as_echo "$ac_cv_exeext" >&6; }
4859 rm -f conftest.$ac_ext
4860 EXEEXT=$ac_cv_exeext
4861 ac_exeext=$EXEEXT
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4864 #include <stdio.h>
4866 main ()
4868 FILE *f = fopen ("conftest.out", "w");
4869 return ferror (f) || fclose (f) != 0;
4872 return 0;
4874 _ACEOF
4875 ac_clean_files="$ac_clean_files conftest.out"
4876 # Check that the compiler produces executables we can run. If not, either
4877 # the compiler is broken, or we cross compile.
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4879 $as_echo_n "checking whether we are cross compiling... " >&6; }
4880 if test "$cross_compiling" != yes; then
4881 { { ac_try="$ac_link"
4882 case "(($ac_try" in
4883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4884 *) ac_try_echo=$ac_try;;
4885 esac
4886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4887 $as_echo "$ac_try_echo"; } >&5
4888 (eval "$ac_link") 2>&5
4889 ac_status=$?
4890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4891 test $ac_status = 0; }
4892 if { ac_try='./conftest$ac_cv_exeext'
4893 { { case "(($ac_try" in
4894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4895 *) ac_try_echo=$ac_try;;
4896 esac
4897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4898 $as_echo "$ac_try_echo"; } >&5
4899 (eval "$ac_try") 2>&5
4900 ac_status=$?
4901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4902 test $ac_status = 0; }; }; then
4903 cross_compiling=no
4904 else
4905 if test "$cross_compiling" = maybe; then
4906 cross_compiling=yes
4907 else
4908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4910 as_fn_error $? "cannot run C compiled programs.
4911 If you meant to cross compile, use \`--host'.
4912 See \`config.log' for more details" "$LINENO" 5; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4917 $as_echo "$cross_compiling" >&6; }
4919 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4920 ac_clean_files=$ac_clean_files_save
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4922 $as_echo_n "checking for suffix of object files... " >&6; }
4923 if ${ac_cv_objext+:} false; then :
4924 $as_echo_n "(cached) " >&6
4925 else
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4934 return 0;
4936 _ACEOF
4937 rm -f conftest.o conftest.obj
4938 if { { ac_try="$ac_compile"
4939 case "(($ac_try" in
4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4941 *) ac_try_echo=$ac_try;;
4942 esac
4943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4944 $as_echo "$ac_try_echo"; } >&5
4945 (eval "$ac_compile") 2>&5
4946 ac_status=$?
4947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4948 test $ac_status = 0; }; then :
4949 for ac_file in conftest.o conftest.obj conftest.*; do
4950 test -f "$ac_file" || continue;
4951 case $ac_file in
4952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4953 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4954 break;;
4955 esac
4956 done
4957 else
4958 $as_echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.$ac_ext >&5
4961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4963 as_fn_error $? "cannot compute suffix of object files: cannot compile
4964 See \`config.log' for more details" "$LINENO" 5; }
4966 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4969 $as_echo "$ac_cv_objext" >&6; }
4970 OBJEXT=$ac_cv_objext
4971 ac_objext=$OBJEXT
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4973 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4974 if ${ac_cv_c_compiler_gnu+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4981 main ()
4983 #ifndef __GNUC__
4984 choke me
4985 #endif
4988 return 0;
4990 _ACEOF
4991 if ac_fn_c_try_compile "$LINENO"; then :
4992 ac_compiler_gnu=yes
4993 else
4994 ac_compiler_gnu=no
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5001 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5002 if test $ac_compiler_gnu = yes; then
5003 GCC=yes
5004 else
5005 GCC=
5007 ac_test_CFLAGS=${CFLAGS+set}
5008 ac_save_CFLAGS=$CFLAGS
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5010 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5011 if ${ac_cv_prog_cc_g+:} false; then :
5012 $as_echo_n "(cached) " >&6
5013 else
5014 ac_save_c_werror_flag=$ac_c_werror_flag
5015 ac_c_werror_flag=yes
5016 ac_cv_prog_cc_g=no
5017 CFLAGS="-g"
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5026 return 0;
5028 _ACEOF
5029 if ac_fn_c_try_compile "$LINENO"; then :
5030 ac_cv_prog_cc_g=yes
5031 else
5032 CFLAGS=""
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5037 main ()
5041 return 0;
5043 _ACEOF
5044 if ac_fn_c_try_compile "$LINENO"; then :
5046 else
5047 ac_c_werror_flag=$ac_save_c_werror_flag
5048 CFLAGS="-g"
5049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5053 main ()
5057 return 0;
5059 _ACEOF
5060 if ac_fn_c_try_compile "$LINENO"; then :
5061 ac_cv_prog_cc_g=yes
5063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 ac_c_werror_flag=$ac_save_c_werror_flag
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5071 $as_echo "$ac_cv_prog_cc_g" >&6; }
5072 if test "$ac_test_CFLAGS" = set; then
5073 CFLAGS=$ac_save_CFLAGS
5074 elif test $ac_cv_prog_cc_g = yes; then
5075 if test "$GCC" = yes; then
5076 CFLAGS="-g -O2"
5077 else
5078 CFLAGS="-g"
5080 else
5081 if test "$GCC" = yes; then
5082 CFLAGS="-O2"
5083 else
5084 CFLAGS=
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5088 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5089 if ${ac_cv_prog_cc_c89+:} false; then :
5090 $as_echo_n "(cached) " >&6
5091 else
5092 ac_cv_prog_cc_c89=no
5093 ac_save_CC=$CC
5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h. */
5096 #include <stdarg.h>
5097 #include <stdio.h>
5098 struct stat;
5099 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5100 struct buf { int x; };
5101 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5102 static char *e (p, i)
5103 char **p;
5104 int i;
5106 return p[i];
5108 static char *f (char * (*g) (char **, int), char **p, ...)
5110 char *s;
5111 va_list v;
5112 va_start (v,p);
5113 s = g (p, va_arg (v,int));
5114 va_end (v);
5115 return s;
5118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5119 function prototypes and stuff, but not '\xHH' hex character constants.
5120 These don't provoke an error unfortunately, instead are silently treated
5121 as 'x'. The following induces an error, until -std is added to get
5122 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5123 array size at least. It's necessary to write '\x00'==0 to get something
5124 that's true only with -std. */
5125 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5127 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5128 inside strings and character constants. */
5129 #define FOO(x) 'x'
5130 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5132 int test (int i, double x);
5133 struct s1 {int (*f) (int a);};
5134 struct s2 {int (*f) (double a);};
5135 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5136 int argc;
5137 char **argv;
5139 main ()
5141 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5143 return 0;
5145 _ACEOF
5146 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5149 CC="$ac_save_CC $ac_arg"
5150 if ac_fn_c_try_compile "$LINENO"; then :
5151 ac_cv_prog_cc_c89=$ac_arg
5153 rm -f core conftest.err conftest.$ac_objext
5154 test "x$ac_cv_prog_cc_c89" != "xno" && break
5155 done
5156 rm -f conftest.$ac_ext
5157 CC=$ac_save_CC
5160 # AC_CACHE_VAL
5161 case "x$ac_cv_prog_cc_c89" in
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5164 $as_echo "none needed" >&6; } ;;
5165 xno)
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5167 $as_echo "unsupported" >&6; } ;;
5169 CC="$CC $ac_cv_prog_cc_c89"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5171 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5172 esac
5173 if test "x$ac_cv_prog_cc_c89" != xno; then :
5177 ac_ext=c
5178 ac_cpp='$CPP $CPPFLAGS'
5179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5183 ac_ext=cpp
5184 ac_cpp='$CXXCPP $CPPFLAGS'
5185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5188 if test -z "$CXX"; then
5189 if test -n "$CCC"; then
5190 CXX=$CCC
5191 else
5192 if test -n "$ac_tool_prefix"; then
5193 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5195 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5196 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if ${ac_cv_prog_CXX+:} false; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$CXX"; then
5203 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5216 done
5217 done
5218 IFS=$as_save_IFS
5222 CXX=$ac_cv_prog_CXX
5223 if test -n "$CXX"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5225 $as_echo "$CXX" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5232 test -n "$CXX" && break
5233 done
5235 if test -z "$CXX"; then
5236 ac_ct_CXX=$CXX
5237 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5239 # Extract the first word of "$ac_prog", so it can be a program name with args.
5240 set dummy $ac_prog; ac_word=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5244 $as_echo_n "(cached) " >&6
5245 else
5246 if test -n "$ac_ct_CXX"; then
5247 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_ac_ct_CXX="$ac_prog"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5267 if test -n "$ac_ct_CXX"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5269 $as_echo "$ac_ct_CXX" >&6; }
5270 else
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5276 test -n "$ac_ct_CXX" && break
5277 done
5279 if test "x$ac_ct_CXX" = x; then
5280 CXX="g++"
5281 else
5282 case $cross_compiling:$ac_tool_warned in
5283 yes:)
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5286 ac_tool_warned=yes ;;
5287 esac
5288 CXX=$ac_ct_CXX
5294 # Provide some information about the compiler.
5295 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5296 set X $ac_compile
5297 ac_compiler=$2
5298 for ac_option in --version -v -V -qversion; do
5299 { { ac_try="$ac_compiler $ac_option >&5"
5300 case "(($ac_try" in
5301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302 *) ac_try_echo=$ac_try;;
5303 esac
5304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5305 $as_echo "$ac_try_echo"; } >&5
5306 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5307 ac_status=$?
5308 if test -s conftest.err; then
5309 sed '10a\
5310 ... rest of stderr output deleted ...
5311 10q' conftest.err >conftest.er1
5312 cat conftest.er1 >&5
5314 rm -f conftest.er1 conftest.err
5315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5316 test $ac_status = 0; }
5317 done
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5320 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5321 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5322 $as_echo_n "(cached) " >&6
5323 else
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5328 main ()
5330 #ifndef __GNUC__
5331 choke me
5332 #endif
5335 return 0;
5337 _ACEOF
5338 if ac_fn_cxx_try_compile "$LINENO"; then :
5339 ac_compiler_gnu=yes
5340 else
5341 ac_compiler_gnu=no
5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5348 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5349 if test $ac_compiler_gnu = yes; then
5350 GXX=yes
5351 else
5352 GXX=
5354 ac_test_CXXFLAGS=${CXXFLAGS+set}
5355 ac_save_CXXFLAGS=$CXXFLAGS
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5357 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5358 if ${ac_cv_prog_cxx_g+:} false; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5362 ac_cxx_werror_flag=yes
5363 ac_cv_prog_cxx_g=no
5364 CXXFLAGS="-g"
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main ()
5373 return 0;
5375 _ACEOF
5376 if ac_fn_cxx_try_compile "$LINENO"; then :
5377 ac_cv_prog_cxx_g=yes
5378 else
5379 CXXFLAGS=""
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5384 main ()
5388 return 0;
5390 _ACEOF
5391 if ac_fn_cxx_try_compile "$LINENO"; then :
5393 else
5394 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5395 CXXFLAGS="-g"
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5400 main ()
5404 return 0;
5406 _ACEOF
5407 if ac_fn_cxx_try_compile "$LINENO"; then :
5408 ac_cv_prog_cxx_g=yes
5410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5418 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5419 if test "$ac_test_CXXFLAGS" = set; then
5420 CXXFLAGS=$ac_save_CXXFLAGS
5421 elif test $ac_cv_prog_cxx_g = yes; then
5422 if test "$GXX" = yes; then
5423 CXXFLAGS="-g -O2"
5424 else
5425 CXXFLAGS="-g"
5427 else
5428 if test "$GXX" = yes; then
5429 CXXFLAGS="-O2"
5430 else
5431 CXXFLAGS=
5434 ac_ext=c
5435 ac_cpp='$CPP $CPPFLAGS'
5436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5440 if test -n "$ac_tool_prefix"; then
5441 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5442 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_CPPBIN+:} false; then :
5446 $as_echo_n "(cached) " >&6
5447 else
5448 if test -n "$CPPBIN"; then
5449 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5450 else
5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5452 for as_dir in $PATH
5454 IFS=$as_save_IFS
5455 test -z "$as_dir" && as_dir=.
5456 for ac_exec_ext in '' $ac_executable_extensions; do
5457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5458 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 break 2
5462 done
5463 done
5464 IFS=$as_save_IFS
5468 CPPBIN=$ac_cv_prog_CPPBIN
5469 if test -n "$CPPBIN"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5471 $as_echo "$CPPBIN" >&6; }
5472 else
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5479 if test -z "$ac_cv_prog_CPPBIN"; then
5480 ac_ct_CPPBIN=$CPPBIN
5481 # Extract the first word of "cpp", so it can be a program name with args.
5482 set dummy cpp; ac_word=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5486 $as_echo_n "(cached) " >&6
5487 else
5488 if test -n "$ac_ct_CPPBIN"; then
5489 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5490 else
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5498 ac_cv_prog_ac_ct_CPPBIN="cpp"
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 break 2
5502 done
5503 done
5504 IFS=$as_save_IFS
5508 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5509 if test -n "$ac_ct_CPPBIN"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5511 $as_echo "$ac_ct_CPPBIN" >&6; }
5512 else
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5517 if test "x$ac_ct_CPPBIN" = x; then
5518 CPPBIN="cpp"
5519 else
5520 case $cross_compiling:$ac_tool_warned in
5521 yes:)
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned=yes ;;
5525 esac
5526 CPPBIN=$ac_ct_CPPBIN
5528 else
5529 CPPBIN="$ac_cv_prog_CPPBIN"
5533 cat >>confdefs.h <<_ACEOF
5534 #define EXEEXT "$ac_exeext"
5535 _ACEOF
5537 if test -n "$ac_tool_prefix"; then
5538 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5539 set dummy ${ac_tool_prefix}ld; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_LD+:} false; then :
5543 $as_echo_n "(cached) " >&6
5544 else
5545 if test -n "$LD"; then
5546 ac_cv_prog_LD="$LD" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_LD="${ac_tool_prefix}ld"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 break 2
5559 done
5560 done
5561 IFS=$as_save_IFS
5565 LD=$ac_cv_prog_LD
5566 if test -n "$LD"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5568 $as_echo "$LD" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5576 if test -z "$ac_cv_prog_LD"; then
5577 ac_ct_LD=$LD
5578 # Extract the first word of "ld", so it can be a program name with args.
5579 set dummy ld; ac_word=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5583 $as_echo_n "(cached) " >&6
5584 else
5585 if test -n "$ac_ct_LD"; then
5586 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5587 else
5588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5589 for as_dir in $PATH
5591 IFS=$as_save_IFS
5592 test -z "$as_dir" && as_dir=.
5593 for ac_exec_ext in '' $ac_executable_extensions; do
5594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5595 ac_cv_prog_ac_ct_LD="ld"
5596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 break 2
5599 done
5600 done
5601 IFS=$as_save_IFS
5605 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5606 if test -n "$ac_ct_LD"; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5608 $as_echo "$ac_ct_LD" >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }
5614 if test "x$ac_ct_LD" = x; then
5615 LD=""
5616 else
5617 case $cross_compiling:$ac_tool_warned in
5618 yes:)
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5621 ac_tool_warned=yes ;;
5622 esac
5623 LD=$ac_ct_LD
5625 else
5626 LD="$ac_cv_prog_LD"
5630 case $host in
5631 *-darwin*)
5632 with_fontconfig=${with_fontconfig:-no}
5634 *-mingw32*|*-cygwin*)
5635 enable_win16=${enable_win16:-no}
5636 with_mingw=${with_mingw:-no}
5637 CFLAGS="$CFLAGS -D_WIN32"
5639 esac
5641 TARGETFLAGS=""
5643 case $host in
5644 x86_64*|amd64*)
5645 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5646 then
5647 CC="$CC -m32"
5648 CXX="$CXX -m32"
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5651 $as_echo_n "checking whether $CC works... " >&6; }
5652 if ${wine_cv_cc_m32+:} false; then :
5653 $as_echo_n "(cached) " >&6
5654 else
5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5659 main ()
5663 return 0;
5665 _ACEOF
5666 if ac_fn_c_try_link "$LINENO"; then :
5667 wine_cv_cc_m32=yes
5668 else
5669 wine_cv_cc_m32=no
5671 rm -f core conftest.err conftest.$ac_objext \
5672 conftest$ac_exeext conftest.$ac_ext
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5675 $as_echo "$wine_cv_cc_m32" >&6; }
5676 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5677 host_cpu="i386"
5678 notice_platform="32-bit "
5679 TARGETFLAGS="-m32"
5680 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5681 export PKG_CONFIG_PATH
5682 enable_win16=${enable_win16:-yes}
5683 with_unwind=${with_unwind:-no}
5684 else
5685 if test "x${GCC}" = "xyes"
5686 then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5688 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5689 if ${wine_cv_builtin_ms_va_list+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5694 #include <stdarg.h>
5696 main ()
5698 void func(__builtin_ms_va_list *args);
5700 return 0;
5702 _ACEOF
5703 if ac_fn_c_try_compile "$LINENO"; then :
5704 wine_cv_builtin_ms_va_list=yes
5705 else
5706 wine_cv_builtin_ms_va_list=no
5708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5711 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5712 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5714 CC="$CC -m64"
5715 CXX="$CXX -m64"
5716 host_cpu="x86_64"
5717 notice_platform="64-bit "
5718 TARGETFLAGS="-m64"
5721 arm*)
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5723 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5724 if ${wine_cv_thumb2+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5728 /* end confdefs.h. */
5731 main ()
5733 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5735 return 0;
5737 _ACEOF
5738 if ac_fn_c_try_link "$LINENO"; then :
5739 wine_cv_thumb2=yes
5740 else
5741 wine_cv_thumb2=no
5743 rm -f core conftest.err conftest.$ac_objext \
5744 conftest$ac_exeext conftest.$ac_ext
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5747 $as_echo "$wine_cv_thumb2" >&6; }
5748 if test x"$wine_cv_thumb2" = xyes
5749 then
5750 CFLAGS="$CFLAGS -mthumb"
5751 TARGETFLAGS="-mthumb"
5752 else
5753 CFLAGS="$CFLAGS -marm"
5754 TARGETFLAGS="-marm"
5756 case $with_float_abi in
5757 soft|softfp|hard)
5758 float_abi=$with_float_abi ;;
5760 case $host_os in
5761 *eabihf)
5762 float_abi=hard ;;
5764 float_abi=softfp
5765 saved_CFLAGS=$CFLAGS
5766 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5768 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5769 if ${wine_cv_float_abi+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5773 /* end confdefs.h. */
5776 main ()
5778 asm("vmrs r2,fpscr");
5780 return 0;
5782 _ACEOF
5783 if ac_fn_c_try_link "$LINENO"; then :
5784 wine_cv_float_abi=yes
5785 else
5786 wine_cv_float_abi=no
5788 rm -f core conftest.err conftest.$ac_objext \
5789 conftest$ac_exeext conftest.$ac_ext
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5792 $as_echo "$wine_cv_float_abi" >&6; }
5793 if test $wine_cv_float_abi = no
5794 then
5795 float_abi=soft
5796 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5798 CFLAGS=$saved_CFLAGS
5799 esac
5801 esac
5802 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5803 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5805 aarch64*)
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5807 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5808 if ${wine_cv_builtin_ms_va_list+:} false; then :
5809 $as_echo_n "(cached) " >&6
5810 else
5811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5812 /* end confdefs.h. */
5813 #include <stdarg.h>
5815 main ()
5817 void func(__builtin_ms_va_list *args);
5819 return 0;
5821 _ACEOF
5822 if ac_fn_c_try_compile "$LINENO"; then :
5823 wine_cv_builtin_ms_va_list=yes
5824 else
5825 wine_cv_builtin_ms_va_list=no
5827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5830 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5831 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5833 i[3456789]86*)
5834 enable_win16=${enable_win16:-yes}
5835 with_unwind=${with_unwind:-no}
5837 esac
5839 enable_win16=${enable_win16:-no}
5840 enable_win64=${enable_win64:-no}
5842 enable_winetest=${enable_winetest:-$enable_tests}
5844 if test "x$enable_win64" = "xyes"
5845 then
5846 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5847 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5848 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5852 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5853 if ${wine_cv_toolsdir+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 wine_cv_toolsdir="$with_wine_tools"
5857 if test -z "$with_wine_tools"; then
5858 if test "$cross_compiling" = "yes"; then
5859 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5860 elif test -n "$with_wine64"; then
5861 wine_cv_toolsdir="$with_wine64"
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5866 $as_echo "$wine_cv_toolsdir" >&6; }
5867 if test -z "$wine_cv_toolsdir"; then
5868 wine_makedep=tools/makedep
5869 TOOLSDIR="."
5871 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5872 wine_makedep=$wine_cv_toolsdir/tools/makedep
5873 TOOLSDIR=$wine_cv_toolsdir
5875 enable_tools=${enable_tools:-no}
5876 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5877 else
5878 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5880 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5881 then
5882 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5885 for ac_prog in flex
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if ${ac_cv_prog_FLEX+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 if test -n "$FLEX"; then
5895 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5896 else
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 for as_dir in $PATH
5900 IFS=$as_save_IFS
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_FLEX="$ac_prog"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 break 2
5908 done
5909 done
5910 IFS=$as_save_IFS
5914 FLEX=$ac_cv_prog_FLEX
5915 if test -n "$FLEX"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5917 $as_echo "$FLEX" >&6; }
5918 else
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5924 test -n "$FLEX" && break
5925 done
5926 test -n "$FLEX" || FLEX="none"
5928 if test "$FLEX" = "none"
5929 then
5930 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5933 $as_echo_n "checking whether flex is recent enough... " >&6; }
5934 if ${wine_cv_recent_flex+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 cat >conftest.l <<EOF
5938 %top{
5939 #include "prediluvian.h"
5943 if $FLEX -t conftest.l >/dev/null 2>&5
5944 then
5945 wine_cv_recent_flex=yes
5946 else
5947 wine_cv_recent_flex=no
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5951 $as_echo "$wine_cv_recent_flex" >&6; }
5952 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5954 for ac_prog in bison
5956 # Extract the first word of "$ac_prog", so it can be a program name with args.
5957 set dummy $ac_prog; ac_word=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if ${ac_cv_prog_BISON+:} false; then :
5961 $as_echo_n "(cached) " >&6
5962 else
5963 if test -n "$BISON"; then
5964 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5965 else
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH
5969 IFS=$as_save_IFS
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 ac_cv_prog_BISON="$ac_prog"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 break 2
5977 done
5978 done
5979 IFS=$as_save_IFS
5983 BISON=$ac_cv_prog_BISON
5984 if test -n "$BISON"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5986 $as_echo "$BISON" >&6; }
5987 else
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5993 test -n "$BISON" && break
5994 done
5995 test -n "$BISON" || BISON="none"
5997 if test "$BISON" = "none"
5998 then
5999 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6002 $as_echo_n "checking whether bison is recent enough... " >&6; }
6003 if ${wine_cv_recent_bison+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 cat >conftest.y <<EOF
6007 %define parse.error verbose
6009 empty: ;
6011 if $BISON conftest.y >/dev/null 2>&5
6012 then
6013 wine_cv_recent_bison=yes
6014 else
6015 wine_cv_recent_bison=no
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6019 $as_echo "$wine_cv_recent_bison" >&6; }
6020 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6022 if test -n "$ac_tool_prefix"; then
6023 for ac_prog in ar gar
6025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_AR+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 if test -n "$AR"; then
6033 ac_cv_prog_AR="$AR" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 AR=$ac_cv_prog_AR
6053 if test -n "$AR"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6055 $as_echo "$AR" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6062 test -n "$AR" && break
6063 done
6065 if test -z "$AR"; then
6066 ac_ct_AR=$AR
6067 for ac_prog in ar gar
6069 # Extract the first word of "$ac_prog", so it can be a program name with args.
6070 set dummy $ac_prog; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 if test -n "$ac_ct_AR"; then
6077 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6078 else
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 for as_dir in $PATH
6082 IFS=$as_save_IFS
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_ac_ct_AR="$ac_prog"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088 break 2
6090 done
6091 done
6092 IFS=$as_save_IFS
6096 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6097 if test -n "$ac_ct_AR"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6099 $as_echo "$ac_ct_AR" >&6; }
6100 else
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6106 test -n "$ac_ct_AR" && break
6107 done
6109 if test "x$ac_ct_AR" = x; then
6110 AR="ar"
6111 else
6112 case $cross_compiling:$ac_tool_warned in
6113 yes:)
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6117 esac
6118 AR=$ac_ct_AR
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6124 set dummy ${ac_tool_prefix}strip; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_STRIP+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$STRIP"; then
6131 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 STRIP=$ac_cv_prog_STRIP
6151 if test -n "$STRIP"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6153 $as_echo "$STRIP" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6161 if test -z "$ac_cv_prog_STRIP"; then
6162 ac_ct_STRIP=$STRIP
6163 # Extract the first word of "strip", so it can be a program name with args.
6164 set dummy strip; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$ac_ct_STRIP"; then
6171 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_ac_ct_STRIP="strip"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6191 if test -n "$ac_ct_STRIP"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6193 $as_echo "$ac_ct_STRIP" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6199 if test "x$ac_ct_STRIP" = x; then
6200 STRIP="strip"
6201 else
6202 case $cross_compiling:$ac_tool_warned in
6203 yes:)
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6206 ac_tool_warned=yes ;;
6207 esac
6208 STRIP=$ac_ct_STRIP
6210 else
6211 STRIP="$ac_cv_prog_STRIP"
6214 if test -n "$ac_tool_prefix"; then
6215 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6216 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218 $as_echo_n "checking for $ac_word... " >&6; }
6219 if ${ac_cv_prog_RANLIB+:} false; then :
6220 $as_echo_n "(cached) " >&6
6221 else
6222 if test -n "$RANLIB"; then
6223 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6224 else
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226 for as_dir in $PATH
6228 IFS=$as_save_IFS
6229 test -z "$as_dir" && as_dir=.
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6232 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6234 break 2
6236 done
6237 done
6238 IFS=$as_save_IFS
6242 RANLIB=$ac_cv_prog_RANLIB
6243 if test -n "$RANLIB"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6245 $as_echo "$RANLIB" >&6; }
6246 else
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248 $as_echo "no" >&6; }
6253 if test -z "$ac_cv_prog_RANLIB"; then
6254 ac_ct_RANLIB=$RANLIB
6255 # Extract the first word of "ranlib", so it can be a program name with args.
6256 set dummy ranlib; ac_word=$2
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 $as_echo_n "checking for $ac_word... " >&6; }
6259 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6260 $as_echo_n "(cached) " >&6
6261 else
6262 if test -n "$ac_ct_RANLIB"; then
6263 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6264 else
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 for as_dir in $PATH
6268 IFS=$as_save_IFS
6269 test -z "$as_dir" && as_dir=.
6270 for ac_exec_ext in '' $ac_executable_extensions; do
6271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6272 ac_cv_prog_ac_ct_RANLIB="ranlib"
6273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 break 2
6276 done
6277 done
6278 IFS=$as_save_IFS
6282 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6283 if test -n "$ac_ct_RANLIB"; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6285 $as_echo "$ac_ct_RANLIB" >&6; }
6286 else
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 $as_echo "no" >&6; }
6291 if test "x$ac_ct_RANLIB" = x; then
6292 RANLIB=":"
6293 else
6294 case $cross_compiling:$ac_tool_warned in
6295 yes:)
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6298 ac_tool_warned=yes ;;
6299 esac
6300 RANLIB=$ac_ct_RANLIB
6302 else
6303 RANLIB="$ac_cv_prog_RANLIB"
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6307 $as_echo_n "checking whether ln -s works... " >&6; }
6308 LN_S=$as_ln_s
6309 if test "$LN_S" = "ln -s"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6311 $as_echo "yes" >&6; }
6312 else
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6314 $as_echo "no, using $LN_S" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6318 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6319 if ${ac_cv_path_GREP+:} false; then :
6320 $as_echo_n "(cached) " >&6
6321 else
6322 if test -z "$GREP"; then
6323 ac_path_GREP_found=false
6324 # Loop through the user's path and test for each of PROGNAME-LIST
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6328 IFS=$as_save_IFS
6329 test -z "$as_dir" && as_dir=.
6330 for ac_prog in grep ggrep; do
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6333 as_fn_executable_p "$ac_path_GREP" || continue
6334 # Check for GNU ac_path_GREP and select it if it is found.
6335 # Check for GNU $ac_path_GREP
6336 case `"$ac_path_GREP" --version 2>&1` in
6337 *GNU*)
6338 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6340 ac_count=0
6341 $as_echo_n 0123456789 >"conftest.in"
6342 while :
6344 cat "conftest.in" "conftest.in" >"conftest.tmp"
6345 mv "conftest.tmp" "conftest.in"
6346 cp "conftest.in" "conftest.nl"
6347 $as_echo 'GREP' >> "conftest.nl"
6348 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6349 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6350 as_fn_arith $ac_count + 1 && ac_count=$as_val
6351 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6352 # Best one so far, save it but keep looking for a better one
6353 ac_cv_path_GREP="$ac_path_GREP"
6354 ac_path_GREP_max=$ac_count
6356 # 10*(2^10) chars as input seems more than enough
6357 test $ac_count -gt 10 && break
6358 done
6359 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6360 esac
6362 $ac_path_GREP_found && break 3
6363 done
6364 done
6365 done
6366 IFS=$as_save_IFS
6367 if test -z "$ac_cv_path_GREP"; then
6368 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6370 else
6371 ac_cv_path_GREP=$GREP
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6376 $as_echo "$ac_cv_path_GREP" >&6; }
6377 GREP="$ac_cv_path_GREP"
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6381 $as_echo_n "checking for egrep... " >&6; }
6382 if ${ac_cv_path_EGREP+:} false; then :
6383 $as_echo_n "(cached) " >&6
6384 else
6385 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6386 then ac_cv_path_EGREP="$GREP -E"
6387 else
6388 if test -z "$EGREP"; then
6389 ac_path_EGREP_found=false
6390 # Loop through the user's path and test for each of PROGNAME-LIST
6391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6394 IFS=$as_save_IFS
6395 test -z "$as_dir" && as_dir=.
6396 for ac_prog in egrep; do
6397 for ac_exec_ext in '' $ac_executable_extensions; do
6398 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6399 as_fn_executable_p "$ac_path_EGREP" || continue
6400 # Check for GNU ac_path_EGREP and select it if it is found.
6401 # Check for GNU $ac_path_EGREP
6402 case `"$ac_path_EGREP" --version 2>&1` in
6403 *GNU*)
6404 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6406 ac_count=0
6407 $as_echo_n 0123456789 >"conftest.in"
6408 while :
6410 cat "conftest.in" "conftest.in" >"conftest.tmp"
6411 mv "conftest.tmp" "conftest.in"
6412 cp "conftest.in" "conftest.nl"
6413 $as_echo 'EGREP' >> "conftest.nl"
6414 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6415 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6416 as_fn_arith $ac_count + 1 && ac_count=$as_val
6417 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6418 # Best one so far, save it but keep looking for a better one
6419 ac_cv_path_EGREP="$ac_path_EGREP"
6420 ac_path_EGREP_max=$ac_count
6422 # 10*(2^10) chars as input seems more than enough
6423 test $ac_count -gt 10 && break
6424 done
6425 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6426 esac
6428 $ac_path_EGREP_found && break 3
6429 done
6430 done
6431 done
6432 IFS=$as_save_IFS
6433 if test -z "$ac_cv_path_EGREP"; then
6434 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6436 else
6437 ac_cv_path_EGREP=$EGREP
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6443 $as_echo "$ac_cv_path_EGREP" >&6; }
6444 EGREP="$ac_cv_path_EGREP"
6447 # Extract the first word of "ldconfig", so it can be a program name with args.
6448 set dummy ldconfig; ac_word=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6450 $as_echo_n "checking for $ac_word... " >&6; }
6451 if ${ac_cv_path_LDCONFIG+:} false; then :
6452 $as_echo_n "(cached) " >&6
6453 else
6454 case $LDCONFIG in
6455 [\\/]* | ?:[\\/]*)
6456 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 for as_dir in /sbin /usr/sbin $PATH
6462 IFS=$as_save_IFS
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6466 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 break 2
6470 done
6471 done
6472 IFS=$as_save_IFS
6474 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6476 esac
6478 LDCONFIG=$ac_cv_path_LDCONFIG
6479 if test -n "$LDCONFIG"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6481 $as_echo "$LDCONFIG" >&6; }
6482 else
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 $as_echo "no" >&6; }
6488 for ac_prog in msgfmt
6490 # Extract the first word of "$ac_prog", so it can be a program name with args.
6491 set dummy $ac_prog; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493 $as_echo_n "checking for $ac_word... " >&6; }
6494 if ${ac_cv_prog_MSGFMT+:} false; then :
6495 $as_echo_n "(cached) " >&6
6496 else
6497 if test -n "$MSGFMT"; then
6498 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6499 else
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in $PATH
6503 IFS=$as_save_IFS
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6507 ac_cv_prog_MSGFMT="$ac_prog"
6508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6509 break 2
6511 done
6512 done
6513 IFS=$as_save_IFS
6517 MSGFMT=$ac_cv_prog_MSGFMT
6518 if test -n "$MSGFMT"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6520 $as_echo "$MSGFMT" >&6; }
6521 else
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6523 $as_echo "no" >&6; }
6527 test -n "$MSGFMT" && break
6528 done
6529 test -n "$MSGFMT" || MSGFMT="false"
6531 if ${ac_tool_prefix+:} false; then :
6532 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6533 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6537 $as_echo_n "(cached) " >&6
6538 else
6539 if test -n "$PKG_CONFIG"; then
6540 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6545 IFS=$as_save_IFS
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 break 2
6553 done
6554 done
6555 IFS=$as_save_IFS
6559 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6560 if test -n "$PKG_CONFIG"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6562 $as_echo "$PKG_CONFIG" >&6; }
6563 else
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6570 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6571 if test "x$cross_compiling" = xyes; then :
6573 else
6574 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6575 # Extract the first word of "pkg-config", so it can be a program name with args.
6576 set dummy pkg-config; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$PKG_CONFIG"; then
6583 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_PKG_CONFIG="pkg-config"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6603 if test -n "$PKG_CONFIG"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6605 $as_echo "$PKG_CONFIG" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6613 else
6614 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6617 if test "x$enable_maintainer_mode" != "xyes"
6618 then
6619 FONTFORGE=""
6620 RSVG=""
6621 CONVERT=""
6622 ICOTOOL=""
6623 else
6624 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6625 for ac_prog in fontforge
6627 # Extract the first word of "$ac_prog", so it can be a program name with args.
6628 set dummy $ac_prog; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_FONTFORGE+:} false; then :
6632 $as_echo_n "(cached) " >&6
6633 else
6634 if test -n "$FONTFORGE"; then
6635 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6640 IFS=$as_save_IFS
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_FONTFORGE="$ac_prog"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 break 2
6648 done
6649 done
6650 IFS=$as_save_IFS
6654 FONTFORGE=$ac_cv_prog_FONTFORGE
6655 if test -n "$FONTFORGE"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6657 $as_echo "$FONTFORGE" >&6; }
6658 else
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6664 test -n "$FONTFORGE" && break
6665 done
6666 test -n "$FONTFORGE" || FONTFORGE="false"
6668 for ac_prog in rsvg-convert rsvg
6670 # Extract the first word of "$ac_prog", so it can be a program name with args.
6671 set dummy $ac_prog; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_RSVG+:} false; then :
6675 $as_echo_n "(cached) " >&6
6676 else
6677 if test -n "$RSVG"; then
6678 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6679 else
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 for as_dir in $PATH
6683 IFS=$as_save_IFS
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_RSVG="$ac_prog"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 break 2
6691 done
6692 done
6693 IFS=$as_save_IFS
6697 RSVG=$ac_cv_prog_RSVG
6698 if test -n "$RSVG"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6700 $as_echo "$RSVG" >&6; }
6701 else
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6707 test -n "$RSVG" && break
6708 done
6709 test -n "$RSVG" || RSVG="false"
6711 for ac_prog in convert
6713 # Extract the first word of "$ac_prog", so it can be a program name with args.
6714 set dummy $ac_prog; ac_word=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if ${ac_cv_prog_CONVERT+:} false; then :
6718 $as_echo_n "(cached) " >&6
6719 else
6720 if test -n "$CONVERT"; then
6721 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6722 else
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 for as_dir in $PATH
6726 IFS=$as_save_IFS
6727 test -z "$as_dir" && as_dir=.
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_CONVERT="$ac_prog"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 break 2
6734 done
6735 done
6736 IFS=$as_save_IFS
6740 CONVERT=$ac_cv_prog_CONVERT
6741 if test -n "$CONVERT"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6743 $as_echo "$CONVERT" >&6; }
6744 else
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 $as_echo "no" >&6; }
6750 test -n "$CONVERT" && break
6751 done
6752 test -n "$CONVERT" || CONVERT="false"
6754 for ac_prog in icotool
6756 # Extract the first word of "$ac_prog", so it can be a program name with args.
6757 set dummy $ac_prog; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 $as_echo_n "checking for $ac_word... " >&6; }
6760 if ${ac_cv_prog_ICOTOOL+:} false; then :
6761 $as_echo_n "(cached) " >&6
6762 else
6763 if test -n "$ICOTOOL"; then
6764 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6765 else
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 for as_dir in $PATH
6769 IFS=$as_save_IFS
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_ICOTOOL="$ac_prog"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 break 2
6777 done
6778 done
6779 IFS=$as_save_IFS
6783 ICOTOOL=$ac_cv_prog_ICOTOOL
6784 if test -n "$ICOTOOL"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6786 $as_echo "$ICOTOOL" >&6; }
6787 else
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 $as_echo "no" >&6; }
6793 test -n "$ICOTOOL" && break
6794 done
6795 test -n "$ICOTOOL" || ICOTOOL="false"
6797 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6798 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6800 if test "$CONVERT" = false
6801 then
6802 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6803 else
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6805 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6806 convert_version=`convert --version | head -n1`
6807 if test "x$convert_version" != "x"
6808 then
6809 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6810 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6811 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6812 then
6813 CONVERT=false
6816 if test "$CONVERT" = false
6817 then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6819 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6820 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6821 else
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6823 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6827 if test "$ICOTOOL" = false
6828 then
6829 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6830 else
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6832 $as_echo_n "checking for recent enough icotool... " >&6; }
6833 icotool_version=`icotool --version | head -n1`
6834 if test "x$icotool_version" != "x"
6835 then
6836 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6837 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6838 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6839 then
6840 ICOTOOL=false
6841 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6844 if test "$ICOTOOL" = false
6845 then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6847 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6848 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6849 else
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6851 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6855 with_gettext=yes
6856 with_gettextpo=yes
6858 enable_werror=yes
6861 test "x$with_gettext" != xno || MSGFMT=false
6862 if test "$MSGFMT" != "false"
6863 then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6865 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6866 if ${wine_cv_msgfmt_contexts+:} false; then :
6867 $as_echo_n "(cached) " >&6
6868 else
6869 cat >conftest.po <<EOF
6870 # comment
6871 msgctxt "ctxt"
6872 msgid "id"
6873 msgstr "str"
6875 if $MSGFMT -o /dev/null conftest.po 2>&5
6876 then
6877 wine_cv_msgfmt_contexts=yes
6878 else
6879 wine_cv_msgfmt_contexts=no
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6883 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6884 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6886 if test "$MSGFMT" = false; then :
6887 case "x$with_gettext" in
6888 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6889 xno) ;;
6890 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6891 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6892 esac
6893 enable_po=${enable_po:-no}
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6898 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6899 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6900 $as_echo_n "(cached) " >&6
6901 else
6902 ac_check_lib_save_LIBS=$LIBS
6903 LIBS="-li386 $LIBS"
6904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6905 /* end confdefs.h. */
6907 /* Override any GCC internal prototype to avoid an error.
6908 Use char because int might match the return type of a GCC
6909 builtin and then its argument prototype would still apply. */
6910 #ifdef __cplusplus
6911 extern "C"
6912 #endif
6913 char i386_set_ldt ();
6915 main ()
6917 return i386_set_ldt ();
6919 return 0;
6921 _ACEOF
6922 if ac_fn_c_try_link "$LINENO"; then :
6923 ac_cv_lib_i386_i386_set_ldt=yes
6924 else
6925 ac_cv_lib_i386_i386_set_ldt=no
6927 rm -f core conftest.err conftest.$ac_objext \
6928 conftest$ac_exeext conftest.$ac_ext
6929 LIBS=$ac_check_lib_save_LIBS
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6932 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6933 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6934 I386_LIBS="-li386"
6939 OPENGL_LIBS=""
6943 # Check whether --enable-largefile was given.
6944 if test "${enable_largefile+set}" = set; then :
6945 enableval=$enable_largefile;
6948 if test "$enable_largefile" != no; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6951 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6952 if ${ac_cv_sys_largefile_CC+:} false; then :
6953 $as_echo_n "(cached) " >&6
6954 else
6955 ac_cv_sys_largefile_CC=no
6956 if test "$GCC" != yes; then
6957 ac_save_CC=$CC
6958 while :; do
6959 # IRIX 6.2 and later do not support large files by default,
6960 # so use the C compiler's -n32 option if that helps.
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #include <sys/types.h>
6964 /* Check that off_t can represent 2**63 - 1 correctly.
6965 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6966 since some C++ compilers masquerading as C compilers
6967 incorrectly reject 9223372036854775807. */
6968 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6969 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6970 && LARGE_OFF_T % 2147483647 == 1)
6971 ? 1 : -1];
6973 main ()
6977 return 0;
6979 _ACEOF
6980 if ac_fn_c_try_compile "$LINENO"; then :
6981 break
6983 rm -f core conftest.err conftest.$ac_objext
6984 CC="$CC -n32"
6985 if ac_fn_c_try_compile "$LINENO"; then :
6986 ac_cv_sys_largefile_CC=' -n32'; break
6988 rm -f core conftest.err conftest.$ac_objext
6989 break
6990 done
6991 CC=$ac_save_CC
6992 rm -f conftest.$ac_ext
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6996 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6997 if test "$ac_cv_sys_largefile_CC" != no; then
6998 CC=$CC$ac_cv_sys_largefile_CC
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7002 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7003 if ${ac_cv_sys_file_offset_bits+:} false; then :
7004 $as_echo_n "(cached) " >&6
7005 else
7006 while :; do
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <sys/types.h>
7010 /* Check that off_t can represent 2**63 - 1 correctly.
7011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7012 since some C++ compilers masquerading as C compilers
7013 incorrectly reject 9223372036854775807. */
7014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7016 && LARGE_OFF_T % 2147483647 == 1)
7017 ? 1 : -1];
7019 main ()
7023 return 0;
7025 _ACEOF
7026 if ac_fn_c_try_compile "$LINENO"; then :
7027 ac_cv_sys_file_offset_bits=no; break
7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 #define _FILE_OFFSET_BITS 64
7033 #include <sys/types.h>
7034 /* Check that off_t can represent 2**63 - 1 correctly.
7035 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7036 since some C++ compilers masquerading as C compilers
7037 incorrectly reject 9223372036854775807. */
7038 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7040 && LARGE_OFF_T % 2147483647 == 1)
7041 ? 1 : -1];
7043 main ()
7047 return 0;
7049 _ACEOF
7050 if ac_fn_c_try_compile "$LINENO"; then :
7051 ac_cv_sys_file_offset_bits=64; break
7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7054 ac_cv_sys_file_offset_bits=unknown
7055 break
7056 done
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7059 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7060 case $ac_cv_sys_file_offset_bits in #(
7061 no | unknown) ;;
7063 cat >>confdefs.h <<_ACEOF
7064 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7065 _ACEOF
7067 esac
7068 rm -rf conftest*
7069 if test $ac_cv_sys_file_offset_bits = unknown; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7071 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7072 if ${ac_cv_sys_large_files+:} false; then :
7073 $as_echo_n "(cached) " >&6
7074 else
7075 while :; do
7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7078 #include <sys/types.h>
7079 /* Check that off_t can represent 2**63 - 1 correctly.
7080 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7081 since some C++ compilers masquerading as C compilers
7082 incorrectly reject 9223372036854775807. */
7083 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7084 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7085 && LARGE_OFF_T % 2147483647 == 1)
7086 ? 1 : -1];
7088 main ()
7092 return 0;
7094 _ACEOF
7095 if ac_fn_c_try_compile "$LINENO"; then :
7096 ac_cv_sys_large_files=no; break
7098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7101 #define _LARGE_FILES 1
7102 #include <sys/types.h>
7103 /* Check that off_t can represent 2**63 - 1 correctly.
7104 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7105 since some C++ compilers masquerading as C compilers
7106 incorrectly reject 9223372036854775807. */
7107 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7108 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7109 && LARGE_OFF_T % 2147483647 == 1)
7110 ? 1 : -1];
7112 main ()
7116 return 0;
7118 _ACEOF
7119 if ac_fn_c_try_compile "$LINENO"; then :
7120 ac_cv_sys_large_files=1; break
7122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7123 ac_cv_sys_large_files=unknown
7124 break
7125 done
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7128 $as_echo "$ac_cv_sys_large_files" >&6; }
7129 case $ac_cv_sys_large_files in #(
7130 no | unknown) ;;
7132 cat >>confdefs.h <<_ACEOF
7133 #define _LARGE_FILES $ac_cv_sys_large_files
7134 _ACEOF
7136 esac
7137 rm -rf conftest*
7144 ac_ext=c
7145 ac_cpp='$CPP $CPPFLAGS'
7146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7150 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7151 # On Suns, sometimes $CPP names a directory.
7152 if test -n "$CPP" && test -d "$CPP"; then
7153 CPP=
7155 if test -z "$CPP"; then
7156 if ${ac_cv_prog_CPP+:} false; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 # Double quotes because CPP needs to be expanded
7160 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7162 ac_preproc_ok=false
7163 for ac_c_preproc_warn_flag in '' yes
7165 # Use a header file that comes with gcc, so configuring glibc
7166 # with a fresh cross-compiler works.
7167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7168 # <limits.h> exists even on freestanding compilers.
7169 # On the NeXT, cc -E runs the code through the compiler's parser,
7170 # not just through cpp. "Syntax error" is here to catch this case.
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7173 #ifdef __STDC__
7174 # include <limits.h>
7175 #else
7176 # include <assert.h>
7177 #endif
7178 Syntax error
7179 _ACEOF
7180 if ac_fn_c_try_cpp "$LINENO"; then :
7182 else
7183 # Broken: fails on valid input.
7184 continue
7186 rm -f conftest.err conftest.i conftest.$ac_ext
7188 # OK, works on sane cases. Now check whether nonexistent headers
7189 # can be detected and how.
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 #include <ac_nonexistent.h>
7193 _ACEOF
7194 if ac_fn_c_try_cpp "$LINENO"; then :
7195 # Broken: success on invalid input.
7196 continue
7197 else
7198 # Passes both tests.
7199 ac_preproc_ok=:
7200 break
7202 rm -f conftest.err conftest.i conftest.$ac_ext
7204 done
7205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7206 rm -f conftest.i conftest.err conftest.$ac_ext
7207 if $ac_preproc_ok; then :
7208 break
7211 done
7212 ac_cv_prog_CPP=$CPP
7215 CPP=$ac_cv_prog_CPP
7216 else
7217 ac_cv_prog_CPP=$CPP
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7220 $as_echo "$CPP" >&6; }
7221 ac_preproc_ok=false
7222 for ac_c_preproc_warn_flag in '' yes
7224 # Use a header file that comes with gcc, so configuring glibc
7225 # with a fresh cross-compiler works.
7226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7227 # <limits.h> exists even on freestanding compilers.
7228 # On the NeXT, cc -E runs the code through the compiler's parser,
7229 # not just through cpp. "Syntax error" is here to catch this case.
7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7232 #ifdef __STDC__
7233 # include <limits.h>
7234 #else
7235 # include <assert.h>
7236 #endif
7237 Syntax error
7238 _ACEOF
7239 if ac_fn_c_try_cpp "$LINENO"; then :
7241 else
7242 # Broken: fails on valid input.
7243 continue
7245 rm -f conftest.err conftest.i conftest.$ac_ext
7247 # OK, works on sane cases. Now check whether nonexistent headers
7248 # can be detected and how.
7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7251 #include <ac_nonexistent.h>
7252 _ACEOF
7253 if ac_fn_c_try_cpp "$LINENO"; then :
7254 # Broken: success on invalid input.
7255 continue
7256 else
7257 # Passes both tests.
7258 ac_preproc_ok=:
7259 break
7261 rm -f conftest.err conftest.i conftest.$ac_ext
7263 done
7264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7265 rm -f conftest.i conftest.err conftest.$ac_ext
7266 if $ac_preproc_ok; then :
7268 else
7269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7271 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7272 See \`config.log' for more details" "$LINENO" 5; }
7275 ac_ext=c
7276 ac_cpp='$CPP $CPPFLAGS'
7277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7283 $as_echo_n "checking for ANSI C header files... " >&6; }
7284 if ${ac_cv_header_stdc+:} false; then :
7285 $as_echo_n "(cached) " >&6
7286 else
7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288 /* end confdefs.h. */
7289 #include <stdlib.h>
7290 #include <stdarg.h>
7291 #include <string.h>
7292 #include <float.h>
7295 main ()
7299 return 0;
7301 _ACEOF
7302 if ac_fn_c_try_compile "$LINENO"; then :
7303 ac_cv_header_stdc=yes
7304 else
7305 ac_cv_header_stdc=no
7307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7309 if test $ac_cv_header_stdc = yes; then
7310 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h. */
7313 #include <string.h>
7315 _ACEOF
7316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7317 $EGREP "memchr" >/dev/null 2>&1; then :
7319 else
7320 ac_cv_header_stdc=no
7322 rm -f conftest*
7326 if test $ac_cv_header_stdc = yes; then
7327 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7330 #include <stdlib.h>
7332 _ACEOF
7333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7334 $EGREP "free" >/dev/null 2>&1; then :
7336 else
7337 ac_cv_header_stdc=no
7339 rm -f conftest*
7343 if test $ac_cv_header_stdc = yes; then
7344 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7345 if test "$cross_compiling" = yes; then :
7347 else
7348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7349 /* end confdefs.h. */
7350 #include <ctype.h>
7351 #include <stdlib.h>
7352 #if ((' ' & 0x0FF) == 0x020)
7353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7355 #else
7356 # define ISLOWER(c) \
7357 (('a' <= (c) && (c) <= 'i') \
7358 || ('j' <= (c) && (c) <= 'r') \
7359 || ('s' <= (c) && (c) <= 'z'))
7360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7361 #endif
7363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7365 main ()
7367 int i;
7368 for (i = 0; i < 256; i++)
7369 if (XOR (islower (i), ISLOWER (i))
7370 || toupper (i) != TOUPPER (i))
7371 return 2;
7372 return 0;
7374 _ACEOF
7375 if ac_fn_c_try_run "$LINENO"; then :
7377 else
7378 ac_cv_header_stdc=no
7380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7381 conftest.$ac_objext conftest.beam conftest.$ac_ext
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7387 $as_echo "$ac_cv_header_stdc" >&6; }
7388 if test $ac_cv_header_stdc = yes; then
7390 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7394 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7395 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7396 inttypes.h stdint.h unistd.h
7397 do :
7398 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7399 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7401 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7402 cat >>confdefs.h <<_ACEOF
7403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7404 _ACEOF
7408 done
7411 for ac_header in \
7412 AL/al.h \
7413 ApplicationServices/ApplicationServices.h \
7414 AudioToolbox/AudioConverter.h \
7415 AudioUnit/AudioUnit.h \
7416 AudioUnit/AudioComponent.h \
7417 CL/cl.h \
7418 Carbon/Carbon.h \
7419 CommonCrypto/CommonCryptor.h \
7420 CoreAudio/CoreAudio.h \
7421 DiskArbitration/DiskArbitration.h \
7422 EGL/egl.h \
7423 IOKit/IOKitLib.h \
7424 IOKit/hid/IOHIDLib.h \
7425 OpenAL/al.h \
7426 OpenCL/opencl.h \
7427 QuickTime/ImageCompression.h \
7428 Security/Security.h \
7429 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7430 SystemConfiguration/SCNetworkConfiguration.h \
7431 alias.h \
7432 arpa/inet.h \
7433 arpa/nameser.h \
7434 asm/types.h \
7435 asm/user.h \
7436 dirent.h \
7437 dlfcn.h \
7438 elf.h \
7439 float.h \
7440 fnmatch.h \
7441 getopt.h \
7442 gettext-po.h \
7443 grp.h \
7444 gsm.h \
7445 gsm/gsm.h \
7446 ieeefp.h \
7447 inet/mib2.h \
7448 kstat.h \
7449 libproc.h \
7450 link.h \
7451 linux/cdrom.h \
7452 linux/filter.h \
7453 linux/hdreg.h \
7454 linux/hidraw.h \
7455 linux/input.h \
7456 linux/ioctl.h \
7457 linux/joystick.h \
7458 linux/major.h \
7459 linux/param.h \
7460 linux/serial.h \
7461 linux/types.h \
7462 linux/ucdrom.h \
7463 lwp.h \
7464 mach-o/loader.h \
7465 mach/mach.h \
7466 machine/cpu.h \
7467 machine/sysarch.h \
7468 mntent.h \
7469 netdb.h \
7470 netinet/in.h \
7471 netinet/in_systm.h \
7472 netinet/tcp.h \
7473 netinet/tcp_fsm.h \
7474 pcap/pcap.h \
7475 poll.h \
7476 port.h \
7477 pthread.h \
7478 pwd.h \
7479 sasl/sasl.h \
7480 sched.h \
7481 scsi/scsi.h \
7482 scsi/scsi_ioctl.h \
7483 scsi/sg.h \
7484 stdint.h \
7485 stropts.h \
7486 sys/attr.h \
7487 sys/auxv.h \
7488 sys/cdio.h \
7489 sys/epoll.h \
7490 sys/event.h \
7491 sys/filio.h \
7492 sys/ioctl.h \
7493 sys/ipc.h \
7494 sys/link.h \
7495 sys/mman.h \
7496 sys/modem.h \
7497 sys/msg.h \
7498 sys/mtio.h \
7499 sys/param.h \
7500 sys/poll.h \
7501 sys/prctl.h \
7502 sys/protosw.h \
7503 sys/ptrace.h \
7504 sys/queue.h \
7505 sys/random.h \
7506 sys/resource.h \
7507 sys/scsiio.h \
7508 sys/shm.h \
7509 sys/signal.h \
7510 sys/socket.h \
7511 sys/socketvar.h \
7512 sys/sockio.h \
7513 sys/statvfs.h \
7514 sys/strtio.h \
7515 sys/syscall.h \
7516 sys/sysinfo.h \
7517 sys/tihdr.h \
7518 sys/time.h \
7519 sys/timeout.h \
7520 sys/times.h \
7521 sys/uio.h \
7522 sys/user.h \
7523 sys/utsname.h \
7524 sys/vnode.h \
7525 sys/wait.h \
7526 syscall.h \
7527 termios.h \
7528 unistd.h \
7529 utime.h \
7530 valgrind/memcheck.h \
7531 valgrind/valgrind.h
7533 do :
7534 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7535 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7536 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7537 cat >>confdefs.h <<_ACEOF
7538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7539 _ACEOF
7543 done
7545 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7546 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7548 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7553 if test $ac_cv_header_sys_mkdev_h = no; then
7554 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7555 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7557 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7564 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7565 if ${ac_cv_header_stat_broken+:} false; then :
7566 $as_echo_n "(cached) " >&6
7567 else
7568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7570 #include <sys/types.h>
7571 #include <sys/stat.h>
7573 #if defined S_ISBLK && defined S_IFDIR
7574 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7575 #endif
7577 #if defined S_ISBLK && defined S_IFCHR
7578 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7579 #endif
7581 #if defined S_ISLNK && defined S_IFREG
7582 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7583 #endif
7585 #if defined S_ISSOCK && defined S_IFREG
7586 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7587 #endif
7589 _ACEOF
7590 if ac_fn_c_try_compile "$LINENO"; then :
7591 ac_cv_header_stat_broken=no
7592 else
7593 ac_cv_header_stat_broken=yes
7595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7598 $as_echo "$ac_cv_header_stat_broken" >&6; }
7599 if test $ac_cv_header_stat_broken = yes; then
7601 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7607 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7608 do :
7609 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7610 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7611 #ifdef HAVE_SYS_PARAM_H
7612 # include <sys/param.h>
7613 #endif
7615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7622 done
7625 saved_sysctl_h_CFLAGS=$CFLAGS
7626 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7627 for ac_header in sys/sysctl.h
7628 do :
7629 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7630 #ifdef HAVE_SYS_PARAM_H
7631 # include <sys/param.h>
7632 #endif
7634 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7635 cat >>confdefs.h <<_ACEOF
7636 #define HAVE_SYS_SYSCTL_H 1
7637 _ACEOF
7641 done
7643 CFLAGS=$saved_sysctl_h_CFLAGS
7645 for ac_header in \
7646 netinet/ip.h \
7647 net/if.h \
7648 net/if_arp.h \
7649 net/if_dl.h \
7650 net/if_types.h \
7651 net/route.h \
7652 netinet/if_ether.h \
7653 netinet/if_inarp.h \
7654 netinet/in_pcb.h \
7655 netinet/ip_icmp.h \
7656 netinet/ip_var.h \
7657 netinet/udp.h \
7658 netipx/ipx.h \
7659 sys/un.h \
7661 do :
7662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7663 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7664 #ifdef HAVE_SYS_SOCKET_H
7665 # include <sys/socket.h>
7666 #endif
7667 #ifdef HAVE_SYS_SOCKETVAR_H
7668 # include <sys/socketvar.h>
7669 #endif
7670 #ifdef HAVE_NET_ROUTE_H
7671 # include <net/route.h>
7672 #endif
7673 #ifdef HAVE_NETINET_IN_H
7674 # include <netinet/in.h>
7675 #endif
7676 #ifdef HAVE_NETINET_IN_SYSTM_H
7677 # include <netinet/in_systm.h>
7678 #endif
7679 #ifdef HAVE_NET_IF_H
7680 # include <net/if.h>
7681 #endif
7682 #ifdef HAVE_NETINET_IP_H
7683 # include <netinet/ip.h>
7684 #endif
7686 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7687 cat >>confdefs.h <<_ACEOF
7688 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7689 _ACEOF
7693 done
7696 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7697 do :
7698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7700 #ifdef HAVE_ALIAS_H
7701 # include <alias.h>
7702 #endif
7703 #ifdef HAVE_SYS_SOCKET_H
7704 # include <sys/socket.h>
7705 #endif
7706 #ifdef HAVE_SYS_SOCKETVAR_H
7707 # include <sys/socketvar.h>
7708 #endif
7709 #ifdef HAVE_SYS_TIMEOUT_H
7710 # include <sys/timeout.h>
7711 #endif
7712 #ifdef HAVE_NETINET_IN_H
7713 # include <netinet/in.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IN_SYSTM_H
7716 # include <netinet/in_systm.h>
7717 #endif
7718 #ifdef HAVE_NETINET_IP_H
7719 # include <netinet/ip.h>
7720 #endif
7721 #ifdef HAVE_NETINET_IP_VAR_H
7722 # include <netinet/ip_var.h>
7723 #endif
7724 #ifdef HAVE_NETINET_IP_ICMP_H
7725 # include <netinet/ip_icmp.h>
7726 #endif
7727 #ifdef HAVE_NETINET_UDP_H
7728 # include <netinet/udp.h>
7729 #endif
7730 #ifdef HAVE_NETINET_TCP_H
7731 # include <netinet/tcp.h>
7732 #endif
7733 #ifdef HAVE_NETINET_TCP_TIMER_H
7734 #include <netinet/tcp_timer.h>
7735 #endif
7737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7738 cat >>confdefs.h <<_ACEOF
7739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 _ACEOF
7744 done
7747 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7748 do :
7749 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7750 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7751 #ifdef HAVE_ASM_TYPES_H
7752 # include <asm/types.h>
7753 #endif
7754 #ifdef HAVE_SYS_SOCKET_H
7755 # include <sys/socket.h>
7756 #endif
7757 #ifdef HAVE_LINUX_TYPES_H
7758 # include <linux/types.h>
7759 #endif
7761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7764 _ACEOF
7768 done
7771 for ac_header in resolv.h
7772 do :
7773 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7774 #ifdef HAVE_SYS_SOCKET_H
7775 # include <sys/socket.h>
7776 #endif
7777 #ifdef HAVE_NETINET_IN_H
7778 # include <netinet/in.h>
7779 #endif
7780 #ifdef HAVE_ARPA_NAMESER_H
7781 # include <arpa/nameser.h>
7782 #endif
7784 if test "x$ac_cv_header_resolv_h" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_RESOLV_H 1
7787 _ACEOF
7791 done
7794 for ac_header in ifaddrs.h
7795 do :
7796 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7798 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7799 cat >>confdefs.h <<_ACEOF
7800 #define HAVE_IFADDRS_H 1
7801 _ACEOF
7805 done
7808 for ac_header in sys/ucontext.h
7809 do :
7810 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7812 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7813 cat >>confdefs.h <<_ACEOF
7814 #define HAVE_SYS_UCONTEXT_H 1
7815 _ACEOF
7819 done
7822 for ac_header in sys/thr.h
7823 do :
7824 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7825 #ifdef HAVE_SYS_UCONTEXT_H
7826 #include <sys/ucontext.h>
7827 #endif
7829 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7830 cat >>confdefs.h <<_ACEOF
7831 #define HAVE_SYS_THR_H 1
7832 _ACEOF
7836 done
7839 for ac_header in pthread_np.h
7840 do :
7841 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7842 #include <pthread.h>
7843 #endif
7845 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7846 cat >>confdefs.h <<_ACEOF
7847 #define HAVE_PTHREAD_NP_H 1
7848 _ACEOF
7852 done
7855 for ac_header in linux/videodev2.h
7856 do :
7857 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7858 #include <sys/time.h>
7859 #endif
7860 #include <sys/types.h>
7861 #ifdef HAVE_ASM_TYPES_H
7862 #include <asm/types.h>
7863 #endif
7865 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7866 cat >>confdefs.h <<_ACEOF
7867 #define HAVE_LINUX_VIDEODEV2_H 1
7868 _ACEOF
7872 done
7875 for ac_header in libprocstat.h
7876 do :
7877 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7878 #include <sys/param.h>
7879 #endif
7880 #ifdef HAVE_SYS_QUEUE_H
7881 #include <sys/queue.h>
7882 #endif
7883 #ifdef HAVE_SYS_SOCKET_H
7884 #include <sys/socket.h>
7885 #endif
7887 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7888 cat >>confdefs.h <<_ACEOF
7889 #define HAVE_LIBPROCSTAT_H 1
7890 _ACEOF
7894 done
7898 DLLFLAGS="-D_REENTRANT"
7900 LDDLLFLAGS=""
7902 LDEXECFLAGS=""
7904 TOP_INSTALL_LIB=""
7906 TOP_INSTALL_DEV=""
7908 WINELOADER_LDFLAGS=""
7910 WINEPRELOADER_LDFLAGS=""
7912 LIBEXT="so"
7913 DLLEXT=".so"
7914 # Extract the first word of "ldd", so it can be a program name with args.
7915 set dummy ldd; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_path_LDD+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 case $LDD in
7922 [\\/]* | ?:[\\/]*)
7923 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 as_dummy="/sbin:/usr/sbin:$PATH"
7928 for as_dir in $as_dummy
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7942 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7944 esac
7946 LDD=$ac_cv_path_LDD
7947 if test -n "$LDD"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7949 $as_echo "$LDD" >&6; }
7950 else
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7956 if test -n "$ac_tool_prefix"; then
7957 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7958 set dummy ${ac_tool_prefix}otool; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_prog_OTOOL+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 if test -n "$OTOOL"; then
7965 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7966 else
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 for as_dir in $PATH
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7978 done
7979 done
7980 IFS=$as_save_IFS
7984 OTOOL=$ac_cv_prog_OTOOL
7985 if test -n "$OTOOL"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7987 $as_echo "$OTOOL" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7995 if test -z "$ac_cv_prog_OTOOL"; then
7996 ac_ct_OTOOL=$OTOOL
7997 # Extract the first word of "otool", so it can be a program name with args.
7998 set dummy otool; ac_word=$2
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8000 $as_echo_n "checking for $ac_word... " >&6; }
8001 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8002 $as_echo_n "(cached) " >&6
8003 else
8004 if test -n "$ac_ct_OTOOL"; then
8005 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8006 else
8007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008 for as_dir in $PATH
8010 IFS=$as_save_IFS
8011 test -z "$as_dir" && as_dir=.
8012 for ac_exec_ext in '' $ac_executable_extensions; do
8013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8014 ac_cv_prog_ac_ct_OTOOL="otool"
8015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8016 break 2
8018 done
8019 done
8020 IFS=$as_save_IFS
8024 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8025 if test -n "$ac_ct_OTOOL"; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8027 $as_echo "$ac_ct_OTOOL" >&6; }
8028 else
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8030 $as_echo "no" >&6; }
8033 if test "x$ac_ct_OTOOL" = x; then
8034 OTOOL="otool"
8035 else
8036 case $cross_compiling:$ac_tool_warned in
8037 yes:)
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8040 ac_tool_warned=yes ;;
8041 esac
8042 OTOOL=$ac_ct_OTOOL
8044 else
8045 OTOOL="$ac_cv_prog_OTOOL"
8048 if test -n "$ac_tool_prefix"; then
8049 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8050 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8052 $as_echo_n "checking for $ac_word... " >&6; }
8053 if ${ac_cv_prog_READELF+:} false; then :
8054 $as_echo_n "(cached) " >&6
8055 else
8056 if test -n "$READELF"; then
8057 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8058 else
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 for as_dir in $PATH
8062 IFS=$as_save_IFS
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8066 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 break 2
8070 done
8071 done
8072 IFS=$as_save_IFS
8076 READELF=$ac_cv_prog_READELF
8077 if test -n "$READELF"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8079 $as_echo "$READELF" >&6; }
8080 else
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082 $as_echo "no" >&6; }
8087 if test -z "$ac_cv_prog_READELF"; then
8088 ac_ct_READELF=$READELF
8089 # Extract the first word of "readelf", so it can be a program name with args.
8090 set dummy readelf; ac_word=$2
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8092 $as_echo_n "checking for $ac_word... " >&6; }
8093 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8094 $as_echo_n "(cached) " >&6
8095 else
8096 if test -n "$ac_ct_READELF"; then
8097 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8098 else
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 for as_dir in $PATH
8102 IFS=$as_save_IFS
8103 test -z "$as_dir" && as_dir=.
8104 for ac_exec_ext in '' $ac_executable_extensions; do
8105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8106 ac_cv_prog_ac_ct_READELF="readelf"
8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8108 break 2
8110 done
8111 done
8112 IFS=$as_save_IFS
8116 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8117 if test -n "$ac_ct_READELF"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8119 $as_echo "$ac_ct_READELF" >&6; }
8120 else
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8125 if test "x$ac_ct_READELF" = x; then
8126 READELF="true"
8127 else
8128 case $cross_compiling:$ac_tool_warned in
8129 yes:)
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8132 ac_tool_warned=yes ;;
8133 esac
8134 READELF=$ac_ct_READELF
8136 else
8137 READELF="$ac_cv_prog_READELF"
8140 wine_rules_file=conf$$rules.make
8141 rm -f $wine_rules_file
8142 SUBDIRS=""
8144 DISABLED_SUBDIRS=""
8146 CONFIGURE_TARGETS=""
8149 wine_fn_append_file ()
8151 as_fn_append $1 " \\$as_nl $2"
8154 wine_fn_append_rule ()
8156 $as_echo "$1" >>$wine_rules_file
8159 wine_fn_config_makefile ()
8161 wine_fn_append_file SUBDIRS $1
8162 if eval test \"x\$"$2"\" = x"no"; then :
8163 wine_fn_append_file DISABLED_SUBDIRS $1
8167 wine_fn_config_symlink ()
8169 ac_links=$@
8170 wine_fn_append_rule \
8171 "$ac_links:
8172 @./config.status \$@"
8173 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8176 wine_binary="wine"
8177 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8178 WINELOADER_PROGRAMS="$wine_binary"
8180 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8182 case $host_os in
8183 cygwin*|mingw32*)
8184 if test -n "$ac_tool_prefix"; then
8185 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8186 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8188 $as_echo_n "checking for $ac_word... " >&6; }
8189 if ${ac_cv_prog_DLLTOOL+:} false; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 if test -n "$DLLTOOL"; then
8193 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8194 else
8195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8196 for as_dir in $PATH
8198 IFS=$as_save_IFS
8199 test -z "$as_dir" && as_dir=.
8200 for ac_exec_ext in '' $ac_executable_extensions; do
8201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8202 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8204 break 2
8206 done
8207 done
8208 IFS=$as_save_IFS
8212 DLLTOOL=$ac_cv_prog_DLLTOOL
8213 if test -n "$DLLTOOL"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8215 $as_echo "$DLLTOOL" >&6; }
8216 else
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8223 if test -z "$ac_cv_prog_DLLTOOL"; then
8224 ac_ct_DLLTOOL=$DLLTOOL
8225 # Extract the first word of "dlltool", so it can be a program name with args.
8226 set dummy dlltool; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8230 $as_echo_n "(cached) " >&6
8231 else
8232 if test -n "$ac_ct_DLLTOOL"; then
8233 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8234 else
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 for as_dir in $PATH
8238 IFS=$as_save_IFS
8239 test -z "$as_dir" && as_dir=.
8240 for ac_exec_ext in '' $ac_executable_extensions; do
8241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8242 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 break 2
8246 done
8247 done
8248 IFS=$as_save_IFS
8252 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8253 if test -n "$ac_ct_DLLTOOL"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8255 $as_echo "$ac_ct_DLLTOOL" >&6; }
8256 else
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8261 if test "x$ac_ct_DLLTOOL" = x; then
8262 DLLTOOL="false"
8263 else
8264 case $cross_compiling:$ac_tool_warned in
8265 yes:)
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8268 ac_tool_warned=yes ;;
8269 esac
8270 DLLTOOL=$ac_ct_DLLTOOL
8272 else
8273 DLLTOOL="$ac_cv_prog_DLLTOOL"
8276 LIBEXT="dll"
8277 DLLEXT=""
8278 case $host_cpu in
8279 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8280 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8281 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 ac_wine_try_cflags_saved=$CFLAGS
8285 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 int main(int argc, char **argv) { return 0; }
8289 _ACEOF
8290 if ac_fn_c_try_link "$LINENO"; then :
8291 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8292 else
8293 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8295 rm -f core conftest.err conftest.$ac_objext \
8296 conftest$ac_exeext conftest.$ac_ext
8297 CFLAGS=$ac_wine_try_cflags_saved
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8300 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8301 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8302 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8303 fi ;;
8304 esac
8305 enable_iphlpapi=${enable_iphlpapi:-no}
8306 enable_ws2_32=${enable_ws2_32:-no}
8307 enable_loader=${enable_loader:-no}
8308 enable_server=${enable_server:-no}
8309 with_x=${with_x:-no}
8310 with_pthread=${with_pthread:-no}
8313 darwin*|macosx*)
8314 ac_ext=m
8315 ac_cpp='$OBJCPP $CPPFLAGS'
8316 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8317 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8318 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8320 ac_ext=m
8321 ac_cpp='$OBJCPP $CPPFLAGS'
8322 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8323 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8324 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8325 if test -n "$ac_tool_prefix"; then
8326 for ac_prog in gcc objcc objc cc CC
8328 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8329 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8331 $as_echo_n "checking for $ac_word... " >&6; }
8332 if ${ac_cv_prog_OBJC+:} false; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 if test -n "$OBJC"; then
8336 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8337 else
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 for as_dir in $PATH
8341 IFS=$as_save_IFS
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8345 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8347 break 2
8349 done
8350 done
8351 IFS=$as_save_IFS
8355 OBJC=$ac_cv_prog_OBJC
8356 if test -n "$OBJC"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8358 $as_echo "$OBJC" >&6; }
8359 else
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8361 $as_echo "no" >&6; }
8365 test -n "$OBJC" && break
8366 done
8368 if test -z "$OBJC"; then
8369 ac_ct_OBJC=$OBJC
8370 for ac_prog in gcc objcc objc cc CC
8372 # Extract the first word of "$ac_prog", so it can be a program name with args.
8373 set dummy $ac_prog; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 if test -n "$ac_ct_OBJC"; then
8380 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8381 else
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 for as_dir in $PATH
8385 IFS=$as_save_IFS
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8391 break 2
8393 done
8394 done
8395 IFS=$as_save_IFS
8399 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8400 if test -n "$ac_ct_OBJC"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8402 $as_echo "$ac_ct_OBJC" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8409 test -n "$ac_ct_OBJC" && break
8410 done
8412 if test "x$ac_ct_OBJC" = x; then
8413 OBJC="gcc"
8414 else
8415 case $cross_compiling:$ac_tool_warned in
8416 yes:)
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8419 ac_tool_warned=yes ;;
8420 esac
8421 OBJC=$ac_ct_OBJC
8425 # Provide some information about the compiler.
8426 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8427 set X $ac_compile
8428 ac_compiler=$2
8429 for ac_option in --version -v -V -qversion; do
8430 { { ac_try="$ac_compiler $ac_option >&5"
8431 case "(($ac_try" in
8432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8433 *) ac_try_echo=$ac_try;;
8434 esac
8435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8436 $as_echo "$ac_try_echo"; } >&5
8437 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8438 ac_status=$?
8439 if test -s conftest.err; then
8440 sed '10a\
8441 ... rest of stderr output deleted ...
8442 10q' conftest.err >conftest.er1
8443 cat conftest.er1 >&5
8445 rm -f conftest.er1 conftest.err
8446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8447 test $ac_status = 0; }
8448 done
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8451 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8452 if ${ac_cv_objc_compiler_gnu+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8459 main ()
8461 #ifndef __GNUC__
8462 choke me
8463 #endif
8466 return 0;
8468 _ACEOF
8469 if ac_fn_objc_try_compile "$LINENO"; then :
8470 ac_compiler_gnu=yes
8471 else
8472 ac_compiler_gnu=no
8474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8475 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8479 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8480 if test $ac_compiler_gnu = yes; then
8481 GOBJC=yes
8482 else
8483 GOBJC=
8485 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8486 ac_save_OBJCFLAGS=$OBJCFLAGS
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8488 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8489 if ${ac_cv_prog_objc_g+:} false; then :
8490 $as_echo_n "(cached) " >&6
8491 else
8492 ac_save_objc_werror_flag=$ac_objc_werror_flag
8493 ac_objc_werror_flag=yes
8494 ac_cv_prog_objc_g=no
8495 OBJCFLAGS="-g"
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8500 main ()
8504 return 0;
8506 _ACEOF
8507 if ac_fn_objc_try_compile "$LINENO"; then :
8508 ac_cv_prog_objc_g=yes
8509 else
8510 OBJCFLAGS=""
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8515 main ()
8519 return 0;
8521 _ACEOF
8522 if ac_fn_objc_try_compile "$LINENO"; then :
8524 else
8525 ac_objc_werror_flag=$ac_save_objc_werror_flag
8526 OBJCFLAGS="-g"
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8531 main ()
8535 return 0;
8537 _ACEOF
8538 if ac_fn_objc_try_compile "$LINENO"; then :
8539 ac_cv_prog_objc_g=yes
8541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8546 ac_objc_werror_flag=$ac_save_objc_werror_flag
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8549 $as_echo "$ac_cv_prog_objc_g" >&6; }
8550 if test "$ac_test_OBJCFLAGS" = set; then
8551 OBJCFLAGS=$ac_save_OBJCFLAGS
8552 elif test $ac_cv_prog_objc_g = yes; then
8553 if test "$GOBJC" = yes; then
8554 OBJCFLAGS="-g -O2"
8555 else
8556 OBJCFLAGS="-g"
8558 else
8559 if test "$GOBJC" = yes; then
8560 OBJCFLAGS="-O2"
8561 else
8562 OBJCFLAGS=
8565 ac_ext=m
8566 ac_cpp='$OBJCPP $CPPFLAGS'
8567 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8568 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8569 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8572 ac_ext=m
8573 ac_cpp='$OBJCPP $CPPFLAGS'
8574 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8575 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8576 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8578 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8579 if test -z "$OBJCPP"; then
8580 if ${ac_cv_prog_OBJCPP+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 # Double quotes because OBJCPP needs to be expanded
8584 for OBJCPP in "$OBJC -E" "/lib/cpp"
8586 ac_preproc_ok=false
8587 for ac_objc_preproc_warn_flag in '' yes
8589 # Use a header file that comes with gcc, so configuring glibc
8590 # with a fresh cross-compiler works.
8591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8592 # <limits.h> exists even on freestanding compilers.
8593 # On the NeXT, cc -E runs the code through the compiler's parser,
8594 # not just through cpp. "Syntax error" is here to catch this case.
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8597 #ifdef __STDC__
8598 # include <limits.h>
8599 #else
8600 # include <assert.h>
8601 #endif
8602 Syntax error
8603 _ACEOF
8604 if ac_fn_objc_try_cpp "$LINENO"; then :
8606 else
8607 # Broken: fails on valid input.
8608 continue
8610 rm -f conftest.err conftest.i conftest.$ac_ext
8612 # OK, works on sane cases. Now check whether nonexistent headers
8613 # can be detected and how.
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 #include <ac_nonexistent.h>
8617 _ACEOF
8618 if ac_fn_objc_try_cpp "$LINENO"; then :
8619 # Broken: success on invalid input.
8620 continue
8621 else
8622 # Passes both tests.
8623 ac_preproc_ok=:
8624 break
8626 rm -f conftest.err conftest.i conftest.$ac_ext
8628 done
8629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8630 rm -f conftest.i conftest.err conftest.$ac_ext
8631 if $ac_preproc_ok; then :
8632 break
8635 done
8636 ac_cv_prog_OBJCPP=$OBJCPP
8639 OBJCPP=$ac_cv_prog_OBJCPP
8640 else
8641 ac_cv_prog_OBJCPP=$OBJCPP
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8644 $as_echo "$OBJCPP" >&6; }
8645 ac_preproc_ok=false
8646 for ac_objc_preproc_warn_flag in '' yes
8648 # Use a header file that comes with gcc, so configuring glibc
8649 # with a fresh cross-compiler works.
8650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8651 # <limits.h> exists even on freestanding compilers.
8652 # On the NeXT, cc -E runs the code through the compiler's parser,
8653 # not just through cpp. "Syntax error" is here to catch this case.
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 #ifdef __STDC__
8657 # include <limits.h>
8658 #else
8659 # include <assert.h>
8660 #endif
8661 Syntax error
8662 _ACEOF
8663 if ac_fn_objc_try_cpp "$LINENO"; then :
8665 else
8666 # Broken: fails on valid input.
8667 continue
8669 rm -f conftest.err conftest.i conftest.$ac_ext
8671 # OK, works on sane cases. Now check whether nonexistent headers
8672 # can be detected and how.
8673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8674 /* end confdefs.h. */
8675 #include <ac_nonexistent.h>
8676 _ACEOF
8677 if ac_fn_objc_try_cpp "$LINENO"; then :
8678 # Broken: success on invalid input.
8679 continue
8680 else
8681 # Passes both tests.
8682 ac_preproc_ok=:
8683 break
8685 rm -f conftest.err conftest.i conftest.$ac_ext
8687 done
8688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8689 rm -f conftest.i conftest.err conftest.$ac_ext
8690 if $ac_preproc_ok; then :
8692 else
8693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8695 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8696 See \`config.log' for more details" "$LINENO" 5; }
8699 ac_ext=m
8700 ac_cpp='$OBJCPP $CPPFLAGS'
8701 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8702 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8703 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8706 for ac_header in Metal/Metal.h
8707 do :
8708 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8709 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8710 cat >>confdefs.h <<_ACEOF
8711 #define HAVE_METAL_METAL_H 1
8712 _ACEOF
8716 done
8718 ac_ext=c
8719 ac_cpp='$CPP $CPPFLAGS'
8720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8724 LIBEXT="dylib"
8725 DLLFLAGS="$DLLFLAGS -fPIC"
8726 LDDLLFLAGS="-fPIC"
8727 COREFOUNDATION_LIBS="-framework CoreFoundation"
8729 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8731 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8733 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8735 CORESERVICES_LIBS="-framework CoreServices"
8737 APPKIT_LIBS="-framework AppKit"
8739 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8742 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8744 wine_can_build_preloader=yes
8745 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8747 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8748 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8749 $as_echo_n "(cached) " >&6
8750 else
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755 int main(int argc, char **argv) { return 0; }
8756 _ACEOF
8757 if ac_fn_c_try_link "$LINENO"; then :
8758 ac_cv_cflags__Wl__no_new_main__e__main=yes
8759 else
8760 ac_cv_cflags__Wl__no_new_main__e__main=no
8762 rm -f core conftest.err conftest.$ac_objext \
8763 conftest$ac_exeext conftest.$ac_ext
8764 CFLAGS=$ac_wine_try_cflags_saved
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8767 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8768 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8769 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8771 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8772 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8773 $as_echo_n "(cached) " >&6
8774 else
8775 ac_wine_try_cflags_saved=$CFLAGS
8776 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8779 int main(int argc, char **argv) { return 0; }
8780 _ACEOF
8781 if ac_fn_c_try_link "$LINENO"; then :
8782 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8783 else
8784 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8786 rm -f core conftest.err conftest.$ac_objext \
8787 conftest$ac_exeext conftest.$ac_ext
8788 CFLAGS=$ac_wine_try_cflags_saved
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8791 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8792 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8793 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8794 else
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8796 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8797 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 ac_wine_try_cflags_saved=$CFLAGS
8801 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8808 else
8809 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8816 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8817 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8818 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8819 else
8820 wine_can_build_preloader=no
8823 else
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8825 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8826 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8827 $as_echo_n "(cached) " >&6
8828 else
8829 ac_wine_try_cflags_saved=$CFLAGS
8830 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8833 int main(int argc, char **argv) { return 0; }
8834 _ACEOF
8835 if ac_fn_c_try_link "$LINENO"; then :
8836 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8837 else
8838 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8840 rm -f core conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8845 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8846 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8847 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8848 else
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8850 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8851 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8852 $as_echo_n "(cached) " >&6
8853 else
8854 ac_wine_try_cflags_saved=$CFLAGS
8855 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8858 int main(int argc, char **argv) { return 0; }
8859 _ACEOF
8860 if ac_fn_c_try_link "$LINENO"; then :
8861 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8862 else
8863 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8865 rm -f core conftest.err conftest.$ac_objext \
8866 conftest$ac_exeext conftest.$ac_ext
8867 CFLAGS=$ac_wine_try_cflags_saved
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8870 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8871 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8872 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8873 else
8874 wine_can_build_preloader=no
8878 if test "$wine_can_build_preloader" = "yes"
8879 then
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8881 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8882 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8883 $as_echo_n "(cached) " >&6
8884 else
8885 ac_wine_try_cflags_saved=$CFLAGS
8886 CFLAGS="$CFLAGS -Wl,-no_pie"
8887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8888 /* end confdefs.h. */
8889 int main(int argc, char **argv) { return 0; }
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8892 ac_cv_cflags__Wl__no_pie=yes
8893 else
8894 ac_cv_cflags__Wl__no_pie=no
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8898 CFLAGS=$ac_wine_try_cflags_saved
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8901 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8902 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8903 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8905 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8906 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8907 else
8908 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8911 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8912 then
8913 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8916 if test "$ac_cv_header_Security_Security_h" = "yes"
8917 then
8918 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8920 ac_save_LIBS="$LIBS"
8921 LIBS="$LIBS $SECURITY_LIBS"
8922 for ac_func in SSLCopyPeerCertificates
8923 do :
8924 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8925 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8926 cat >>confdefs.h <<_ACEOF
8927 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8928 _ACEOF
8931 done
8933 LIBS="$ac_save_LIBS"
8935 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8936 then
8937 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8938 then
8939 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8941 else
8942 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8945 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8946 ac_save_LIBS="$LIBS"
8947 LIBS="$LIBS $COREAUDIO_LIBS"
8948 for ac_func in AUGraphAddNode
8949 do :
8950 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8951 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8952 cat >>confdefs.h <<_ACEOF
8953 #define HAVE_AUGRAPHADDNODE 1
8954 _ACEOF
8957 done
8959 LIBS="$ac_save_LIBS"
8961 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8962 then
8963 OPENAL_LIBS="-framework OpenAL"
8966 cat >>confdefs.h <<_ACEOF
8967 #define HAVE_OPENAL 1
8968 _ACEOF
8970 ac_cv_lib_openal=yes
8972 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8973 then
8974 OPENCL_LIBS="-framework OpenCL"
8976 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8978 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8979 then
8980 ac_save_LIBS="$LIBS"
8981 LIBS="$LIBS $IOKIT_LIBS"
8982 for ac_func in IOHIDManagerCreate
8983 do :
8984 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8985 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8986 cat >>confdefs.h <<_ACEOF
8987 #define HAVE_IOHIDMANAGERCREATE 1
8988 _ACEOF
8991 done
8993 LIBS="$ac_save_LIBS"
8996 if test "x$with_quicktime" != "xno"
8997 then
8998 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8999 then
9000 ac_save_LIBS="$LIBS"
9001 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9003 $as_echo_n "checking for the QuickTime framework... " >&6; }
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9006 #include <QuickTime/ImageCompression.h>
9008 main ()
9010 CodecManagerVersion(NULL);
9012 return 0;
9014 _ACEOF
9015 if ac_fn_c_try_link "$LINENO"; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9017 $as_echo "yes" >&6; }
9018 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9020 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9021 else
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 $as_echo "no" >&6; }
9024 ac_cv_header_QuickTime_ImageCompression_h=no
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 LIBS="$ac_save_LIBS"
9031 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9032 case "x$with_quicktime" in
9033 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9034 xno) ;;
9035 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9036 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9037 esac
9041 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9042 then
9043 CARBON_LIBS="-framework Carbon"
9046 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9047 then
9048 METAL_LIBS="-framework Metal -framework QuartzCore"
9052 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9053 then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9055 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9056 ac_ext=m
9057 ac_cpp='$OBJCPP $CPPFLAGS'
9058 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9059 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9060 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9063 /* end confdefs.h. */
9064 #include <Metal/Metal.h>
9066 main ()
9068 id<MTLDevice> device; device.registryID;
9070 return 0;
9072 _ACEOF
9073 if ac_fn_objc_try_compile "$LINENO"; then :
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9075 $as_echo "yes" >&6; }
9077 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9079 else
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9081 $as_echo "no" >&6; }
9083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9084 ac_ext=c
9085 ac_cpp='$CPP $CPPFLAGS'
9086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9092 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9093 then
9094 ac_save_LIBS="$LIBS"
9095 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9096 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9097 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9098 enable_winemac_drv=${enable_winemac_drv:-yes}
9101 LIBS="$ac_save_LIBS"
9104 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9106 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9108 WINELOADER_DEPENDS="wine_info.plist"
9110 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9113 linux-android*)
9114 DLLFLAGS="$DLLFLAGS -fPIC"
9115 LDDLLFLAGS="-fPIC"
9116 LDEXECFLAGS="-Wl,-pie"
9117 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9119 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9120 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_wine_try_cflags_saved=$CFLAGS
9124 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9127 int main(int argc, char **argv) { return 0; }
9128 _ACEOF
9129 if ac_fn_c_try_link "$LINENO"; then :
9130 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9131 else
9132 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9134 rm -f core conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9136 CFLAGS=$ac_wine_try_cflags_saved
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9139 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9140 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9141 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9143 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9145 LIBWINE_SHAREDLIB="libwine.so"
9147 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9149 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9152 $as_echo_n "checking for -lEGL... " >&6; }
9153 if ${ac_cv_lib_soname_EGL+:} false; then :
9154 $as_echo_n "(cached) " >&6
9155 else
9156 ac_check_soname_save_LIBS=$LIBS
9157 LIBS="-lEGL $LIBS"
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9161 /* Override any GCC internal prototype to avoid an error.
9162 Use char because int might match the return type of a GCC
9163 builtin and then its argument prototype would still apply. */
9164 #ifdef __cplusplus
9165 extern "C"
9166 #endif
9167 char eglGetProcAddress ();
9169 main ()
9171 return eglGetProcAddress ();
9173 return 0;
9175 _ACEOF
9176 if ac_fn_c_try_link "$LINENO"; then :
9177 case "$LIBEXT" in
9178 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9179 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9180 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9181 if ${ac_cv_lib_soname_EGL:+false} :; then :
9182 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9183 fi ;;
9184 esac
9185 else
9186 ac_cv_lib_soname_EGL=
9188 rm -f core conftest.err conftest.$ac_objext \
9189 conftest$ac_exeext conftest.$ac_ext
9190 LIBS=$ac_check_soname_save_LIBS
9192 if ${ac_cv_lib_soname_EGL:+false} :; then :
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9194 $as_echo "not found" >&6; }
9196 else
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9198 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9200 cat >>confdefs.h <<_ACEOF
9201 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9202 _ACEOF
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9207 $as_echo_n "checking for -lGLESv2... " >&6; }
9208 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 ac_check_soname_save_LIBS=$LIBS
9212 LIBS="-lGLESv2 $LIBS"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char glFlush ();
9224 main ()
9226 return glFlush ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 case "$LIBEXT" in
9233 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9234 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9235 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9236 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9237 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9238 fi ;;
9239 esac
9240 else
9241 ac_cv_lib_soname_GLESv2=
9243 rm -f core conftest.err conftest.$ac_objext \
9244 conftest$ac_exeext conftest.$ac_ext
9245 LIBS=$ac_check_soname_save_LIBS
9247 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9249 $as_echo "not found" >&6; }
9251 else
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9253 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9255 cat >>confdefs.h <<_ACEOF
9256 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9257 _ACEOF
9262 if test "x$exec_prefix" = xNONE
9263 then
9264 case $host_cpu in
9265 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9266 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9267 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9268 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9269 esac
9274 case $host_cpu in
9275 *i[3456789]86*)
9276 DLLFLAGS="$DLLFLAGS -fno-PIC"
9277 LDDLLFLAGS="-fno-PIC" ;;
9279 DLLFLAGS="$DLLFLAGS -fPIC"
9280 LDDLLFLAGS="-fPIC" ;;
9281 esac
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9283 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9284 if ${ac_cv_c_dll_gnuelf+:} false; then :
9285 $as_echo_n "(cached) " >&6
9286 else
9287 ac_wine_try_cflags_saved=$CFLAGS
9288 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9291 void myfunc() {}
9292 _ACEOF
9293 if ac_fn_c_try_link "$LINENO"; then :
9294 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9295 else
9296 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9298 rm -f core conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9300 CFLAGS=$ac_wine_try_cflags_saved
9301 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9302 ac_cv_c_dll_gnuelf="yes"
9303 else
9304 ac_cv_c_dll_gnuelf="no"
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9308 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9309 if test "$ac_cv_c_dll_gnuelf" = "yes"
9310 then
9311 LIBWINE_LDFLAGS="-shared"
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9313 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9314 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9315 $as_echo_n "(cached) " >&6
9316 else
9317 ac_wine_try_cflags_saved=$CFLAGS
9318 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9321 int main(int argc, char **argv) { return 0; }
9322 _ACEOF
9323 if ac_fn_c_try_link "$LINENO"; then :
9324 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9325 else
9326 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 CFLAGS=$ac_wine_try_cflags_saved
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9333 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9334 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9335 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9336 else
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9338 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9339 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9340 $as_echo_n "(cached) " >&6
9341 else
9342 ac_wine_try_cflags_saved=$CFLAGS
9343 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9346 int main(int argc, char **argv) { return 0; }
9347 _ACEOF
9348 if ac_fn_c_try_link "$LINENO"; then :
9349 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9350 else
9351 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 CFLAGS=$ac_wine_try_cflags_saved
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9358 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9359 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9360 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9364 echo '{ global: *; };' >conftest.map
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9366 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9367 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_wine_try_cflags_saved=$CFLAGS
9371 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9374 int main(int argc, char **argv) { return 0; }
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9378 else
9379 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 CFLAGS=$ac_wine_try_cflags_saved
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9386 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9387 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9388 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9390 rm -f conftest.map
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9393 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9394 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_wine_try_cflags_saved=$CFLAGS
9398 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9401 int main(int argc, char **argv) { return 0; }
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 ac_cv_cflags__Wl___export_dynamic=yes
9405 else
9406 ac_cv_cflags__Wl___export_dynamic=no
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 CFLAGS=$ac_wine_try_cflags_saved
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9413 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9414 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9415 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9417 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9419 case $host_cpu in
9420 *i[3456789]86* | x86_64 | *aarch64*)
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9422 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9423 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
9426 ac_wine_try_cflags_saved=$CFLAGS
9427 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9430 int main(int argc, char **argv) { return 0; }
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9434 else
9435 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9439 CFLAGS=$ac_wine_try_cflags_saved
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9442 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9443 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9444 case $host_os in
9445 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9446 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9447 esac
9448 else
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9450 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9451 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9452 $as_echo_n "(cached) " >&6
9453 else
9454 ac_wine_try_cflags_saved=$CFLAGS
9455 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9458 int main(int argc, char **argv) { return 0; }
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"; then :
9461 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9462 else
9463 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 CFLAGS=$ac_wine_try_cflags_saved
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9470 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9471 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9472 case $host_os in
9473 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9474 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9475 esac
9477 # Extract the first word of "prelink", so it can be a program name with args.
9478 set dummy prelink; ac_word=$2
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9480 $as_echo_n "checking for $ac_word... " >&6; }
9481 if ${ac_cv_path_PRELINK+:} false; then :
9482 $as_echo_n "(cached) " >&6
9483 else
9484 case $PRELINK in
9485 [\\/]* | ?:[\\/]*)
9486 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9490 for as_dir in /sbin /usr/sbin $PATH
9492 IFS=$as_save_IFS
9493 test -z "$as_dir" && as_dir=.
9494 for ac_exec_ext in '' $ac_executable_extensions; do
9495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9496 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9498 break 2
9500 done
9501 done
9502 IFS=$as_save_IFS
9504 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9506 esac
9508 PRELINK=$ac_cv_path_PRELINK
9509 if test -n "$PRELINK"; then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9511 $as_echo "$PRELINK" >&6; }
9512 else
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9514 $as_echo "no" >&6; }
9518 if test "x$PRELINK" = xfalse
9519 then
9520 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9524 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9525 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 ac_wine_try_cflags_saved=$CFLAGS
9529 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9532 int main(int argc, char **argv) { return 0; }
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9535 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9536 else
9537 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 CFLAGS=$ac_wine_try_cflags_saved
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9544 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9545 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9546 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9549 esac
9551 else
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9553 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9554 if ${ac_cv_c_dll_unixware+:} false; then :
9555 $as_echo_n "(cached) " >&6
9556 else
9557 ac_wine_try_cflags_saved=$CFLAGS
9558 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9561 void myfunc() {}
9562 _ACEOF
9563 if ac_fn_c_try_link "$LINENO"; then :
9564 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9565 else
9566 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9568 rm -f core conftest.err conftest.$ac_objext \
9569 conftest$ac_exeext conftest.$ac_ext
9570 CFLAGS=$ac_wine_try_cflags_saved
9571 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9572 ac_cv_c_dll_unixware="yes"
9573 else
9574 ac_cv_c_dll_unixware="no"
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9578 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9579 if test "$ac_cv_c_dll_unixware" = "yes"
9580 then
9581 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9584 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9586 LIBWINE_DEPENDS="wine.map"
9588 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9590 esac
9592 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9593 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9594 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9595 enable_winemac_drv=${enable_winemac_drv:-no}
9596 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9599 if test "x$with_mingw" != xno
9600 then
9601 case "x$with_mingw" in
9602 x|xyes) case "$host_cpu" in
9603 aarch64*)
9604 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9605 arm*)
9606 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9607 i[3456789]86*)
9608 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
9609 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9610 mingw32-gcc" ;;
9611 x86_64)
9612 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
9613 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9615 ac_prefix_list="" ;;
9616 esac
9617 for ac_prog in $ac_prefix_list
9619 # Extract the first word of "$ac_prog", so it can be a program name with args.
9620 set dummy $ac_prog; ac_word=$2
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9622 $as_echo_n "checking for $ac_word... " >&6; }
9623 if ${ac_cv_prog_CROSSCC+:} false; then :
9624 $as_echo_n "(cached) " >&6
9625 else
9626 if test -n "$CROSSCC"; then
9627 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9628 else
9629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9630 for as_dir in $PATH
9632 IFS=$as_save_IFS
9633 test -z "$as_dir" && as_dir=.
9634 for ac_exec_ext in '' $ac_executable_extensions; do
9635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9636 ac_cv_prog_CROSSCC="$ac_prog"
9637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9638 break 2
9640 done
9641 done
9642 IFS=$as_save_IFS
9646 CROSSCC=$ac_cv_prog_CROSSCC
9647 if test -n "$CROSSCC"; then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9649 $as_echo "$CROSSCC" >&6; }
9650 else
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9652 $as_echo "no" >&6; }
9656 test -n "$CROSSCC" && break
9657 done
9658 test -n "$CROSSCC" || CROSSCC="false"
9660 *) CROSSCC=$with_mingw ;;
9661 esac
9662 if test "$CROSSCC" != "false"
9663 then
9664 ac_save_CC="$CC"
9665 saved_CFLAGS=$CFLAGS
9666 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9668 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9672 CC="$CROSSCC"
9673 CFLAGS=$CROSSCFLAGS
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9675 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9676 if ${wine_cv_crosscc+:} false; then :
9677 $as_echo_n "(cached) " >&6
9678 else
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9683 main ()
9687 return 0;
9689 _ACEOF
9690 if ac_fn_c_try_compile "$LINENO"; then :
9691 wine_cv_crosscc=yes
9692 else
9693 wine_cv_crosscc=no
9695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9698 $as_echo "$wine_cv_crosscc" >&6; }
9699 if test $wine_cv_crosscc = yes
9700 then
9701 set x $CROSSCC
9702 shift
9703 while test $# -ge 1
9705 case "$1" in
9706 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9707 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9708 esac
9709 shift
9710 done
9712 llvm_target=$CROSSTARGET
9713 llvm_cflags="-fuse-ld=lld"
9714 if test -z "$llvm_target"
9715 then
9716 case $host_cpu in
9717 *i[3456789]86*) llvm_target=i686-windows ;;
9718 *) llvm_target=$host_cpu-windows ;;
9719 esac
9721 case $llvm_target in
9722 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9723 esac
9724 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9726 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9727 if eval \${$as_ac_var+:} false; then :
9728 $as_echo_n "(cached) " >&6
9729 else
9730 ac_wine_try_cflags_saved=$CFLAGS
9731 ac_wine_try_cflags_saved_cc=$CC
9732 ac_wine_try_cflags_saved_exeext=$ac_exeext
9733 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9734 CC="$CROSSCC"
9735 ac_exeext=".exe"
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9738 int __cdecl mainCRTStartup(void) { return 0; }
9739 _ACEOF
9740 if ac_fn_c_try_link "$LINENO"; then :
9741 eval "$as_ac_var=yes"
9742 else
9743 eval "$as_ac_var=no"
9745 rm -f core conftest.err conftest.$ac_objext \
9746 conftest$ac_exeext conftest.$ac_ext
9747 CFLAGS=$ac_wine_try_cflags_saved
9748 CC=$ac_wine_try_cflags_saved_cc
9749 ac_exeext=$ac_wine_try_cflags_saved_exeext
9751 eval ac_res=\$$as_ac_var
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9753 $as_echo "$ac_res" >&6; }
9754 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9755 CROSSTARGET=$llvm_target
9756 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9757 DELAYLOADFLAG="-Wl,-delayload,"
9759 CFLAGS="$CFLAGS $llvm_cflags"
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9763 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9764 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9765 $as_echo_n "(cached) " >&6
9766 else
9767 ac_wine_try_cflags_saved=$CFLAGS
9768 ac_wine_try_cflags_saved_cc=$CC
9769 ac_wine_try_cflags_saved_exeext=$ac_exeext
9770 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9771 CC="$CROSSCC"
9772 ac_exeext=".exe"
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9775 int __cdecl mainCRTStartup(void) { return 0; }
9776 _ACEOF
9777 if ac_fn_c_try_link "$LINENO"; then :
9778 ac_cv_crosscflags__fno_strict_aliasing=yes
9779 else
9780 ac_cv_crosscflags__fno_strict_aliasing=no
9782 rm -f core conftest.err conftest.$ac_objext \
9783 conftest$ac_exeext conftest.$ac_ext
9784 CFLAGS=$ac_wine_try_cflags_saved
9785 CC=$ac_wine_try_cflags_saved_cc
9786 ac_exeext=$ac_wine_try_cflags_saved_exeext
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9789 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9790 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9791 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9794 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9795 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 ac_wine_try_cflags_saved=$CFLAGS
9799 ac_wine_try_cflags_saved_cc=$CC
9800 ac_wine_try_cflags_saved_exeext=$ac_exeext
9801 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9802 CC="$CROSSCC"
9803 ac_exeext=".exe"
9804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805 /* end confdefs.h. */
9806 int __cdecl mainCRTStartup(void) { return 0; }
9807 _ACEOF
9808 if ac_fn_c_try_link "$LINENO"; then :
9809 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9810 else
9811 ac_cv_crosscflags__Werror_unknown_warning_option=no
9813 rm -f core conftest.err conftest.$ac_objext \
9814 conftest$ac_exeext conftest.$ac_ext
9815 CFLAGS=$ac_wine_try_cflags_saved
9816 CC=$ac_wine_try_cflags_saved_cc
9817 ac_exeext=$ac_wine_try_cflags_saved_exeext
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9820 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9821 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9822 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9825 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9826 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_wine_try_cflags_saved=$CFLAGS
9830 ac_wine_try_cflags_saved_cc=$CC
9831 ac_wine_try_cflags_saved_exeext=$ac_exeext
9832 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9833 CC="$CROSSCC"
9834 ac_exeext=".exe"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9837 int __cdecl mainCRTStartup(void) { return 0; }
9838 _ACEOF
9839 if ac_fn_c_try_link "$LINENO"; then :
9840 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9841 else
9842 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9844 rm -f core conftest.err conftest.$ac_objext \
9845 conftest$ac_exeext conftest.$ac_ext
9846 CFLAGS=$ac_wine_try_cflags_saved
9847 CC=$ac_wine_try_cflags_saved_cc
9848 ac_exeext=$ac_wine_try_cflags_saved_exeext
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9851 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9852 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9853 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9856 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9857 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9858 $as_echo_n "(cached) " >&6
9859 else
9860 ac_wine_try_cflags_saved=$CFLAGS
9861 ac_wine_try_cflags_saved_cc=$CC
9862 ac_wine_try_cflags_saved_exeext=$ac_exeext
9863 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9864 CC="$CROSSCC"
9865 ac_exeext=".exe"
9866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9868 int __cdecl mainCRTStartup(void) { return 0; }
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9872 else
9873 ac_cv_crosscflags__Wdeclaration_after_statement=no
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 CFLAGS=$ac_wine_try_cflags_saved
9878 CC=$ac_wine_try_cflags_saved_cc
9879 ac_exeext=$ac_wine_try_cflags_saved_exeext
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9882 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9883 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9884 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9887 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9888 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_wine_try_cflags_saved=$CFLAGS
9892 ac_wine_try_cflags_saved_cc=$CC
9893 ac_wine_try_cflags_saved_exeext=$ac_exeext
9894 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9895 CC="$CROSSCC"
9896 ac_exeext=".exe"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9899 int __cdecl mainCRTStartup(void) { return 0; }
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 ac_cv_crosscflags__Wempty_body=yes
9903 else
9904 ac_cv_crosscflags__Wempty_body=no
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 CFLAGS=$ac_wine_try_cflags_saved
9909 CC=$ac_wine_try_cflags_saved_cc
9910 ac_exeext=$ac_wine_try_cflags_saved_exeext
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9913 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9914 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9915 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9918 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9919 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9920 $as_echo_n "(cached) " >&6
9921 else
9922 ac_wine_try_cflags_saved=$CFLAGS
9923 ac_wine_try_cflags_saved_cc=$CC
9924 ac_wine_try_cflags_saved_exeext=$ac_exeext
9925 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9926 CC="$CROSSCC"
9927 ac_exeext=".exe"
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9930 int __cdecl mainCRTStartup(void) { return 0; }
9931 _ACEOF
9932 if ac_fn_c_try_link "$LINENO"; then :
9933 ac_cv_crosscflags__Wignored_qualifiers=yes
9934 else
9935 ac_cv_crosscflags__Wignored_qualifiers=no
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 CFLAGS=$ac_wine_try_cflags_saved
9940 CC=$ac_wine_try_cflags_saved_cc
9941 ac_exeext=$ac_wine_try_cflags_saved_exeext
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9944 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9945 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9946 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9949 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9950 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9951 $as_echo_n "(cached) " >&6
9952 else
9953 ac_wine_try_cflags_saved=$CFLAGS
9954 ac_wine_try_cflags_saved_cc=$CC
9955 ac_wine_try_cflags_saved_exeext=$ac_exeext
9956 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9957 CC="$CROSSCC"
9958 ac_exeext=".exe"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int __cdecl mainCRTStartup(void) { return 0; }
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 ac_cv_crosscflags__Wpacked_not_aligned=yes
9965 else
9966 ac_cv_crosscflags__Wpacked_not_aligned=no
9968 rm -f core conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 CFLAGS=$ac_wine_try_cflags_saved
9971 CC=$ac_wine_try_cflags_saved_cc
9972 ac_exeext=$ac_wine_try_cflags_saved_exeext
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9975 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9976 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9977 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9980 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9981 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9982 $as_echo_n "(cached) " >&6
9983 else
9984 ac_wine_try_cflags_saved=$CFLAGS
9985 ac_wine_try_cflags_saved_cc=$CC
9986 ac_wine_try_cflags_saved_exeext=$ac_exeext
9987 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9988 CC="$CROSSCC"
9989 ac_exeext=".exe"
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9992 int __cdecl mainCRTStartup(void) { return 0; }
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 ac_cv_crosscflags__Wpragma_pack=yes
9996 else
9997 ac_cv_crosscflags__Wpragma_pack=no
9999 rm -f core conftest.err conftest.$ac_objext \
10000 conftest$ac_exeext conftest.$ac_ext
10001 CFLAGS=$ac_wine_try_cflags_saved
10002 CC=$ac_wine_try_cflags_saved_cc
10003 ac_exeext=$ac_wine_try_cflags_saved_exeext
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10006 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10007 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10008 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10011 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10012 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10013 $as_echo_n "(cached) " >&6
10014 else
10015 ac_wine_try_cflags_saved=$CFLAGS
10016 ac_wine_try_cflags_saved_cc=$CC
10017 ac_wine_try_cflags_saved_exeext=$ac_exeext
10018 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10019 CC="$CROSSCC"
10020 ac_exeext=".exe"
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10023 int __cdecl mainCRTStartup(void) { return 0; }
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 ac_cv_crosscflags__Wshift_overflow_2=yes
10027 else
10028 ac_cv_crosscflags__Wshift_overflow_2=no
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 CFLAGS=$ac_wine_try_cflags_saved
10033 CC=$ac_wine_try_cflags_saved_cc
10034 ac_exeext=$ac_wine_try_cflags_saved_exeext
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10037 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10038 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10039 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10042 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10043 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10044 $as_echo_n "(cached) " >&6
10045 else
10046 ac_wine_try_cflags_saved=$CFLAGS
10047 ac_wine_try_cflags_saved_cc=$CC
10048 ac_wine_try_cflags_saved_exeext=$ac_exeext
10049 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10050 CC="$CROSSCC"
10051 ac_exeext=".exe"
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10054 int __cdecl mainCRTStartup(void) { return 0; }
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"; then :
10057 ac_cv_crosscflags__Wstrict_prototypes=yes
10058 else
10059 ac_cv_crosscflags__Wstrict_prototypes=no
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 CFLAGS=$ac_wine_try_cflags_saved
10064 CC=$ac_wine_try_cflags_saved_cc
10065 ac_exeext=$ac_wine_try_cflags_saved_exeext
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10068 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10069 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10070 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10073 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10074 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10075 $as_echo_n "(cached) " >&6
10076 else
10077 ac_wine_try_cflags_saved=$CFLAGS
10078 ac_wine_try_cflags_saved_cc=$CC
10079 ac_wine_try_cflags_saved_exeext=$ac_exeext
10080 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10081 CC="$CROSSCC"
10082 ac_exeext=".exe"
10083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10084 /* end confdefs.h. */
10085 int __cdecl mainCRTStartup(void) { return 0; }
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_crosscflags__Wtype_limits=yes
10089 else
10090 ac_cv_crosscflags__Wtype_limits=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 CFLAGS=$ac_wine_try_cflags_saved
10095 CC=$ac_wine_try_cflags_saved_cc
10096 ac_exeext=$ac_wine_try_cflags_saved_exeext
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10099 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10100 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10101 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10104 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10105 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 ac_wine_try_cflags_saved_cc=$CC
10110 ac_wine_try_cflags_saved_exeext=$ac_exeext
10111 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10112 CC="$CROSSCC"
10113 ac_exeext=".exe"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 int __cdecl mainCRTStartup(void) { return 0; }
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"; then :
10119 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10120 else
10121 ac_cv_crosscflags__Wunused_but_set_parameter=no
10123 rm -f core conftest.err conftest.$ac_objext \
10124 conftest$ac_exeext conftest.$ac_ext
10125 CFLAGS=$ac_wine_try_cflags_saved
10126 CC=$ac_wine_try_cflags_saved_cc
10127 ac_exeext=$ac_wine_try_cflags_saved_exeext
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10130 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10131 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10132 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10135 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10136 if ${ac_cv_crosscflags__Wvla+:} false; then :
10137 $as_echo_n "(cached) " >&6
10138 else
10139 ac_wine_try_cflags_saved=$CFLAGS
10140 ac_wine_try_cflags_saved_cc=$CC
10141 ac_wine_try_cflags_saved_exeext=$ac_exeext
10142 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10143 CC="$CROSSCC"
10144 ac_exeext=".exe"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10147 int __cdecl mainCRTStartup(void) { return 0; }
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10150 ac_cv_crosscflags__Wvla=yes
10151 else
10152 ac_cv_crosscflags__Wvla=no
10154 rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 CFLAGS=$ac_wine_try_cflags_saved
10157 CC=$ac_wine_try_cflags_saved_cc
10158 ac_exeext=$ac_wine_try_cflags_saved_exeext
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10161 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10162 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10163 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10166 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10167 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10168 $as_echo_n "(cached) " >&6
10169 else
10170 ac_wine_try_cflags_saved=$CFLAGS
10171 ac_wine_try_cflags_saved_cc=$CC
10172 ac_wine_try_cflags_saved_exeext=$ac_exeext
10173 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10174 CC="$CROSSCC"
10175 ac_exeext=".exe"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 int __cdecl mainCRTStartup(void) { return 0; }
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 ac_cv_crosscflags__Wwrite_strings=yes
10182 else
10183 ac_cv_crosscflags__Wwrite_strings=no
10185 rm -f core conftest.err conftest.$ac_objext \
10186 conftest$ac_exeext conftest.$ac_ext
10187 CFLAGS=$ac_wine_try_cflags_saved
10188 CC=$ac_wine_try_cflags_saved_cc
10189 ac_exeext=$ac_wine_try_cflags_saved_exeext
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10192 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10193 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10194 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10197 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10198 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10199 $as_echo_n "(cached) " >&6
10200 else
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 ac_wine_try_cflags_saved_cc=$CC
10203 ac_wine_try_cflags_saved_exeext=$ac_exeext
10204 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10205 CC="$CROSSCC"
10206 ac_exeext=".exe"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10209 int __cdecl mainCRTStartup(void) { return 0; }
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"; then :
10212 ac_cv_crosscflags__Wpointer_arith=yes
10213 else
10214 ac_cv_crosscflags__Wpointer_arith=no
10216 rm -f core conftest.err conftest.$ac_objext \
10217 conftest$ac_exeext conftest.$ac_ext
10218 CFLAGS=$ac_wine_try_cflags_saved
10219 CC=$ac_wine_try_cflags_saved_cc
10220 ac_exeext=$ac_wine_try_cflags_saved_exeext
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10223 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10224 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10225 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10228 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10229 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10230 $as_echo_n "(cached) " >&6
10231 else
10232 ac_wine_try_cflags_saved=$CFLAGS
10233 ac_wine_try_cflags_saved_cc=$CC
10234 ac_wine_try_cflags_saved_exeext=$ac_exeext
10235 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10236 CC="$CROSSCC"
10237 ac_exeext=".exe"
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10240 int __cdecl mainCRTStartup(void) { return 0; }
10241 _ACEOF
10242 if ac_fn_c_try_link "$LINENO"; then :
10243 ac_cv_crosscflags__Wlogical_op=yes
10244 else
10245 ac_cv_crosscflags__Wlogical_op=no
10247 rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 CFLAGS=$ac_wine_try_cflags_saved
10250 CC=$ac_wine_try_cflags_saved_cc
10251 ac_exeext=$ac_wine_try_cflags_saved_exeext
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10254 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10255 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10256 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10259 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10260 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_wine_try_cflags_saved=$CFLAGS
10264 ac_wine_try_cflags_saved_cc=$CC
10265 ac_wine_try_cflags_saved_exeext=$ac_exeext
10266 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10267 CC="$CROSSCC"
10268 ac_exeext=".exe"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10271 int __cdecl mainCRTStartup(void) { return 0; }
10272 _ACEOF
10273 if ac_fn_c_try_link "$LINENO"; then :
10274 ac_cv_crosscflags__Wabsolute_value=yes
10275 else
10276 ac_cv_crosscflags__Wabsolute_value=no
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 CFLAGS=$ac_wine_try_cflags_saved
10281 CC=$ac_wine_try_cflags_saved_cc
10282 ac_exeext=$ac_wine_try_cflags_saved_exeext
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10285 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10286 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10287 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10290 case $host_cpu in
10291 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10292 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10293 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10294 $as_echo_n "(cached) " >&6
10295 else
10296 ac_wine_try_cflags_saved=$CFLAGS
10297 ac_wine_try_cflags_saved_cc=$CC
10298 ac_wine_try_cflags_saved_exeext=$ac_exeext
10299 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10300 CC="$CROSSCC"
10301 ac_exeext=".exe"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10304 int __cdecl mainCRTStartup(void) { return 0; }
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10308 else
10309 ac_cv_crosscflags__fno_omit_frame_pointer=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 CFLAGS=$ac_wine_try_cflags_saved
10314 CC=$ac_wine_try_cflags_saved_cc
10315 ac_exeext=$ac_wine_try_cflags_saved_exeext
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10318 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10319 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10320 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10321 fi ;;
10322 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10323 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10324 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10325 $as_echo_n "(cached) " >&6
10326 else
10327 ac_wine_try_cflags_saved=$CFLAGS
10328 ac_wine_try_cflags_saved_cc=$CC
10329 ac_wine_try_cflags_saved_exeext=$ac_exeext
10330 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10331 CC="$CROSSCC"
10332 ac_exeext=".exe"
10333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10335 int __cdecl mainCRTStartup(void) { return 0; }
10336 _ACEOF
10337 if ac_fn_c_try_link "$LINENO"; then :
10338 ac_cv_crosscflags__Wno_format=yes
10339 else
10340 ac_cv_crosscflags__Wno_format=no
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 CFLAGS=$ac_wine_try_cflags_saved
10345 CC=$ac_wine_try_cflags_saved_cc
10346 ac_exeext=$ac_wine_try_cflags_saved_exeext
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10349 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10350 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10351 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10354 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10355 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10356 $as_echo_n "(cached) " >&6
10357 else
10358 ac_wine_try_cflags_saved=$CFLAGS
10359 ac_wine_try_cflags_saved_cc=$CC
10360 ac_wine_try_cflags_saved_exeext=$ac_exeext
10361 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10362 CC="$CROSSCC"
10363 ac_exeext=".exe"
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10366 int __cdecl mainCRTStartup(void) { return 0; }
10367 _ACEOF
10368 if ac_fn_c_try_link "$LINENO"; then :
10369 ac_cv_crosscflags__Wformat_overflow=yes
10370 else
10371 ac_cv_crosscflags__Wformat_overflow=no
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375 CFLAGS=$ac_wine_try_cflags_saved
10376 CC=$ac_wine_try_cflags_saved_cc
10377 ac_exeext=$ac_wine_try_cflags_saved_exeext
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10380 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10381 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10382 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10385 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10386 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10387 $as_echo_n "(cached) " >&6
10388 else
10389 ac_wine_try_cflags_saved=$CFLAGS
10390 ac_wine_try_cflags_saved_cc=$CC
10391 ac_wine_try_cflags_saved_exeext=$ac_exeext
10392 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10393 CC="$CROSSCC"
10394 ac_exeext=".exe"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10397 int __cdecl mainCRTStartup(void) { return 0; }
10398 _ACEOF
10399 if ac_fn_c_try_link "$LINENO"; then :
10400 ac_cv_crosscflags__Wnonnull=yes
10401 else
10402 ac_cv_crosscflags__Wnonnull=no
10404 rm -f core conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10406 CFLAGS=$ac_wine_try_cflags_saved
10407 CC=$ac_wine_try_cflags_saved_cc
10408 ac_exeext=$ac_wine_try_cflags_saved_exeext
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10411 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10412 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10413 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10416 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10417 if ${ac_cv_crosscflags__mcx16+:} false; then :
10418 $as_echo_n "(cached) " >&6
10419 else
10420 ac_wine_try_cflags_saved=$CFLAGS
10421 ac_wine_try_cflags_saved_cc=$CC
10422 ac_wine_try_cflags_saved_exeext=$ac_exeext
10423 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10424 CC="$CROSSCC"
10425 ac_exeext=".exe"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10428 int __cdecl mainCRTStartup(void) { return 0; }
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10431 ac_cv_crosscflags__mcx16=yes
10432 else
10433 ac_cv_crosscflags__mcx16=no
10435 rm -f core conftest.err conftest.$ac_objext \
10436 conftest$ac_exeext conftest.$ac_ext
10437 CFLAGS=$ac_wine_try_cflags_saved
10438 CC=$ac_wine_try_cflags_saved_cc
10439 ac_exeext=$ac_wine_try_cflags_saved_exeext
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10442 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10443 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10444 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10445 fi ;;
10446 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10447 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10448 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10449 $as_echo_n "(cached) " >&6
10450 else
10451 ac_wine_try_cflags_saved=$CFLAGS
10452 ac_wine_try_cflags_saved_cc=$CC
10453 ac_wine_try_cflags_saved_exeext=$ac_exeext
10454 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10455 CC="$CROSSCC"
10456 ac_exeext=".exe"
10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10459 int __cdecl mainCRTStartup(void) { return 0; }
10460 _ACEOF
10461 if ac_fn_c_try_link "$LINENO"; then :
10462 ac_cv_crosscflags__Wno_format=yes
10463 else
10464 ac_cv_crosscflags__Wno_format=no
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 CFLAGS=$ac_wine_try_cflags_saved
10469 CC=$ac_wine_try_cflags_saved_cc
10470 ac_exeext=$ac_wine_try_cflags_saved_exeext
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10473 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10474 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10475 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10476 fi ;;
10477 esac
10480 if test -z "$CROSSDEBUG"
10481 then
10482 for ac_flag in $CROSSCFLAGS; do
10483 case $ac_flag in
10484 -gdwarf*) CROSSDEBUG=dwarf ;;
10485 -gcodeview) CROSSDEBUG=pdb ;;
10486 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10487 esac
10488 done
10490 case $CROSSDEBUG in
10491 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10492 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10493 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10494 $as_echo_n "(cached) " >&6
10495 else
10496 ac_wine_try_cflags_saved=$CFLAGS
10497 ac_wine_try_cflags_saved_cc=$CC
10498 ac_wine_try_cflags_saved_exeext=$ac_exeext
10499 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10500 CC="$CROSSCC"
10501 ac_exeext=".exe"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10504 int __cdecl mainCRTStartup(void) { return 0; }
10505 _ACEOF
10506 if ac_fn_c_try_link "$LINENO"; then :
10507 ac_cv_crosscflags__gdwarf_2=yes
10508 else
10509 ac_cv_crosscflags__gdwarf_2=no
10511 rm -f core conftest.err conftest.$ac_objext \
10512 conftest$ac_exeext conftest.$ac_ext
10513 CFLAGS=$ac_wine_try_cflags_saved
10514 CC=$ac_wine_try_cflags_saved_cc
10515 ac_exeext=$ac_wine_try_cflags_saved_exeext
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10518 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10519 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10520 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10523 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10524 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10525 $as_echo_n "(cached) " >&6
10526 else
10527 ac_wine_try_cflags_saved=$CFLAGS
10528 ac_wine_try_cflags_saved_cc=$CC
10529 ac_wine_try_cflags_saved_exeext=$ac_exeext
10530 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10531 CC="$CROSSCC"
10532 ac_exeext=".exe"
10533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10535 int __cdecl mainCRTStartup(void) { return 0; }
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 ac_cv_crosscflags__gstrict_dwarf=yes
10539 else
10540 ac_cv_crosscflags__gstrict_dwarf=no
10542 rm -f core conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 CFLAGS=$ac_wine_try_cflags_saved
10545 CC=$ac_wine_try_cflags_saved_cc
10546 ac_exeext=$ac_wine_try_cflags_saved_exeext
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10549 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10550 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10551 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10552 fi ;;
10553 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10554 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10555 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10556 $as_echo_n "(cached) " >&6
10557 else
10558 ac_wine_try_cflags_saved=$CFLAGS
10559 ac_wine_try_cflags_saved_cc=$CC
10560 ac_wine_try_cflags_saved_exeext=$ac_exeext
10561 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10562 CC="$CROSSCC"
10563 ac_exeext=".exe"
10564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10565 /* end confdefs.h. */
10566 int __cdecl mainCRTStartup(void) { return 0; }
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 ac_cv_crosscflags__gcodeview=yes
10570 else
10571 ac_cv_crosscflags__gcodeview=no
10573 rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 CFLAGS=$ac_wine_try_cflags_saved
10576 CC=$ac_wine_try_cflags_saved_cc
10577 ac_exeext=$ac_wine_try_cflags_saved_exeext
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10580 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10581 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10582 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10583 fi ;;
10584 esac
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10587 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10588 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10589 $as_echo_n "(cached) " >&6
10590 else
10591 ac_wine_try_cflags_saved=$CFLAGS
10592 ac_wine_try_cflags_saved_cc=$CC
10593 ac_wine_try_cflags_saved_exeext=$ac_exeext
10594 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10595 CC="$CROSSCC"
10596 ac_exeext=".exe"
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10599 int __cdecl mainCRTStartup(void) { return 0; }
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"; then :
10602 ac_cv_crosscflags__fexcess_precision_standard=yes
10603 else
10604 ac_cv_crosscflags__fexcess_precision_standard=no
10606 rm -f core conftest.err conftest.$ac_objext \
10607 conftest$ac_exeext conftest.$ac_ext
10608 CFLAGS=$ac_wine_try_cflags_saved
10609 CC=$ac_wine_try_cflags_saved_cc
10610 ac_exeext=$ac_wine_try_cflags_saved_exeext
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10613 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10614 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10615 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10619 if test "x$enable_werror" = "xyes"
10620 then
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10622 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10623 if ${ac_cv_crosscflags__Werror+:} false; then :
10624 $as_echo_n "(cached) " >&6
10625 else
10626 ac_wine_try_cflags_saved=$CFLAGS
10627 ac_wine_try_cflags_saved_cc=$CC
10628 ac_wine_try_cflags_saved_exeext=$ac_exeext
10629 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10630 CC="$CROSSCC"
10631 ac_exeext=".exe"
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10634 int __cdecl mainCRTStartup(void) { return 0; }
10635 _ACEOF
10636 if ac_fn_c_try_link "$LINENO"; then :
10637 ac_cv_crosscflags__Werror=yes
10638 else
10639 ac_cv_crosscflags__Werror=no
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 CFLAGS=$ac_wine_try_cflags_saved
10644 CC=$ac_wine_try_cflags_saved_cc
10645 ac_exeext=$ac_wine_try_cflags_saved_exeext
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10648 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10649 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10650 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10654 CFLAGS=$saved_CFLAGS
10655 CC="$ac_save_CC"
10658 if test "x$CROSSTARGET" = "x"; then :
10659 case "x$with_mingw" in
10660 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10661 xno) ;;
10662 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10663 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10664 esac
10669 if test "$ac_cv_header_pthread_h" = "yes"
10670 then
10671 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10672 if test "x$ac_cv_func_pthread_create" = xyes; then :
10674 else
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10676 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10677 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10678 $as_echo_n "(cached) " >&6
10679 else
10680 ac_check_lib_save_LIBS=$LIBS
10681 LIBS="-lpthread $LIBS"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10688 #ifdef __cplusplus
10689 extern "C"
10690 #endif
10691 char pthread_create ();
10693 main ()
10695 return pthread_create ();
10697 return 0;
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"; then :
10701 ac_cv_lib_pthread_pthread_create=yes
10702 else
10703 ac_cv_lib_pthread_pthread_create=no
10705 rm -f core conftest.err conftest.$ac_objext \
10706 conftest$ac_exeext conftest.$ac_ext
10707 LIBS=$ac_check_lib_save_LIBS
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10710 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10711 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10712 PTHREAD_LIBS="-lpthread"
10719 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10720 case "x$with_pthread" in
10721 xno) ;;
10722 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10723 Wine cannot support threads without libpthread.
10724 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10725 esac
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10731 $as_echo_n "checking for X... " >&6; }
10734 # Check whether --with-x was given.
10735 if test "${with_x+set}" = set; then :
10736 withval=$with_x;
10739 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10740 if test "x$with_x" = xno; then
10741 # The user explicitly disabled X.
10742 have_x=disabled
10743 else
10744 case $x_includes,$x_libraries in #(
10745 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10746 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 # One or both of the vars are not set, and there is no cached value.
10750 ac_x_includes=no ac_x_libraries=no
10751 rm -f -r conftest.dir
10752 if mkdir conftest.dir; then
10753 cd conftest.dir
10754 cat >Imakefile <<'_ACEOF'
10755 incroot:
10756 @echo incroot='${INCROOT}'
10757 usrlibdir:
10758 @echo usrlibdir='${USRLIBDIR}'
10759 libdir:
10760 @echo libdir='${LIBDIR}'
10761 _ACEOF
10762 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10763 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10764 for ac_var in incroot usrlibdir libdir; do
10765 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10766 done
10767 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10768 for ac_extension in a so sl dylib la dll; do
10769 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10770 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10771 ac_im_usrlibdir=$ac_im_libdir; break
10773 done
10774 # Screen out bogus values from the imake configuration. They are
10775 # bogus both because they are the default anyway, and because
10776 # using them would break gcc on systems where it needs fixed includes.
10777 case $ac_im_incroot in
10778 /usr/include) ac_x_includes= ;;
10779 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10780 esac
10781 case $ac_im_usrlibdir in
10782 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10783 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10784 esac
10786 cd ..
10787 rm -f -r conftest.dir
10790 # Standard set of common directories for X headers.
10791 # Check X11 before X11Rn because it is often a symlink to the current release.
10792 ac_x_header_dirs='
10793 /usr/X11/include
10794 /usr/X11R7/include
10795 /usr/X11R6/include
10796 /usr/X11R5/include
10797 /usr/X11R4/include
10799 /usr/include/X11
10800 /usr/include/X11R7
10801 /usr/include/X11R6
10802 /usr/include/X11R5
10803 /usr/include/X11R4
10805 /usr/local/X11/include
10806 /usr/local/X11R7/include
10807 /usr/local/X11R6/include
10808 /usr/local/X11R5/include
10809 /usr/local/X11R4/include
10811 /usr/local/include/X11
10812 /usr/local/include/X11R7
10813 /usr/local/include/X11R6
10814 /usr/local/include/X11R5
10815 /usr/local/include/X11R4
10817 /usr/X386/include
10818 /usr/x386/include
10819 /usr/XFree86/include/X11
10821 /usr/include
10822 /usr/local/include
10823 /usr/unsupported/include
10824 /usr/athena/include
10825 /usr/local/x11r5/include
10826 /usr/lpp/Xamples/include
10828 /usr/openwin/include
10829 /usr/openwin/share/include'
10831 if test "$ac_x_includes" = no; then
10832 # Guess where to find include files, by looking for Xlib.h.
10833 # First, try using that file with no special directory specified.
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836 #include <X11/Xlib.h>
10837 _ACEOF
10838 if ac_fn_c_try_cpp "$LINENO"; then :
10839 # We can compile using X headers with no special include directory.
10840 ac_x_includes=
10841 else
10842 for ac_dir in $ac_x_header_dirs; do
10843 if test -r "$ac_dir/X11/Xlib.h"; then
10844 ac_x_includes=$ac_dir
10845 break
10847 done
10849 rm -f conftest.err conftest.i conftest.$ac_ext
10850 fi # $ac_x_includes = no
10852 if test "$ac_x_libraries" = no; then
10853 # Check for the libraries.
10854 # See if we find them without any special options.
10855 # Don't add to $LIBS permanently.
10856 ac_save_LIBS=$LIBS
10857 LIBS="-lX11 $LIBS"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10860 #include <X11/Xlib.h>
10862 main ()
10864 XrmInitialize ()
10866 return 0;
10868 _ACEOF
10869 if ac_fn_c_try_link "$LINENO"; then :
10870 LIBS=$ac_save_LIBS
10871 # We can link X programs with no special library path.
10872 ac_x_libraries=
10873 else
10874 LIBS=$ac_save_LIBS
10875 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10877 # Don't even attempt the hair of trying to link an X program!
10878 for ac_extension in a so sl dylib la dll; do
10879 if test -r "$ac_dir/libX11.$ac_extension"; then
10880 ac_x_libraries=$ac_dir
10881 break 2
10883 done
10884 done
10886 rm -f core conftest.err conftest.$ac_objext \
10887 conftest$ac_exeext conftest.$ac_ext
10888 fi # $ac_x_libraries = no
10890 case $ac_x_includes,$ac_x_libraries in #(
10891 no,* | *,no | *\'*)
10892 # Didn't find X, or a directory has "'" in its name.
10893 ac_cv_have_x="have_x=no";; #(
10895 # Record where we found X for the cache.
10896 ac_cv_have_x="have_x=yes\
10897 ac_x_includes='$ac_x_includes'\
10898 ac_x_libraries='$ac_x_libraries'"
10899 esac
10901 ;; #(
10902 *) have_x=yes;;
10903 esac
10904 eval "$ac_cv_have_x"
10905 fi # $with_x != no
10907 if test "$have_x" != yes; then
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10909 $as_echo "$have_x" >&6; }
10910 no_x=yes
10911 else
10912 # If each of the values was on the command line, it overrides each guess.
10913 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10914 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10915 # Update the cache value to reflect the command line values.
10916 ac_cv_have_x="have_x=yes\
10917 ac_x_includes='$x_includes'\
10918 ac_x_libraries='$x_libraries'"
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10920 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10923 if test "$no_x" = yes; then
10924 # Not all programs may use this symbol, but it does not hurt to define it.
10926 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10928 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10929 else
10930 if test -n "$x_includes"; then
10931 X_CFLAGS="$X_CFLAGS -I$x_includes"
10934 # It would also be nice to do this for all -L options, not just this one.
10935 if test -n "$x_libraries"; then
10936 X_LIBS="$X_LIBS -L$x_libraries"
10937 # For Solaris; some versions of Sun CC require a space after -R and
10938 # others require no space. Words are not sufficient . . . .
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10940 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10941 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10942 ac_xsave_c_werror_flag=$ac_c_werror_flag
10943 ac_c_werror_flag=yes
10944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10945 /* end confdefs.h. */
10948 main ()
10952 return 0;
10954 _ACEOF
10955 if ac_fn_c_try_link "$LINENO"; then :
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10957 $as_echo "no" >&6; }
10958 X_LIBS="$X_LIBS -R$x_libraries"
10959 else
10960 LIBS="$ac_xsave_LIBS -R $x_libraries"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10965 main ()
10969 return 0;
10971 _ACEOF
10972 if ac_fn_c_try_link "$LINENO"; then :
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10974 $as_echo "yes" >&6; }
10975 X_LIBS="$X_LIBS -R $x_libraries"
10976 else
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10978 $as_echo "neither works" >&6; }
10980 rm -f core conftest.err conftest.$ac_objext \
10981 conftest$ac_exeext conftest.$ac_ext
10983 rm -f core conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 ac_c_werror_flag=$ac_xsave_c_werror_flag
10986 LIBS=$ac_xsave_LIBS
10989 # Check for system-dependent libraries X programs must link with.
10990 # Do this before checking for the system-independent R6 libraries
10991 # (-lICE), since we may need -lsocket or whatever for X linking.
10993 if test "$ISC" = yes; then
10994 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10995 else
10996 # Martyn Johnson says this is needed for Ultrix, if the X
10997 # libraries were built with DECnet support. And Karl Berry says
10998 # the Alpha needs dnet_stub (dnet does not exist).
10999 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11006 #ifdef __cplusplus
11007 extern "C"
11008 #endif
11009 char XOpenDisplay ();
11011 main ()
11013 return XOpenDisplay ();
11015 return 0;
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"; then :
11020 else
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11022 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11023 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11024 $as_echo_n "(cached) " >&6
11025 else
11026 ac_check_lib_save_LIBS=$LIBS
11027 LIBS="-ldnet $LIBS"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11031 /* Override any GCC internal prototype to avoid an error.
11032 Use char because int might match the return type of a GCC
11033 builtin and then its argument prototype would still apply. */
11034 #ifdef __cplusplus
11035 extern "C"
11036 #endif
11037 char dnet_ntoa ();
11039 main ()
11041 return dnet_ntoa ();
11043 return 0;
11045 _ACEOF
11046 if ac_fn_c_try_link "$LINENO"; then :
11047 ac_cv_lib_dnet_dnet_ntoa=yes
11048 else
11049 ac_cv_lib_dnet_dnet_ntoa=no
11051 rm -f core conftest.err conftest.$ac_objext \
11052 conftest$ac_exeext conftest.$ac_ext
11053 LIBS=$ac_check_lib_save_LIBS
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11056 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11057 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11058 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11061 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11063 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11064 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11065 $as_echo_n "(cached) " >&6
11066 else
11067 ac_check_lib_save_LIBS=$LIBS
11068 LIBS="-ldnet_stub $LIBS"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 char dnet_ntoa ();
11080 main ()
11082 return dnet_ntoa ();
11084 return 0;
11086 _ACEOF
11087 if ac_fn_c_try_link "$LINENO"; then :
11088 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11089 else
11090 ac_cv_lib_dnet_stub_dnet_ntoa=no
11092 rm -f core conftest.err conftest.$ac_objext \
11093 conftest$ac_exeext conftest.$ac_ext
11094 LIBS=$ac_check_lib_save_LIBS
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11097 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11098 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11099 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 LIBS="$ac_xsave_LIBS"
11108 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11109 # to get the SysV transport functions.
11110 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11111 # needs -lnsl.
11112 # The nsl library prevents programs from opening the X display
11113 # on Irix 5.2, according to T.E. Dickey.
11114 # The functions gethostbyname, getservbyname, and inet_addr are
11115 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11116 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11117 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11121 if test $ac_cv_func_gethostbyname = no; then
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11123 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11124 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11125 $as_echo_n "(cached) " >&6
11126 else
11127 ac_check_lib_save_LIBS=$LIBS
11128 LIBS="-lnsl $LIBS"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11135 #ifdef __cplusplus
11136 extern "C"
11137 #endif
11138 char gethostbyname ();
11140 main ()
11142 return gethostbyname ();
11144 return 0;
11146 _ACEOF
11147 if ac_fn_c_try_link "$LINENO"; then :
11148 ac_cv_lib_nsl_gethostbyname=yes
11149 else
11150 ac_cv_lib_nsl_gethostbyname=no
11152 rm -f core conftest.err conftest.$ac_objext \
11153 conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_lib_save_LIBS
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11157 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11158 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11159 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11162 if test $ac_cv_lib_nsl_gethostbyname = no; then
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11164 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11165 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11166 $as_echo_n "(cached) " >&6
11167 else
11168 ac_check_lib_save_LIBS=$LIBS
11169 LIBS="-lbsd $LIBS"
11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11176 #ifdef __cplusplus
11177 extern "C"
11178 #endif
11179 char gethostbyname ();
11181 main ()
11183 return gethostbyname ();
11185 return 0;
11187 _ACEOF
11188 if ac_fn_c_try_link "$LINENO"; then :
11189 ac_cv_lib_bsd_gethostbyname=yes
11190 else
11191 ac_cv_lib_bsd_gethostbyname=no
11193 rm -f core conftest.err conftest.$ac_objext \
11194 conftest$ac_exeext conftest.$ac_ext
11195 LIBS=$ac_check_lib_save_LIBS
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11198 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11199 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11206 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11207 # socket/setsockopt and other routines are undefined under SCO ODT
11208 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11209 # on later versions), says Simon Leinen: it contains gethostby*
11210 # variants that don't use the name server (or something). -lsocket
11211 # must be given before -lnsl if both are needed. We assume that
11212 # if connect needs -lnsl, so does gethostbyname.
11213 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11214 if test "x$ac_cv_func_connect" = xyes; then :
11218 if test $ac_cv_func_connect = no; then
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11220 $as_echo_n "checking for connect in -lsocket... " >&6; }
11221 if ${ac_cv_lib_socket_connect+:} false; then :
11222 $as_echo_n "(cached) " >&6
11223 else
11224 ac_check_lib_save_LIBS=$LIBS
11225 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char connect ();
11237 main ()
11239 return connect ();
11241 return 0;
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_socket_connect=yes
11246 else
11247 ac_cv_lib_socket_connect=no
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11254 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11255 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11256 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11261 # Guillermo Gomez says -lposix is necessary on A/UX.
11262 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11263 if test "x$ac_cv_func_remove" = xyes; then :
11267 if test $ac_cv_func_remove = no; then
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11269 $as_echo_n "checking for remove in -lposix... " >&6; }
11270 if ${ac_cv_lib_posix_remove+:} false; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_lib_save_LIBS=$LIBS
11274 LIBS="-lposix $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char remove ();
11286 main ()
11288 return remove ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_posix_remove=yes
11295 else
11296 ac_cv_lib_posix_remove=no
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11303 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11304 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11310 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11311 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11312 if test "x$ac_cv_func_shmat" = xyes; then :
11316 if test $ac_cv_func_shmat = no; then
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11318 $as_echo_n "checking for shmat in -lipc... " >&6; }
11319 if ${ac_cv_lib_ipc_shmat+:} false; then :
11320 $as_echo_n "(cached) " >&6
11321 else
11322 ac_check_lib_save_LIBS=$LIBS
11323 LIBS="-lipc $LIBS"
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11327 /* Override any GCC internal prototype to avoid an error.
11328 Use char because int might match the return type of a GCC
11329 builtin and then its argument prototype would still apply. */
11330 #ifdef __cplusplus
11331 extern "C"
11332 #endif
11333 char shmat ();
11335 main ()
11337 return shmat ();
11339 return 0;
11341 _ACEOF
11342 if ac_fn_c_try_link "$LINENO"; then :
11343 ac_cv_lib_ipc_shmat=yes
11344 else
11345 ac_cv_lib_ipc_shmat=no
11347 rm -f core conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_lib_save_LIBS
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11352 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11353 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11354 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11360 # Check for libraries that X11R6 Xt/Xaw programs need.
11361 ac_save_LDFLAGS=$LDFLAGS
11362 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11363 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11364 # check for ICE first), but we must link in the order -lSM -lICE or
11365 # we get undefined symbols. So assume we have SM if we have ICE.
11366 # These have to be linked with before -lX11, unlike the other
11367 # libraries we check for below, so use a different variable.
11368 # John Interrante, Karl Berry
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11370 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11371 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11379 /* Override any GCC internal prototype to avoid an error.
11380 Use char because int might match the return type of a GCC
11381 builtin and then its argument prototype would still apply. */
11382 #ifdef __cplusplus
11383 extern "C"
11384 #endif
11385 char IceConnectionNumber ();
11387 main ()
11389 return IceConnectionNumber ();
11391 return 0;
11393 _ACEOF
11394 if ac_fn_c_try_link "$LINENO"; then :
11395 ac_cv_lib_ICE_IceConnectionNumber=yes
11396 else
11397 ac_cv_lib_ICE_IceConnectionNumber=no
11399 rm -f core conftest.err conftest.$ac_objext \
11400 conftest$ac_exeext conftest.$ac_ext
11401 LIBS=$ac_check_lib_save_LIBS
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11404 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11405 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11406 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11409 LDFLAGS=$ac_save_LDFLAGS
11414 if test "$have_x" = "yes"
11415 then
11416 ac_save_CPPFLAGS="$CPPFLAGS"
11417 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11420 $as_echo_n "checking for -lX11... " >&6; }
11421 if ${ac_cv_lib_soname_X11+:} false; then :
11422 $as_echo_n "(cached) " >&6
11423 else
11424 ac_check_soname_save_LIBS=$LIBS
11425 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11432 #ifdef __cplusplus
11433 extern "C"
11434 #endif
11435 char XCreateWindow ();
11437 main ()
11439 return XCreateWindow ();
11441 return 0;
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"; then :
11445 case "$LIBEXT" in
11446 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11447 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'` ;;
11448 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11449 if ${ac_cv_lib_soname_X11:+false} :; then :
11450 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11451 fi ;;
11452 esac
11453 else
11454 ac_cv_lib_soname_X11=
11456 rm -f core conftest.err conftest.$ac_objext \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_soname_save_LIBS
11460 if ${ac_cv_lib_soname_X11:+false} :; then :
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11462 $as_echo "not found" >&6; }
11464 else
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11466 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11468 cat >>confdefs.h <<_ACEOF
11469 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11470 _ACEOF
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11475 $as_echo_n "checking for -lXext... " >&6; }
11476 if ${ac_cv_lib_soname_Xext+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_soname_save_LIBS=$LIBS
11480 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char XextCreateExtension ();
11492 main ()
11494 return XextCreateExtension ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 case "$LIBEXT" in
11501 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11504 if ${ac_cv_lib_soname_Xext:+false} :; then :
11505 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11506 fi ;;
11507 esac
11508 else
11509 ac_cv_lib_soname_Xext=
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_Xext:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11519 else
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11521 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11523 cat >>confdefs.h <<_ACEOF
11524 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11525 _ACEOF
11527 X_LIBS="$X_LIBS -lXext"
11529 X_LIBS="$X_LIBS -lX11"
11531 for ac_header in X11/Xlib.h \
11532 X11/XKBlib.h \
11533 X11/Xutil.h \
11534 X11/Xcursor/Xcursor.h \
11535 X11/extensions/shape.h \
11536 X11/extensions/XInput.h \
11537 X11/extensions/XInput2.h \
11538 X11/extensions/XShm.h \
11539 X11/extensions/Xcomposite.h \
11540 X11/extensions/Xfixes.h \
11541 X11/extensions/Xinerama.h \
11542 X11/extensions/Xrandr.h \
11543 X11/extensions/Xrender.h \
11544 X11/extensions/xf86vmode.h \
11545 X11/extensions/xf86vmproto.h
11546 do :
11547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11548 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11549 # include <X11/Xlib.h>
11550 #endif
11551 #ifdef HAVE_X11_XUTIL_H
11552 # include <X11/Xutil.h>
11553 #endif
11555 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11556 cat >>confdefs.h <<_ACEOF
11557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11558 _ACEOF
11562 done
11565 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11566 then
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11568 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11569 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11570 $as_echo_n "(cached) " >&6
11571 else
11572 ac_check_lib_save_LIBS=$LIBS
11573 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11577 /* Override any GCC internal prototype to avoid an error.
11578 Use char because int might match the return type of a GCC
11579 builtin and then its argument prototype would still apply. */
11580 #ifdef __cplusplus
11581 extern "C"
11582 #endif
11583 char XkbQueryExtension ();
11585 main ()
11587 return XkbQueryExtension ();
11589 return 0;
11591 _ACEOF
11592 if ac_fn_c_try_link "$LINENO"; then :
11593 ac_cv_lib_X11_XkbQueryExtension=yes
11594 else
11595 ac_cv_lib_X11_XkbQueryExtension=no
11597 rm -f core conftest.err conftest.$ac_objext \
11598 conftest$ac_exeext conftest.$ac_ext
11599 LIBS=$ac_check_lib_save_LIBS
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11602 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11603 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11605 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11611 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11612 then
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11614 $as_echo_n "checking for -lXcursor... " >&6; }
11615 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11616 $as_echo_n "(cached) " >&6
11617 else
11618 ac_check_soname_save_LIBS=$LIBS
11619 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char XcursorImageLoadCursor ();
11631 main ()
11633 return XcursorImageLoadCursor ();
11635 return 0;
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 case "$LIBEXT" in
11640 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11641 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'` ;;
11642 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11643 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11644 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11645 fi ;;
11646 esac
11647 else
11648 ac_cv_lib_soname_Xcursor=
11650 rm -f core conftest.err conftest.$ac_objext \
11651 conftest$ac_exeext conftest.$ac_ext
11652 LIBS=$ac_check_soname_save_LIBS
11654 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11656 $as_echo "not found" >&6; }
11658 else
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11660 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11662 cat >>confdefs.h <<_ACEOF
11663 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11664 _ACEOF
11669 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11670 case "x$with_xcursor" in
11671 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11672 xno) ;;
11673 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11674 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11675 esac
11679 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11680 then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11682 $as_echo_n "checking for -lXi... " >&6; }
11683 if ${ac_cv_lib_soname_Xi+:} false; then :
11684 $as_echo_n "(cached) " >&6
11685 else
11686 ac_check_soname_save_LIBS=$LIBS
11687 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11694 #ifdef __cplusplus
11695 extern "C"
11696 #endif
11697 char XOpenDevice ();
11699 main ()
11701 return XOpenDevice ();
11703 return 0;
11705 _ACEOF
11706 if ac_fn_c_try_link "$LINENO"; then :
11707 case "$LIBEXT" in
11708 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11709 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'` ;;
11710 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11711 if ${ac_cv_lib_soname_Xi:+false} :; then :
11712 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11713 fi ;;
11714 esac
11715 else
11716 ac_cv_lib_soname_Xi=
11718 rm -f core conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_soname_save_LIBS
11722 if ${ac_cv_lib_soname_Xi:+false} :; then :
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11724 $as_echo "not found" >&6; }
11726 else
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11728 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11730 cat >>confdefs.h <<_ACEOF
11731 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11732 _ACEOF
11737 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11738 case "x$with_xinput" in
11739 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11740 xno) ;;
11741 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11742 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11743 esac
11747 if test "x$ac_cv_lib_soname_Xi" != x
11748 then
11749 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11750 case "x$with_xinput2" in
11751 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11752 xno) ;;
11753 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11754 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11755 esac
11760 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11761 then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11763 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11764 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11765 $as_echo_n "(cached) " >&6
11766 else
11767 ac_check_lib_save_LIBS=$LIBS
11768 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11775 #ifdef __cplusplus
11776 extern "C"
11777 #endif
11778 char XShmQueryExtension ();
11780 main ()
11782 return XShmQueryExtension ();
11784 return 0;
11786 _ACEOF
11787 if ac_fn_c_try_link "$LINENO"; then :
11788 ac_cv_lib_Xext_XShmQueryExtension=yes
11789 else
11790 ac_cv_lib_Xext_XShmQueryExtension=no
11792 rm -f core conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_lib_save_LIBS
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11797 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11798 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11800 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11805 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11806 case "x$with_xshm" in
11807 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11808 xno) ;;
11809 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11810 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11811 esac
11815 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11816 then
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11818 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11819 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11820 $as_echo_n "(cached) " >&6
11821 else
11822 ac_check_lib_save_LIBS=$LIBS
11823 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11825 /* end confdefs.h. */
11827 /* Override any GCC internal prototype to avoid an error.
11828 Use char because int might match the return type of a GCC
11829 builtin and then its argument prototype would still apply. */
11830 #ifdef __cplusplus
11831 extern "C"
11832 #endif
11833 char XShapeQueryExtension ();
11835 main ()
11837 return XShapeQueryExtension ();
11839 return 0;
11841 _ACEOF
11842 if ac_fn_c_try_link "$LINENO"; then :
11843 ac_cv_lib_Xext_XShapeQueryExtension=yes
11844 else
11845 ac_cv_lib_Xext_XShapeQueryExtension=no
11847 rm -f core conftest.err conftest.$ac_objext \
11848 conftest$ac_exeext conftest.$ac_ext
11849 LIBS=$ac_check_lib_save_LIBS
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11852 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11853 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11855 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11860 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11861 case "x$with_xshape" in
11862 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11863 xno) ;;
11864 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11865 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11866 esac
11870 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11871 then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11873 $as_echo_n "checking for -lXxf86vm... " >&6; }
11874 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 ac_check_soname_save_LIBS=$LIBS
11878 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11885 #ifdef __cplusplus
11886 extern "C"
11887 #endif
11888 char XF86VidModeQueryExtension ();
11890 main ()
11892 return XF86VidModeQueryExtension ();
11894 return 0;
11896 _ACEOF
11897 if ac_fn_c_try_link "$LINENO"; then :
11898 case "$LIBEXT" in
11899 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11900 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'` ;;
11901 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11902 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11903 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11904 fi ;;
11905 esac
11906 else
11907 ac_cv_lib_soname_Xxf86vm=
11909 rm -f core conftest.err conftest.$ac_objext \
11910 conftest$ac_exeext conftest.$ac_ext
11911 LIBS=$ac_check_soname_save_LIBS
11913 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11915 $as_echo "not found" >&6; }
11917 else
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11919 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11921 cat >>confdefs.h <<_ACEOF
11922 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11923 _ACEOF
11928 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11929 case "x$with_xxf86vm" in
11930 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11931 xno) ;;
11932 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11933 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11934 esac
11938 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11939 then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11941 $as_echo_n "checking for -lXrender... " >&6; }
11942 if ${ac_cv_lib_soname_Xrender+:} false; then :
11943 $as_echo_n "(cached) " >&6
11944 else
11945 ac_check_soname_save_LIBS=$LIBS
11946 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11953 #ifdef __cplusplus
11954 extern "C"
11955 #endif
11956 char XRenderQueryExtension ();
11958 main ()
11960 return XRenderQueryExtension ();
11962 return 0;
11964 _ACEOF
11965 if ac_fn_c_try_link "$LINENO"; then :
11966 case "$LIBEXT" in
11967 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11968 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'` ;;
11969 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11970 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11971 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11972 fi ;;
11973 esac
11974 else
11975 ac_cv_lib_soname_Xrender=
11977 rm -f core conftest.err conftest.$ac_objext \
11978 conftest$ac_exeext conftest.$ac_ext
11979 LIBS=$ac_check_soname_save_LIBS
11981 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11983 $as_echo "not found" >&6; }
11985 else
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11987 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11989 cat >>confdefs.h <<_ACEOF
11990 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11991 _ACEOF
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11994 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11995 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11996 $as_echo_n "(cached) " >&6
11997 else
11998 ac_check_lib_save_LIBS=$LIBS
11999 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12006 #ifdef __cplusplus
12007 extern "C"
12008 #endif
12009 char XRenderSetPictureTransform ();
12011 main ()
12013 return XRenderSetPictureTransform ();
12015 return 0;
12017 _ACEOF
12018 if ac_fn_c_try_link "$LINENO"; then :
12019 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12020 else
12021 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12023 rm -f core conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_lib_save_LIBS
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12028 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12029 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12031 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12036 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12037 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12038 $as_echo_n "(cached) " >&6
12039 else
12040 ac_check_lib_save_LIBS=$LIBS
12041 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12045 /* Override any GCC internal prototype to avoid an error.
12046 Use char because int might match the return type of a GCC
12047 builtin and then its argument prototype would still apply. */
12048 #ifdef __cplusplus
12049 extern "C"
12050 #endif
12051 char XRenderCreateLinearGradient ();
12053 main ()
12055 return XRenderCreateLinearGradient ();
12057 return 0;
12059 _ACEOF
12060 if ac_fn_c_try_link "$LINENO"; then :
12061 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12062 else
12063 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12065 rm -f core conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12067 LIBS=$ac_check_lib_save_LIBS
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12070 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12071 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12073 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12080 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12081 case "x$with_xrender" in
12082 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12083 xno) ;;
12084 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12085 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12086 esac
12090 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12091 then
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12094 #include <X11/Xlib.h>
12095 #include <X11/extensions/Xrandr.h>
12097 main ()
12099 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12101 return 0;
12103 _ACEOF
12104 if ac_fn_c_try_compile "$LINENO"; then :
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12106 $as_echo_n "checking for -lXrandr... " >&6; }
12107 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 ac_check_soname_save_LIBS=$LIBS
12111 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12113 /* end confdefs.h. */
12115 /* Override any GCC internal prototype to avoid an error.
12116 Use char because int might match the return type of a GCC
12117 builtin and then its argument prototype would still apply. */
12118 #ifdef __cplusplus
12119 extern "C"
12120 #endif
12121 char XRRQueryExtension ();
12123 main ()
12125 return XRRQueryExtension ();
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_link "$LINENO"; then :
12131 case "$LIBEXT" in
12132 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12133 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'` ;;
12134 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12135 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12136 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12137 fi ;;
12138 esac
12139 else
12140 ac_cv_lib_soname_Xrandr=
12142 rm -f core conftest.err conftest.$ac_objext \
12143 conftest$ac_exeext conftest.$ac_ext
12144 LIBS=$ac_check_soname_save_LIBS
12146 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12148 $as_echo "not found" >&6; }
12150 else
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12152 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12154 cat >>confdefs.h <<_ACEOF
12155 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12156 _ACEOF
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12160 #include <X11/Xlib.h>
12161 #include <X11/extensions/Xrandr.h>
12163 main ()
12165 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_compile "$LINENO"; then :
12172 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12174 else
12175 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12182 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12183 case "x$with_xrandr" in
12184 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12185 xno) ;;
12186 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12187 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12188 esac
12192 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12193 then
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12196 #include <X11/Xlib.h>
12197 #include <X11/extensions/Xfixes.h>
12199 main ()
12201 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_compile "$LINENO"; then :
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12208 $as_echo_n "checking for -lXfixes... " >&6; }
12209 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12210 $as_echo_n "(cached) " >&6
12211 else
12212 ac_check_soname_save_LIBS=$LIBS
12213 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12217 /* Override any GCC internal prototype to avoid an error.
12218 Use char because int might match the return type of a GCC
12219 builtin and then its argument prototype would still apply. */
12220 #ifdef __cplusplus
12221 extern "C"
12222 #endif
12223 char XFixesQueryVersion ();
12225 main ()
12227 return XFixesQueryVersion ();
12229 return 0;
12231 _ACEOF
12232 if ac_fn_c_try_link "$LINENO"; then :
12233 case "$LIBEXT" in
12234 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12235 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'` ;;
12236 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12237 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12238 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12239 fi ;;
12240 esac
12241 else
12242 ac_cv_lib_soname_Xfixes=
12244 rm -f core conftest.err conftest.$ac_objext \
12245 conftest$ac_exeext conftest.$ac_ext
12246 LIBS=$ac_check_soname_save_LIBS
12248 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12250 $as_echo "not found" >&6; }
12252 else
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12254 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12256 cat >>confdefs.h <<_ACEOF
12257 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12258 _ACEOF
12263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12265 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12266 case "x$with_xfixes" in
12267 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12268 xno) ;;
12269 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12270 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12271 esac
12275 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12276 then
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12279 #include <X11/Xlib.h>
12280 #include <X11/extensions/Xinerama.h>
12282 main ()
12284 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_compile "$LINENO"; then :
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12291 $as_echo_n "checking for -lXinerama... " >&6; }
12292 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12293 $as_echo_n "(cached) " >&6
12294 else
12295 ac_check_soname_save_LIBS=$LIBS
12296 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12303 #ifdef __cplusplus
12304 extern "C"
12305 #endif
12306 char XineramaQueryScreens ();
12308 main ()
12310 return XineramaQueryScreens ();
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_link "$LINENO"; then :
12316 case "$LIBEXT" in
12317 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12318 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'` ;;
12319 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12320 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12321 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12322 fi ;;
12323 esac
12324 else
12325 ac_cv_lib_soname_Xinerama=
12327 rm -f core conftest.err conftest.$ac_objext \
12328 conftest$ac_exeext conftest.$ac_ext
12329 LIBS=$ac_check_soname_save_LIBS
12331 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12333 $as_echo "not found" >&6; }
12335 else
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12337 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12339 cat >>confdefs.h <<_ACEOF
12340 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12341 _ACEOF
12346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12348 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12349 case "x$with_xinerama" in
12350 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12351 xno) ;;
12352 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12353 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12354 esac
12358 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12359 then
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12361 $as_echo_n "checking for -lXcomposite... " >&6; }
12362 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12363 $as_echo_n "(cached) " >&6
12364 else
12365 ac_check_soname_save_LIBS=$LIBS
12366 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12370 /* Override any GCC internal prototype to avoid an error.
12371 Use char because int might match the return type of a GCC
12372 builtin and then its argument prototype would still apply. */
12373 #ifdef __cplusplus
12374 extern "C"
12375 #endif
12376 char XCompositeRedirectWindow ();
12378 main ()
12380 return XCompositeRedirectWindow ();
12382 return 0;
12384 _ACEOF
12385 if ac_fn_c_try_link "$LINENO"; then :
12386 case "$LIBEXT" in
12387 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12388 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'` ;;
12389 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12390 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12391 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12392 fi ;;
12393 esac
12394 else
12395 ac_cv_lib_soname_Xcomposite=
12397 rm -f core conftest.err conftest.$ac_objext \
12398 conftest$ac_exeext conftest.$ac_ext
12399 LIBS=$ac_check_soname_save_LIBS
12401 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12403 $as_echo "not found" >&6; }
12405 else
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12407 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12409 cat >>confdefs.h <<_ACEOF
12410 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12411 _ACEOF
12416 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12417 case "x$with_xcomposite" in
12418 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12419 xno) ;;
12420 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12421 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12422 esac
12426 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12427 #include <X11/Xlib.h>
12428 #endif
12430 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12432 cat >>confdefs.h <<_ACEOF
12433 #define HAVE_XICCALLBACK_CALLBACK 1
12434 _ACEOF
12438 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12439 #include <X11/Xlib.h>
12440 #endif
12442 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12444 cat >>confdefs.h <<_ACEOF
12445 #define HAVE_XEVENT_XCOOKIE 1
12446 _ACEOF
12453 opengl_msg=""
12454 if test "x$with_opengl" != "xno"
12455 then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12457 $as_echo_n "checking for -lGL... " >&6; }
12458 if ${ac_cv_lib_soname_GL+:} false; then :
12459 $as_echo_n "(cached) " >&6
12460 else
12461 ac_check_soname_save_LIBS=$LIBS
12462 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 #ifdef __cplusplus
12470 extern "C"
12471 #endif
12472 char glXCreateContext ();
12474 main ()
12476 return glXCreateContext ();
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 case "$LIBEXT" in
12483 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12484 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'` ;;
12485 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12486 if ${ac_cv_lib_soname_GL:+false} :; then :
12487 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12488 fi ;;
12489 esac
12490 else
12491 ac_cv_lib_soname_GL=
12493 rm -f core conftest.err conftest.$ac_objext \
12494 conftest$ac_exeext conftest.$ac_ext
12495 LIBS=$ac_check_soname_save_LIBS
12497 if ${ac_cv_lib_soname_GL:+false} :; then :
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12499 $as_echo "not found" >&6; }
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12501 $as_echo_n "checking for -lGL... " >&6; }
12502 if ${ac_cv_lib_soname_GL+:} false; then :
12503 $as_echo_n "(cached) " >&6
12504 else
12505 ac_check_soname_save_LIBS=$LIBS
12506 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"
12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 /* Override any GCC internal prototype to avoid an error.
12511 Use char because int might match the return type of a GCC
12512 builtin and then its argument prototype would still apply. */
12513 #ifdef __cplusplus
12514 extern "C"
12515 #endif
12516 char glXCreateContext ();
12518 main ()
12520 return glXCreateContext ();
12522 return 0;
12524 _ACEOF
12525 if ac_fn_c_try_link "$LINENO"; then :
12526 case "$LIBEXT" in
12527 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12528 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'` ;;
12529 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12530 if ${ac_cv_lib_soname_GL:+false} :; then :
12531 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12532 fi ;;
12533 esac
12534 else
12535 ac_cv_lib_soname_GL=
12537 rm -f core conftest.err conftest.$ac_objext \
12538 conftest$ac_exeext conftest.$ac_ext
12539 LIBS=$ac_check_soname_save_LIBS
12541 if ${ac_cv_lib_soname_GL:+false} :; then :
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12543 $as_echo "not found" >&6; }
12544 if test -f /usr/X11R6/lib/libGL.a
12545 then
12546 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12547 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12548 else
12549 opengl_msg="No OpenGL library found on this system."
12551 else
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12553 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12555 cat >>confdefs.h <<_ACEOF
12556 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12557 _ACEOF
12559 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"
12561 else
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12563 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12565 cat >>confdefs.h <<_ACEOF
12566 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12567 _ACEOF
12569 OPENGL_LIBS="-lGL"
12571 if test "x$with_osmesa" != "xno"
12572 then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12574 $as_echo_n "checking for -lOSMesa... " >&6; }
12575 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12576 $as_echo_n "(cached) " >&6
12577 else
12578 ac_check_soname_save_LIBS=$LIBS
12579 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12586 #ifdef __cplusplus
12587 extern "C"
12588 #endif
12589 char OSMesaGetProcAddress ();
12591 main ()
12593 return OSMesaGetProcAddress ();
12595 return 0;
12597 _ACEOF
12598 if ac_fn_c_try_link "$LINENO"; then :
12599 case "$LIBEXT" in
12600 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12601 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'` ;;
12602 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12603 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12604 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12605 fi ;;
12606 esac
12607 else
12608 ac_cv_lib_soname_OSMesa=
12610 rm -f core conftest.err conftest.$ac_objext \
12611 conftest$ac_exeext conftest.$ac_ext
12612 LIBS=$ac_check_soname_save_LIBS
12614 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12616 $as_echo "not found" >&6; }
12618 else
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12620 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12622 cat >>confdefs.h <<_ACEOF
12623 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12624 _ACEOF
12628 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12629 case "x$with_osmesa" in
12630 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12631 xno) ;;
12632 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12633 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12634 esac
12639 if test -n "$opengl_msg"; then :
12640 case "x$with_opengl" in
12641 x) as_fn_append wine_warnings "|$opengl_msg
12642 OpenGL and Direct3D won't be supported." ;;
12643 xno) ;;
12644 *) as_fn_error $? "$opengl_msg
12645 OpenGL and Direct3D won't be supported.
12646 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12647 esac
12651 CPPFLAGS="$ac_save_CPPFLAGS"
12652 else
12653 X_CFLAGS=""
12654 X_LIBS=""
12657 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12658 then
12659 if test "x$X_LIBS" = "x"; then :
12660 case "x$with_x" in
12661 xno) ;;
12662 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12663 without X support, which probably isn't what you want. You will need
12664 to install ${notice_platform}development packages of Xlib at the very least.
12665 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12666 esac
12667 enable_winex11_drv=${enable_winex11_drv:-no}
12669 else
12670 if test "x$X_LIBS" = "x"; then :
12671 case "x$with_x" in
12672 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12673 xno) ;;
12674 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12675 This is an error since --with-x was requested." "$LINENO" 5 ;;
12676 esac
12677 enable_winex11_drv=${enable_winex11_drv:-no}
12681 if test "$ac_cv_header_CL_cl_h" = "yes"
12682 then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12684 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12685 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12686 $as_echo_n "(cached) " >&6
12687 else
12688 ac_check_lib_save_LIBS=$LIBS
12689 LIBS="-lOpenCL $LIBS"
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12696 #ifdef __cplusplus
12697 extern "C"
12698 #endif
12699 char clGetPlatformInfo ();
12701 main ()
12703 return clGetPlatformInfo ();
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_link "$LINENO"; then :
12709 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12710 else
12711 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12713 rm -f core conftest.err conftest.$ac_objext \
12714 conftest$ac_exeext conftest.$ac_ext
12715 LIBS=$ac_check_lib_save_LIBS
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12718 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12719 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12720 OPENCL_LIBS="-lOpenCL"
12725 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12726 case "x$with_opencl" in
12727 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12728 xno) ;;
12729 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12730 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12731 esac
12732 enable_opencl=${enable_opencl:-no}
12735 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12736 then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12738 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12739 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12740 $as_echo_n "(cached) " >&6
12741 else
12742 ac_check_lib_save_LIBS=$LIBS
12743 LIBS="-lpcap $LIBS"
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12747 /* Override any GCC internal prototype to avoid an error.
12748 Use char because int might match the return type of a GCC
12749 builtin and then its argument prototype would still apply. */
12750 #ifdef __cplusplus
12751 extern "C"
12752 #endif
12753 char pcap_create ();
12755 main ()
12757 return pcap_create ();
12759 return 0;
12761 _ACEOF
12762 if ac_fn_c_try_link "$LINENO"; then :
12763 ac_cv_lib_pcap_pcap_create=yes
12764 else
12765 ac_cv_lib_pcap_pcap_create=no
12767 rm -f core conftest.err conftest.$ac_objext \
12768 conftest$ac_exeext conftest.$ac_ext
12769 LIBS=$ac_check_lib_save_LIBS
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12772 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12773 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12774 PCAP_LIBS="-lpcap"
12779 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12780 case "x$with_pcap" in
12781 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12782 xno) ;;
12783 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12784 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12785 esac
12786 enable_wpcap=${enable_wpcap:-no}
12790 if test "x$with_xml" != "xno"
12791 then
12792 if ${XML2_CFLAGS:+false} :; then :
12793 if ${PKG_CONFIG+:} false; then :
12794 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12797 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12798 if ${XML2_LIBS:+false} :; then :
12799 if ${PKG_CONFIG+:} false; then :
12800 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12803 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12804 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12805 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12806 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12807 ac_save_CPPFLAGS=$CPPFLAGS
12808 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12809 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12810 do :
12811 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12812 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12813 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12814 cat >>confdefs.h <<_ACEOF
12815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12816 _ACEOF
12820 done
12822 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"
12823 then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12825 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12826 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12827 $as_echo_n "(cached) " >&6
12828 else
12829 ac_check_lib_save_LIBS=$LIBS
12830 LIBS="-lxml2 $XML2_LIBS $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12837 #ifdef __cplusplus
12838 extern "C"
12839 #endif
12840 char xmlParseMemory ();
12842 main ()
12844 return xmlParseMemory ();
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_link "$LINENO"; then :
12850 ac_cv_lib_xml2_xmlParseMemory=yes
12851 else
12852 ac_cv_lib_xml2_xmlParseMemory=no
12854 rm -f core conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12856 LIBS=$ac_check_lib_save_LIBS
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12859 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12860 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12862 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12864 else
12865 XML2_LIBS=""
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12869 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12870 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12871 $as_echo_n "(cached) " >&6
12872 else
12873 ac_check_lib_save_LIBS=$LIBS
12874 LIBS="-lxml2 $XML2_LIBS $LIBS"
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12881 #ifdef __cplusplus
12882 extern "C"
12883 #endif
12884 char xmlReadMemory ();
12886 main ()
12888 return xmlReadMemory ();
12890 return 0;
12892 _ACEOF
12893 if ac_fn_c_try_link "$LINENO"; then :
12894 ac_cv_lib_xml2_xmlReadMemory=yes
12895 else
12896 ac_cv_lib_xml2_xmlReadMemory=no
12898 rm -f core conftest.err conftest.$ac_objext \
12899 conftest$ac_exeext conftest.$ac_ext
12900 LIBS=$ac_check_lib_save_LIBS
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12903 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12904 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12906 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12911 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12912 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12913 $as_echo_n "(cached) " >&6
12914 else
12915 ac_check_lib_save_LIBS=$LIBS
12916 LIBS="-lxml2 $XML2_LIBS $LIBS"
12917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12923 #ifdef __cplusplus
12924 extern "C"
12925 #endif
12926 char xmlNewDocPI ();
12928 main ()
12930 return xmlNewDocPI ();
12932 return 0;
12934 _ACEOF
12935 if ac_fn_c_try_link "$LINENO"; then :
12936 ac_cv_lib_xml2_xmlNewDocPI=yes
12937 else
12938 ac_cv_lib_xml2_xmlNewDocPI=no
12940 rm -f core conftest.err conftest.$ac_objext \
12941 conftest$ac_exeext conftest.$ac_ext
12942 LIBS=$ac_check_lib_save_LIBS
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12945 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12946 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12948 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12953 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12954 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12955 $as_echo_n "(cached) " >&6
12956 else
12957 ac_check_lib_save_LIBS=$LIBS
12958 LIBS="-lxml2 $XML2_LIBS $LIBS"
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12962 /* Override any GCC internal prototype to avoid an error.
12963 Use char because int might match the return type of a GCC
12964 builtin and then its argument prototype would still apply. */
12965 #ifdef __cplusplus
12966 extern "C"
12967 #endif
12968 char xmlSchemaSetParserStructuredErrors ();
12970 main ()
12972 return xmlSchemaSetParserStructuredErrors ();
12974 return 0;
12976 _ACEOF
12977 if ac_fn_c_try_link "$LINENO"; then :
12978 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12979 else
12980 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12982 rm -f core conftest.err conftest.$ac_objext \
12983 conftest$ac_exeext conftest.$ac_ext
12984 LIBS=$ac_check_lib_save_LIBS
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12987 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12988 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12990 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12995 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12996 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12997 $as_echo_n "(cached) " >&6
12998 else
12999 ac_check_lib_save_LIBS=$LIBS
13000 LIBS="-lxml2 $XML2_LIBS $LIBS"
13001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13002 /* end confdefs.h. */
13004 /* Override any GCC internal prototype to avoid an error.
13005 Use char because int might match the return type of a GCC
13006 builtin and then its argument prototype would still apply. */
13007 #ifdef __cplusplus
13008 extern "C"
13009 #endif
13010 char xmlSchemaSetValidStructuredErrors ();
13012 main ()
13014 return xmlSchemaSetValidStructuredErrors ();
13016 return 0;
13018 _ACEOF
13019 if ac_fn_c_try_link "$LINENO"; then :
13020 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13021 else
13022 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13024 rm -f core conftest.err conftest.$ac_objext \
13025 conftest$ac_exeext conftest.$ac_ext
13026 LIBS=$ac_check_lib_save_LIBS
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13029 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13030 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13032 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13037 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13038 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13039 $as_echo_n "(cached) " >&6
13040 else
13041 ac_check_lib_save_LIBS=$LIBS
13042 LIBS="-lxml2 $XML2_LIBS $LIBS"
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13046 /* Override any GCC internal prototype to avoid an error.
13047 Use char because int might match the return type of a GCC
13048 builtin and then its argument prototype would still apply. */
13049 #ifdef __cplusplus
13050 extern "C"
13051 #endif
13052 char xmlFirstElementChild ();
13054 main ()
13056 return xmlFirstElementChild ();
13058 return 0;
13060 _ACEOF
13061 if ac_fn_c_try_link "$LINENO"; then :
13062 ac_cv_lib_xml2_xmlFirstElementChild=yes
13063 else
13064 ac_cv_lib_xml2_xmlFirstElementChild=no
13066 rm -f core conftest.err conftest.$ac_objext \
13067 conftest$ac_exeext conftest.$ac_ext
13068 LIBS=$ac_check_lib_save_LIBS
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13071 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13072 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13074 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13078 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13080 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13082 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13086 else
13087 XML2_CFLAGS=""
13088 XML2_LIBS=""
13090 CPPFLAGS=$ac_save_CPPFLAGS
13093 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13094 case "x$with_xml" in
13095 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13096 xno) ;;
13097 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13098 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13099 esac
13103 if test "x$with_xslt" != "xno"
13104 then
13105 if ${XSLT_CFLAGS:+false} :; then :
13106 if ${PKG_CONFIG+:} false; then :
13107 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13110 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13111 if ${XSLT_LIBS:+false} :; then :
13112 if ${PKG_CONFIG+:} false; then :
13113 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13116 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13117 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13118 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13119 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13120 ac_save_CPPFLAGS=$CPPFLAGS
13121 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13122 for ac_header in libxslt/pattern.h libxslt/transform.h
13123 do :
13124 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13125 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13126 # include <libxslt/pattern.h>
13127 #endif
13129 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13130 cat >>confdefs.h <<_ACEOF
13131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13132 _ACEOF
13136 done
13138 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13139 then
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13141 $as_echo_n "checking for -lxslt... " >&6; }
13142 if ${ac_cv_lib_soname_xslt+:} false; then :
13143 $as_echo_n "(cached) " >&6
13144 else
13145 ac_check_soname_save_LIBS=$LIBS
13146 LIBS="-lxslt $XSLT_LIBS $LIBS"
13147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13153 #ifdef __cplusplus
13154 extern "C"
13155 #endif
13156 char xsltCompilePattern ();
13158 main ()
13160 return xsltCompilePattern ();
13162 return 0;
13164 _ACEOF
13165 if ac_fn_c_try_link "$LINENO"; then :
13166 case "$LIBEXT" in
13167 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13168 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'` ;;
13169 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13170 if ${ac_cv_lib_soname_xslt:+false} :; then :
13171 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13172 fi ;;
13173 esac
13174 else
13175 ac_cv_lib_soname_xslt=
13177 rm -f core conftest.err conftest.$ac_objext \
13178 conftest$ac_exeext conftest.$ac_ext
13179 LIBS=$ac_check_soname_save_LIBS
13181 if ${ac_cv_lib_soname_xslt:+false} :; then :
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13183 $as_echo "not found" >&6; }
13185 else
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13187 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13189 cat >>confdefs.h <<_ACEOF
13190 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13191 _ACEOF
13195 else
13196 XSLT_CFLAGS=""
13198 CPPFLAGS=$ac_save_CPPFLAGS
13201 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13202 case "x$with_xslt" in
13203 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13204 xno) ;;
13205 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13206 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13207 esac
13211 if test "x$with_inotify" != "xno"
13212 then
13213 if ${INOTIFY_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false; then :
13215 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13219 if ${INOTIFY_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13228 ac_save_CPPFLAGS=$CPPFLAGS
13229 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13230 for ac_header in sys/inotify.h
13231 do :
13232 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13233 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13234 cat >>confdefs.h <<_ACEOF
13235 #define HAVE_SYS_INOTIFY_H 1
13236 _ACEOF
13240 done
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13243 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13244 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13245 $as_echo_n "(cached) " >&6
13246 else
13247 ac_check_lib_save_LIBS=$LIBS
13248 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13255 #ifdef __cplusplus
13256 extern "C"
13257 #endif
13258 char inotify_add_watch ();
13260 main ()
13262 return inotify_add_watch ();
13264 return 0;
13266 _ACEOF
13267 if ac_fn_c_try_link "$LINENO"; then :
13268 ac_cv_lib_inotify_inotify_add_watch=yes
13269 else
13270 ac_cv_lib_inotify_inotify_add_watch=no
13272 rm -f core conftest.err conftest.$ac_objext \
13273 conftest$ac_exeext conftest.$ac_ext
13274 LIBS=$ac_check_lib_save_LIBS
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13277 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13278 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13280 else
13281 INOTIFY_LIBS=""
13284 CPPFLAGS=$ac_save_CPPFLAGS
13287 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13288 case "x$with_inotify" in
13289 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13290 xno) ;;
13291 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13292 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13293 esac
13297 if test "x$with_dbus" != "xno"
13298 then
13299 if ${DBUS_CFLAGS:+false} :; then :
13300 if ${PKG_CONFIG+:} false; then :
13301 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13305 if ${DBUS_LIBS:+false} :; then :
13306 if ${PKG_CONFIG+:} false; then :
13307 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13312 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13313 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13314 ac_save_CPPFLAGS=$CPPFLAGS
13315 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13316 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13317 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13319 $as_echo_n "checking for -ldbus-1... " >&6; }
13320 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13321 $as_echo_n "(cached) " >&6
13322 else
13323 ac_check_soname_save_LIBS=$LIBS
13324 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13326 /* end confdefs.h. */
13328 /* Override any GCC internal prototype to avoid an error.
13329 Use char because int might match the return type of a GCC
13330 builtin and then its argument prototype would still apply. */
13331 #ifdef __cplusplus
13332 extern "C"
13333 #endif
13334 char dbus_connection_close ();
13336 main ()
13338 return dbus_connection_close ();
13340 return 0;
13342 _ACEOF
13343 if ac_fn_c_try_link "$LINENO"; then :
13344 case "$LIBEXT" in
13345 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13346 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'` ;;
13347 *) 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'`
13348 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13349 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13350 fi ;;
13351 esac
13352 else
13353 ac_cv_lib_soname_dbus_1=
13355 rm -f core conftest.err conftest.$ac_objext \
13356 conftest$ac_exeext conftest.$ac_ext
13357 LIBS=$ac_check_soname_save_LIBS
13359 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13361 $as_echo "not found" >&6; }
13362 DBUS_CFLAGS=""
13363 else
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13365 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13367 cat >>confdefs.h <<_ACEOF
13368 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13369 _ACEOF
13373 else
13374 DBUS_CFLAGS=""
13378 CPPFLAGS=$ac_save_CPPFLAGS
13381 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13382 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13383 case "x$with_dbus" in
13384 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13385 xno) ;;
13386 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13387 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13388 esac
13392 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13393 then
13394 if ${HAL_CFLAGS:+false} :; then :
13395 if ${PKG_CONFIG+:} false; then :
13396 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13400 if ${HAL_LIBS:+false} :; then :
13401 if ${PKG_CONFIG+:} false; then :
13402 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13406 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13407 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13408 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13409 ac_save_CPPFLAGS=$CPPFLAGS
13410 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13411 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13412 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13414 $as_echo_n "checking for -lhal... " >&6; }
13415 if ${ac_cv_lib_soname_hal+:} false; then :
13416 $as_echo_n "(cached) " >&6
13417 else
13418 ac_check_soname_save_LIBS=$LIBS
13419 LIBS="-lhal $HAL_LIBS $LIBS"
13420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13426 #ifdef __cplusplus
13427 extern "C"
13428 #endif
13429 char libhal_ctx_new ();
13431 main ()
13433 return libhal_ctx_new ();
13435 return 0;
13437 _ACEOF
13438 if ac_fn_c_try_link "$LINENO"; then :
13439 case "$LIBEXT" in
13440 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13441 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'` ;;
13442 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13443 if ${ac_cv_lib_soname_hal:+false} :; then :
13444 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13445 fi ;;
13446 esac
13447 else
13448 ac_cv_lib_soname_hal=
13450 rm -f core conftest.err conftest.$ac_objext \
13451 conftest$ac_exeext conftest.$ac_ext
13452 LIBS=$ac_check_soname_save_LIBS
13454 if ${ac_cv_lib_soname_hal:+false} :; then :
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13456 $as_echo "not found" >&6; }
13457 HAL_CFLAGS=""
13458 else
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13460 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13462 cat >>confdefs.h <<_ACEOF
13463 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13464 _ACEOF
13468 else
13469 HAL_CFLAGS=""
13473 CPPFLAGS=$ac_save_CPPFLAGS
13475 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13476 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13477 case "x$with_hal" in
13478 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13479 xno) ;;
13480 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13481 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13482 esac
13487 if test "x$with_gnutls" != "xno"
13488 then
13489 if ${GNUTLS_CFLAGS:+false} :; then :
13490 if ${PKG_CONFIG+:} false; then :
13491 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13495 if ${GNUTLS_LIBS:+false} :; then :
13496 if ${PKG_CONFIG+:} false; then :
13497 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13501 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13502 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13503 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13504 ac_save_CPPFLAGS=$CPPFLAGS
13505 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13506 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13507 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13510 #include <gnutls/gnutls.h>
13511 #include <gnutls/crypto.h>
13513 main ()
13515 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13517 return 0;
13519 _ACEOF
13520 if ac_fn_c_try_compile "$LINENO"; then :
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13522 $as_echo_n "checking for -lgnutls... " >&6; }
13523 if ${ac_cv_lib_soname_gnutls+:} false; then :
13524 $as_echo_n "(cached) " >&6
13525 else
13526 ac_check_soname_save_LIBS=$LIBS
13527 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13534 #ifdef __cplusplus
13535 extern "C"
13536 #endif
13537 char gnutls_global_init ();
13539 main ()
13541 return gnutls_global_init ();
13543 return 0;
13545 _ACEOF
13546 if ac_fn_c_try_link "$LINENO"; then :
13547 case "$LIBEXT" in
13548 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13549 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'` ;;
13550 *) 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'`
13551 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13552 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'`
13553 fi ;;
13554 esac
13555 else
13556 ac_cv_lib_soname_gnutls=
13558 rm -f core conftest.err conftest.$ac_objext \
13559 conftest$ac_exeext conftest.$ac_ext
13560 LIBS=$ac_check_soname_save_LIBS
13562 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13564 $as_echo "not found" >&6; }
13565 GNUTLS_CFLAGS=""
13566 else
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13568 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13570 cat >>confdefs.h <<_ACEOF
13571 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13572 _ACEOF
13576 ac_wine_check_funcs_save_LIBS="$LIBS"
13577 LIBS="$LIBS $GNUTLS_LIBS"
13578 for ac_func in gnutls_cipher_init
13579 do :
13580 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13581 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13582 cat >>confdefs.h <<_ACEOF
13583 #define HAVE_GNUTLS_CIPHER_INIT 1
13584 _ACEOF
13586 else
13587 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13589 done
13591 LIBS="$ac_wine_check_funcs_save_LIBS"
13593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13594 else
13595 GNUTLS_CFLAGS=""
13599 CPPFLAGS=$ac_save_CPPFLAGS
13602 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13603 case "x$with_gnutls" in
13604 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13605 xno) ;;
13606 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13607 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13608 esac
13612 if test "x$with_sane" != "xno"
13613 then
13614 if ${SANE_CFLAGS:+false} :; then :
13615 if ${PKG_CONFIG+:} false; then :
13616 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13619 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13620 if ${SANE_LIBS:+false} :; then :
13621 if ${PKG_CONFIG+:} false; then :
13622 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13625 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13627 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13628 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13629 ac_save_CPPFLAGS=$CPPFLAGS
13630 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13631 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13632 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13634 $as_echo_n "checking for -lsane... " >&6; }
13635 if ${ac_cv_lib_soname_sane+:} false; then :
13636 $as_echo_n "(cached) " >&6
13637 else
13638 ac_check_soname_save_LIBS=$LIBS
13639 LIBS="-lsane $SANE_LIBS $LIBS"
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13643 /* Override any GCC internal prototype to avoid an error.
13644 Use char because int might match the return type of a GCC
13645 builtin and then its argument prototype would still apply. */
13646 #ifdef __cplusplus
13647 extern "C"
13648 #endif
13649 char sane_init ();
13651 main ()
13653 return sane_init ();
13655 return 0;
13657 _ACEOF
13658 if ac_fn_c_try_link "$LINENO"; then :
13659 case "$LIBEXT" in
13660 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13661 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'` ;;
13662 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13663 if ${ac_cv_lib_soname_sane:+false} :; then :
13664 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13665 fi ;;
13666 esac
13667 else
13668 ac_cv_lib_soname_sane=
13670 rm -f core conftest.err conftest.$ac_objext \
13671 conftest$ac_exeext conftest.$ac_ext
13672 LIBS=$ac_check_soname_save_LIBS
13674 if ${ac_cv_lib_soname_sane:+false} :; then :
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13676 $as_echo "not found" >&6; }
13677 SANE_CFLAGS=""
13678 else
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13680 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13682 cat >>confdefs.h <<_ACEOF
13683 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13684 _ACEOF
13688 else
13689 SANE_CFLAGS=""
13693 CPPFLAGS=$ac_save_CPPFLAGS
13696 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13697 case "x$with_sane" in
13698 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13699 xno) ;;
13700 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13701 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13702 esac
13706 if test "x$with_usb" != "xno"
13707 then
13708 if ${USB_CFLAGS:+false} :; then :
13709 if ${PKG_CONFIG+:} false; then :
13710 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13714 if ${USB_LIBS:+false} :; then :
13715 if ${PKG_CONFIG+:} false; then :
13716 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13720 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13721 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13722 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13723 ac_save_CPPFLAGS=$CPPFLAGS
13724 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13725 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13726 if test "x$ac_cv_header_libusb_h" = xyes; then :
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13728 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13729 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13730 $as_echo_n "(cached) " >&6
13731 else
13732 ac_check_lib_save_LIBS=$LIBS
13733 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13737 /* Override any GCC internal prototype to avoid an error.
13738 Use char because int might match the return type of a GCC
13739 builtin and then its argument prototype would still apply. */
13740 #ifdef __cplusplus
13741 extern "C"
13742 #endif
13743 char libusb_interrupt_event_handler ();
13745 main ()
13747 return libusb_interrupt_event_handler ();
13749 return 0;
13751 _ACEOF
13752 if ac_fn_c_try_link "$LINENO"; then :
13753 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13754 else
13755 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 LIBS=$ac_check_lib_save_LIBS
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13762 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13763 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13765 else
13766 USB_LIBS=""
13769 else
13770 USB_LIBS=""
13774 CPPFLAGS=$ac_save_CPPFLAGS
13777 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13778 case "x$with_usb" in
13779 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13780 xno) ;;
13781 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13782 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13783 esac
13784 enable_wineusb_sys=${enable_wineusb_sys:-no}
13787 if test "x$with_v4l2" != "xno"
13788 then
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13790 $as_echo_n "checking for -lv4l2... " >&6; }
13791 if ${ac_cv_lib_soname_v4l2+:} false; then :
13792 $as_echo_n "(cached) " >&6
13793 else
13794 ac_check_soname_save_LIBS=$LIBS
13795 LIBS="-lv4l2 $LIBS"
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13799 /* Override any GCC internal prototype to avoid an error.
13800 Use char because int might match the return type of a GCC
13801 builtin and then its argument prototype would still apply. */
13802 #ifdef __cplusplus
13803 extern "C"
13804 #endif
13805 char v4l2_open ();
13807 main ()
13809 return v4l2_open ();
13811 return 0;
13813 _ACEOF
13814 if ac_fn_c_try_link "$LINENO"; then :
13815 case "$LIBEXT" in
13816 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13817 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'` ;;
13818 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13819 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13820 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13821 fi ;;
13822 esac
13823 else
13824 ac_cv_lib_soname_v4l2=
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 LIBS=$ac_check_soname_save_LIBS
13830 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13832 $as_echo "not found" >&6; }
13834 else
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13836 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13838 cat >>confdefs.h <<_ACEOF
13839 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13840 _ACEOF
13845 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13846 case "x$with_v4l2" in
13847 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13848 xno) ;;
13849 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13850 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13851 esac
13855 if test "x$with_gphoto" != "xno"
13856 then
13857 if ${GPHOTO2_CFLAGS:+false} :; then :
13858 if ${PKG_CONFIG+:} false; then :
13859 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13862 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13863 if ${GPHOTO2_LIBS:+false} :; then :
13864 if ${PKG_CONFIG+:} false; then :
13865 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13868 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13869 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13870 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13871 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13872 ac_save_CPPFLAGS=$CPPFLAGS
13873 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13874 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13875 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13877 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13878 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13879 $as_echo_n "(cached) " >&6
13880 else
13881 ac_check_lib_save_LIBS=$LIBS
13882 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13886 /* Override any GCC internal prototype to avoid an error.
13887 Use char because int might match the return type of a GCC
13888 builtin and then its argument prototype would still apply. */
13889 #ifdef __cplusplus
13890 extern "C"
13891 #endif
13892 char gp_camera_new ();
13894 main ()
13896 return gp_camera_new ();
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 ac_cv_lib_gphoto2_gp_camera_new=yes
13903 else
13904 ac_cv_lib_gphoto2_gp_camera_new=no
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_lib_save_LIBS
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13911 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13912 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13914 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13916 else
13917 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13920 else
13921 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13925 CPPFLAGS=$ac_save_CPPFLAGS
13927 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13928 if ${PKG_CONFIG+:} false; then :
13929 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13932 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13933 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13934 if ${PKG_CONFIG+:} false; then :
13935 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13938 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13939 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13940 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13941 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13942 ac_save_CPPFLAGS=$CPPFLAGS
13943 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13944 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13945 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13947 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13948 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 ac_check_lib_save_LIBS=$LIBS
13952 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13956 /* Override any GCC internal prototype to avoid an error.
13957 Use char because int might match the return type of a GCC
13958 builtin and then its argument prototype would still apply. */
13959 #ifdef __cplusplus
13960 extern "C"
13961 #endif
13962 char gp_port_info_list_new ();
13964 main ()
13966 return gp_port_info_list_new ();
13968 return 0;
13970 _ACEOF
13971 if ac_fn_c_try_link "$LINENO"; then :
13972 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13973 else
13974 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13976 rm -f core conftest.err conftest.$ac_objext \
13977 conftest$ac_exeext conftest.$ac_ext
13978 LIBS=$ac_check_lib_save_LIBS
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13981 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13982 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13984 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13986 else
13987 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13990 else
13991 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13995 CPPFLAGS=$ac_save_CPPFLAGS
13998 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13999 case "x$with_gphoto" in
14000 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14001 xno) ;;
14002 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14003 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14004 esac
14007 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14008 case "x$with_gphoto" in
14009 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14010 xno) ;;
14011 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14012 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14013 esac
14018 if test "$ac_cv_header_resolv_h" = "yes"
14019 then
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14021 $as_echo_n "checking for resolver library... " >&6; }
14022 if ${ac_cv_have_resolv+:} false; then :
14023 $as_echo_n "(cached) " >&6
14024 else
14025 ac_save_LIBS="$LIBS"
14026 for lib in '' -lresolv
14028 LIBS="$lib $ac_save_LIBS"
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 #ifdef HAVE_NETINET_IN_H
14032 #include <netinet/in.h>
14033 #endif
14034 #include <resolv.h>
14036 main ()
14038 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14040 return 0;
14042 _ACEOF
14043 if ac_fn_c_try_link "$LINENO"; then :
14044 ac_cv_have_resolv=${lib:-"none required"}
14045 else
14046 ac_cv_have_resolv="not found"
14048 rm -f core conftest.err conftest.$ac_objext \
14049 conftest$ac_exeext conftest.$ac_ext
14050 test "x$ac_cv_have_resolv" = "xnot found" || break
14051 done
14052 LIBS="$ac_save_LIBS"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14055 $as_echo "$ac_cv_have_resolv" >&6; }
14057 case "$ac_cv_have_resolv" in
14058 "not found") ;;
14059 "none required")
14061 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14064 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14066 RESOLV_LIBS=$ac_cv_have_resolv
14068 esac
14070 if test "x$ac_cv_have_resolv" != "xnot found"
14071 then
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14073 $as_echo_n "checking for res_getservers... " >&6; }
14074 if ${ac_cv_have_res_getservers+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_save_LIBS="$LIBS"
14078 LIBS="$RESOLV_LIBS $LIBS"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 #include <resolv.h>
14083 main ()
14085 res_getservers(NULL, NULL, 0);
14087 return 0;
14089 _ACEOF
14090 if ac_fn_c_try_link "$LINENO"; then :
14091 ac_cv_have_res_getservers=yes
14092 else
14093 ac_cv_have_res_getservers=no
14095 rm -f core conftest.err conftest.$ac_objext \
14096 conftest$ac_exeext conftest.$ac_ext
14097 LIBS="$ac_save_LIBS"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14100 $as_echo "$ac_cv_have_res_getservers" >&6; }
14101 if test "$ac_cv_have_res_getservers" = "yes"
14102 then
14104 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14110 if test "x$with_cms" != "xno"
14111 then
14112 if ${LCMS2_CFLAGS:+false} :; then :
14113 if ${PKG_CONFIG+:} false; then :
14114 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14118 if ${LCMS2_LIBS:+false} :; then :
14119 if ${PKG_CONFIG+:} false; then :
14120 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14124 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14125 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14126 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14127 ac_save_CPPFLAGS=$CPPFLAGS
14128 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14129 for ac_header in lcms2.h
14130 do :
14131 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14132 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14133 cat >>confdefs.h <<_ACEOF
14134 #define HAVE_LCMS2_H 1
14135 _ACEOF
14139 done
14141 if test "$ac_cv_header_lcms2_h" = "yes"
14142 then
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14144 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14145 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14146 $as_echo_n "(cached) " >&6
14147 else
14148 ac_check_lib_save_LIBS=$LIBS
14149 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 /* Override any GCC internal prototype to avoid an error.
14154 Use char because int might match the return type of a GCC
14155 builtin and then its argument prototype would still apply. */
14156 #ifdef __cplusplus
14157 extern "C"
14158 #endif
14159 char cmsOpenProfileFromFile ();
14161 main ()
14163 return cmsOpenProfileFromFile ();
14165 return 0;
14167 _ACEOF
14168 if ac_fn_c_try_link "$LINENO"; then :
14169 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14170 else
14171 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14173 rm -f core conftest.err conftest.$ac_objext \
14174 conftest$ac_exeext conftest.$ac_ext
14175 LIBS=$ac_check_lib_save_LIBS
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14178 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14179 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14181 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14183 else
14184 LCMS2_LIBS=""
14187 else
14188 LCMS2_CFLAGS=""
14189 LCMS2_LIBS=""
14191 CPPFLAGS=$ac_save_CPPFLAGS
14194 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14195 case "x$with_cms" in
14196 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14197 xno) ;;
14198 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14199 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14200 esac
14204 if test "x$with_freetype" != "xno"
14205 then
14206 if ${FREETYPE_CFLAGS:+false} :; then :
14207 if ${PKG_CONFIG+:} false; then :
14208 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14211 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14212 if ${FREETYPE_LIBS:+false} :; then :
14213 if ${PKG_CONFIG+:} false; then :
14214 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14217 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14218 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14219 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14220 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14221 ac_save_CPPFLAGS=$CPPFLAGS
14222 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14223 for ac_header in ft2build.h
14224 do :
14225 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14226 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14227 cat >>confdefs.h <<_ACEOF
14228 #define HAVE_FT2BUILD_H 1
14229 _ACEOF
14233 done
14235 if test "$ac_cv_header_ft2build_h" = "yes"
14236 then
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14238 $as_echo_n "checking for -lfreetype... " >&6; }
14239 if ${ac_cv_lib_soname_freetype+:} false; then :
14240 $as_echo_n "(cached) " >&6
14241 else
14242 ac_check_soname_save_LIBS=$LIBS
14243 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14247 /* Override any GCC internal prototype to avoid an error.
14248 Use char because int might match the return type of a GCC
14249 builtin and then its argument prototype would still apply. */
14250 #ifdef __cplusplus
14251 extern "C"
14252 #endif
14253 char FT_Init_FreeType ();
14255 main ()
14257 return FT_Init_FreeType ();
14259 return 0;
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"; then :
14263 case "$LIBEXT" in
14264 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14265 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'` ;;
14266 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14267 if ${ac_cv_lib_soname_freetype:+false} :; then :
14268 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14269 fi ;;
14270 esac
14271 else
14272 ac_cv_lib_soname_freetype=
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 LIBS=$ac_check_soname_save_LIBS
14278 if ${ac_cv_lib_soname_freetype:+false} :; then :
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14280 $as_echo "not found" >&6; }
14281 FREETYPE_LIBS=""
14282 else
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14284 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14286 cat >>confdefs.h <<_ACEOF
14287 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14288 _ACEOF
14291 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14293 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14294 #include FT_MODULE_H
14296 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14298 cat >>confdefs.h <<_ACEOF
14299 #define HAVE_FT_TRUETYPEENGINETYPE 1
14300 _ACEOF
14306 else
14307 FREETYPE_CFLAGS=""
14308 FREETYPE_LIBS=""
14310 CPPFLAGS=$ac_save_CPPFLAGS
14313 if test "x$ac_cv_lib_soname_freetype" = x; then :
14314 case "x$with_freetype" in
14315 xno) ;;
14316 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14317 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14318 esac
14319 enable_fonts=${enable_fonts:-no}
14322 ac_wine_check_funcs_save_LIBS="$LIBS"
14323 LIBS="$LIBS $PTHREAD_LIBS"
14324 for ac_func in \
14325 pthread_getthreadid_np
14326 do :
14327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14330 cat >>confdefs.h <<_ACEOF
14331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14332 _ACEOF
14335 done
14337 LIBS="$ac_wine_check_funcs_save_LIBS"
14339 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14340 then
14341 if test "$ac_cv_header_gettext_po_h" = "yes"
14342 then
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14344 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14345 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14346 $as_echo_n "(cached) " >&6
14347 else
14348 ac_check_lib_save_LIBS=$LIBS
14349 LIBS="-lgettextpo $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 po_message_msgctxt ();
14361 main ()
14363 return po_message_msgctxt ();
14365 return 0;
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14370 else
14371 ac_cv_lib_gettextpo_po_message_msgctxt=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_gettextpo_po_message_msgctxt" >&5
14378 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14379 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14381 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14383 GETTEXTPO_LIBS="-lgettextpo"
14388 if test "x$GETTEXTPO_LIBS" = "x"; then :
14389 case "x$with_gettextpo" in
14390 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14391 xno) ;;
14392 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14393 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14394 esac
14397 if test "$srcdir" != .; then :
14398 case "x$with_gettextpo" in
14399 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14400 xno) ;;
14401 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14402 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14403 esac
14408 if test "x$with_pulse" != "xno";
14409 then
14410 if ${PULSE_CFLAGS:+false} :; then :
14411 if ${PKG_CONFIG+:} false; then :
14412 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14416 if ${PULSE_LIBS:+false} :; then :
14417 if ${PKG_CONFIG+:} false; then :
14418 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14423 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14424 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14425 ac_save_CPPFLAGS=$CPPFLAGS
14426 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14427 for ac_header in pulse/pulseaudio.h
14428 do :
14429 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14430 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14431 cat >>confdefs.h <<_ACEOF
14432 #define HAVE_PULSE_PULSEAUDIO_H 1
14433 _ACEOF
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14435 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14436 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14437 $as_echo_n "(cached) " >&6
14438 else
14439 ac_check_lib_save_LIBS=$LIBS
14440 LIBS="-lpulse $PULSE_LIBS $LIBS"
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14444 /* Override any GCC internal prototype to avoid an error.
14445 Use char because int might match the return type of a GCC
14446 builtin and then its argument prototype would still apply. */
14447 #ifdef __cplusplus
14448 extern "C"
14449 #endif
14450 char pa_stream_is_corked ();
14452 main ()
14454 return pa_stream_is_corked ();
14456 return 0;
14458 _ACEOF
14459 if ac_fn_c_try_link "$LINENO"; then :
14460 ac_cv_lib_pulse_pa_stream_is_corked=yes
14461 else
14462 ac_cv_lib_pulse_pa_stream_is_corked=no
14464 rm -f core conftest.err conftest.$ac_objext \
14465 conftest$ac_exeext conftest.$ac_ext
14466 LIBS=$ac_check_lib_save_LIBS
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14469 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14470 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14472 else
14473 PULSE_LIBS=""
14476 else
14477 PULSE_LIBS=""
14480 done
14482 CPPFLAGS=$ac_save_CPPFLAGS
14485 if test -z "$PULSE_LIBS"; then :
14486 case "x$with_pulse" in
14487 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14488 xno) ;;
14489 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14490 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14491 esac
14492 enable_winepulse_drv=${enable_winepulse_drv:-no}
14495 if test "x$with_gstreamer" != "xno"
14496 then
14497 if ${GSTREAMER_CFLAGS:+false} :; then :
14498 if ${PKG_CONFIG+:} false; then :
14499 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14503 if ${GSTREAMER_LIBS:+false} :; then :
14504 if ${PKG_CONFIG+:} false; then :
14505 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14510 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14511 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14512 ac_save_CPPFLAGS=$CPPFLAGS
14513 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14514 ac_gst_incl=""
14515 for i in $GSTREAMER_CFLAGS
14517 case "$i" in
14518 -I*) ac_gst_incl="$ac_gst_incl $i";;
14519 esac
14520 done
14521 GSTREAMER_CFLAGS=$ac_gst_incl
14522 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14523 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14524 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14526 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14529 #include <gst/gst.h>
14531 main ()
14533 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14535 return 0;
14537 _ACEOF
14538 if ac_fn_c_try_compile "$LINENO"; then :
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14540 $as_echo "yes" >&6; }
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14542 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14543 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_check_lib_save_LIBS=$LIBS
14547 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14551 /* Override any GCC internal prototype to avoid an error.
14552 Use char because int might match the return type of a GCC
14553 builtin and then its argument prototype would still apply. */
14554 #ifdef __cplusplus
14555 extern "C"
14556 #endif
14557 char gst_pad_new ();
14559 main ()
14561 return gst_pad_new ();
14563 return 0;
14565 _ACEOF
14566 if ac_fn_c_try_link "$LINENO"; then :
14567 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14568 else
14569 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14571 rm -f core conftest.err conftest.$ac_objext \
14572 conftest$ac_exeext conftest.$ac_ext
14573 LIBS=$ac_check_lib_save_LIBS
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14576 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14577 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14581 else
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14583 $as_echo "no" >&6; }
14584 ac_glib2_broken=yes
14585 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14591 CPPFLAGS=$ac_save_CPPFLAGS
14594 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 :
14595 case "x$with_gstreamer" in
14596 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14597 xno) ;;
14598 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14599 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14600 esac
14603 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14605 ALSA_LIBS=""
14607 if test "x$with_alsa" != "xno"
14608 then
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14610 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14611 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14612 $as_echo_n "(cached) " >&6
14613 else
14614 ac_check_lib_save_LIBS=$LIBS
14615 LIBS="-lasound $LIBS"
14616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14619 /* Override any GCC internal prototype to avoid an error.
14620 Use char because int might match the return type of a GCC
14621 builtin and then its argument prototype would still apply. */
14622 #ifdef __cplusplus
14623 extern "C"
14624 #endif
14625 char snd_pcm_hw_params_get_access_mask ();
14627 main ()
14629 return snd_pcm_hw_params_get_access_mask ();
14631 return 0;
14633 _ACEOF
14634 if ac_fn_c_try_link "$LINENO"; then :
14635 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14636 else
14637 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14639 rm -f core conftest.err conftest.$ac_objext \
14640 conftest$ac_exeext conftest.$ac_ext
14641 LIBS=$ac_check_lib_save_LIBS
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14644 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14645 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 #include <alsa/asoundlib.h>
14650 main ()
14652 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14654 return 0;
14656 _ACEOF
14657 if ac_fn_c_try_compile "$LINENO"; then :
14658 ALSA_LIBS="-lasound"
14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14664 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14666 if test "x$with_oss" != xno
14667 then
14668 ac_save_CPPFLAGS="$CPPFLAGS"
14669 if test -f /etc/oss.conf
14670 then
14671 . /etc/oss.conf
14673 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14674 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14675 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14676 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14677 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14679 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14681 cat >>confdefs.h <<_ACEOF
14682 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14683 _ACEOF
14685 OSS4_CFLAGS="$ac_oss_incl"
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14688 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14689 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14690 $as_echo_n "(cached) " >&6
14691 else
14692 ac_check_lib_save_LIBS=$LIBS
14693 LIBS="-lossaudio $LIBS"
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14700 #ifdef __cplusplus
14701 extern "C"
14702 #endif
14703 char _oss_ioctl ();
14705 main ()
14707 return _oss_ioctl ();
14709 return 0;
14711 _ACEOF
14712 if ac_fn_c_try_link "$LINENO"; then :
14713 ac_cv_lib_ossaudio__oss_ioctl=yes
14714 else
14715 ac_cv_lib_ossaudio__oss_ioctl=no
14717 rm -f core conftest.err conftest.$ac_objext \
14718 conftest$ac_exeext conftest.$ac_ext
14719 LIBS=$ac_check_lib_save_LIBS
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14722 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14723 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14724 OSS4_LIBS="-lossaudio"
14733 CPPFLAGS="$ac_save_CPPFLAGS"
14735 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14736 case "x$with_oss" in
14737 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14738 xno) ;;
14739 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14740 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14741 esac
14742 enable_wineoss_drv=${enable_wineoss_drv:-no}
14745 if test "x$with_udev" != "xno"
14746 then
14747 if ${UDEV_CFLAGS:+false} :; then :
14748 if ${PKG_CONFIG+:} false; then :
14749 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14753 if ${UDEV_LIBS:+false} :; then :
14754 if ${PKG_CONFIG+:} false; then :
14755 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14759 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14760 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14761 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14762 ac_save_CPPFLAGS=$CPPFLAGS
14763 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14764 for ac_header in libudev.h
14765 do :
14766 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14767 if test "x$ac_cv_header_libudev_h" = xyes; then :
14768 cat >>confdefs.h <<_ACEOF
14769 #define HAVE_LIBUDEV_H 1
14770 _ACEOF
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14772 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14773 if ${ac_cv_lib_udev_udev_new+:} false; then :
14774 $as_echo_n "(cached) " >&6
14775 else
14776 ac_check_lib_save_LIBS=$LIBS
14777 LIBS="-ludev $UDEV_LIBS $LIBS"
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14781 /* Override any GCC internal prototype to avoid an error.
14782 Use char because int might match the return type of a GCC
14783 builtin and then its argument prototype would still apply. */
14784 #ifdef __cplusplus
14785 extern "C"
14786 #endif
14787 char udev_new ();
14789 main ()
14791 return udev_new ();
14793 return 0;
14795 _ACEOF
14796 if ac_fn_c_try_link "$LINENO"; then :
14797 ac_cv_lib_udev_udev_new=yes
14798 else
14799 ac_cv_lib_udev_udev_new=no
14801 rm -f core conftest.err conftest.$ac_objext \
14802 conftest$ac_exeext conftest.$ac_ext
14803 LIBS=$ac_check_lib_save_LIBS
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14806 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14807 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14809 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14811 else
14812 UDEV_LIBS=""
14815 else
14816 UDEV_LIBS=""
14819 done
14821 CPPFLAGS=$ac_save_CPPFLAGS
14824 if test "x$UDEV_LIBS" = "x"; then :
14825 case "x$with_udev" in
14826 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14827 xno) ;;
14828 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14829 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14830 esac
14834 if test "x$with_unwind" != xno
14835 then
14836 if ${UNWIND_CFLAGS:+false} :; then :
14837 if ${PKG_CONFIG+:} false; then :
14838 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14842 if ${UNWIND_LIBS:+false} :; then :
14843 if ${PKG_CONFIG+:} false; then :
14844 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14848 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14849 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14850 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14851 ac_save_CPPFLAGS=$CPPFLAGS
14852 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14854 $as_echo_n "checking for unw_step... " >&6; }
14855 if ${wine_cv_have_unw_step+:} false; then :
14856 $as_echo_n "(cached) " >&6
14857 else
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14860 #define UNW_LOCAL_ONLY
14861 #include <libunwind.h>
14863 main ()
14865 unw_cursor_t cursor; unw_step( &cursor );
14867 return 0;
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 wine_cv_have_unw_step="yes"
14872 else
14873 wine_cv_have_unw_step="no"
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14879 $as_echo "$wine_cv_have_unw_step" >&6; }
14880 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14881 then
14882 save_libs=$LIBS
14883 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14884 LIBS="$UNWIND_LIBS $LIBS"
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14886 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14887 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14888 $as_echo_n "(cached) " >&6
14889 else
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14892 #define UNW_LOCAL_ONLY
14893 #include <libunwind.h>
14895 main ()
14897 unw_cursor_t cursor; unw_step( &cursor );
14899 return 0;
14901 _ACEOF
14902 if ac_fn_c_try_link "$LINENO"; then :
14903 wine_cv_have_libunwind_unw_step="yes"
14904 else
14905 wine_cv_have_libunwind_unw_step="no"
14907 rm -f core conftest.err conftest.$ac_objext \
14908 conftest$ac_exeext conftest.$ac_ext
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14911 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14912 LIBS=$save_libs
14914 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14915 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14916 then
14918 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14921 CPPFLAGS=$ac_save_CPPFLAGS
14924 case $host in
14925 aarch64*|*-darwin*)
14926 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14927 case "x$with_unwind" in
14928 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14929 xno) ;;
14930 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14931 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14932 esac
14934 fi ;;
14935 esac
14937 if test "x$with_sdl" != "xno"
14938 then
14939 if ${SDL2_CFLAGS:+false} :; then :
14940 if ${PKG_CONFIG+:} false; then :
14941 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14945 if ${SDL2_LIBS:+false} :; then :
14946 if ${PKG_CONFIG+:} false; then :
14947 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14951 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14952 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14953 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14954 ac_save_CPPFLAGS=$CPPFLAGS
14955 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14956 for ac_header in SDL.h
14957 do :
14958 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14959 if test "x$ac_cv_header_SDL_h" = xyes; then :
14960 cat >>confdefs.h <<_ACEOF
14961 #define HAVE_SDL_H 1
14962 _ACEOF
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14964 $as_echo_n "checking for -lSDL2... " >&6; }
14965 if ${ac_cv_lib_soname_SDL2+:} false; then :
14966 $as_echo_n "(cached) " >&6
14967 else
14968 ac_check_soname_save_LIBS=$LIBS
14969 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 #ifdef __cplusplus
14977 extern "C"
14978 #endif
14979 char SDL_Init ();
14981 main ()
14983 return SDL_Init ();
14985 return 0;
14987 _ACEOF
14988 if ac_fn_c_try_link "$LINENO"; then :
14989 case "$LIBEXT" in
14990 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14991 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'` ;;
14992 *) 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'`
14993 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14994 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14995 fi ;;
14996 esac
14997 else
14998 ac_cv_lib_soname_SDL2=
15000 rm -f core conftest.err conftest.$ac_objext \
15001 conftest$ac_exeext conftest.$ac_ext
15002 LIBS=$ac_check_soname_save_LIBS
15004 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15006 $as_echo "not found" >&6; }
15008 else
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15010 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15012 cat >>confdefs.h <<_ACEOF
15013 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15014 _ACEOF
15020 done
15022 CPPFLAGS=$ac_save_CPPFLAGS
15025 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15026 case "x$with_sdl" in
15027 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15028 xno) ;;
15029 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15030 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15031 esac
15035 if test "x$with_faudio" != "xno"
15036 then
15037 if ${FAUDIO_CFLAGS:+false} :; then :
15038 if ${PKG_CONFIG+:} false; then :
15039 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15043 if ${FAUDIO_LIBS:+false} :; then :
15044 if ${PKG_CONFIG+:} false; then :
15045 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15049 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15050 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15051 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15052 ac_save_CPPFLAGS=$CPPFLAGS
15053 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15054 for ac_header in FAudio.h
15055 do :
15056 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15057 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15058 cat >>confdefs.h <<_ACEOF
15059 #define HAVE_FAUDIO_H 1
15060 _ACEOF
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15062 $as_echo_n "checking for -lFAudio... " >&6; }
15063 if ${ac_cv_lib_soname_FAudio+:} false; then :
15064 $as_echo_n "(cached) " >&6
15065 else
15066 ac_check_soname_save_LIBS=$LIBS
15067 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15071 /* Override any GCC internal prototype to avoid an error.
15072 Use char because int might match the return type of a GCC
15073 builtin and then its argument prototype would still apply. */
15074 #ifdef __cplusplus
15075 extern "C"
15076 #endif
15077 char FAudioCreate ();
15079 main ()
15081 return FAudioCreate ();
15083 return 0;
15085 _ACEOF
15086 if ac_fn_c_try_link "$LINENO"; then :
15087 case "$LIBEXT" in
15088 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15089 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'` ;;
15090 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15091 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15092 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15093 fi ;;
15094 esac
15095 else
15096 ac_cv_lib_soname_FAudio=
15098 rm -f core conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15100 LIBS=$ac_check_soname_save_LIBS
15102 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15104 $as_echo "not found" >&6; }
15106 else
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15108 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15110 cat >>confdefs.h <<_ACEOF
15111 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15112 _ACEOF
15118 done
15120 ac_wine_check_funcs_save_LIBS="$LIBS"
15121 LIBS="$LIBS $FAUDIO_LIBS"
15122 for ac_func in FAudio_CommitOperationSet \
15123 F3DAudioInitialize8 \
15124 FAudioLinkedVersion \
15125 FAudioCreateReverb9WithCustomAllocatorEXT
15126 do :
15127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15129 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15130 cat >>confdefs.h <<_ACEOF
15131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15132 _ACEOF
15135 done
15137 LIBS="$ac_wine_check_funcs_save_LIBS"
15139 CPPFLAGS=$ac_save_CPPFLAGS
15142 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15143 case "x$with_faudio" in
15144 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15145 xno) ;;
15146 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15147 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15148 esac
15152 if test "x$with_capi" != "xno"
15153 then
15154 if ${CAPI20_CFLAGS:+false} :; then :
15155 if ${PKG_CONFIG+:} false; then :
15156 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15160 if ${CAPI20_LIBS:+false} :; then :
15161 if ${PKG_CONFIG+:} false; then :
15162 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15167 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15168 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15169 ac_save_CPPFLAGS=$CPPFLAGS
15170 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15171 for ac_header in capi20.h linux/capi.h
15172 do :
15173 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15174 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15176 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15177 cat >>confdefs.h <<_ACEOF
15178 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15179 _ACEOF
15183 done
15185 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15186 then
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15188 $as_echo_n "checking for -lcapi20... " >&6; }
15189 if ${ac_cv_lib_soname_capi20+:} false; then :
15190 $as_echo_n "(cached) " >&6
15191 else
15192 ac_check_soname_save_LIBS=$LIBS
15193 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15195 /* end confdefs.h. */
15197 /* Override any GCC internal prototype to avoid an error.
15198 Use char because int might match the return type of a GCC
15199 builtin and then its argument prototype would still apply. */
15200 #ifdef __cplusplus
15201 extern "C"
15202 #endif
15203 char capi20_register ();
15205 main ()
15207 return capi20_register ();
15209 return 0;
15211 _ACEOF
15212 if ac_fn_c_try_link "$LINENO"; then :
15213 case "$LIBEXT" in
15214 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15215 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'` ;;
15216 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15217 if ${ac_cv_lib_soname_capi20:+false} :; then :
15218 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15219 fi ;;
15220 esac
15221 else
15222 ac_cv_lib_soname_capi20=
15224 rm -f core conftest.err conftest.$ac_objext \
15225 conftest$ac_exeext conftest.$ac_ext
15226 LIBS=$ac_check_soname_save_LIBS
15228 if ${ac_cv_lib_soname_capi20:+false} :; then :
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15230 $as_echo "not found" >&6; }
15232 else
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15234 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15236 cat >>confdefs.h <<_ACEOF
15237 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15238 _ACEOF
15243 CPPFLAGS=$ac_save_CPPFLAGS
15246 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15247 case "x$with_capi" in
15248 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15249 xno) ;;
15250 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15251 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15252 esac
15256 if test "x$with_cups" != "xno"
15257 then
15258 if ${CUPS_CFLAGS:+false} :; then :
15259 if ${PKG_CONFIG+:} false; then :
15260 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15263 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15264 if ${CUPS_LIBS:+false} :; then :
15265 if ${PKG_CONFIG+:} false; then :
15266 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15269 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15270 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15271 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15272 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15273 ac_save_CPPFLAGS=$CPPFLAGS
15274 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15275 for ac_header in cups/cups.h cups/ppd.h
15276 do :
15277 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15278 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15279 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15280 cat >>confdefs.h <<_ACEOF
15281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15282 _ACEOF
15286 done
15288 if test "$ac_cv_header_cups_cups_h" = "yes"
15289 then
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15291 $as_echo_n "checking for -lcups... " >&6; }
15292 if ${ac_cv_lib_soname_cups+:} false; then :
15293 $as_echo_n "(cached) " >&6
15294 else
15295 ac_check_soname_save_LIBS=$LIBS
15296 LIBS="-lcups $CUPS_LIBS $LIBS"
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15300 /* Override any GCC internal prototype to avoid an error.
15301 Use char because int might match the return type of a GCC
15302 builtin and then its argument prototype would still apply. */
15303 #ifdef __cplusplus
15304 extern "C"
15305 #endif
15306 char cupsGetDefault ();
15308 main ()
15310 return cupsGetDefault ();
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_link "$LINENO"; then :
15316 case "$LIBEXT" in
15317 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15318 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'` ;;
15319 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15320 if ${ac_cv_lib_soname_cups:+false} :; then :
15321 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15322 fi ;;
15323 esac
15324 else
15325 ac_cv_lib_soname_cups=
15327 rm -f core conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15329 LIBS=$ac_check_soname_save_LIBS
15331 if ${ac_cv_lib_soname_cups:+false} :; then :
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15333 $as_echo "not found" >&6; }
15334 CUPS_LIBS=""
15335 else
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15337 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15339 cat >>confdefs.h <<_ACEOF
15340 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15341 _ACEOF
15345 else
15346 CUPS_CFLAGS=""
15347 CUPS_LIBS=""
15349 CPPFLAGS=$ac_save_CPPFLAGS
15352 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15353 case "x$with_cups" in
15354 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15355 xno) ;;
15356 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15357 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15358 esac
15362 if test "x$with_fontconfig" != "xno"
15363 then
15364 if ${FONTCONFIG_CFLAGS:+false} :; then :
15365 if ${PKG_CONFIG+:} false; then :
15366 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15369 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15370 if ${FONTCONFIG_LIBS:+false} :; then :
15371 if ${PKG_CONFIG+:} false; then :
15372 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15375 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15377 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15378 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15379 ac_save_CPPFLAGS=$CPPFLAGS
15380 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15381 for ac_header in fontconfig/fontconfig.h
15382 do :
15383 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15384 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15385 cat >>confdefs.h <<_ACEOF
15386 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15387 _ACEOF
15391 done
15393 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15394 then
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15396 $as_echo_n "checking for -lfontconfig... " >&6; }
15397 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15398 $as_echo_n "(cached) " >&6
15399 else
15400 ac_check_soname_save_LIBS=$LIBS
15401 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15408 #ifdef __cplusplus
15409 extern "C"
15410 #endif
15411 char FcInit ();
15413 main ()
15415 return FcInit ();
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_link "$LINENO"; then :
15421 case "$LIBEXT" in
15422 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15423 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'` ;;
15424 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15425 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15426 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15427 fi ;;
15428 esac
15429 else
15430 ac_cv_lib_soname_fontconfig=
15432 rm -f core conftest.err conftest.$ac_objext \
15433 conftest$ac_exeext conftest.$ac_ext
15434 LIBS=$ac_check_soname_save_LIBS
15436 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15438 $as_echo "not found" >&6; }
15439 FONTCONFIG_CFLAGS=""
15440 else
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15442 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15444 cat >>confdefs.h <<_ACEOF
15445 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15446 _ACEOF
15450 else
15451 FONTCONFIG_CFLAGS=""
15453 CPPFLAGS=$ac_save_CPPFLAGS
15456 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15457 case "x$with_fontconfig" in
15458 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15459 xno) ;;
15460 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15461 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15462 esac
15466 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15467 then
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15469 $as_echo_n "checking for -lgsm... " >&6; }
15470 if ${ac_cv_lib_soname_gsm+:} false; then :
15471 $as_echo_n "(cached) " >&6
15472 else
15473 ac_check_soname_save_LIBS=$LIBS
15474 LIBS="-lgsm $LIBS"
15475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476 /* end confdefs.h. */
15478 /* Override any GCC internal prototype to avoid an error.
15479 Use char because int might match the return type of a GCC
15480 builtin and then its argument prototype would still apply. */
15481 #ifdef __cplusplus
15482 extern "C"
15483 #endif
15484 char gsm_create ();
15486 main ()
15488 return gsm_create ();
15490 return 0;
15492 _ACEOF
15493 if ac_fn_c_try_link "$LINENO"; then :
15494 case "$LIBEXT" in
15495 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15496 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'` ;;
15497 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15498 if ${ac_cv_lib_soname_gsm:+false} :; then :
15499 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15500 fi ;;
15501 esac
15502 else
15503 ac_cv_lib_soname_gsm=
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext conftest.$ac_ext
15507 LIBS=$ac_check_soname_save_LIBS
15509 if ${ac_cv_lib_soname_gsm:+false} :; then :
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15511 $as_echo "not found" >&6; }
15513 else
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15515 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15517 cat >>confdefs.h <<_ACEOF
15518 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15519 _ACEOF
15524 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15525 case "x$with_gsm" in
15526 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15527 xno) ;;
15528 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15529 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15530 esac
15534 if test "x$with_krb5" != "xno"
15535 then
15536 if ${KRB5_CFLAGS:+false} :; then :
15537 if ${PKG_CONFIG+:} false; then :
15538 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15541 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15542 if ${KRB5_LIBS:+false} :; then :
15543 if ${PKG_CONFIG+:} false; then :
15544 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15547 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15549 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15550 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15551 ac_save_CPPFLAGS=$CPPFLAGS
15552 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15553 for ac_header in krb5/krb5.h
15554 do :
15555 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15556 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15557 cat >>confdefs.h <<_ACEOF
15558 #define HAVE_KRB5_KRB5_H 1
15559 _ACEOF
15563 done
15565 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15566 then
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15568 $as_echo_n "checking for -lkrb5... " >&6; }
15569 if ${ac_cv_lib_soname_krb5+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 ac_check_soname_save_LIBS=$LIBS
15573 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15575 /* end confdefs.h. */
15577 /* Override any GCC internal prototype to avoid an error.
15578 Use char because int might match the return type of a GCC
15579 builtin and then its argument prototype would still apply. */
15580 #ifdef __cplusplus
15581 extern "C"
15582 #endif
15583 char krb5_is_config_principal ();
15585 main ()
15587 return krb5_is_config_principal ();
15589 return 0;
15591 _ACEOF
15592 if ac_fn_c_try_link "$LINENO"; then :
15593 case "$LIBEXT" in
15594 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15595 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'` ;;
15596 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15597 if ${ac_cv_lib_soname_krb5:+false} :; then :
15598 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15599 fi ;;
15600 esac
15601 else
15602 ac_cv_lib_soname_krb5=
15604 rm -f core conftest.err conftest.$ac_objext \
15605 conftest$ac_exeext conftest.$ac_ext
15606 LIBS=$ac_check_soname_save_LIBS
15608 if ${ac_cv_lib_soname_krb5:+false} :; then :
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15610 $as_echo "not found" >&6; }
15611 KRB5_CFLAGS=""
15612 else
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15614 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15616 cat >>confdefs.h <<_ACEOF
15617 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15618 _ACEOF
15622 else
15623 KRB5_CFLAGS=""
15625 CPPFLAGS=$ac_save_CPPFLAGS
15628 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15629 case "x$with_krb5" in
15630 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15631 xno) ;;
15632 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15633 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15634 esac
15637 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15639 if test "x$with_gssapi" != "xno"
15640 then
15641 if ${GSSAPI_CFLAGS:+false} :; then :
15642 if ${PKG_CONFIG+:} false; then :
15643 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15646 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15647 if ${GSSAPI_LIBS:+false} :; then :
15648 if ${PKG_CONFIG+:} false; then :
15649 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15652 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15654 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15655 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15656 ac_save_CPPFLAGS=$CPPFLAGS
15657 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15658 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15659 do :
15660 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15661 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15662 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15665 _ACEOF
15669 done
15671 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15672 then
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15674 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15675 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15676 $as_echo_n "(cached) " >&6
15677 else
15678 ac_check_soname_save_LIBS=$LIBS
15679 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15683 /* Override any GCC internal prototype to avoid an error.
15684 Use char because int might match the return type of a GCC
15685 builtin and then its argument prototype would still apply. */
15686 #ifdef __cplusplus
15687 extern "C"
15688 #endif
15689 char gss_init_sec_context ();
15691 main ()
15693 return gss_init_sec_context ();
15695 return 0;
15697 _ACEOF
15698 if ac_fn_c_try_link "$LINENO"; then :
15699 case "$LIBEXT" in
15700 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15701 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'` ;;
15702 *) 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'`
15703 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15704 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15705 fi ;;
15706 esac
15707 else
15708 ac_cv_lib_soname_gssapi_krb5=
15710 rm -f core conftest.err conftest.$ac_objext \
15711 conftest$ac_exeext conftest.$ac_ext
15712 LIBS=$ac_check_soname_save_LIBS
15714 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15716 $as_echo "not found" >&6; }
15717 GSSAPI_CFLAGS=""
15718 else
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15720 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15722 cat >>confdefs.h <<_ACEOF
15723 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15724 _ACEOF
15728 else
15729 GSSAPI_CFLAGS=""
15731 CPPFLAGS=$ac_save_CPPFLAGS
15734 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15735 case "x$with_gssapi" in
15736 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15737 xno) ;;
15738 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15739 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15740 esac
15744 if test "x$with_jpeg" != "xno"
15745 then
15746 if ${JPEG_CFLAGS:+false} :; then :
15747 if ${PKG_CONFIG+:} false; then :
15748 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15752 if ${JPEG_LIBS:+false} :; then :
15753 if ${PKG_CONFIG+:} false; then :
15754 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15759 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15760 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15761 ac_save_CPPFLAGS=$CPPFLAGS
15762 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15763 for ac_header in jpeglib.h
15764 do :
15765 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15766 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define HAVE_JPEGLIB_H 1
15769 _ACEOF
15773 done
15775 if test "$ac_cv_header_jpeglib_h" = "yes"
15776 then
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15778 $as_echo_n "checking for -ljpeg... " >&6; }
15779 if ${ac_cv_lib_soname_jpeg+:} false; then :
15780 $as_echo_n "(cached) " >&6
15781 else
15782 ac_check_soname_save_LIBS=$LIBS
15783 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 #ifdef __cplusplus
15791 extern "C"
15792 #endif
15793 char jpeg_start_decompress ();
15795 main ()
15797 return jpeg_start_decompress ();
15799 return 0;
15801 _ACEOF
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 case "$LIBEXT" in
15804 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15805 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'` ;;
15806 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15807 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15808 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15809 fi ;;
15810 esac
15811 else
15812 ac_cv_lib_soname_jpeg=
15814 rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_soname_save_LIBS
15818 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15820 $as_echo "not found" >&6; }
15821 JPEG_CFLAGS=""
15822 else
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15824 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15826 cat >>confdefs.h <<_ACEOF
15827 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15828 _ACEOF
15832 else
15833 JPEG_CFLAGS=""
15835 CPPFLAGS=$ac_save_CPPFLAGS
15838 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15839 case "x$with_jpeg" in
15840 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15841 xno) ;;
15842 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15843 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15844 esac
15848 if test "x$with_jxrlib" != "xno"
15849 then
15850 if ${JXRLIB_CFLAGS:+false} :; then :
15851 if ${PKG_CONFIG+:} false; then :
15852 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15855 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15856 if ${JXRLIB_LIBS:+false} :; then :
15857 if ${PKG_CONFIG+:} false; then :
15858 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15863 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15864 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15865 ac_save_CPPFLAGS=$CPPFLAGS
15866 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15867 for ac_header in JXRGlue.h
15868 do :
15869 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15871 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define HAVE_JXRGLUE_H 1
15874 _ACEOF
15878 done
15880 if test "$ac_cv_header_JXRGlue_h" = "yes"
15881 then
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15883 $as_echo_n "checking for -ljxrglue... " >&6; }
15884 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15885 $as_echo_n "(cached) " >&6
15886 else
15887 ac_check_soname_save_LIBS=$LIBS
15888 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15895 #ifdef __cplusplus
15896 extern "C"
15897 #endif
15898 char PKImageDecode_Create_WMP ();
15900 main ()
15902 return PKImageDecode_Create_WMP ();
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_link "$LINENO"; then :
15908 case "$LIBEXT" in
15909 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15910 dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15911 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15912 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15913 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15914 fi ;;
15915 esac
15916 else
15917 ac_cv_lib_soname_jxrglue=
15919 rm -f core conftest.err conftest.$ac_objext \
15920 conftest$ac_exeext conftest.$ac_ext
15921 LIBS=$ac_check_soname_save_LIBS
15923 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15925 $as_echo "not found" >&6; }
15926 JXRLIB_CFLAGS=""
15927 else
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
15929 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
15931 cat >>confdefs.h <<_ACEOF
15932 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
15933 _ACEOF
15937 else
15938 JXRLIB_CFLAGS=""
15940 CPPFLAGS=$ac_save_CPPFLAGS
15943 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
15944 case "x$with_jxrlib" in
15945 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
15946 xno) ;;
15947 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
15948 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
15949 esac
15953 if test "x$with_png" != "xno"
15954 then
15955 if ${PNG_CFLAGS:+false} :; then :
15956 if ${PKG_CONFIG+:} false; then :
15957 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15960 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15961 if ${PNG_LIBS:+false} :; then :
15962 if ${PKG_CONFIG+:} false; then :
15963 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15966 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15968 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15969 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15970 ac_save_CPPFLAGS=$CPPFLAGS
15971 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15972 for ac_header in png.h
15973 do :
15974 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15975 if test "x$ac_cv_header_png_h" = xyes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_PNG_H 1
15978 _ACEOF
15982 done
15984 if test "$ac_cv_header_png_h" = "yes"
15985 then
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15987 $as_echo_n "checking for -lpng... " >&6; }
15988 if ${ac_cv_lib_soname_png+:} false; then :
15989 $as_echo_n "(cached) " >&6
15990 else
15991 ac_check_soname_save_LIBS=$LIBS
15992 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15996 /* Override any GCC internal prototype to avoid an error.
15997 Use char because int might match the return type of a GCC
15998 builtin and then its argument prototype would still apply. */
15999 #ifdef __cplusplus
16000 extern "C"
16001 #endif
16002 char png_create_read_struct ();
16004 main ()
16006 return png_create_read_struct ();
16008 return 0;
16010 _ACEOF
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 case "$LIBEXT" in
16013 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16014 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'` ;;
16015 *) 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'`
16016 if ${ac_cv_lib_soname_png:+false} :; then :
16017 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16018 fi ;;
16019 esac
16020 else
16021 ac_cv_lib_soname_png=
16023 rm -f core conftest.err conftest.$ac_objext \
16024 conftest$ac_exeext conftest.$ac_ext
16025 LIBS=$ac_check_soname_save_LIBS
16027 if ${ac_cv_lib_soname_png:+false} :; then :
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16029 $as_echo "not found" >&6; }
16030 PNG_CFLAGS=""
16031 else
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16033 $as_echo "$ac_cv_lib_soname_png" >&6; }
16035 cat >>confdefs.h <<_ACEOF
16036 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16037 _ACEOF
16041 else
16042 PNG_CFLAGS=""
16044 CPPFLAGS=$ac_save_CPPFLAGS
16047 if test "x$ac_cv_lib_soname_png" = "x"; then :
16048 case "x$with_png" in
16049 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16050 xno) ;;
16051 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16052 This is an error since --with-png was requested." "$LINENO" 5 ;;
16053 esac
16057 if test "x$with_tiff" != "xno"
16058 then
16059 if ${TIFF_CFLAGS:+false} :; then :
16060 if ${PKG_CONFIG+:} false; then :
16061 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16065 if ${TIFF_LIBS:+false} :; then :
16066 if ${PKG_CONFIG+:} false; then :
16067 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16072 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16073 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16074 ac_save_CPPFLAGS=$CPPFLAGS
16075 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16076 for ac_header in tiffio.h
16077 do :
16078 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16079 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_TIFFIO_H 1
16082 _ACEOF
16086 done
16088 if test "$ac_cv_header_tiffio_h" = "yes"
16089 then
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16091 $as_echo_n "checking for -ltiff... " >&6; }
16092 if ${ac_cv_lib_soname_tiff+:} false; then :
16093 $as_echo_n "(cached) " >&6
16094 else
16095 ac_check_soname_save_LIBS=$LIBS
16096 LIBS="-ltiff $TIFF_LIBS $LIBS"
16097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16100 /* Override any GCC internal prototype to avoid an error.
16101 Use char because int might match the return type of a GCC
16102 builtin and then its argument prototype would still apply. */
16103 #ifdef __cplusplus
16104 extern "C"
16105 #endif
16106 char TIFFClientOpen ();
16108 main ()
16110 return TIFFClientOpen ();
16112 return 0;
16114 _ACEOF
16115 if ac_fn_c_try_link "$LINENO"; then :
16116 case "$LIBEXT" in
16117 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16118 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'` ;;
16119 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16120 if ${ac_cv_lib_soname_tiff:+false} :; then :
16121 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16122 fi ;;
16123 esac
16124 else
16125 ac_cv_lib_soname_tiff=
16127 rm -f core conftest.err conftest.$ac_objext \
16128 conftest$ac_exeext conftest.$ac_ext
16129 LIBS=$ac_check_soname_save_LIBS
16131 if ${ac_cv_lib_soname_tiff:+false} :; then :
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16133 $as_echo "not found" >&6; }
16135 else
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16137 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16139 cat >>confdefs.h <<_ACEOF
16140 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16141 _ACEOF
16146 CPPFLAGS=$ac_save_CPPFLAGS
16149 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16150 case "x$with_tiff" in
16151 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16152 xno) ;;
16153 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16154 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16155 esac
16159 if test "x$with_mpg123" != "xno"
16160 then
16161 if ${MPG123_CFLAGS:+false} :; then :
16162 if ${PKG_CONFIG+:} false; then :
16163 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16167 if ${MPG123_LIBS:+false} :; then :
16168 if ${PKG_CONFIG+:} false; then :
16169 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16173 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16174 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16175 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16176 ac_save_CPPFLAGS=$CPPFLAGS
16177 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16178 for ac_header in mpg123.h
16179 do :
16180 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16181 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16182 cat >>confdefs.h <<_ACEOF
16183 #define HAVE_MPG123_H 1
16184 _ACEOF
16188 done
16190 if test "$ac_cv_header_mpg123_h" = "yes"
16191 then
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16193 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16194 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16195 $as_echo_n "(cached) " >&6
16196 else
16197 ac_check_lib_save_LIBS=$LIBS
16198 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16202 /* Override any GCC internal prototype to avoid an error.
16203 Use char because int might match the return type of a GCC
16204 builtin and then its argument prototype would still apply. */
16205 #ifdef __cplusplus
16206 extern "C"
16207 #endif
16208 char mpg123_feed ();
16210 main ()
16212 return mpg123_feed ();
16214 return 0;
16216 _ACEOF
16217 if ac_fn_c_try_link "$LINENO"; then :
16218 ac_cv_lib_mpg123_mpg123_feed=yes
16219 else
16220 ac_cv_lib_mpg123_mpg123_feed=no
16222 rm -f core conftest.err conftest.$ac_objext \
16223 conftest$ac_exeext conftest.$ac_ext
16224 LIBS=$ac_check_lib_save_LIBS
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16227 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16228 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16230 else
16231 MPG123_LIBS=""
16234 else
16235 MPG123_CFLAGS=""
16236 MPG123_LIBS=""
16238 CPPFLAGS=$ac_save_CPPFLAGS
16241 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16242 case "x$with_mpg123" in
16243 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16244 xno) ;;
16245 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16246 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16247 esac
16248 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16250 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16252 if test "$ac_cv_header_AL_al_h" = "yes"
16253 then
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16255 $as_echo_n "checking for -lopenal... " >&6; }
16256 if ${ac_cv_lib_soname_openal+:} false; then :
16257 $as_echo_n "(cached) " >&6
16258 else
16259 ac_check_soname_save_LIBS=$LIBS
16260 LIBS="-lopenal $LIBS"
16261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16262 /* end confdefs.h. */
16264 /* Override any GCC internal prototype to avoid an error.
16265 Use char because int might match the return type of a GCC
16266 builtin and then its argument prototype would still apply. */
16267 #ifdef __cplusplus
16268 extern "C"
16269 #endif
16270 char alGetSource3i ();
16272 main ()
16274 return alGetSource3i ();
16276 return 0;
16278 _ACEOF
16279 if ac_fn_c_try_link "$LINENO"; then :
16280 case "$LIBEXT" in
16281 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16282 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'` ;;
16283 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16284 if ${ac_cv_lib_soname_openal:+false} :; then :
16285 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16286 fi ;;
16287 esac
16288 else
16289 ac_cv_lib_soname_openal=
16291 rm -f core conftest.err conftest.$ac_objext \
16292 conftest$ac_exeext conftest.$ac_ext
16293 LIBS=$ac_check_soname_save_LIBS
16295 if ${ac_cv_lib_soname_openal:+false} :; then :
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16297 $as_echo "not found" >&6; }
16299 else
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16301 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16303 cat >>confdefs.h <<_ACEOF
16304 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16305 _ACEOF
16307 OPENAL_LIBS="-lopenal"
16309 ac_cv_lib_openal=yes
16311 cat >>confdefs.h <<_ACEOF
16312 #define HAVE_OPENAL 1
16313 _ACEOF
16317 if test "x$ac_cv_lib_openal" != xyes; then :
16318 case "x$with_openal" in
16319 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16320 xno) ;;
16321 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16322 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16323 esac
16324 enable_openal32=${enable_openal32:-no}
16327 if test "x$ac_cv_lib_soname_FAudio" = "x"
16328 then
16329 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16330 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16331 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16332 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16333 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16334 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16335 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16336 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16337 enable_xactengine3_0=${enable_xactengine3_0:-no}
16338 enable_xactengine3_1=${enable_xactengine3_1:-no}
16339 enable_xactengine3_2=${enable_xactengine3_2:-no}
16340 enable_xactengine3_3=${enable_xactengine3_3:-no}
16341 enable_xactengine3_4=${enable_xactengine3_4:-no}
16342 enable_xactengine3_5=${enable_xactengine3_5:-no}
16343 enable_xactengine3_6=${enable_xactengine3_6:-no}
16344 enable_xactengine3_7=${enable_xactengine3_7:-no}
16345 enable_xapofx1_1=${enable_xapofx1_1:-no}
16346 enable_xapofx1_2=${enable_xapofx1_2:-no}
16347 enable_xapofx1_3=${enable_xapofx1_3:-no}
16348 enable_xapofx1_4=${enable_xapofx1_4:-no}
16349 enable_xapofx1_5=${enable_xapofx1_5:-no}
16350 enable_xaudio2_0=${enable_xaudio2_0:-no}
16351 enable_xaudio2_1=${enable_xaudio2_1:-no}
16352 enable_xaudio2_2=${enable_xaudio2_2:-no}
16353 enable_xaudio2_3=${enable_xaudio2_3:-no}
16354 enable_xaudio2_4=${enable_xaudio2_4:-no}
16355 enable_xaudio2_5=${enable_xaudio2_5:-no}
16356 enable_xaudio2_6=${enable_xaudio2_6:-no}
16357 enable_xaudio2_7=${enable_xaudio2_7:-no}
16358 enable_xaudio2_8=${enable_xaudio2_8:-no}
16359 enable_xaudio2_9=${enable_xaudio2_9:-no}
16362 if test "$ac_cv_header_kstat_h" = "yes"
16363 then
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16365 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16366 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 ac_check_lib_save_LIBS=$LIBS
16370 LIBS="-lkstat $LIBS"
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16374 /* Override any GCC internal prototype to avoid an error.
16375 Use char because int might match the return type of a GCC
16376 builtin and then its argument prototype would still apply. */
16377 #ifdef __cplusplus
16378 extern "C"
16379 #endif
16380 char kstat_open ();
16382 main ()
16384 return kstat_open ();
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_link "$LINENO"; then :
16390 ac_cv_lib_kstat_kstat_open=yes
16391 else
16392 ac_cv_lib_kstat_kstat_open=no
16394 rm -f core conftest.err conftest.$ac_objext \
16395 conftest$ac_exeext conftest.$ac_ext
16396 LIBS=$ac_check_lib_save_LIBS
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16399 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16400 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16402 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16404 KSTAT_LIBS="-lkstat"
16410 if test "$ac_cv_header_libprocstat_h" = "yes"
16411 then
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16413 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16414 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16415 $as_echo_n "(cached) " >&6
16416 else
16417 ac_check_lib_save_LIBS=$LIBS
16418 LIBS="-lprocstat $LIBS"
16419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16422 /* Override any GCC internal prototype to avoid an error.
16423 Use char because int might match the return type of a GCC
16424 builtin and then its argument prototype would still apply. */
16425 #ifdef __cplusplus
16426 extern "C"
16427 #endif
16428 char procstat_open_sysctl ();
16430 main ()
16432 return procstat_open_sysctl ();
16434 return 0;
16436 _ACEOF
16437 if ac_fn_c_try_link "$LINENO"; then :
16438 ac_cv_lib_procstat_procstat_open_sysctl=yes
16439 else
16440 ac_cv_lib_procstat_procstat_open_sysctl=no
16442 rm -f core conftest.err conftest.$ac_objext \
16443 conftest$ac_exeext conftest.$ac_ext
16444 LIBS=$ac_check_lib_save_LIBS
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16447 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16448 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16450 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16452 PROCSTAT_LIBS="-lprocstat"
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16459 $as_echo_n "checking for -lodbc... " >&6; }
16460 if ${ac_cv_lib_soname_odbc+:} false; then :
16461 $as_echo_n "(cached) " >&6
16462 else
16463 ac_check_soname_save_LIBS=$LIBS
16464 LIBS="-lodbc $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 SQLConnect ();
16476 main ()
16478 return SQLConnect ();
16480 return 0;
16482 _ACEOF
16483 if ac_fn_c_try_link "$LINENO"; then :
16484 case "$LIBEXT" in
16485 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16486 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'` ;;
16487 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16488 if ${ac_cv_lib_soname_odbc:+false} :; then :
16489 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16490 fi ;;
16491 esac
16492 else
16493 ac_cv_lib_soname_odbc=
16495 rm -f core conftest.err conftest.$ac_objext \
16496 conftest$ac_exeext conftest.$ac_ext
16497 LIBS=$ac_check_soname_save_LIBS
16499 if ${ac_cv_lib_soname_odbc:+false} :; then :
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16501 $as_echo "not found" >&6; }
16502 cat >>confdefs.h <<_ACEOF
16503 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16504 _ACEOF
16506 else
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16508 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16510 cat >>confdefs.h <<_ACEOF
16511 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16512 _ACEOF
16517 if test "x$with_netapi" != "xno"
16518 then
16519 if ${NETAPI_CFLAGS:+false} :; then :
16520 if ${PKG_CONFIG+:} false; then :
16521 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16525 if ${NETAPI_LIBS:+false} :; then :
16526 if ${PKG_CONFIG+:} false; then :
16527 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16532 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16533 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16534 ac_save_CPPFLAGS=$CPPFLAGS
16535 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16537 $as_echo_n "checking for -lnetapi... " >&6; }
16538 if ${ac_cv_lib_soname_netapi+:} false; then :
16539 $as_echo_n "(cached) " >&6
16540 else
16541 ac_check_soname_save_LIBS=$LIBS
16542 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16546 /* Override any GCC internal prototype to avoid an error.
16547 Use char because int might match the return type of a GCC
16548 builtin and then its argument prototype would still apply. */
16549 #ifdef __cplusplus
16550 extern "C"
16551 #endif
16552 char libnetapi_init ();
16554 main ()
16556 return libnetapi_init ();
16558 return 0;
16560 _ACEOF
16561 if ac_fn_c_try_link "$LINENO"; then :
16562 case "$LIBEXT" in
16563 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16564 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'` ;;
16565 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16566 if ${ac_cv_lib_soname_netapi:+false} :; then :
16567 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16568 fi ;;
16569 esac
16570 else
16571 ac_cv_lib_soname_netapi=
16573 rm -f core conftest.err conftest.$ac_objext \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_soname_save_LIBS
16577 if ${ac_cv_lib_soname_netapi:+false} :; then :
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16579 $as_echo "not found" >&6; }
16580 cat >>confdefs.h <<_ACEOF
16581 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16582 _ACEOF
16584 else
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16586 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16588 cat >>confdefs.h <<_ACEOF
16589 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16590 _ACEOF
16594 CPPFLAGS=$ac_save_CPPFLAGS
16598 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16599 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16600 then
16601 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16604 if test "x$with_vulkan" != "xno"
16605 then
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16607 $as_echo_n "checking for -lvulkan... " >&6; }
16608 if ${ac_cv_lib_soname_vulkan+:} false; then :
16609 $as_echo_n "(cached) " >&6
16610 else
16611 ac_check_soname_save_LIBS=$LIBS
16612 LIBS="-lvulkan $LIBS"
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16616 /* Override any GCC internal prototype to avoid an error.
16617 Use char because int might match the return type of a GCC
16618 builtin and then its argument prototype would still apply. */
16619 #ifdef __cplusplus
16620 extern "C"
16621 #endif
16622 char vkGetInstanceProcAddr ();
16624 main ()
16626 return vkGetInstanceProcAddr ();
16628 return 0;
16630 _ACEOF
16631 if ac_fn_c_try_link "$LINENO"; then :
16632 case "$LIBEXT" in
16633 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16634 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'` ;;
16635 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16636 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16637 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16638 fi ;;
16639 esac
16640 else
16641 ac_cv_lib_soname_vulkan=
16643 rm -f core conftest.err conftest.$ac_objext \
16644 conftest$ac_exeext conftest.$ac_ext
16645 LIBS=$ac_check_soname_save_LIBS
16647 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16649 $as_echo "not found" >&6; }
16651 else
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16653 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16655 cat >>confdefs.h <<_ACEOF
16656 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16657 _ACEOF
16661 if test "x$ac_cv_lib_soname_vulkan" = "x"
16662 then
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16664 $as_echo_n "checking for -lMoltenVK... " >&6; }
16665 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16666 $as_echo_n "(cached) " >&6
16667 else
16668 ac_check_soname_save_LIBS=$LIBS
16669 LIBS="-lMoltenVK $LIBS"
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16673 /* Override any GCC internal prototype to avoid an error.
16674 Use char because int might match the return type of a GCC
16675 builtin and then its argument prototype would still apply. */
16676 #ifdef __cplusplus
16677 extern "C"
16678 #endif
16679 char vkGetInstanceProcAddr ();
16681 main ()
16683 return vkGetInstanceProcAddr ();
16685 return 0;
16687 _ACEOF
16688 if ac_fn_c_try_link "$LINENO"; then :
16689 case "$LIBEXT" in
16690 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16691 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'` ;;
16692 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16693 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16694 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16695 fi ;;
16696 esac
16697 else
16698 ac_cv_lib_soname_MoltenVK=
16700 rm -f core conftest.err conftest.$ac_objext \
16701 conftest$ac_exeext conftest.$ac_ext
16702 LIBS=$ac_check_soname_save_LIBS
16704 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16706 $as_echo "not found" >&6; }
16708 else
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16710 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16712 cat >>confdefs.h <<_ACEOF
16713 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16714 _ACEOF
16720 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16721 case "x$with_vulkan" in
16722 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16723 xno) ;;
16724 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16725 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16726 esac
16730 if test "x$with_vkd3d" != "xno"
16731 then
16732 if ${VKD3D_CFLAGS:+false} :; then :
16733 if ${PKG_CONFIG+:} false; then :
16734 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16738 if ${VKD3D_LIBS:+false} :; then :
16739 if ${PKG_CONFIG+:} false; then :
16740 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16745 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16746 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16747 ac_save_CPPFLAGS=$CPPFLAGS
16748 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16750 $as_echo_n "checking for -lvkd3d... " >&6; }
16751 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16752 $as_echo_n "(cached) " >&6
16753 else
16754 ac_check_soname_save_LIBS=$LIBS
16755 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16759 /* Override any GCC internal prototype to avoid an error.
16760 Use char because int might match the return type of a GCC
16761 builtin and then its argument prototype would still apply. */
16762 #ifdef __cplusplus
16763 extern "C"
16764 #endif
16765 char vkd3d_serialize_versioned_root_signature ();
16767 main ()
16769 return vkd3d_serialize_versioned_root_signature ();
16771 return 0;
16773 _ACEOF
16774 if ac_fn_c_try_link "$LINENO"; then :
16775 case "$LIBEXT" in
16776 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16777 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'` ;;
16778 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16779 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16780 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16781 fi ;;
16782 esac
16783 else
16784 ac_cv_lib_soname_vkd3d=
16786 rm -f core conftest.err conftest.$ac_objext \
16787 conftest$ac_exeext conftest.$ac_ext
16788 LIBS=$ac_check_soname_save_LIBS
16790 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16792 $as_echo "not found" >&6; }
16794 else
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16796 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16798 cat >>confdefs.h <<_ACEOF
16799 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16800 _ACEOF
16804 CPPFLAGS=$ac_save_CPPFLAGS
16806 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16807 if ${PKG_CONFIG+:} false; then :
16808 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16812 if ${VKD3D_SHADER_LIBS:+false} :; then :
16813 if ${PKG_CONFIG+:} false; then :
16814 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16819 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16820 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16821 ac_save_CPPFLAGS=$CPPFLAGS
16822 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16824 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16825 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16826 $as_echo_n "(cached) " >&6
16827 else
16828 ac_check_soname_save_LIBS=$LIBS
16829 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16833 /* Override any GCC internal prototype to avoid an error.
16834 Use char because int might match the return type of a GCC
16835 builtin and then its argument prototype would still apply. */
16836 #ifdef __cplusplus
16837 extern "C"
16838 #endif
16839 char vkd3d_shader_compile ();
16841 main ()
16843 return vkd3d_shader_compile ();
16845 return 0;
16847 _ACEOF
16848 if ac_fn_c_try_link "$LINENO"; then :
16849 case "$LIBEXT" in
16850 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16851 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16852 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16853 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16854 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16855 fi ;;
16856 esac
16857 else
16858 ac_cv_lib_soname_vkd3d_shader=
16860 rm -f core conftest.err conftest.$ac_objext \
16861 conftest$ac_exeext conftest.$ac_ext
16862 LIBS=$ac_check_soname_save_LIBS
16864 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16866 $as_echo "not found" >&6; }
16868 else
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16870 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16872 cat >>confdefs.h <<_ACEOF
16873 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16874 _ACEOF
16878 CPPFLAGS=$ac_save_CPPFLAGS
16881 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16882 case "x$with_vkd3d" in
16883 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16884 xno) ;;
16885 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16886 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16887 esac
16890 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16893 EXTRACFLAGS=""
16895 if test "x${GCC}" = "xyes"
16896 then
16897 EXTRACFLAGS="-Wall -pipe"
16899 saved_CFLAGS=$CFLAGS
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16901 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16902 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16903 $as_echo_n "(cached) " >&6
16904 else
16905 ac_wine_try_cflags_saved=$CFLAGS
16906 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16909 int main(int argc, char **argv) { return 0; }
16910 _ACEOF
16911 if ac_fn_c_try_link "$LINENO"; then :
16912 ac_cv_cflags__Werror_unknown_warning_option=yes
16913 else
16914 ac_cv_cflags__Werror_unknown_warning_option=no
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext conftest.$ac_ext
16918 CFLAGS=$ac_wine_try_cflags_saved
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16921 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16922 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16923 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16926 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16927 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16928 $as_echo_n "(cached) " >&6
16929 else
16930 ac_wine_try_cflags_saved=$CFLAGS
16931 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16934 int main(int argc, char **argv) { return 0; }
16935 _ACEOF
16936 if ac_fn_c_try_link "$LINENO"; then :
16937 ac_cv_cflags__Werror_unused_command_line_argument=yes
16938 else
16939 ac_cv_cflags__Werror_unused_command_line_argument=no
16941 rm -f core conftest.err conftest.$ac_objext \
16942 conftest$ac_exeext conftest.$ac_ext
16943 CFLAGS=$ac_wine_try_cflags_saved
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16946 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16947 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16948 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16951 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16952 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16953 $as_echo_n "(cached) " >&6
16954 else
16955 ac_wine_try_cflags_saved=$CFLAGS
16956 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16958 /* end confdefs.h. */
16959 int main(int argc, char **argv) { return 0; }
16960 _ACEOF
16961 if ac_fn_c_try_link "$LINENO"; then :
16962 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16963 else
16964 ac_cv_cflags__Werror_ignored_optimization_argument=no
16966 rm -f core conftest.err conftest.$ac_objext \
16967 conftest$ac_exeext conftest.$ac_ext
16968 CFLAGS=$ac_wine_try_cflags_saved
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16971 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16972 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16973 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16976 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16977 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980 ac_wine_try_cflags_saved=$CFLAGS
16981 CFLAGS="$CFLAGS -fcf-protection=none"
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 int main(int argc, char **argv) { return 0; }
16985 _ACEOF
16986 if ac_fn_c_try_link "$LINENO"; then :
16987 ac_cv_cflags__fcf_protection_none=yes
16988 else
16989 ac_cv_cflags__fcf_protection_none=no
16991 rm -f core conftest.err conftest.$ac_objext \
16992 conftest$ac_exeext conftest.$ac_ext
16993 CFLAGS=$ac_wine_try_cflags_saved
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16996 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16997 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16998 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17001 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17002 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 ac_wine_try_cflags_saved=$CFLAGS
17006 CFLAGS="$CFLAGS -fno-stack-protector"
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 int main(int argc, char **argv) { return 0; }
17010 _ACEOF
17011 if ac_fn_c_try_link "$LINENO"; then :
17012 ac_cv_cflags__fno_stack_protector=yes
17013 else
17014 ac_cv_cflags__fno_stack_protector=no
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17018 CFLAGS=$ac_wine_try_cflags_saved
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17021 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17022 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17023 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17026 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17027 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17030 ac_wine_try_cflags_saved=$CFLAGS
17031 CFLAGS="$CFLAGS -fno-strict-aliasing"
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17034 int main(int argc, char **argv) { return 0; }
17035 _ACEOF
17036 if ac_fn_c_try_link "$LINENO"; then :
17037 ac_cv_cflags__fno_strict_aliasing=yes
17038 else
17039 ac_cv_cflags__fno_strict_aliasing=no
17041 rm -f core conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17043 CFLAGS=$ac_wine_try_cflags_saved
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17046 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17047 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17048 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17051 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17052 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17055 ac_wine_try_cflags_saved=$CFLAGS
17056 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 int main(int argc, char **argv) { return 0; }
17060 _ACEOF
17061 if ac_fn_c_try_link "$LINENO"; then :
17062 ac_cv_cflags__Wdeclaration_after_statement=yes
17063 else
17064 ac_cv_cflags__Wdeclaration_after_statement=no
17066 rm -f core conftest.err conftest.$ac_objext \
17067 conftest$ac_exeext conftest.$ac_ext
17068 CFLAGS=$ac_wine_try_cflags_saved
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17071 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17072 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17073 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17076 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17077 if ${ac_cv_cflags__Wempty_body+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 ac_wine_try_cflags_saved=$CFLAGS
17081 CFLAGS="$CFLAGS -Wempty-body"
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 int main(int argc, char **argv) { return 0; }
17085 _ACEOF
17086 if ac_fn_c_try_link "$LINENO"; then :
17087 ac_cv_cflags__Wempty_body=yes
17088 else
17089 ac_cv_cflags__Wempty_body=no
17091 rm -f core conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17093 CFLAGS=$ac_wine_try_cflags_saved
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17096 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17097 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17098 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17101 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17102 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 ac_wine_try_cflags_saved=$CFLAGS
17106 CFLAGS="$CFLAGS -Wignored-qualifiers"
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 int main(int argc, char **argv) { return 0; }
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_cflags__Wignored_qualifiers=yes
17113 else
17114 ac_cv_cflags__Wignored_qualifiers=no
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 CFLAGS=$ac_wine_try_cflags_saved
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17121 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17122 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17123 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17126 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17127 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 ac_wine_try_cflags_saved=$CFLAGS
17131 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 int main(int argc, char **argv) { return 0; }
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"; then :
17137 ac_cv_cflags__Wpacked_not_aligned=yes
17138 else
17139 ac_cv_cflags__Wpacked_not_aligned=no
17141 rm -f core conftest.err conftest.$ac_objext \
17142 conftest$ac_exeext conftest.$ac_ext
17143 CFLAGS=$ac_wine_try_cflags_saved
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17146 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17147 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17148 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17151 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17152 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 ac_wine_try_cflags_saved=$CFLAGS
17156 CFLAGS="$CFLAGS -Wpragma-pack"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 int main(int argc, char **argv) { return 0; }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_cflags__Wpragma_pack=yes
17163 else
17164 ac_cv_cflags__Wpragma_pack=no
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17168 CFLAGS=$ac_wine_try_cflags_saved
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17171 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17172 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17173 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17176 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17177 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 ac_wine_try_cflags_saved=$CFLAGS
17181 CFLAGS="$CFLAGS -Wshift-overflow=2"
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 int main(int argc, char **argv) { return 0; }
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 ac_cv_cflags__Wshift_overflow_2=yes
17188 else
17189 ac_cv_cflags__Wshift_overflow_2=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17193 CFLAGS=$ac_wine_try_cflags_saved
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17196 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17197 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17198 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17201 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17202 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 ac_wine_try_cflags_saved=$CFLAGS
17206 CFLAGS="$CFLAGS -Wstrict-prototypes"
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 int main(int argc, char **argv) { return 0; }
17210 _ACEOF
17211 if ac_fn_c_try_link "$LINENO"; then :
17212 ac_cv_cflags__Wstrict_prototypes=yes
17213 else
17214 ac_cv_cflags__Wstrict_prototypes=no
17216 rm -f core conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17218 CFLAGS=$ac_wine_try_cflags_saved
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17221 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17222 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17223 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17226 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17227 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17228 $as_echo_n "(cached) " >&6
17229 else
17230 ac_wine_try_cflags_saved=$CFLAGS
17231 CFLAGS="$CFLAGS -Wtype-limits"
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 int main(int argc, char **argv) { return 0; }
17235 _ACEOF
17236 if ac_fn_c_try_link "$LINENO"; then :
17237 ac_cv_cflags__Wtype_limits=yes
17238 else
17239 ac_cv_cflags__Wtype_limits=no
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17243 CFLAGS=$ac_wine_try_cflags_saved
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17246 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17247 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17248 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17251 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17252 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 ac_wine_try_cflags_saved=$CFLAGS
17256 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 int main(int argc, char **argv) { return 0; }
17260 _ACEOF
17261 if ac_fn_c_try_link "$LINENO"; then :
17262 ac_cv_cflags__Wunused_but_set_parameter=yes
17263 else
17264 ac_cv_cflags__Wunused_but_set_parameter=no
17266 rm -f core conftest.err conftest.$ac_objext \
17267 conftest$ac_exeext conftest.$ac_ext
17268 CFLAGS=$ac_wine_try_cflags_saved
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17271 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17272 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17273 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17276 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17277 if ${ac_cv_cflags__Wvla+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 ac_wine_try_cflags_saved=$CFLAGS
17281 CFLAGS="$CFLAGS -Wvla"
17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17284 int main(int argc, char **argv) { return 0; }
17285 _ACEOF
17286 if ac_fn_c_try_link "$LINENO"; then :
17287 ac_cv_cflags__Wvla=yes
17288 else
17289 ac_cv_cflags__Wvla=no
17291 rm -f core conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17293 CFLAGS=$ac_wine_try_cflags_saved
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17296 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17297 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17298 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17301 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17302 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 ac_wine_try_cflags_saved=$CFLAGS
17306 CFLAGS="$CFLAGS -Wwrite-strings"
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 int main(int argc, char **argv) { return 0; }
17310 _ACEOF
17311 if ac_fn_c_try_link "$LINENO"; then :
17312 ac_cv_cflags__Wwrite_strings=yes
17313 else
17314 ac_cv_cflags__Wwrite_strings=no
17316 rm -f core conftest.err conftest.$ac_objext \
17317 conftest$ac_exeext conftest.$ac_ext
17318 CFLAGS=$ac_wine_try_cflags_saved
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17321 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17322 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17323 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17326 if test -z "$CROSSTARGET"
17327 then
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17329 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17330 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333 ac_wine_try_cflags_saved=$CFLAGS
17334 CFLAGS="$CFLAGS -fexcess-precision=standard"
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 int main(int argc, char **argv) { return 0; }
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 ac_cv_cflags__fexcess_precision_standard=yes
17341 else
17342 ac_cv_cflags__fexcess_precision_standard=no
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17346 CFLAGS=$ac_wine_try_cflags_saved
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17349 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17350 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17351 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17357 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17358 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17359 $as_echo_n "(cached) " >&6
17360 else
17361 ac_wine_try_cflags_saved=$CFLAGS
17362 CFLAGS="$CFLAGS -Wpointer-arith"
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365 int main(int argc, char **argv) { return 0; }
17366 _ACEOF
17367 if ac_fn_c_try_link "$LINENO"; then :
17368 ac_cv_cflags__Wpointer_arith=yes
17369 else
17370 ac_cv_cflags__Wpointer_arith=no
17372 rm -f core conftest.err conftest.$ac_objext \
17373 conftest$ac_exeext conftest.$ac_ext
17374 CFLAGS=$ac_wine_try_cflags_saved
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17377 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17378 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17379 saved_string_h_CFLAGS=$CFLAGS
17380 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17382 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17383 if ${ac_cv_c_string_h_warnings+:} false; then :
17384 $as_echo_n "(cached) " >&6
17385 else
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 #include <string.h>
17390 main ()
17394 return 0;
17396 _ACEOF
17397 if ac_fn_c_try_compile "$LINENO"; then :
17398 ac_cv_c_string_h_warnings=no
17399 else
17400 ac_cv_c_string_h_warnings=yes
17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17405 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17406 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17407 CFLAGS=$saved_string_h_CFLAGS
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17411 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17412 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17413 $as_echo_n "(cached) " >&6
17414 else
17415 ac_wine_try_cflags_saved=$CFLAGS
17416 CFLAGS="$CFLAGS -Wlogical-op"
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 int main(int argc, char **argv) { return 0; }
17420 _ACEOF
17421 if ac_fn_c_try_link "$LINENO"; then :
17422 ac_cv_cflags__Wlogical_op=yes
17423 else
17424 ac_cv_cflags__Wlogical_op=no
17426 rm -f core conftest.err conftest.$ac_objext \
17427 conftest$ac_exeext conftest.$ac_ext
17428 CFLAGS=$ac_wine_try_cflags_saved
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17431 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17432 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17433 saved_string_h_CFLAGS=$CFLAGS
17434 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17436 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17437 if ${ac_cv_c_logicalop_noisy+:} false; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 #include <string.h>
17443 char*f(const char *h,char n) {return strchr(h,n);}
17445 main ()
17449 return 0;
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 ac_cv_c_logicalop_noisy=no
17454 else
17455 ac_cv_c_logicalop_noisy=yes
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17460 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17461 CFLAGS=$saved_string_h_CFLAGS
17462 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17466 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17467 if ${wine_cv_64bit_compare_swap+:} false; then :
17468 $as_echo_n "(cached) " >&6
17469 else
17470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17471 /* end confdefs.h. */
17472 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17473 #error no
17474 #endif
17476 main ()
17480 return 0;
17482 _ACEOF
17483 if ac_fn_c_try_compile "$LINENO"; then :
17484 wine_cv_64bit_compare_swap="none needed"
17485 else
17486 case $host_cpu in
17487 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17488 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17489 *) wine_cv_64bit_compare_swap="unknown" ;;
17490 esac
17491 if test "x$wine_cv_64bit_compare_swap" != xunknown
17492 then
17493 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17497 #error no
17498 #endif
17500 main ()
17504 return 0;
17506 _ACEOF
17507 if ac_fn_c_try_compile "$LINENO"; then :
17509 else
17510 wine_cv_64bit_compare_swap="unknown"
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17513 CFLAGS=$saved_CFLAGS
17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17519 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17520 case "$wine_cv_64bit_compare_swap" in
17521 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17522 "none needed") ;;
17523 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17524 esac
17526 for ac_flag in $CFLAGS; do
17527 case $ac_flag in
17528 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17529 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17530 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17533 ac_wine_try_cflags_saved=$CFLAGS
17534 CFLAGS="$CFLAGS -gdwarf-2"
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17537 int main(int argc, char **argv) { return 0; }
17538 _ACEOF
17539 if ac_fn_c_try_link "$LINENO"; then :
17540 ac_cv_cflags__gdwarf_2=yes
17541 else
17542 ac_cv_cflags__gdwarf_2=no
17544 rm -f core conftest.err conftest.$ac_objext \
17545 conftest$ac_exeext conftest.$ac_ext
17546 CFLAGS=$ac_wine_try_cflags_saved
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17549 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17550 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17551 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17554 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17555 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17556 $as_echo_n "(cached) " >&6
17557 else
17558 ac_wine_try_cflags_saved=$CFLAGS
17559 CFLAGS="$CFLAGS -gstrict-dwarf"
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17562 int main(int argc, char **argv) { return 0; }
17563 _ACEOF
17564 if ac_fn_c_try_link "$LINENO"; then :
17565 ac_cv_cflags__gstrict_dwarf=yes
17566 else
17567 ac_cv_cflags__gstrict_dwarf=no
17569 rm -f core conftest.err conftest.$ac_objext \
17570 conftest$ac_exeext conftest.$ac_ext
17571 CFLAGS=$ac_wine_try_cflags_saved
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17574 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17575 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17576 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17577 fi ;;
17578 esac
17579 done
17581 MSVCRTFLAGS=""
17583 case $host_os in
17584 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17585 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17586 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 ac_wine_try_cflags_saved=$CFLAGS
17590 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 int main(int argc, char **argv) { return 0; }
17594 _ACEOF
17595 if ac_fn_c_try_link "$LINENO"; then :
17596 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17597 else
17598 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17600 rm -f core conftest.err conftest.$ac_objext \
17601 conftest$ac_exeext conftest.$ac_ext
17602 CFLAGS=$ac_wine_try_cflags_saved
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17605 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17606 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17607 DELAYLOADFLAG="-Wl,-delayload,"
17609 fi ;;
17610 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17611 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17612 if ${ac_cv_cflags__fno_builtin+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 ac_wine_try_cflags_saved=$CFLAGS
17616 CFLAGS="$CFLAGS -fno-builtin"
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 int main(int argc, char **argv) { return 0; }
17620 _ACEOF
17621 if ac_fn_c_try_link "$LINENO"; then :
17622 ac_cv_cflags__fno_builtin=yes
17623 else
17624 ac_cv_cflags__fno_builtin=no
17626 rm -f core conftest.err conftest.$ac_objext \
17627 conftest$ac_exeext conftest.$ac_ext
17628 CFLAGS=$ac_wine_try_cflags_saved
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17631 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17632 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17633 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17636 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17637 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17638 $as_echo_n "(cached) " >&6
17639 else
17640 ac_wine_try_cflags_saved=$CFLAGS
17641 CFLAGS="$CFLAGS -fshort-wchar"
17642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17644 int main(int argc, char **argv) { return 0; }
17645 _ACEOF
17646 if ac_fn_c_try_link "$LINENO"; then :
17647 ac_cv_cflags__fshort_wchar=yes
17648 else
17649 ac_cv_cflags__fshort_wchar=no
17651 rm -f core conftest.err conftest.$ac_objext \
17652 conftest$ac_exeext conftest.$ac_ext
17653 CFLAGS=$ac_wine_try_cflags_saved
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17656 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17657 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17658 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17659 fi ;;
17660 esac
17662 case $host_cpu in
17663 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17664 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17665 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17666 $as_echo_n "(cached) " >&6
17667 else
17668 ac_wine_try_cflags_saved=$CFLAGS
17669 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 int main(int argc, char **argv) { return 0; }
17673 _ACEOF
17674 if ac_fn_c_try_link "$LINENO"; then :
17675 ac_cv_cflags__fno_omit_frame_pointer=yes
17676 else
17677 ac_cv_cflags__fno_omit_frame_pointer=no
17679 rm -f core conftest.err conftest.$ac_objext \
17680 conftest$ac_exeext conftest.$ac_ext
17681 CFLAGS=$ac_wine_try_cflags_saved
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17684 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17685 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17686 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17687 fi ;;
17688 *x86_64*)
17689 case $host_os in
17690 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17691 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17692 if ${ac_cv_cflags__Wno_format+:} false; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17695 ac_wine_try_cflags_saved=$CFLAGS
17696 CFLAGS="$CFLAGS -Wno-format"
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17699 int main(int argc, char **argv) { return 0; }
17700 _ACEOF
17701 if ac_fn_c_try_link "$LINENO"; then :
17702 ac_cv_cflags__Wno_format=yes
17703 else
17704 ac_cv_cflags__Wno_format=no
17706 rm -f core conftest.err conftest.$ac_objext \
17707 conftest$ac_exeext conftest.$ac_ext
17708 CFLAGS=$ac_wine_try_cflags_saved
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17711 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17712 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17713 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17714 fi ;;
17715 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17716 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17717 if ${ac_cv_cflags__mabi_ms+:} false; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17720 ac_wine_try_cflags_saved=$CFLAGS
17721 CFLAGS="$CFLAGS -mabi=ms"
17722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17724 int main(int argc, char **argv) { return 0; }
17725 _ACEOF
17726 if ac_fn_c_try_link "$LINENO"; then :
17727 ac_cv_cflags__mabi_ms=yes
17728 else
17729 ac_cv_cflags__mabi_ms=no
17731 rm -f core conftest.err conftest.$ac_objext \
17732 conftest$ac_exeext conftest.$ac_ext
17733 CFLAGS=$ac_wine_try_cflags_saved
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17736 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17737 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17738 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17739 fi ;;
17740 esac ;;
17741 esac
17743 CFLAGS=$saved_CFLAGS
17745 if test "x$enable_werror" = "xyes"
17746 then
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17748 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17749 if ${ac_cv_cflags__Werror+:} false; then :
17750 $as_echo_n "(cached) " >&6
17751 else
17752 ac_wine_try_cflags_saved=$CFLAGS
17753 CFLAGS="$CFLAGS -Werror"
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756 int main(int argc, char **argv) { return 0; }
17757 _ACEOF
17758 if ac_fn_c_try_link "$LINENO"; then :
17759 ac_cv_cflags__Werror=yes
17760 else
17761 ac_cv_cflags__Werror=no
17763 rm -f core conftest.err conftest.$ac_objext \
17764 conftest$ac_exeext conftest.$ac_ext
17765 CFLAGS=$ac_wine_try_cflags_saved
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17768 $as_echo "$ac_cv_cflags__Werror" >&6; }
17769 if test "x$ac_cv_cflags__Werror" = xyes; then :
17770 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17777 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17778 if ${ac_cv_c_fortify_enabled+:} false; then :
17779 $as_echo_n "(cached) " >&6
17780 else
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17783 #include <string.h>
17785 main ()
17787 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17788 #error Fortify enabled
17789 #endif
17791 return 0;
17793 _ACEOF
17794 if ac_fn_c_try_compile "$LINENO"; then :
17795 ac_cv_c_fortify_enabled=no
17796 else
17797 ac_cv_c_fortify_enabled=yes
17799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17802 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17803 if test "$ac_cv_c_fortify_enabled" = yes
17804 then
17805 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17810 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17811 if ${ac_cv_c_cfi_support+:} false; then :
17812 $as_echo_n "(cached) " >&6
17813 else
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17818 main ()
17822 return 0;
17824 _ACEOF
17825 if ac_fn_c_try_compile "$LINENO"; then :
17826 ac_cv_c_cfi_support="yes"
17827 else
17828 ac_cv_c_cfi_support="no"
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17833 $as_echo "$ac_cv_c_cfi_support" >&6; }
17834 if test "$ac_cv_c_cfi_support" = "yes"
17835 then
17836 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17837 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17838 else
17839 if test "x$enable_win64" = "xyes"
17840 then
17841 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17846 case $build_os in
17847 cygwin*|mingw32*) TOOLSEXT=".exe"
17849 esac
17851 case $host_os in
17852 linux*)
17853 case $host_cpu in
17854 *i[3456789]86*|x86_64*|*aarch64*)
17855 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17856 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17858 esac
17860 esac
17863 ac_save_CFLAGS="$CFLAGS"
17864 CFLAGS="$CFLAGS $BUILTINFLAG"
17865 for ac_func in \
17866 __res_get_state \
17867 __res_getservers \
17868 _spawnvp \
17869 epoll_create \
17870 fnmatch \
17871 fork \
17872 fstatfs \
17873 futimens \
17874 futimes \
17875 futimesat \
17876 getattrlist \
17877 getauxval \
17878 getifaddrs \
17879 getopt_long_only \
17880 getrandom \
17881 kqueue \
17882 lstat \
17883 mach_continuous_time \
17884 pipe2 \
17885 poll \
17886 port_create \
17887 prctl \
17888 pread \
17889 proc_pidinfo \
17890 pwrite \
17891 readlink \
17892 sched_yield \
17893 setproctitle \
17894 setprogname \
17895 sigprocmask \
17896 symlink \
17897 tcdrain \
17898 thr_kill2
17900 do :
17901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17903 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17904 cat >>confdefs.h <<_ACEOF
17905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17906 _ACEOF
17909 done
17911 CFLAGS="$ac_save_CFLAGS"
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17914 $as_echo_n "checking for library containing dlopen... " >&6; }
17915 if ${ac_cv_search_dlopen+:} false; then :
17916 $as_echo_n "(cached) " >&6
17917 else
17918 ac_func_search_save_LIBS=$LIBS
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17922 /* Override any GCC internal prototype to avoid an error.
17923 Use char because int might match the return type of a GCC
17924 builtin and then its argument prototype would still apply. */
17925 #ifdef __cplusplus
17926 extern "C"
17927 #endif
17928 char dlopen ();
17930 main ()
17932 return dlopen ();
17934 return 0;
17936 _ACEOF
17937 for ac_lib in '' dl; do
17938 if test -z "$ac_lib"; then
17939 ac_res="none required"
17940 else
17941 ac_res=-l$ac_lib
17942 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17944 if ac_fn_c_try_link "$LINENO"; then :
17945 ac_cv_search_dlopen=$ac_res
17947 rm -f core conftest.err conftest.$ac_objext \
17948 conftest$ac_exeext
17949 if ${ac_cv_search_dlopen+:} false; then :
17950 break
17952 done
17953 if ${ac_cv_search_dlopen+:} false; then :
17955 else
17956 ac_cv_search_dlopen=no
17958 rm conftest.$ac_ext
17959 LIBS=$ac_func_search_save_LIBS
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17962 $as_echo "$ac_cv_search_dlopen" >&6; }
17963 ac_res=$ac_cv_search_dlopen
17964 if test "$ac_res" != no; then :
17965 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17969 ac_wine_check_funcs_save_LIBS="$LIBS"
17970 LIBS="$LIBS $DL_LIBS"
17971 for ac_func in dladdr dlinfo
17972 do :
17973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17975 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17976 cat >>confdefs.h <<_ACEOF
17977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17978 _ACEOF
17981 done
17983 LIBS="$ac_wine_check_funcs_save_LIBS"
17985 if test "$ac_cv_func_poll" = no
17986 then
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17988 $as_echo_n "checking for poll in -lpoll... " >&6; }
17989 if ${ac_cv_lib_poll_poll+:} false; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17992 ac_check_lib_save_LIBS=$LIBS
17993 LIBS="-lpoll $LIBS"
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17997 /* Override any GCC internal prototype to avoid an error.
17998 Use char because int might match the return type of a GCC
17999 builtin and then its argument prototype would still apply. */
18000 #ifdef __cplusplus
18001 extern "C"
18002 #endif
18003 char poll ();
18005 main ()
18007 return poll ();
18009 return 0;
18011 _ACEOF
18012 if ac_fn_c_try_link "$LINENO"; then :
18013 ac_cv_lib_poll_poll=yes
18014 else
18015 ac_cv_lib_poll_poll=no
18017 rm -f core conftest.err conftest.$ac_objext \
18018 conftest$ac_exeext conftest.$ac_ext
18019 LIBS=$ac_check_lib_save_LIBS
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18022 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18023 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18024 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18025 POLL_LIBS="-lpoll"
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18032 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18033 if ${ac_cv_search_gethostbyname+:} false; then :
18034 $as_echo_n "(cached) " >&6
18035 else
18036 ac_func_search_save_LIBS=$LIBS
18037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18040 /* Override any GCC internal prototype to avoid an error.
18041 Use char because int might match the return type of a GCC
18042 builtin and then its argument prototype would still apply. */
18043 #ifdef __cplusplus
18044 extern "C"
18045 #endif
18046 char gethostbyname ();
18048 main ()
18050 return gethostbyname ();
18052 return 0;
18054 _ACEOF
18055 for ac_lib in '' nsl; do
18056 if test -z "$ac_lib"; then
18057 ac_res="none required"
18058 else
18059 ac_res=-l$ac_lib
18060 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18062 if ac_fn_c_try_link "$LINENO"; then :
18063 ac_cv_search_gethostbyname=$ac_res
18065 rm -f core conftest.err conftest.$ac_objext \
18066 conftest$ac_exeext
18067 if ${ac_cv_search_gethostbyname+:} false; then :
18068 break
18070 done
18071 if ${ac_cv_search_gethostbyname+:} false; then :
18073 else
18074 ac_cv_search_gethostbyname=no
18076 rm conftest.$ac_ext
18077 LIBS=$ac_func_search_save_LIBS
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18080 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18081 ac_res=$ac_cv_search_gethostbyname
18082 if test "$ac_res" != no; then :
18083 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18089 $as_echo_n "checking for library containing connect... " >&6; }
18090 if ${ac_cv_search_connect+:} false; then :
18091 $as_echo_n "(cached) " >&6
18092 else
18093 ac_func_search_save_LIBS=$LIBS
18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18097 /* Override any GCC internal prototype to avoid an error.
18098 Use char because int might match the return type of a GCC
18099 builtin and then its argument prototype would still apply. */
18100 #ifdef __cplusplus
18101 extern "C"
18102 #endif
18103 char connect ();
18105 main ()
18107 return connect ();
18109 return 0;
18111 _ACEOF
18112 for ac_lib in '' socket; do
18113 if test -z "$ac_lib"; then
18114 ac_res="none required"
18115 else
18116 ac_res=-l$ac_lib
18117 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18119 if ac_fn_c_try_link "$LINENO"; then :
18120 ac_cv_search_connect=$ac_res
18122 rm -f core conftest.err conftest.$ac_objext \
18123 conftest$ac_exeext
18124 if ${ac_cv_search_connect+:} false; then :
18125 break
18127 done
18128 if ${ac_cv_search_connect+:} false; then :
18130 else
18131 ac_cv_search_connect=no
18133 rm conftest.$ac_ext
18134 LIBS=$ac_func_search_save_LIBS
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18137 $as_echo "$ac_cv_search_connect" >&6; }
18138 ac_res=$ac_cv_search_connect
18139 if test "$ac_res" != no; then :
18140 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18146 $as_echo_n "checking for library containing inet_aton... " >&6; }
18147 if ${ac_cv_search_inet_aton+:} false; then :
18148 $as_echo_n "(cached) " >&6
18149 else
18150 ac_func_search_save_LIBS=$LIBS
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18154 /* Override any GCC internal prototype to avoid an error.
18155 Use char because int might match the return type of a GCC
18156 builtin and then its argument prototype would still apply. */
18157 #ifdef __cplusplus
18158 extern "C"
18159 #endif
18160 char inet_aton ();
18162 main ()
18164 return inet_aton ();
18166 return 0;
18168 _ACEOF
18169 for ac_lib in '' resolv; do
18170 if test -z "$ac_lib"; then
18171 ac_res="none required"
18172 else
18173 ac_res=-l$ac_lib
18174 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18176 if ac_fn_c_try_link "$LINENO"; then :
18177 ac_cv_search_inet_aton=$ac_res
18179 rm -f core conftest.err conftest.$ac_objext \
18180 conftest$ac_exeext
18181 if ${ac_cv_search_inet_aton+:} false; then :
18182 break
18184 done
18185 if ${ac_cv_search_inet_aton+:} false; then :
18187 else
18188 ac_cv_search_inet_aton=no
18190 rm conftest.$ac_ext
18191 LIBS=$ac_func_search_save_LIBS
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18194 $as_echo "$ac_cv_search_inet_aton" >&6; }
18195 ac_res=$ac_cv_search_inet_aton
18196 if test "$ac_res" != no; then :
18197 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18202 for ac_func in \
18203 getaddrinfo \
18204 getnameinfo \
18205 getservbyport \
18207 do :
18208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18210 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18211 cat >>confdefs.h <<_ACEOF
18212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18213 _ACEOF
18216 done
18219 case $host_os in
18220 darwin*|macosx*) ;;
18221 *) ac_save_LIBS=$LIBS
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18223 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18224 if ${ac_cv_search_clock_gettime+:} false; then :
18225 $as_echo_n "(cached) " >&6
18226 else
18227 ac_func_search_save_LIBS=$LIBS
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18231 /* Override any GCC internal prototype to avoid an error.
18232 Use char because int might match the return type of a GCC
18233 builtin and then its argument prototype would still apply. */
18234 #ifdef __cplusplus
18235 extern "C"
18236 #endif
18237 char clock_gettime ();
18239 main ()
18241 return clock_gettime ();
18243 return 0;
18245 _ACEOF
18246 for ac_lib in '' rt; do
18247 if test -z "$ac_lib"; then
18248 ac_res="none required"
18249 else
18250 ac_res=-l$ac_lib
18251 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18253 if ac_fn_c_try_link "$LINENO"; then :
18254 ac_cv_search_clock_gettime=$ac_res
18256 rm -f core conftest.err conftest.$ac_objext \
18257 conftest$ac_exeext
18258 if ${ac_cv_search_clock_gettime+:} false; then :
18259 break
18261 done
18262 if ${ac_cv_search_clock_gettime+:} false; then :
18264 else
18265 ac_cv_search_clock_gettime=no
18267 rm conftest.$ac_ext
18268 LIBS=$ac_func_search_save_LIBS
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18271 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18272 ac_res=$ac_cv_search_clock_gettime
18273 if test "$ac_res" != no; then :
18274 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18276 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18278 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18282 LIBS=$ac_save_LIBS
18284 esac
18286 if test "x$with_ldap" != "xno"
18287 then
18288 if ${LDAP_CFLAGS:+false} :; then :
18289 if ${PKG_CONFIG+:} false; then :
18290 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18294 if ${LDAP_LIBS:+false} :; then :
18295 if ${PKG_CONFIG+:} false; then :
18296 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18300 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18301 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18302 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18303 ac_save_CPPFLAGS=$CPPFLAGS
18304 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18305 for ac_header in ldap.h lber.h
18306 do :
18307 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18308 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18309 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18310 cat >>confdefs.h <<_ACEOF
18311 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18312 _ACEOF
18316 done
18318 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18319 then
18320 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18322 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18324 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18325 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18326 $as_echo_n "(cached) " >&6
18327 else
18328 ac_check_lib_save_LIBS=$LIBS
18329 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18333 /* Override any GCC internal prototype to avoid an error.
18334 Use char because int might match the return type of a GCC
18335 builtin and then its argument prototype would still apply. */
18336 #ifdef __cplusplus
18337 extern "C"
18338 #endif
18339 char ldap_initialize ();
18341 main ()
18343 return ldap_initialize ();
18345 return 0;
18347 _ACEOF
18348 if ac_fn_c_try_link "$LINENO"; then :
18349 ac_cv_lib_ldap_r_ldap_initialize=yes
18350 else
18351 ac_cv_lib_ldap_r_ldap_initialize=no
18353 rm -f core conftest.err conftest.$ac_objext \
18354 conftest$ac_exeext conftest.$ac_ext
18355 LIBS=$ac_check_lib_save_LIBS
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18358 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18359 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18361 $as_echo_n "checking for ber_init in -llber... " >&6; }
18362 if ${ac_cv_lib_lber_ber_init+:} false; then :
18363 $as_echo_n "(cached) " >&6
18364 else
18365 ac_check_lib_save_LIBS=$LIBS
18366 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18370 /* Override any GCC internal prototype to avoid an error.
18371 Use char because int might match the return type of a GCC
18372 builtin and then its argument prototype would still apply. */
18373 #ifdef __cplusplus
18374 extern "C"
18375 #endif
18376 char ber_init ();
18378 main ()
18380 return ber_init ();
18382 return 0;
18384 _ACEOF
18385 if ac_fn_c_try_link "$LINENO"; then :
18386 ac_cv_lib_lber_ber_init=yes
18387 else
18388 ac_cv_lib_lber_ber_init=no
18390 rm -f core conftest.err conftest.$ac_objext \
18391 conftest$ac_exeext conftest.$ac_ext
18392 LIBS=$ac_check_lib_save_LIBS
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18395 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18396 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18398 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18400 else
18401 LDAP_LIBS=""
18404 else
18405 LDAP_LIBS=""
18408 else
18409 LDAP_LIBS=""
18412 ac_wine_check_funcs_save_LIBS="$LIBS"
18413 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18414 for ac_func in \
18415 ldap_count_references \
18416 ldap_first_reference \
18417 ldap_next_reference \
18418 ldap_parse_reference \
18419 ldap_parse_sort_control \
18420 ldap_parse_sortresponse_control \
18421 ldap_parse_vlv_control \
18422 ldap_parse_vlvresponse_control
18423 do :
18424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18426 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18427 cat >>confdefs.h <<_ACEOF
18428 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18429 _ACEOF
18432 done
18434 LIBS="$ac_wine_check_funcs_save_LIBS"
18435 else
18436 LDAP_LIBS=""
18438 CPPFLAGS=$ac_save_CPPFLAGS
18441 if test "x$LDAP_LIBS" = "x"; then :
18442 case "x$with_ldap" in
18443 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18444 xno) ;;
18445 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18446 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18447 esac
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18452 $as_echo_n "checking for sched_setaffinity... " >&6; }
18453 if ${wine_cv_have_sched_setaffinity+:} false; then :
18454 $as_echo_n "(cached) " >&6
18455 else
18456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h. */
18458 #define _GNU_SOURCE
18459 #include <sched.h>
18461 main ()
18463 sched_setaffinity(0, 0, 0);
18465 return 0;
18467 _ACEOF
18468 if ac_fn_c_try_link "$LINENO"; then :
18469 wine_cv_have_sched_setaffinity=yes
18470 else
18471 wine_cv_have_sched_setaffinity=no
18473 rm -f core conftest.err conftest.$ac_objext \
18474 conftest$ac_exeext conftest.$ac_ext
18476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18477 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18478 if test "$wine_cv_have_sched_setaffinity" = "yes"
18479 then
18481 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18486 $as_echo_n "checking for fallocate... " >&6; }
18487 if ${wine_cv_have_fallocate+:} false; then :
18488 $as_echo_n "(cached) " >&6
18489 else
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18492 #define _GNU_SOURCE
18493 #include <fcntl.h>
18495 main ()
18497 fallocate(-1, 0, 0, 0);
18499 return 0;
18501 _ACEOF
18502 if ac_fn_c_try_link "$LINENO"; then :
18503 wine_cv_have_fallocate=yes
18504 else
18505 wine_cv_have_fallocate=no
18507 rm -f core conftest.err conftest.$ac_objext \
18508 conftest$ac_exeext conftest.$ac_ext
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18511 $as_echo "$wine_cv_have_fallocate" >&6; }
18512 if test "$wine_cv_have_fallocate" = "yes"
18513 then
18515 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18521 $as_echo_n "checking for inline... " >&6; }
18522 if ${ac_cv_c_inline+:} false; then :
18523 $as_echo_n "(cached) " >&6
18524 else
18525 ac_cv_c_inline=no
18526 for ac_kw in inline __inline__ __inline; do
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 #ifndef __cplusplus
18530 typedef int foo_t;
18531 static $ac_kw foo_t static_foo () {return 0; }
18532 $ac_kw foo_t foo () {return 0; }
18533 #endif
18535 _ACEOF
18536 if ac_fn_c_try_compile "$LINENO"; then :
18537 ac_cv_c_inline=$ac_kw
18539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540 test "$ac_cv_c_inline" != no && break
18541 done
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18545 $as_echo "$ac_cv_c_inline" >&6; }
18547 case $ac_cv_c_inline in
18548 inline | yes) ;;
18550 case $ac_cv_c_inline in
18551 no) ac_val=;;
18552 *) ac_val=$ac_cv_c_inline;;
18553 esac
18554 cat >>confdefs.h <<_ACEOF
18555 #ifndef __cplusplus
18556 #define inline $ac_val
18557 #endif
18558 _ACEOF
18560 esac
18562 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18563 #include <signal.h>
18565 if test "x$ac_cv_type_sigset_t" = xyes; then :
18567 cat >>confdefs.h <<_ACEOF
18568 #define HAVE_SIGSET_T 1
18569 _ACEOF
18574 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18576 if test "x$ac_cv_type_request_sense" = xyes; then :
18578 cat >>confdefs.h <<_ACEOF
18579 #define HAVE_REQUEST_SENSE 1
18580 _ACEOF
18586 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18587 #ifdef HAVE_SYS_SOCKET_H
18588 #include <sys/socket.h>
18589 #endif
18590 #ifdef HAVE_SYS_SOCKETVAR_H
18591 #include <sys/socketvar.h>
18592 #endif
18593 #ifdef HAVE_NET_ROUTE_H
18594 #include <net/route.h>
18595 #endif
18596 #ifdef HAVE_NETINET_IN_H
18597 #include <netinet/in.h>
18598 #endif
18599 #ifdef HAVE_NETINET_IN_SYSTM_H
18600 #include <netinet/in_systm.h>
18601 #endif
18602 #ifdef HAVE_NETINET_IP_H
18603 #include <netinet/ip.h>
18604 #endif
18605 #ifdef HAVE_NETINET_IN_PCB_H
18606 #include <netinet/in_pcb.h>
18607 #endif
18609 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18611 cat >>confdefs.h <<_ACEOF
18612 #define HAVE_STRUCT_XINPGEN 1
18613 _ACEOF
18619 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18620 #include <linux/input.h>
18621 #endif
18623 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18625 cat >>confdefs.h <<_ACEOF
18626 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18627 _ACEOF
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18634 $as_echo_n "checking for if_nameindex... " >&6; }
18635 if ${wine_cv_have_if_nameindex+:} false; then :
18636 $as_echo_n "(cached) " >&6
18637 else
18638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640 #ifdef HAVE_SYS_TYPES_H
18641 #include <sys/types.h>
18642 #endif
18643 #ifdef HAVE_SYS_SOCKET_H
18644 #include <sys/socket.h>
18645 #endif
18646 #ifdef HAVE_NET_IF_H
18647 # include <net/if.h>
18648 #endif
18650 main ()
18652 struct if_nameindex *p = if_nameindex(); return p->if_index;
18654 return 0;
18656 _ACEOF
18657 if ac_fn_c_try_link "$LINENO"; then :
18658 wine_cv_have_if_nameindex=yes
18659 else
18660 wine_cv_have_if_nameindex=no
18662 rm -f core conftest.err conftest.$ac_objext \
18663 conftest$ac_exeext conftest.$ac_ext
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18666 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18667 if test "$wine_cv_have_if_nameindex" = "yes"
18668 then
18670 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18675 $as_echo_n "checking for sigaddset... " >&6; }
18676 if ${wine_cv_have_sigaddset+:} false; then :
18677 $as_echo_n "(cached) " >&6
18678 else
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 #include <signal.h>
18683 main ()
18685 sigset_t set; sigaddset(&set,SIGTERM);
18687 return 0;
18689 _ACEOF
18690 if ac_fn_c_try_link "$LINENO"; then :
18691 wine_cv_have_sigaddset=yes
18692 else
18693 wine_cv_have_sigaddset=no
18695 rm -f core conftest.err conftest.$ac_objext \
18696 conftest$ac_exeext conftest.$ac_ext
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18699 $as_echo "$wine_cv_have_sigaddset" >&6; }
18700 if test "$wine_cv_have_sigaddset" = "yes"
18701 then
18703 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18709 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18710 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18711 $as_echo_n "(cached) " >&6
18712 else
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <netdb.h>
18717 main ()
18720 char *name=0;
18721 struct hostent he;
18722 struct hostent *result;
18723 char *buf=0;
18724 int bufsize=0;
18725 int errnr;
18726 char *addr=0;
18727 int addrlen=0;
18728 int addrtype=0;
18729 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18730 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18733 return 0;
18735 _ACEOF
18736 if ac_fn_c_try_link "$LINENO"; then :
18737 wine_cv_linux_gethostbyname_r_6=yes
18738 else
18739 wine_cv_linux_gethostbyname_r_6=no
18742 rm -f core conftest.err conftest.$ac_objext \
18743 conftest$ac_exeext conftest.$ac_ext
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18747 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18748 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18749 then
18751 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18755 if test "$ac_cv_header_linux_joystick_h" = "yes"
18756 then
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18758 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18759 if ${wine_cv_linux_joystick_22_api+:} false; then :
18760 $as_echo_n "(cached) " >&6
18761 else
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18765 #include <sys/ioctl.h>
18766 #include <sys/types.h>
18767 #include <linux/joystick.h>
18769 struct js_event blub;
18770 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18771 #error "no 2.2 header"
18772 #endif
18775 main ()
18777 /*empty*/
18779 return 0;
18781 _ACEOF
18782 if ac_fn_c_try_compile "$LINENO"; then :
18783 wine_cv_linux_joystick_22_api=yes
18784 else
18785 wine_cv_linux_joystick_22_api=no
18787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18791 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18792 if test "$wine_cv_linux_joystick_22_api" = "yes"
18793 then
18795 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18800 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18801 #ifdef HAVE_SYS_SOCKET_H
18802 # include <sys/socket.h>
18803 #endif
18804 #ifdef HAVE_SYS_UN_H
18805 # include <sys/un.h>
18806 #endif
18808 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18810 cat >>confdefs.h <<_ACEOF
18811 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18812 _ACEOF
18816 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18817 #ifdef HAVE_SYS_SOCKET_H
18818 # include <sys/socket.h>
18819 #endif
18820 #ifdef HAVE_SYS_UN_H
18821 # include <sys/un.h>
18822 #endif
18824 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18828 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18833 #ifdef HAVE_SYS_SOCKET_H
18834 # include <sys/socket.h>
18835 #endif
18836 #ifdef HAVE_SYS_UN_H
18837 # include <sys/un.h>
18838 #endif
18840 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18842 cat >>confdefs.h <<_ACEOF
18843 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18844 _ACEOF
18850 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18851 #ifdef HAVE_SCSI_SG_H
18852 #include <scsi/sg.h>
18853 #endif
18855 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18857 cat >>confdefs.h <<_ACEOF
18858 #define HAVE_SCSIREQ_T_CMD 1
18859 _ACEOF
18863 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>
18864 #ifdef HAVE_SCSI_SG_H
18865 #include <scsi/sg.h>
18866 #endif
18868 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18872 _ACEOF
18878 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18880 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18882 cat >>confdefs.h <<_ACEOF
18883 #define HAVE_SIGINFO_T_SI_FD 1
18884 _ACEOF
18890 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18891 #ifdef HAVE_SYS_MTIO_H
18892 #include <sys/mtio.h>
18893 #endif
18895 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18897 cat >>confdefs.h <<_ACEOF
18898 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18899 _ACEOF
18903 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18904 #ifdef HAVE_SYS_MTIO_H
18905 #include <sys/mtio.h>
18906 #endif
18908 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18910 cat >>confdefs.h <<_ACEOF
18911 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18912 _ACEOF
18916 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18917 #ifdef HAVE_SYS_MTIO_H
18918 #include <sys/mtio.h>
18919 #endif
18921 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18925 _ACEOF
18931 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18932 #include <getopt.h>
18933 #endif
18935 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_STRUCT_OPTION_NAME 1
18939 _ACEOF
18945 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18946 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18948 cat >>confdefs.h <<_ACEOF
18949 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18950 _ACEOF
18954 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18955 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_STRUCT_STAT_ST_MTIM 1
18959 _ACEOF
18963 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18964 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18966 cat >>confdefs.h <<_ACEOF
18967 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18968 _ACEOF
18972 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18973 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18975 cat >>confdefs.h <<_ACEOF
18976 #define HAVE_STRUCT_STAT_ST_CTIM 1
18977 _ACEOF
18981 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18982 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18991 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_STAT_ST_ATIM 1
18995 _ACEOF
18999 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19000 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19004 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19009 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19018 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19022 _ACEOF
19026 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19027 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19031 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19036 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19040 _ACEOF
19044 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19045 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19047 cat >>confdefs.h <<_ACEOF
19048 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19049 _ACEOF
19055 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
19056 #include <sys/types.h>
19057 #endif
19058 #ifdef HAVE_NETINET_IN_H
19059 #include <netinet/in.h>
19060 #endif
19062 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19066 _ACEOF
19072 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19073 #include <sys/types.h>
19074 #endif
19075 #ifdef HAVE_NETINET_IN_H
19076 #include <netinet/in.h>
19077 #endif
19078 #ifdef HAVE_RESOLV_H
19079 #include <resolv.h>
19080 #endif
19082 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_STRUCT___RES_STATE 1
19086 _ACEOF
19092 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
19093 #include <resolv.h>
19094 #endif
19096 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19100 _ACEOF
19106 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19107 #include <sys/types.h>
19108 #endif
19109 #ifdef HAVE_NETINET_IN_H
19110 # include <netinet/in.h>
19111 #endif
19112 #ifdef HAVE_ARPA_NAMESER_H
19113 # include <arpa/nameser.h>
19114 #endif
19116 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_NS_MSG__MSG_PTR 1
19120 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19127 #include <sys/types.h>
19128 #endif
19129 #ifdef HAVE_NETINET_IN_H
19130 #include <netinet/in.h>
19131 #endif
19132 #ifdef HAVE_NETINET_IP_H
19133 #include <netinet/ip.h>
19134 #endif
19135 #ifdef HAVE_NETINET_IP_ICMP_H
19136 #include <netinet/ip_icmp.h>
19137 #endif
19138 #ifdef HAVE_NETINET_ICMP_VAR_H
19139 #include <netinet/icmp_var.h>
19140 #endif
19142 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19144 cat >>confdefs.h <<_ACEOF
19145 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19146 _ACEOF
19152 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19153 #include <sys/types.h>
19154 #endif
19155 #ifdef HAVE_ALIAS_H
19156 #include <alias.h>
19157 #endif
19158 #ifdef HAVE_SYS_SOCKET_H
19159 #include <sys/socket.h>
19160 #endif
19161 #ifdef HAVE_SYS_SOCKETVAR_H
19162 #include <sys/socketvar.h>
19163 #endif
19164 #ifdef HAVE_SYS_TIMEOUT_H
19165 #include <sys/timeout.h>
19166 #endif
19167 #ifdef HAVE_NETINET_IN_H
19168 #include <netinet/in.h>
19169 #endif
19170 #ifdef HAVE_NETINET_IN_SYSTM_H
19171 #include <netinet/in_systm.h>
19172 #endif
19173 #ifdef HAVE_NETINET_IP_H
19174 #include <netinet/ip.h>
19175 #endif
19176 #ifdef HAVE_NETINET_IP_VAR_H
19177 #include <netinet/ip_var.h>
19178 #endif
19179 #ifdef HAVE_NETINET_IP_ICMP_H
19180 #include <netinet/ip_icmp.h>
19181 #endif
19182 #ifdef HAVE_NETINET_ICMP_VAR_H
19183 #include <netinet/icmp_var.h>
19184 #endif
19186 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19188 cat >>confdefs.h <<_ACEOF
19189 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19190 _ACEOF
19196 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19197 #include <sys/types.h>
19198 #endif
19199 #ifdef HAVE_SYS_SOCKETVAR_H
19200 #include <sys/socketvar.h>
19201 #endif
19202 #ifdef HAVE_NETINET_IN_H
19203 #include <netinet/in.h>
19204 #endif
19205 #ifdef HAVE_NETINET_IP_VAR_H
19206 #include <netinet/ip_var.h>
19207 #endif
19209 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19213 _ACEOF
19219 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
19220 #include <netinet/ip_var.h>
19221 #endif
19223 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19225 cat >>confdefs.h <<_ACEOF
19226 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19227 _ACEOF
19233 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19234 #include <sys/types.h>
19235 #endif
19236 #ifdef HAVE_SYS_SOCKETVAR_H
19237 #include <sys/socketvar.h>
19238 #endif
19239 #ifdef HAVE_NETINET_IN_H
19240 #include <netinet/in.h>
19241 #endif
19242 #ifdef HAVE_NETINET_TCP_H
19243 #include <netinet/tcp.h>
19244 #endif
19245 #ifdef HAVE_NETINET_TCP_VAR_H
19246 #include <netinet/tcp_var.h>
19247 #endif
19249 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19251 cat >>confdefs.h <<_ACEOF
19252 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19253 _ACEOF
19259 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
19260 #include <netinet/tcp_var.h>
19261 #endif
19263 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19265 cat >>confdefs.h <<_ACEOF
19266 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19267 _ACEOF
19273 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19274 #include <sys/types.h>
19275 #endif
19276 #ifdef HAVE_NETINET_IN_H
19277 #include <netinet/in.h>
19278 #endif
19279 #ifdef HAVE_NETINET_IP_VAR_H
19280 #include <netinet/ip_var.h>
19281 #endif
19282 #ifdef HAVE_NETINET_UDP_H
19283 #include <netinet/udp.h>
19284 #endif
19285 #ifdef HAVE_NETINET_UDP_VAR_H
19286 #include <netinet/udp_var.h>
19287 #endif
19289 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19291 cat >>confdefs.h <<_ACEOF
19292 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19293 _ACEOF
19299 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19300 #include <sys/types.h>
19301 #endif
19302 #ifdef HAVE_NET_IF_H
19303 # include <net/if.h>
19304 #endif
19306 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19308 cat >>confdefs.h <<_ACEOF
19309 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19310 _ACEOF
19316 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19317 # include <sys/sysinfo.h>
19318 #endif
19320 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19322 cat >>confdefs.h <<_ACEOF
19323 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19324 _ACEOF
19328 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19329 # include <sys/sysinfo.h>
19330 #endif
19332 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19334 cat >>confdefs.h <<_ACEOF
19335 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19336 _ACEOF
19342 ac_save_LIBS="$LIBS"
19343 LIBS="$LIBS -lm"
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19345 $as_echo_n "checking for isfinite... " >&6; }
19346 if ${ac_cv_have_isfinite+:} false; then :
19347 $as_echo_n "(cached) " >&6
19348 else
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19351 #define _GNU_SOURCE
19352 #include <math.h>
19354 main ()
19356 float f = 0.0; return isfinite(f)
19358 return 0;
19360 _ACEOF
19361 if ac_fn_c_try_link "$LINENO"; then :
19362 ac_cv_have_isfinite="yes"
19363 else
19364 ac_cv_have_isfinite="no"
19366 rm -f core conftest.err conftest.$ac_objext \
19367 conftest$ac_exeext conftest.$ac_ext
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19370 $as_echo "$ac_cv_have_isfinite" >&6; }
19371 if test "$ac_cv_have_isfinite" = "yes"
19372 then
19374 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19379 $as_echo_n "checking for isinf... " >&6; }
19380 if ${ac_cv_have_isinf+:} false; then :
19381 $as_echo_n "(cached) " >&6
19382 else
19383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19385 #include <math.h>
19387 main ()
19389 float f = 0.0; return isinf(f)
19391 return 0;
19393 _ACEOF
19394 if ac_fn_c_try_link "$LINENO"; then :
19395 ac_cv_have_isinf="yes"
19396 else
19397 ac_cv_have_isinf="no"
19399 rm -f core conftest.err conftest.$ac_objext \
19400 conftest$ac_exeext conftest.$ac_ext
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19403 $as_echo "$ac_cv_have_isinf" >&6; }
19404 if test "$ac_cv_have_isinf" = "yes"
19405 then
19407 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19412 $as_echo_n "checking for isnan... " >&6; }
19413 if ${ac_cv_have_isnan+:} false; then :
19414 $as_echo_n "(cached) " >&6
19415 else
19416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19417 /* end confdefs.h. */
19418 #include <math.h>
19420 main ()
19422 float f = 0.0; return isnan(f)
19424 return 0;
19426 _ACEOF
19427 if ac_fn_c_try_link "$LINENO"; then :
19428 ac_cv_have_isnan="yes"
19429 else
19430 ac_cv_have_isnan="no"
19432 rm -f core conftest.err conftest.$ac_objext \
19433 conftest$ac_exeext conftest.$ac_ext
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19436 $as_echo "$ac_cv_have_isnan" >&6; }
19437 if test "$ac_cv_have_isnan" = "yes"
19438 then
19440 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19444 for ac_func in \
19445 acosh \
19446 acoshf \
19447 asinh \
19448 asinhf \
19449 atanh \
19450 atanhf \
19451 cbrt \
19452 cbrtf \
19453 erf \
19454 erfc \
19455 erfcf \
19456 erff \
19457 exp2 \
19458 exp2f \
19459 expm1 \
19460 expm1f \
19461 fma \
19462 fmaf \
19463 j0 \
19464 j1 \
19465 jn \
19466 lgamma \
19467 lgammaf \
19468 llrint \
19469 llrintf \
19470 llround \
19471 llroundf \
19472 log1p \
19473 log1pf \
19474 log2 \
19475 log2f \
19476 lrint \
19477 lrintf \
19478 lround \
19479 lroundf \
19480 nearbyint \
19481 nearbyintf \
19482 nexttoward \
19483 nexttowardf \
19484 remainder \
19485 remainderf \
19486 remquo \
19487 remquof \
19488 rint \
19489 rintf \
19490 round \
19491 roundf \
19492 tgamma \
19493 tgammaf \
19494 trunc \
19495 truncf \
19496 y0 \
19497 y1 \
19500 do :
19501 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19503 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19504 cat >>confdefs.h <<_ACEOF
19505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19506 _ACEOF
19509 done
19511 LIBS="$ac_save_LIBS"
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19514 $as_echo_n "checking for __builtin_popcount... " >&6; }
19515 if ${ac_cv_have___builtin_popcount+:} false; then :
19516 $as_echo_n "(cached) " >&6
19517 else
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19522 main ()
19524 return __builtin_popcount(1)
19526 return 0;
19528 _ACEOF
19529 if ac_fn_c_try_link "$LINENO"; then :
19530 ac_cv_have___builtin_popcount="yes"
19531 else
19532 ac_cv_have___builtin_popcount="no"
19534 rm -f core conftest.err conftest.$ac_objext \
19535 conftest$ac_exeext conftest.$ac_ext
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19538 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19539 if test "$ac_cv_have___builtin_popcount" = "yes"
19540 then
19542 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19547 $as_echo_n "checking for __clear_cache... " >&6; }
19548 if ${ac_cv_have___clear_cache+:} false; then :
19549 $as_echo_n "(cached) " >&6
19550 else
19551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19555 main ()
19557 __clear_cache((void*)0, (void*)0); return 0;
19559 return 0;
19561 _ACEOF
19562 if ac_fn_c_try_link "$LINENO"; then :
19563 ac_cv_have___clear_cache="yes"
19564 else
19565 ac_cv_have___clear_cache="no"
19567 rm -f core conftest.err conftest.$ac_objext \
19568 conftest$ac_exeext conftest.$ac_ext
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19571 $as_echo "$ac_cv_have___clear_cache" >&6; }
19572 if test "$ac_cv_have___clear_cache" = "yes"
19573 then
19575 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19580 case $host_cpu in
19581 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19582 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19583 if ${ac_cv_cpp_def___i386__+:} false; then :
19584 $as_echo_n "(cached) " >&6
19585 else
19586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19588 #ifndef __i386__
19590 #endif
19591 _ACEOF
19592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19593 $EGREP "yes" >/dev/null 2>&1; then :
19594 ac_cv_cpp_def___i386__=yes
19595 else
19596 ac_cv_cpp_def___i386__=no
19598 rm -f conftest*
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19602 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19603 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19604 CFLAGS="$CFLAGS -D__i386__"
19605 LINTFLAGS="$LINTFLAGS -D__i386__"
19606 fi ;;
19607 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19608 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19609 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19610 $as_echo_n "(cached) " >&6
19611 else
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h. */
19614 #ifndef __x86_64__
19616 #endif
19617 _ACEOF
19618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19619 $EGREP "yes" >/dev/null 2>&1; then :
19620 ac_cv_cpp_def___x86_64__=yes
19621 else
19622 ac_cv_cpp_def___x86_64__=no
19624 rm -f conftest*
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19628 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19629 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19630 CFLAGS="$CFLAGS -D__x86_64__"
19631 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19632 fi ;;
19633 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19634 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19635 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19636 $as_echo_n "(cached) " >&6
19637 else
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19640 #ifndef __sparc64__
19642 #endif
19643 _ACEOF
19644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19645 $EGREP "yes" >/dev/null 2>&1; then :
19646 ac_cv_cpp_def___sparc64__=yes
19647 else
19648 ac_cv_cpp_def___sparc64__=no
19650 rm -f conftest*
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19654 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19655 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19656 CFLAGS="$CFLAGS -D__sparc64__"
19657 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19658 fi ;;
19659 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19660 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19661 if ${ac_cv_cpp_def___sparc__+:} false; then :
19662 $as_echo_n "(cached) " >&6
19663 else
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19666 #ifndef __sparc__
19668 #endif
19669 _ACEOF
19670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19671 $EGREP "yes" >/dev/null 2>&1; then :
19672 ac_cv_cpp_def___sparc__=yes
19673 else
19674 ac_cv_cpp_def___sparc__=no
19676 rm -f conftest*
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19680 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19681 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19682 CFLAGS="$CFLAGS -D__sparc__"
19683 LINTFLAGS="$LINTFLAGS -D__sparc__"
19684 fi ;;
19685 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19686 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19687 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19688 $as_echo_n "(cached) " >&6
19689 else
19690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19691 /* end confdefs.h. */
19692 #ifndef __powerpc64__
19694 #endif
19695 _ACEOF
19696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19697 $EGREP "yes" >/dev/null 2>&1; then :
19698 ac_cv_cpp_def___powerpc64__=yes
19699 else
19700 ac_cv_cpp_def___powerpc64__=no
19702 rm -f conftest*
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19706 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19707 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19708 CFLAGS="$CFLAGS -D__powerpc64__"
19709 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19710 fi ;;
19711 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19712 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19713 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19714 $as_echo_n "(cached) " >&6
19715 else
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19718 #ifndef __powerpc__
19720 #endif
19721 _ACEOF
19722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19723 $EGREP "yes" >/dev/null 2>&1; then :
19724 ac_cv_cpp_def___powerpc__=yes
19725 else
19726 ac_cv_cpp_def___powerpc__=no
19728 rm -f conftest*
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19732 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19733 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19734 CFLAGS="$CFLAGS -D__powerpc__"
19735 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19736 fi ;;
19737 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19738 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19739 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19740 $as_echo_n "(cached) " >&6
19741 else
19742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19743 /* end confdefs.h. */
19744 #ifndef __aarch64__
19746 #endif
19747 _ACEOF
19748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19749 $EGREP "yes" >/dev/null 2>&1; then :
19750 ac_cv_cpp_def___aarch64__=yes
19751 else
19752 ac_cv_cpp_def___aarch64__=no
19754 rm -f conftest*
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19758 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19759 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19760 CFLAGS="$CFLAGS -D__aarch64__"
19761 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19762 fi ;;
19763 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19764 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19765 if ${ac_cv_cpp_def___arm__+:} false; then :
19766 $as_echo_n "(cached) " >&6
19767 else
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770 #ifndef __arm__
19772 #endif
19773 _ACEOF
19774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19775 $EGREP "yes" >/dev/null 2>&1; then :
19776 ac_cv_cpp_def___arm__=yes
19777 else
19778 ac_cv_cpp_def___arm__=no
19780 rm -f conftest*
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19784 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19785 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19786 CFLAGS="$CFLAGS -D__arm__"
19787 LINTFLAGS="$LINTFLAGS -D__arm__"
19788 fi ;;
19789 esac
19791 case $host_vendor in
19792 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19793 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19794 if ${ac_cv_cpp_def___sun__+:} false; then :
19795 $as_echo_n "(cached) " >&6
19796 else
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799 #ifndef __sun__
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___sun__=yes
19806 else
19807 ac_cv_cpp_def___sun__=no
19809 rm -f conftest*
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19813 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19814 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19815 CFLAGS="$CFLAGS -D__sun__"
19816 LINTFLAGS="$LINTFLAGS -D__sun__"
19817 fi ;;
19818 esac
19824 ac_config_commands="$ac_config_commands include/stamp-h"
19826 $as_echo_n "creating Makefile rules..." >&6
19828 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19829 OPENGL_LIBS = $OPENGL_LIBS
19830 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19831 IOKIT_LIBS = $IOKIT_LIBS
19832 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19833 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19834 CORESERVICES_LIBS = $CORESERVICES_LIBS
19835 APPKIT_LIBS = $APPKIT_LIBS
19836 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19837 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19838 SECURITY_LIBS = $SECURITY_LIBS
19839 COREAUDIO_LIBS = $COREAUDIO_LIBS
19840 OPENAL_LIBS = $OPENAL_LIBS
19841 OPENCL_LIBS = $OPENCL_LIBS
19842 QUICKTIME_LIBS = $QUICKTIME_LIBS
19843 CARBON_LIBS = $CARBON_LIBS
19844 METAL_LIBS = $METAL_LIBS
19845 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19846 PTHREAD_LIBS = $PTHREAD_LIBS
19847 X_CFLAGS = $X_CFLAGS
19848 X_PRE_LIBS = $X_PRE_LIBS
19849 X_LIBS = $X_LIBS
19850 X_EXTRA_LIBS = $X_EXTRA_LIBS
19851 PCAP_LIBS = $PCAP_LIBS
19852 XML2_CFLAGS = $XML2_CFLAGS
19853 XML2_LIBS = $XML2_LIBS
19854 XSLT_CFLAGS = $XSLT_CFLAGS
19855 XSLT_LIBS = $XSLT_LIBS
19856 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19857 INOTIFY_LIBS = $INOTIFY_LIBS
19858 DBUS_CFLAGS = $DBUS_CFLAGS
19859 DBUS_LIBS = $DBUS_LIBS
19860 HAL_CFLAGS = $HAL_CFLAGS
19861 HAL_LIBS = $HAL_LIBS
19862 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19863 GNUTLS_LIBS = $GNUTLS_LIBS
19864 SANE_CFLAGS = $SANE_CFLAGS
19865 SANE_LIBS = $SANE_LIBS
19866 USB_CFLAGS = $USB_CFLAGS
19867 USB_LIBS = $USB_LIBS
19868 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19869 GPHOTO2_LIBS = $GPHOTO2_LIBS
19870 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19871 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19872 RESOLV_LIBS = $RESOLV_LIBS
19873 LCMS2_CFLAGS = $LCMS2_CFLAGS
19874 LCMS2_LIBS = $LCMS2_LIBS
19875 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19876 FREETYPE_LIBS = $FREETYPE_LIBS
19877 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19878 PULSE_CFLAGS = $PULSE_CFLAGS
19879 PULSE_LIBS = $PULSE_LIBS
19880 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19881 GSTREAMER_LIBS = $GSTREAMER_LIBS
19882 ALSA_LIBS = $ALSA_LIBS
19883 OSS4_CFLAGS = $OSS4_CFLAGS
19884 OSS4_LIBS = $OSS4_LIBS
19885 UDEV_CFLAGS = $UDEV_CFLAGS
19886 UDEV_LIBS = $UDEV_LIBS
19887 UNWIND_CFLAGS = $UNWIND_CFLAGS
19888 UNWIND_LIBS = $UNWIND_LIBS
19889 SDL2_CFLAGS = $SDL2_CFLAGS
19890 SDL2_LIBS = $SDL2_LIBS
19891 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19892 FAUDIO_LIBS = $FAUDIO_LIBS
19893 CAPI20_CFLAGS = $CAPI20_CFLAGS
19894 CAPI20_LIBS = $CAPI20_LIBS
19895 CUPS_CFLAGS = $CUPS_CFLAGS
19896 CUPS_LIBS = $CUPS_LIBS
19897 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19898 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19899 KRB5_CFLAGS = $KRB5_CFLAGS
19900 KRB5_LIBS = $KRB5_LIBS
19901 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19902 GSSAPI_LIBS = $GSSAPI_LIBS
19903 JPEG_CFLAGS = $JPEG_CFLAGS
19904 JPEG_LIBS = $JPEG_LIBS
19905 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19906 JXRLIB_LIBS = $JXRLIB_LIBS
19907 PNG_CFLAGS = $PNG_CFLAGS
19908 PNG_LIBS = $PNG_LIBS
19909 TIFF_CFLAGS = $TIFF_CFLAGS
19910 TIFF_LIBS = $TIFF_LIBS
19911 MPG123_CFLAGS = $MPG123_CFLAGS
19912 MPG123_LIBS = $MPG123_LIBS
19913 KSTAT_LIBS = $KSTAT_LIBS
19914 PROCSTAT_LIBS = $PROCSTAT_LIBS
19915 NETAPI_CFLAGS = $NETAPI_CFLAGS
19916 NETAPI_LIBS = $NETAPI_LIBS
19917 VKD3D_CFLAGS = $VKD3D_CFLAGS
19918 VKD3D_LIBS = $VKD3D_LIBS
19919 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19920 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19921 POLL_LIBS = $POLL_LIBS
19922 RT_LIBS = $RT_LIBS
19923 LDAP_CFLAGS = $LDAP_CFLAGS
19924 LDAP_LIBS = $LDAP_LIBS
19928 makedep_flags=""
19929 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19932 wine_fn_append_rule "
19933 # Rules automatically generated by configure
19935 .INIT: Makefile
19936 .MAKEFILEDEPS:
19937 all: Makefile
19938 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19939 @./config.status Make.tmp Makefile
19940 depend: \$(MAKEDEP)
19941 \$(MAKEDEP)$makedep_flags
19942 dummy:
19943 .PHONY: depend dummy"
19945 ac_config_links="$ac_config_links wine:tools/winewrapper"
19946 wine_fn_config_symlink wine
19947 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19948 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19949 wine_fn_config_symlink wine64
19952 wine_fn_config_makefile dlls/acledit enable_acledit
19953 wine_fn_config_makefile dlls/aclui enable_aclui
19954 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19955 wine_fn_config_makefile dlls/activeds enable_activeds
19956 wine_fn_config_makefile dlls/activeds/tests enable_tests
19957 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19958 wine_fn_config_makefile dlls/adsiid enable_adsiid
19959 wine_fn_config_makefile dlls/adsldp enable_adsldp
19960 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19961 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19962 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19963 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19964 wine_fn_config_makefile dlls/advpack enable_advpack
19965 wine_fn_config_makefile dlls/advpack/tests enable_tests
19966 wine_fn_config_makefile dlls/amsi enable_amsi
19967 wine_fn_config_makefile dlls/amstream enable_amstream
19968 wine_fn_config_makefile dlls/amstream/tests enable_tests
19969 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19971 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19972 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19974 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19979 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19987 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19989 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19991 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19993 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19994 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19995 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19997 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20002 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20003 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20005 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20006 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20015 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20019 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20020 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20023 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20025 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20026 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20030 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20031 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20039 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20040 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20041 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20042 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20054 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20055 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20056 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20079 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20083 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20086 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20102 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20108 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20161 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20165 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20169 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20170 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20175 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20177 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20188 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20194 wine_fn_config_makefile dlls/apphelp enable_apphelp
20195 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20196 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20197 wine_fn_config_makefile dlls/atl enable_atl
20198 wine_fn_config_makefile dlls/atl/tests enable_tests
20199 wine_fn_config_makefile dlls/atl100 enable_atl100
20200 wine_fn_config_makefile dlls/atl100/tests enable_tests
20201 wine_fn_config_makefile dlls/atl110 enable_atl110
20202 wine_fn_config_makefile dlls/atl80 enable_atl80
20203 wine_fn_config_makefile dlls/atl80/tests enable_tests
20204 wine_fn_config_makefile dlls/atl90 enable_atl90
20205 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20206 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20207 wine_fn_config_makefile dlls/atmlib enable_atmlib
20208 wine_fn_config_makefile dlls/authz enable_authz
20209 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20210 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20211 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20212 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20213 wine_fn_config_makefile dlls/avrt enable_avrt
20214 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20215 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20216 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20217 wine_fn_config_makefile dlls/browseui enable_browseui
20218 wine_fn_config_makefile dlls/browseui/tests enable_tests
20219 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20220 wine_fn_config_makefile dlls/cabinet enable_cabinet
20221 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20222 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20223 wine_fn_config_makefile dlls/cards enable_cards
20224 wine_fn_config_makefile dlls/cdosys enable_cdosys
20225 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20226 wine_fn_config_makefile dlls/clusapi enable_clusapi
20227 wine_fn_config_makefile dlls/combase enable_combase
20228 wine_fn_config_makefile dlls/combase/tests enable_tests
20229 wine_fn_config_makefile dlls/comcat enable_comcat
20230 wine_fn_config_makefile dlls/comcat/tests enable_tests
20231 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20232 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20233 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20234 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20235 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20236 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20237 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20238 wine_fn_config_makefile dlls/compstui enable_compstui
20239 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20240 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20241 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20242 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20243 wine_fn_config_makefile dlls/connect enable_connect
20244 wine_fn_config_makefile dlls/credui enable_credui
20245 wine_fn_config_makefile dlls/credui/tests enable_tests
20246 wine_fn_config_makefile dlls/crtdll enable_crtdll
20247 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20248 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20249 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20250 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20251 wine_fn_config_makefile dlls/cryptext enable_cryptext
20252 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20253 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20254 wine_fn_config_makefile dlls/cryptui enable_cryptui
20255 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20256 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20257 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20258 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20259 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20260 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20261 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20262 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20263 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20264 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20265 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20266 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20267 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20268 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20269 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20270 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20271 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20272 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20273 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20274 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20275 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20276 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20277 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20278 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20279 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20280 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20281 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20282 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20283 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20284 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20285 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20286 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20287 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20288 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20289 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20290 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20291 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20292 wine_fn_config_makefile dlls/d3dim enable_d3dim
20293 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20294 wine_fn_config_makefile dlls/d3drm enable_d3drm
20295 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20296 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20297 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20298 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20299 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20300 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20301 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20302 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20303 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20304 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20305 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20306 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20307 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20308 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20309 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20310 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20311 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20312 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20313 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20314 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20315 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20316 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20317 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20318 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20319 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20320 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20321 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20322 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20323 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20324 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20325 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20326 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20327 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20328 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20329 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20330 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20331 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20332 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20333 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20334 wine_fn_config_makefile dlls/davclnt enable_davclnt
20335 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20336 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20337 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20338 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20339 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20340 wine_fn_config_makefile dlls/dcomp enable_dcomp
20341 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20342 wine_fn_config_makefile dlls/ddraw enable_ddraw
20343 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20344 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20345 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20346 wine_fn_config_makefile dlls/devenum enable_devenum
20347 wine_fn_config_makefile dlls/devenum/tests enable_tests
20348 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20349 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20350 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20351 wine_fn_config_makefile dlls/difxapi enable_difxapi
20352 wine_fn_config_makefile dlls/dinput enable_dinput
20353 wine_fn_config_makefile dlls/dinput/tests enable_tests
20354 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20355 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20356 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20357 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20358 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20359 wine_fn_config_makefile dlls/dispex enable_dispex
20360 wine_fn_config_makefile dlls/dispex/tests enable_tests
20361 wine_fn_config_makefile dlls/display.drv16 enable_win16
20362 wine_fn_config_makefile dlls/dmband enable_dmband
20363 wine_fn_config_makefile dlls/dmband/tests enable_tests
20364 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20365 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20366 wine_fn_config_makefile dlls/dmime enable_dmime
20367 wine_fn_config_makefile dlls/dmime/tests enable_tests
20368 wine_fn_config_makefile dlls/dmloader enable_dmloader
20369 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20370 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20371 wine_fn_config_makefile dlls/dmscript enable_dmscript
20372 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20373 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20374 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20375 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20376 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20377 wine_fn_config_makefile dlls/dmusic enable_dmusic
20378 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20379 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20380 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20381 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20382 wine_fn_config_makefile dlls/dplay enable_dplay
20383 wine_fn_config_makefile dlls/dplayx enable_dplayx
20384 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20385 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20386 wine_fn_config_makefile dlls/dpnet enable_dpnet
20387 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20388 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20389 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20390 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20391 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20392 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20393 wine_fn_config_makefile dlls/drmclien enable_drmclien
20394 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20395 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20396 wine_fn_config_makefile dlls/dsound enable_dsound
20397 wine_fn_config_makefile dlls/dsound/tests enable_tests
20398 wine_fn_config_makefile dlls/dsquery enable_dsquery
20399 wine_fn_config_makefile dlls/dssenh enable_dssenh
20400 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20401 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20402 wine_fn_config_makefile dlls/dswave enable_dswave
20403 wine_fn_config_makefile dlls/dswave/tests enable_tests
20404 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20405 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20406 wine_fn_config_makefile dlls/dwrite enable_dwrite
20407 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20408 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20409 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20410 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20411 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20412 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20413 wine_fn_config_makefile dlls/dxgi enable_dxgi
20414 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20415 wine_fn_config_makefile dlls/dxguid enable_dxguid
20416 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20417 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20418 wine_fn_config_makefile dlls/esent enable_esent
20419 wine_fn_config_makefile dlls/evr enable_evr
20420 wine_fn_config_makefile dlls/evr/tests enable_tests
20421 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20422 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20423 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20424 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20425 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20428 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20429 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20432 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20434 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20435 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20457 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20460 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20462 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20463 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
20464 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20466 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20470 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20473 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20474 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20475 wine_fn_config_makefile dlls/faultrep enable_faultrep
20476 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20477 wine_fn_config_makefile dlls/feclient enable_feclient
20478 wine_fn_config_makefile dlls/fltlib enable_fltlib
20479 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20480 wine_fn_config_makefile dlls/fntcache enable_fntcache
20481 wine_fn_config_makefile dlls/fontsub enable_fontsub
20482 wine_fn_config_makefile dlls/fusion enable_fusion
20483 wine_fn_config_makefile dlls/fusion/tests enable_tests
20484 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20485 wine_fn_config_makefile dlls/gameux enable_gameux
20486 wine_fn_config_makefile dlls/gameux/tests enable_tests
20487 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20488 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20489 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20490 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20491 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20492 wine_fn_config_makefile dlls/glu32 enable_glu32
20493 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20494 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20495 wine_fn_config_makefile dlls/hal enable_hal
20496 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20497 wine_fn_config_makefile dlls/hid enable_hid
20498 wine_fn_config_makefile dlls/hid/tests enable_tests
20499 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20500 wine_fn_config_makefile dlls/hlink enable_hlink
20501 wine_fn_config_makefile dlls/hlink/tests enable_tests
20502 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20503 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20504 wine_fn_config_makefile dlls/http.sys enable_http_sys
20505 wine_fn_config_makefile dlls/httpapi enable_httpapi
20506 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20507 wine_fn_config_makefile dlls/iccvid enable_iccvid
20508 wine_fn_config_makefile dlls/icmp enable_icmp
20509 wine_fn_config_makefile dlls/ieframe enable_ieframe
20510 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20511 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20512 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20513 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20514 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20515 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20516 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20517 wine_fn_config_makefile dlls/imm32 enable_imm32
20518 wine_fn_config_makefile dlls/imm32/tests enable_tests
20519 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20520 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20521 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20522 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20523 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20524 wine_fn_config_makefile dlls/infosoft enable_infosoft
20525 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20526 wine_fn_config_makefile dlls/initpki enable_initpki
20527 wine_fn_config_makefile dlls/inkobj enable_inkobj
20528 wine_fn_config_makefile dlls/inseng enable_inseng
20529 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20530 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20531 wine_fn_config_makefile dlls/iprop enable_iprop
20532 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20533 wine_fn_config_makefile dlls/itircl enable_itircl
20534 wine_fn_config_makefile dlls/itss enable_itss
20535 wine_fn_config_makefile dlls/itss/tests enable_tests
20536 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20537 wine_fn_config_makefile dlls/jscript enable_jscript
20538 wine_fn_config_makefile dlls/jscript/tests enable_tests
20539 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20540 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20541 wine_fn_config_makefile dlls/kerberos enable_kerberos
20542 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20543 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20544 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20545 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20546 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20547 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20548 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20549 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20550 wine_fn_config_makefile dlls/ksuser enable_ksuser
20551 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20552 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20553 wine_fn_config_makefile dlls/loadperf enable_loadperf
20554 wine_fn_config_makefile dlls/localspl enable_localspl
20555 wine_fn_config_makefile dlls/localspl/tests enable_tests
20556 wine_fn_config_makefile dlls/localui enable_localui
20557 wine_fn_config_makefile dlls/localui/tests enable_tests
20558 wine_fn_config_makefile dlls/lz32 enable_lz32
20559 wine_fn_config_makefile dlls/lz32/tests enable_tests
20560 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20561 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20562 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20563 wine_fn_config_makefile dlls/mapistub enable_mapistub
20564 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20565 wine_fn_config_makefile dlls/mcicda enable_mcicda
20566 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20567 wine_fn_config_makefile dlls/mciseq enable_mciseq
20568 wine_fn_config_makefile dlls/mciwave enable_mciwave
20569 wine_fn_config_makefile dlls/mf enable_mf
20570 wine_fn_config_makefile dlls/mf/tests enable_tests
20571 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20572 wine_fn_config_makefile dlls/mferror enable_mferror
20573 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20574 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20575 wine_fn_config_makefile dlls/mfplat enable_mfplat
20576 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20577 wine_fn_config_makefile dlls/mfplay enable_mfplay
20578 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20579 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20580 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20581 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20582 wine_fn_config_makefile dlls/midimap enable_midimap
20583 wine_fn_config_makefile dlls/mlang enable_mlang
20584 wine_fn_config_makefile dlls/mlang/tests enable_tests
20585 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20586 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20587 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20588 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20589 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20590 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20591 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20592 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20593 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20594 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20595 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20596 wine_fn_config_makefile dlls/mpr enable_mpr
20597 wine_fn_config_makefile dlls/mpr/tests enable_tests
20598 wine_fn_config_makefile dlls/mprapi enable_mprapi
20599 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20600 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20601 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20602 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20603 wine_fn_config_makefile dlls/msado15 enable_msado15
20604 wine_fn_config_makefile dlls/msado15/tests enable_tests
20605 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20606 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20607 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20608 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20609 wine_fn_config_makefile dlls/mscms enable_mscms
20610 wine_fn_config_makefile dlls/mscms/tests enable_tests
20611 wine_fn_config_makefile dlls/mscoree enable_mscoree
20612 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20613 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20614 wine_fn_config_makefile dlls/msctf enable_msctf
20615 wine_fn_config_makefile dlls/msctf/tests enable_tests
20616 wine_fn_config_makefile dlls/msctfp enable_msctfp
20617 wine_fn_config_makefile dlls/msdaps enable_msdaps
20618 wine_fn_config_makefile dlls/msdelta enable_msdelta
20619 wine_fn_config_makefile dlls/msdmo enable_msdmo
20620 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20621 wine_fn_config_makefile dlls/msdrm enable_msdrm
20622 wine_fn_config_makefile dlls/msftedit enable_msftedit
20623 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20624 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20625 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20626 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20627 wine_fn_config_makefile dlls/mshtml enable_mshtml
20628 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20629 wine_fn_config_makefile dlls/msi enable_msi
20630 wine_fn_config_makefile dlls/msi/tests enable_tests
20631 wine_fn_config_makefile dlls/msident enable_msident
20632 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20633 wine_fn_config_makefile dlls/msimsg enable_msimsg
20634 wine_fn_config_makefile dlls/msimtf enable_msimtf
20635 wine_fn_config_makefile dlls/msisip enable_msisip
20636 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20637 wine_fn_config_makefile dlls/msls31 enable_msls31
20638 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20639 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20640 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20641 wine_fn_config_makefile dlls/msports enable_msports
20642 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20643 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20644 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20645 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20646 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20647 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20648 wine_fn_config_makefile dlls/mstask enable_mstask
20649 wine_fn_config_makefile dlls/mstask/tests enable_tests
20650 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20651 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20652 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20653 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20654 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20655 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20656 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20657 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20658 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20659 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20660 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20661 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20662 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20663 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20664 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20665 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20666 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20667 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20668 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20669 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20670 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20671 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20672 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20673 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20674 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20675 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20676 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20677 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20678 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20679 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20680 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20681 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20682 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20683 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20684 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20685 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20686 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20687 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20688 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20689 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20690 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20691 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20692 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20693 wine_fn_config_makefile dlls/mswsock enable_mswsock
20694 wine_fn_config_makefile dlls/msxml enable_msxml
20695 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20696 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20697 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20698 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20699 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20700 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20701 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20702 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20703 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20704 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20705 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20706 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20707 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20708 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20709 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20710 wine_fn_config_makefile dlls/netprofm enable_netprofm
20711 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20712 wine_fn_config_makefile dlls/netutils enable_netutils
20713 wine_fn_config_makefile dlls/newdev enable_newdev
20714 wine_fn_config_makefile dlls/ninput enable_ninput
20715 wine_fn_config_makefile dlls/ninput/tests enable_tests
20716 wine_fn_config_makefile dlls/normaliz enable_normaliz
20717 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20718 wine_fn_config_makefile dlls/npptools enable_npptools
20719 wine_fn_config_makefile dlls/ntdll enable_ntdll
20720 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20721 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20722 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20723 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20724 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20725 wine_fn_config_makefile dlls/ntprint enable_ntprint
20726 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20727 wine_fn_config_makefile dlls/objsel enable_objsel
20728 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20729 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20730 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20731 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20732 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20733 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20734 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20735 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20736 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20737 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20738 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20739 wine_fn_config_makefile dlls/ole32 enable_ole32
20740 wine_fn_config_makefile dlls/ole32/tests enable_tests
20741 wine_fn_config_makefile dlls/oleacc enable_oleacc
20742 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20743 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20744 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20745 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20746 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20747 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20748 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20749 wine_fn_config_makefile dlls/oledlg enable_oledlg
20750 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20751 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20752 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20753 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20754 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20755 wine_fn_config_makefile dlls/opcservices enable_opcservices
20756 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20757 wine_fn_config_makefile dlls/openal32 enable_openal32
20758 wine_fn_config_makefile dlls/opencl enable_opencl
20759 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20760 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20761 wine_fn_config_makefile dlls/packager enable_packager
20762 wine_fn_config_makefile dlls/packager/tests enable_tests
20763 wine_fn_config_makefile dlls/pdh enable_pdh
20764 wine_fn_config_makefile dlls/pdh/tests enable_tests
20765 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20766 wine_fn_config_makefile dlls/pidgen enable_pidgen
20767 wine_fn_config_makefile dlls/powrprof enable_powrprof
20768 wine_fn_config_makefile dlls/printui enable_printui
20769 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20770 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20771 wine_fn_config_makefile dlls/propsys enable_propsys
20772 wine_fn_config_makefile dlls/propsys/tests enable_tests
20773 wine_fn_config_makefile dlls/psapi enable_psapi
20774 wine_fn_config_makefile dlls/psapi/tests enable_tests
20775 wine_fn_config_makefile dlls/pstorec enable_pstorec
20776 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20777 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20778 wine_fn_config_makefile dlls/qasf enable_qasf
20779 wine_fn_config_makefile dlls/qasf/tests enable_tests
20780 wine_fn_config_makefile dlls/qcap enable_qcap
20781 wine_fn_config_makefile dlls/qcap/tests enable_tests
20782 wine_fn_config_makefile dlls/qdvd enable_qdvd
20783 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20784 wine_fn_config_makefile dlls/qedit enable_qedit
20785 wine_fn_config_makefile dlls/qedit/tests enable_tests
20786 wine_fn_config_makefile dlls/qmgr enable_qmgr
20787 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20788 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20789 wine_fn_config_makefile dlls/quartz enable_quartz
20790 wine_fn_config_makefile dlls/quartz/tests enable_tests
20791 wine_fn_config_makefile dlls/query enable_query
20792 wine_fn_config_makefile dlls/qwave enable_qwave
20793 wine_fn_config_makefile dlls/qwave/tests enable_tests
20794 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20795 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20796 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20797 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20798 wine_fn_config_makefile dlls/regapi enable_regapi
20799 wine_fn_config_makefile dlls/resutils enable_resutils
20800 wine_fn_config_makefile dlls/riched20 enable_riched20
20801 wine_fn_config_makefile dlls/riched20/tests enable_tests
20802 wine_fn_config_makefile dlls/riched32 enable_riched32
20803 wine_fn_config_makefile dlls/riched32/tests enable_tests
20804 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20805 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20806 wine_fn_config_makefile dlls/rsabase enable_rsabase
20807 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20808 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20809 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20810 wine_fn_config_makefile dlls/rtutils enable_rtutils
20811 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20812 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20813 wine_fn_config_makefile dlls/samlib enable_samlib
20814 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20815 wine_fn_config_makefile dlls/sapi enable_sapi
20816 wine_fn_config_makefile dlls/sapi/tests enable_tests
20817 wine_fn_config_makefile dlls/sas enable_sas
20818 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20819 wine_fn_config_makefile dlls/sccbase enable_sccbase
20820 wine_fn_config_makefile dlls/schannel enable_schannel
20821 wine_fn_config_makefile dlls/schannel/tests enable_tests
20822 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20823 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20824 wine_fn_config_makefile dlls/scrobj enable_scrobj
20825 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20826 wine_fn_config_makefile dlls/scrrun enable_scrrun
20827 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20828 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20829 wine_fn_config_makefile dlls/sechost enable_sechost
20830 wine_fn_config_makefile dlls/secur32 enable_secur32
20831 wine_fn_config_makefile dlls/secur32/tests enable_tests
20832 wine_fn_config_makefile dlls/security enable_security
20833 wine_fn_config_makefile dlls/sensapi enable_sensapi
20834 wine_fn_config_makefile dlls/serialui enable_serialui
20835 wine_fn_config_makefile dlls/serialui/tests enable_tests
20836 wine_fn_config_makefile dlls/setupapi enable_setupapi
20837 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20838 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20839 wine_fn_config_makefile dlls/sfc enable_sfc
20840 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20841 wine_fn_config_makefile dlls/shcore enable_shcore
20842 wine_fn_config_makefile dlls/shcore/tests enable_tests
20843 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20844 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20845 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20846 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20847 wine_fn_config_makefile dlls/shell32 enable_shell32
20848 wine_fn_config_makefile dlls/shell32/tests enable_tests
20849 wine_fn_config_makefile dlls/shfolder enable_shfolder
20850 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20851 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20852 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20853 wine_fn_config_makefile dlls/slc enable_slc
20854 wine_fn_config_makefile dlls/slc/tests enable_tests
20855 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20856 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20857 wine_fn_config_makefile dlls/softpub enable_softpub
20858 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20859 wine_fn_config_makefile dlls/spoolss enable_spoolss
20860 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20861 wine_fn_config_makefile dlls/srclient enable_srclient
20862 wine_fn_config_makefile dlls/srvcli enable_srvcli
20863 wine_fn_config_makefile dlls/sspicli enable_sspicli
20864 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20865 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20866 wine_fn_config_makefile dlls/sti enable_sti
20867 wine_fn_config_makefile dlls/sti/tests enable_tests
20868 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20869 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20870 wine_fn_config_makefile dlls/strmbase enable_strmbase
20871 wine_fn_config_makefile dlls/strmdll enable_strmdll
20872 wine_fn_config_makefile dlls/strmiids enable_strmiids
20873 wine_fn_config_makefile dlls/svrapi enable_svrapi
20874 wine_fn_config_makefile dlls/sxs enable_sxs
20875 wine_fn_config_makefile dlls/sxs/tests enable_tests
20876 wine_fn_config_makefile dlls/system.drv16 enable_win16
20877 wine_fn_config_makefile dlls/t2embed enable_t2embed
20878 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20879 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20880 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20881 wine_fn_config_makefile dlls/taskschd enable_taskschd
20882 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20883 wine_fn_config_makefile dlls/tdh enable_tdh
20884 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20885 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20886 wine_fn_config_makefile dlls/traffic enable_traffic
20887 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20888 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20889 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20890 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20891 wine_fn_config_makefile dlls/tzres enable_tzres
20892 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20893 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20894 wine_fn_config_makefile dlls/uianimation enable_uianimation
20895 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20896 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20897 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20898 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20899 wine_fn_config_makefile dlls/unicows enable_unicows
20900 wine_fn_config_makefile dlls/updspapi enable_updspapi
20901 wine_fn_config_makefile dlls/url enable_url
20902 wine_fn_config_makefile dlls/urlmon enable_urlmon
20903 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20904 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20905 wine_fn_config_makefile dlls/user.exe16 enable_win16
20906 wine_fn_config_makefile dlls/user32 enable_user32
20907 wine_fn_config_makefile dlls/user32/tests enable_tests
20908 wine_fn_config_makefile dlls/userenv enable_userenv
20909 wine_fn_config_makefile dlls/userenv/tests enable_tests
20910 wine_fn_config_makefile dlls/usp10 enable_usp10
20911 wine_fn_config_makefile dlls/usp10/tests enable_tests
20912 wine_fn_config_makefile dlls/utildll enable_utildll
20913 wine_fn_config_makefile dlls/uuid enable_uuid
20914 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20915 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20916 wine_fn_config_makefile dlls/vbscript enable_vbscript
20917 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20918 wine_fn_config_makefile dlls/vcomp enable_vcomp
20919 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20920 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20921 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20922 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20923 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20924 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20925 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20926 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20927 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20928 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20929 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20930 wine_fn_config_makefile dlls/version enable_version
20931 wine_fn_config_makefile dlls/version/tests enable_tests
20932 wine_fn_config_makefile dlls/vga enable_vga
20933 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20934 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20935 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20936 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20937 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20938 wine_fn_config_makefile dlls/vssapi enable_vssapi
20939 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20940 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20941 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20942 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20943 wine_fn_config_makefile dlls/w32skrnl enable_win16
20944 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20945 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20946 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20947 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20948 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20949 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20950 wine_fn_config_makefile dlls/wdscore enable_wdscore
20951 wine_fn_config_makefile dlls/webservices enable_webservices
20952 wine_fn_config_makefile dlls/webservices/tests enable_tests
20953 wine_fn_config_makefile dlls/wer enable_wer
20954 wine_fn_config_makefile dlls/wer/tests enable_tests
20955 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20956 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
20957 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20958 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20959 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20960 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20961 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20962 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20963 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20964 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20965 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20966 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20967 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20968 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20969 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20970 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20971 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20972 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20973 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20974 wine_fn_config_makefile dlls/wined3d enable_wined3d
20975 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20976 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20977 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20978 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20979 wine_fn_config_makefile dlls/winemapi enable_winemapi
20980 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20981 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20982 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20983 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20984 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20985 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20986 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20987 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20988 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20989 wine_fn_config_makefile dlls/wing32 enable_wing32
20990 wine_fn_config_makefile dlls/winhttp enable_winhttp
20991 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20992 wine_fn_config_makefile dlls/wininet enable_wininet
20993 wine_fn_config_makefile dlls/wininet/tests enable_tests
20994 wine_fn_config_makefile dlls/winmm enable_winmm
20995 wine_fn_config_makefile dlls/winmm/tests enable_tests
20996 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20997 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20998 wine_fn_config_makefile dlls/winscard enable_winscard
20999 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21000 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21001 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21002 wine_fn_config_makefile dlls/winsta enable_winsta
21003 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21004 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21005 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21006 wine_fn_config_makefile dlls/wintrust enable_wintrust
21007 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21008 wine_fn_config_makefile dlls/winusb enable_winusb
21009 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21010 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21011 wine_fn_config_makefile dlls/wlanui enable_wlanui
21012 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21013 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21014 wine_fn_config_makefile dlls/wmasf enable_wmasf
21015 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21016 wine_fn_config_makefile dlls/wmi enable_wmi
21017 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21018 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21019 wine_fn_config_makefile dlls/wmp enable_wmp
21020 wine_fn_config_makefile dlls/wmp/tests enable_tests
21021 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21022 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21023 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21024 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21025 wine_fn_config_makefile dlls/wow32 enable_win16
21026 wine_fn_config_makefile dlls/wpc enable_wpc
21027 wine_fn_config_makefile dlls/wpc/tests enable_tests
21028 wine_fn_config_makefile dlls/wpcap enable_wpcap
21029 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21030 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21031 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21032 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21033 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21034 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21035 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21036 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21037 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21038 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21039 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21040 wine_fn_config_makefile dlls/wuapi enable_wuapi
21041 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21042 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21043 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21044 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21045 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21046 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21047 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21048 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21049 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21050 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21051 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21052 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21053 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21054 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21055 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21056 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21057 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21058 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21059 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21060 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21061 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21062 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21063 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21064 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21065 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21066 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21067 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21068 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21069 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21070 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21071 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21072 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21073 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21074 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21075 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21076 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21077 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21078 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21079 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21080 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21081 wine_fn_config_makefile dlls/xmllite enable_xmllite
21082 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21083 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21084 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21085 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21086 wine_fn_config_makefile fonts enable_fonts
21087 wine_fn_config_makefile include enable_include
21088 wine_fn_config_makefile libs/port enable_port
21089 wine_fn_config_makefile libs/wine enable_wine
21090 wine_fn_config_makefile libs/wpp enable_wpp
21091 wine_fn_config_makefile loader enable_loader
21092 wine_fn_config_makefile nls enable_nls
21093 wine_fn_config_makefile po enable_po
21094 wine_fn_config_makefile programs/arp enable_arp
21095 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21096 wine_fn_config_makefile programs/attrib enable_attrib
21097 wine_fn_config_makefile programs/cabarc enable_cabarc
21098 wine_fn_config_makefile programs/cacls enable_cacls
21099 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21100 wine_fn_config_makefile programs/clock enable_clock
21101 wine_fn_config_makefile programs/cmd enable_cmd
21102 wine_fn_config_makefile programs/cmd/tests enable_tests
21103 wine_fn_config_makefile programs/conhost enable_conhost
21104 wine_fn_config_makefile programs/conhost/tests enable_tests
21105 wine_fn_config_makefile programs/control enable_control
21106 wine_fn_config_makefile programs/cscript enable_cscript
21107 wine_fn_config_makefile programs/dism enable_dism
21108 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21109 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21110 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21111 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21112 wine_fn_config_makefile programs/eject enable_eject
21113 wine_fn_config_makefile programs/expand enable_expand
21114 wine_fn_config_makefile programs/explorer enable_explorer
21115 wine_fn_config_makefile programs/extrac32 enable_extrac32
21116 wine_fn_config_makefile programs/fc enable_fc
21117 wine_fn_config_makefile programs/find enable_find
21118 wine_fn_config_makefile programs/find/tests enable_tests
21119 wine_fn_config_makefile programs/findstr enable_findstr
21120 wine_fn_config_makefile programs/fsutil enable_fsutil
21121 wine_fn_config_makefile programs/fsutil/tests enable_tests
21122 wine_fn_config_makefile programs/hh enable_hh
21123 wine_fn_config_makefile programs/hostname enable_hostname
21124 wine_fn_config_makefile programs/icacls enable_icacls
21125 wine_fn_config_makefile programs/icinfo enable_icinfo
21126 wine_fn_config_makefile programs/iexplore enable_iexplore
21127 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21128 wine_fn_config_makefile programs/lodctr enable_lodctr
21129 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21130 wine_fn_config_makefile programs/mshta enable_mshta
21131 wine_fn_config_makefile programs/msidb enable_msidb
21132 wine_fn_config_makefile programs/msiexec enable_msiexec
21133 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21134 wine_fn_config_makefile programs/net enable_net
21135 wine_fn_config_makefile programs/netsh enable_netsh
21136 wine_fn_config_makefile programs/netstat enable_netstat
21137 wine_fn_config_makefile programs/ngen enable_ngen
21138 wine_fn_config_makefile programs/notepad enable_notepad
21139 wine_fn_config_makefile programs/oleview enable_oleview
21140 wine_fn_config_makefile programs/ping enable_ping
21141 wine_fn_config_makefile programs/plugplay enable_plugplay
21142 wine_fn_config_makefile programs/powershell enable_powershell
21143 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21144 wine_fn_config_makefile programs/progman enable_progman
21145 wine_fn_config_makefile programs/reg enable_reg
21146 wine_fn_config_makefile programs/reg/tests enable_tests
21147 wine_fn_config_makefile programs/regasm enable_regasm
21148 wine_fn_config_makefile programs/regedit enable_regedit
21149 wine_fn_config_makefile programs/regedit/tests enable_tests
21150 wine_fn_config_makefile programs/regini enable_regini
21151 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21152 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21153 wine_fn_config_makefile programs/rpcss enable_rpcss
21154 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21155 wine_fn_config_makefile programs/rundll32 enable_rundll32
21156 wine_fn_config_makefile programs/sc enable_sc
21157 wine_fn_config_makefile programs/schtasks enable_schtasks
21158 wine_fn_config_makefile programs/schtasks/tests enable_tests
21159 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21160 wine_fn_config_makefile programs/secedit enable_secedit
21161 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21162 wine_fn_config_makefile programs/services enable_services
21163 wine_fn_config_makefile programs/services/tests enable_tests
21164 wine_fn_config_makefile programs/shutdown enable_shutdown
21165 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21166 wine_fn_config_makefile programs/start enable_start
21167 wine_fn_config_makefile programs/subst enable_subst
21168 wine_fn_config_makefile programs/svchost enable_svchost
21169 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21170 wine_fn_config_makefile programs/taskkill enable_taskkill
21171 wine_fn_config_makefile programs/tasklist enable_tasklist
21172 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21173 wine_fn_config_makefile programs/termsv enable_termsv
21174 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21175 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21176 wine_fn_config_makefile programs/view enable_view
21177 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21178 wine_fn_config_makefile programs/where enable_where
21179 wine_fn_config_makefile programs/whoami enable_whoami
21180 wine_fn_config_makefile programs/wineboot enable_wineboot
21181 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21182 wine_fn_config_makefile programs/winecfg enable_winecfg
21183 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21184 wine_fn_config_makefile programs/winedbg enable_winedbg
21185 wine_fn_config_makefile programs/winedevice enable_winedevice
21186 wine_fn_config_makefile programs/winefile enable_winefile
21187 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21188 wine_fn_config_makefile programs/winemine enable_winemine
21189 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21190 wine_fn_config_makefile programs/winepath enable_winepath
21191 wine_fn_config_makefile programs/winetest enable_winetest
21192 wine_fn_config_makefile programs/winevdm enable_win16
21193 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21194 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21195 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21196 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21197 wine_fn_config_makefile programs/winver enable_winver
21198 wine_fn_config_makefile programs/wmic enable_wmic
21199 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21200 wine_fn_config_makefile programs/wordpad enable_wordpad
21201 wine_fn_config_makefile programs/write enable_write
21202 wine_fn_config_makefile programs/wscript enable_wscript
21203 wine_fn_config_makefile programs/wscript/tests enable_tests
21204 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21205 wine_fn_config_makefile programs/wusa enable_wusa
21206 wine_fn_config_makefile programs/xcopy enable_xcopy
21207 wine_fn_config_makefile programs/xcopy/tests enable_tests
21208 wine_fn_config_makefile server enable_server
21209 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21210 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21211 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21212 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21213 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21214 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21215 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21216 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21217 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21220 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21221 wine_fn_append_file CONFIGURE_TARGETS "tags"
21222 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21223 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21224 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21225 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21226 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21227 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21229 if test "x$enable_tools" != xno
21230 then
21231 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21232 ac_config_commands="$ac_config_commands tools/makedep"
21236 ac_config_commands="$ac_config_commands Makefile"
21239 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21243 if test "x$enable_maintainer_mode" = xyes
21244 then
21245 wine_fn_append_rule "configure: configure.ac aclocal.m4
21246 autoconf --warnings=all
21247 include/config.h.in: include/stamp-h.in
21248 include/stamp-h.in: configure.ac aclocal.m4
21249 autoheader --warnings=all
21250 @echo timestamp > \$@"
21253 if test "x$enable_tools" != xno
21254 then
21255 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21256 @./config.status tools/makedep
21257 Makefile: tools/makedep$ac_exeext"
21258 else
21259 wine_fn_append_rule "\$(MAKEDEP):
21260 @echo \"You need to run make in $TOOLSDIR first\" && false"
21263 if test -n "$with_wine64"
21264 then
21265 case "$with_wine64" in
21266 /*) reldir="" ;;
21267 *) reldir="../" ;;
21268 esac
21269 rm -f fonts server 2>/dev/null
21270 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21271 loader/wine64 loader/wine64-preloader:
21272 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21273 $with_wine64/loader/wine:
21274 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21275 $with_wine64/loader/wine-preloader:
21276 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21277 clean::
21278 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21279 else
21280 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21281 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21282 fonts \
21283 loader/wine.inf \
21284 nls \
21285 programs/msidb/msidb \
21286 programs/msiexec/msiexec \
21287 programs/notepad/notepad \
21288 programs/regedit/regedit \
21289 programs/regsvr32/regsvr32 \
21290 programs/wineboot/wineboot \
21291 programs/winecfg/winecfg \
21292 programs/wineconsole/wineconsole \
21293 programs/winedbg/winedbg \
21294 programs/winefile/winefile \
21295 programs/winemine/winemine \
21296 programs/winepath/winepath \
21297 server/wineserver"
21299 case $host_os in
21300 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21301 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21302 esac
21305 $as_echo " done" >&6
21306 cat >confcache <<\_ACEOF
21307 # This file is a shell script that caches the results of configure
21308 # tests run on this system so they can be shared between configure
21309 # scripts and configure runs, see configure's option --config-cache.
21310 # It is not useful on other systems. If it contains results you don't
21311 # want to keep, you may remove or edit it.
21313 # config.status only pays attention to the cache file if you give it
21314 # the --recheck option to rerun configure.
21316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21318 # following values.
21320 _ACEOF
21322 # The following way of writing the cache mishandles newlines in values,
21323 # but we know of no workaround that is simple, portable, and efficient.
21324 # So, we kill variables containing newlines.
21325 # Ultrix sh set writes to stderr and can't be redirected directly,
21326 # and sets the high bit in the cache file unless we assign to the vars.
21328 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21329 eval ac_val=\$$ac_var
21330 case $ac_val in #(
21331 *${as_nl}*)
21332 case $ac_var in #(
21333 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21334 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21335 esac
21336 case $ac_var in #(
21337 _ | IFS | as_nl) ;; #(
21338 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21339 *) { eval $ac_var=; unset $ac_var;} ;;
21340 esac ;;
21341 esac
21342 done
21344 (set) 2>&1 |
21345 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21346 *${as_nl}ac_space=\ *)
21347 # `set' does not quote correctly, so add quotes: double-quote
21348 # substitution turns \\\\ into \\, and sed turns \\ into \.
21349 sed -n \
21350 "s/'/'\\\\''/g;
21351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21352 ;; #(
21354 # `set' quotes correctly as required by POSIX, so do not add quotes.
21355 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21357 esac |
21358 sort
21360 sed '
21361 /^ac_cv_env_/b end
21362 t clear
21363 :clear
21364 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21365 t end
21366 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21367 :end' >>confcache
21368 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21369 if test -w "$cache_file"; then
21370 if test "x$cache_file" != "x/dev/null"; then
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21372 $as_echo "$as_me: updating cache $cache_file" >&6;}
21373 if test ! -f "$cache_file" || test -h "$cache_file"; then
21374 cat confcache >"$cache_file"
21375 else
21376 case $cache_file in #(
21377 */* | ?:*)
21378 mv -f confcache "$cache_file"$$ &&
21379 mv -f "$cache_file"$$ "$cache_file" ;; #(
21381 mv -f confcache "$cache_file" ;;
21382 esac
21385 else
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21387 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21390 rm -f confcache
21392 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21393 # Let make expand exec_prefix.
21394 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21396 DEFS=-DHAVE_CONFIG_H
21398 ac_libobjs=
21399 ac_ltlibobjs=
21401 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21402 # 1. Remove the extension, and $U if already installed.
21403 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21404 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21405 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21406 # will be set to the directory where LIBOBJS objects are built.
21407 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21408 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21409 done
21410 LIBOBJS=$ac_libobjs
21412 LTLIBOBJS=$ac_ltlibobjs
21416 : "${CONFIG_STATUS=./config.status}"
21417 ac_write_fail=0
21418 ac_clean_files_save=$ac_clean_files
21419 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21421 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21422 as_write_fail=0
21423 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21424 #! $SHELL
21425 # Generated by $as_me.
21426 # Run this file to recreate the current configuration.
21427 # Compiler output produced by configure, useful for debugging
21428 # configure, is in config.log if it exists.
21430 debug=false
21431 ac_cs_recheck=false
21432 ac_cs_silent=false
21434 SHELL=\${CONFIG_SHELL-$SHELL}
21435 export SHELL
21436 _ASEOF
21437 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21438 ## -------------------- ##
21439 ## M4sh Initialization. ##
21440 ## -------------------- ##
21442 # Be more Bourne compatible
21443 DUALCASE=1; export DUALCASE # for MKS sh
21444 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21445 emulate sh
21446 NULLCMD=:
21447 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21448 # is contrary to our usage. Disable this feature.
21449 alias -g '${1+"$@"}'='"$@"'
21450 setopt NO_GLOB_SUBST
21451 else
21452 case `(set -o) 2>/dev/null` in #(
21453 *posix*) :
21454 set -o posix ;; #(
21455 *) :
21457 esac
21461 as_nl='
21463 export as_nl
21464 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21465 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21466 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21467 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21468 # Prefer a ksh shell builtin over an external printf program on Solaris,
21469 # but without wasting forks for bash or zsh.
21470 if test -z "$BASH_VERSION$ZSH_VERSION" \
21471 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21472 as_echo='print -r --'
21473 as_echo_n='print -rn --'
21474 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21475 as_echo='printf %s\n'
21476 as_echo_n='printf %s'
21477 else
21478 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21479 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21480 as_echo_n='/usr/ucb/echo -n'
21481 else
21482 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21483 as_echo_n_body='eval
21484 arg=$1;
21485 case $arg in #(
21486 *"$as_nl"*)
21487 expr "X$arg" : "X\\(.*\\)$as_nl";
21488 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21489 esac;
21490 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21492 export as_echo_n_body
21493 as_echo_n='sh -c $as_echo_n_body as_echo'
21495 export as_echo_body
21496 as_echo='sh -c $as_echo_body as_echo'
21499 # The user is always right.
21500 if test "${PATH_SEPARATOR+set}" != set; then
21501 PATH_SEPARATOR=:
21502 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21503 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21504 PATH_SEPARATOR=';'
21509 # IFS
21510 # We need space, tab and new line, in precisely that order. Quoting is
21511 # there to prevent editors from complaining about space-tab.
21512 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21513 # splitting by setting IFS to empty value.)
21514 IFS=" "" $as_nl"
21516 # Find who we are. Look in the path if we contain no directory separator.
21517 as_myself=
21518 case $0 in #((
21519 *[\\/]* ) as_myself=$0 ;;
21520 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21521 for as_dir in $PATH
21523 IFS=$as_save_IFS
21524 test -z "$as_dir" && as_dir=.
21525 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21526 done
21527 IFS=$as_save_IFS
21530 esac
21531 # We did not find ourselves, most probably we were run as `sh COMMAND'
21532 # in which case we are not to be found in the path.
21533 if test "x$as_myself" = x; then
21534 as_myself=$0
21536 if test ! -f "$as_myself"; then
21537 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21538 exit 1
21541 # Unset variables that we do not need and which cause bugs (e.g. in
21542 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21543 # suppresses any "Segmentation fault" message there. '((' could
21544 # trigger a bug in pdksh 5.2.14.
21545 for as_var in BASH_ENV ENV MAIL MAILPATH
21546 do eval test x\${$as_var+set} = xset \
21547 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21548 done
21549 PS1='$ '
21550 PS2='> '
21551 PS4='+ '
21553 # NLS nuisances.
21554 LC_ALL=C
21555 export LC_ALL
21556 LANGUAGE=C
21557 export LANGUAGE
21559 # CDPATH.
21560 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21563 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21564 # ----------------------------------------
21565 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21566 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21567 # script with STATUS, using 1 if that was 0.
21568 as_fn_error ()
21570 as_status=$1; test $as_status -eq 0 && as_status=1
21571 if test "$4"; then
21572 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21573 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21575 $as_echo "$as_me: error: $2" >&2
21576 as_fn_exit $as_status
21577 } # as_fn_error
21580 # as_fn_set_status STATUS
21581 # -----------------------
21582 # Set $? to STATUS, without forking.
21583 as_fn_set_status ()
21585 return $1
21586 } # as_fn_set_status
21588 # as_fn_exit STATUS
21589 # -----------------
21590 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21591 as_fn_exit ()
21593 set +e
21594 as_fn_set_status $1
21595 exit $1
21596 } # as_fn_exit
21598 # as_fn_unset VAR
21599 # ---------------
21600 # Portably unset VAR.
21601 as_fn_unset ()
21603 { eval $1=; unset $1;}
21605 as_unset=as_fn_unset
21606 # as_fn_append VAR VALUE
21607 # ----------------------
21608 # Append the text in VALUE to the end of the definition contained in VAR. Take
21609 # advantage of any shell optimizations that allow amortized linear growth over
21610 # repeated appends, instead of the typical quadratic growth present in naive
21611 # implementations.
21612 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21613 eval 'as_fn_append ()
21615 eval $1+=\$2
21617 else
21618 as_fn_append ()
21620 eval $1=\$$1\$2
21622 fi # as_fn_append
21624 # as_fn_arith ARG...
21625 # ------------------
21626 # Perform arithmetic evaluation on the ARGs, and store the result in the
21627 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21628 # must be portable across $(()) and expr.
21629 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21630 eval 'as_fn_arith ()
21632 as_val=$(( $* ))
21634 else
21635 as_fn_arith ()
21637 as_val=`expr "$@" || test $? -eq 1`
21639 fi # as_fn_arith
21642 if expr a : '\(a\)' >/dev/null 2>&1 &&
21643 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21644 as_expr=expr
21645 else
21646 as_expr=false
21649 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21650 as_basename=basename
21651 else
21652 as_basename=false
21655 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21656 as_dirname=dirname
21657 else
21658 as_dirname=false
21661 as_me=`$as_basename -- "$0" ||
21662 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21663 X"$0" : 'X\(//\)$' \| \
21664 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21665 $as_echo X/"$0" |
21666 sed '/^.*\/\([^/][^/]*\)\/*$/{
21667 s//\1/
21670 /^X\/\(\/\/\)$/{
21671 s//\1/
21674 /^X\/\(\/\).*/{
21675 s//\1/
21678 s/.*/./; q'`
21680 # Avoid depending upon Character Ranges.
21681 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21682 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21683 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21684 as_cr_digits='0123456789'
21685 as_cr_alnum=$as_cr_Letters$as_cr_digits
21687 ECHO_C= ECHO_N= ECHO_T=
21688 case `echo -n x` in #(((((
21689 -n*)
21690 case `echo 'xy\c'` in
21691 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21692 xy) ECHO_C='\c';;
21693 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21694 ECHO_T=' ';;
21695 esac;;
21697 ECHO_N='-n';;
21698 esac
21700 rm -f conf$$ conf$$.exe conf$$.file
21701 if test -d conf$$.dir; then
21702 rm -f conf$$.dir/conf$$.file
21703 else
21704 rm -f conf$$.dir
21705 mkdir conf$$.dir 2>/dev/null
21707 if (echo >conf$$.file) 2>/dev/null; then
21708 if ln -s conf$$.file conf$$ 2>/dev/null; then
21709 as_ln_s='ln -s'
21710 # ... but there are two gotchas:
21711 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21712 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21713 # In both cases, we have to default to `cp -pR'.
21714 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21715 as_ln_s='cp -pR'
21716 elif ln conf$$.file conf$$ 2>/dev/null; then
21717 as_ln_s=ln
21718 else
21719 as_ln_s='cp -pR'
21721 else
21722 as_ln_s='cp -pR'
21724 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21725 rmdir conf$$.dir 2>/dev/null
21728 # as_fn_mkdir_p
21729 # -------------
21730 # Create "$as_dir" as a directory, including parents if necessary.
21731 as_fn_mkdir_p ()
21734 case $as_dir in #(
21735 -*) as_dir=./$as_dir;;
21736 esac
21737 test -d "$as_dir" || eval $as_mkdir_p || {
21738 as_dirs=
21739 while :; do
21740 case $as_dir in #(
21741 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21742 *) as_qdir=$as_dir;;
21743 esac
21744 as_dirs="'$as_qdir' $as_dirs"
21745 as_dir=`$as_dirname -- "$as_dir" ||
21746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21747 X"$as_dir" : 'X\(//\)[^/]' \| \
21748 X"$as_dir" : 'X\(//\)$' \| \
21749 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21750 $as_echo X"$as_dir" |
21751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21752 s//\1/
21755 /^X\(\/\/\)[^/].*/{
21756 s//\1/
21759 /^X\(\/\/\)$/{
21760 s//\1/
21763 /^X\(\/\).*/{
21764 s//\1/
21767 s/.*/./; q'`
21768 test -d "$as_dir" && break
21769 done
21770 test -z "$as_dirs" || eval "mkdir $as_dirs"
21771 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21774 } # as_fn_mkdir_p
21775 if mkdir -p . 2>/dev/null; then
21776 as_mkdir_p='mkdir -p "$as_dir"'
21777 else
21778 test -d ./-p && rmdir ./-p
21779 as_mkdir_p=false
21783 # as_fn_executable_p FILE
21784 # -----------------------
21785 # Test if FILE is an executable regular file.
21786 as_fn_executable_p ()
21788 test -f "$1" && test -x "$1"
21789 } # as_fn_executable_p
21790 as_test_x='test -x'
21791 as_executable_p=as_fn_executable_p
21793 # Sed expression to map a string onto a valid CPP name.
21794 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21796 # Sed expression to map a string onto a valid variable name.
21797 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21800 exec 6>&1
21801 ## ----------------------------------- ##
21802 ## Main body of $CONFIG_STATUS script. ##
21803 ## ----------------------------------- ##
21804 _ASEOF
21805 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21808 # Save the log message, to keep $0 and so on meaningful, and to
21809 # report actual input values of CONFIG_FILES etc. instead of their
21810 # values after options handling.
21811 ac_log="
21812 This file was extended by Wine $as_me 6.1, which was
21813 generated by GNU Autoconf 2.69. Invocation command line was
21815 CONFIG_FILES = $CONFIG_FILES
21816 CONFIG_HEADERS = $CONFIG_HEADERS
21817 CONFIG_LINKS = $CONFIG_LINKS
21818 CONFIG_COMMANDS = $CONFIG_COMMANDS
21819 $ $0 $@
21821 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21824 _ACEOF
21826 case $ac_config_files in *"
21827 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21828 esac
21830 case $ac_config_headers in *"
21831 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21832 esac
21835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21836 # Files that config.status was made for.
21837 config_files="$ac_config_files"
21838 config_headers="$ac_config_headers"
21839 config_links="$ac_config_links"
21840 config_commands="$ac_config_commands"
21842 _ACEOF
21844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21845 ac_cs_usage="\
21846 \`$as_me' instantiates files and other configuration actions
21847 from templates according to the current configuration. Unless the files
21848 and actions are specified as TAGs, all are instantiated by default.
21850 Usage: $0 [OPTION]... [TAG]...
21852 -h, --help print this help, then exit
21853 -V, --version print version number and configuration settings, then exit
21854 --config print configuration, then exit
21855 -q, --quiet, --silent
21856 do not print progress messages
21857 -d, --debug don't remove temporary files
21858 --recheck update $as_me by reconfiguring in the same conditions
21859 --file=FILE[:TEMPLATE]
21860 instantiate the configuration file FILE
21861 --header=FILE[:TEMPLATE]
21862 instantiate the configuration header FILE
21864 Configuration files:
21865 $config_files
21867 Configuration headers:
21868 $config_headers
21870 Configuration links:
21871 $config_links
21873 Configuration commands:
21874 $config_commands
21876 Report bugs to <wine-devel@winehq.org>.
21877 Wine home page: <https://www.winehq.org>."
21879 _ACEOF
21880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21881 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21882 ac_cs_version="\\
21883 Wine config.status 6.1
21884 configured by $0, generated by GNU Autoconf 2.69,
21885 with options \\"\$ac_cs_config\\"
21887 Copyright (C) 2012 Free Software Foundation, Inc.
21888 This config.status script is free software; the Free Software Foundation
21889 gives unlimited permission to copy, distribute and modify it."
21891 ac_pwd='$ac_pwd'
21892 srcdir='$srcdir'
21893 test -n "\$AWK" || AWK=awk
21894 _ACEOF
21896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21897 # The default lists apply if the user does not specify any file.
21898 ac_need_defaults=:
21899 while test $# != 0
21901 case $1 in
21902 --*=?*)
21903 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21904 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21905 ac_shift=:
21907 --*=)
21908 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21909 ac_optarg=
21910 ac_shift=:
21913 ac_option=$1
21914 ac_optarg=$2
21915 ac_shift=shift
21917 esac
21919 case $ac_option in
21920 # Handling of the options.
21921 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21922 ac_cs_recheck=: ;;
21923 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21924 $as_echo "$ac_cs_version"; exit ;;
21925 --config | --confi | --conf | --con | --co | --c )
21926 $as_echo "$ac_cs_config"; exit ;;
21927 --debug | --debu | --deb | --de | --d | -d )
21928 debug=: ;;
21929 --file | --fil | --fi | --f )
21930 $ac_shift
21931 case $ac_optarg in
21932 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21933 '') as_fn_error $? "missing file argument" ;;
21934 esac
21935 as_fn_append CONFIG_FILES " '$ac_optarg'"
21936 ac_need_defaults=false;;
21937 --header | --heade | --head | --hea )
21938 $ac_shift
21939 case $ac_optarg in
21940 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21941 esac
21942 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21943 ac_need_defaults=false;;
21944 --he | --h)
21945 # Conflict between --help and --header
21946 as_fn_error $? "ambiguous option: \`$1'
21947 Try \`$0 --help' for more information.";;
21948 --help | --hel | -h )
21949 $as_echo "$ac_cs_usage"; exit ;;
21950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21951 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21952 ac_cs_silent=: ;;
21954 # This is an error.
21955 -*) as_fn_error $? "unrecognized option: \`$1'
21956 Try \`$0 --help' for more information." ;;
21958 *) as_fn_append ac_config_targets " $1"
21959 ac_need_defaults=false ;;
21961 esac
21962 shift
21963 done
21965 ac_configure_extra_args=
21967 if $ac_cs_silent; then
21968 exec 6>/dev/null
21969 ac_configure_extra_args="$ac_configure_extra_args --silent"
21972 _ACEOF
21973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21974 if \$ac_cs_recheck; then
21975 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21976 shift
21977 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21978 CONFIG_SHELL='$SHELL'
21979 export CONFIG_SHELL
21980 exec "\$@"
21983 _ACEOF
21984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21985 exec 5>>config.log
21987 echo
21988 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21989 ## Running $as_me. ##
21990 _ASBOX
21991 $as_echo "$ac_log"
21992 } >&5
21994 _ACEOF
21995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21997 # INIT-COMMANDS
21999 wine_fn_output_makedep ()
22001 as_dir=tools; as_fn_mkdir_p
22002 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22004 wine_fn_output_makefile ()
22006 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22007 `cat $wine_rules_file`
22008 _WINE_EOF
22009 as_fn_error $? "could not create Makefile" "$LINENO" 5
22012 _ACEOF
22014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22016 # Handling of arguments.
22017 for ac_config_target in $ac_config_targets
22019 case $ac_config_target in
22020 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22021 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22022 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22023 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22024 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22025 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22026 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22028 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22029 esac
22030 done
22033 # If the user did not use the arguments to specify the items to instantiate,
22034 # then the envvar interface is used. Set only those that are not.
22035 # We use the long form for the default assignment because of an extremely
22036 # bizarre bug on SunOS 4.1.3.
22037 if $ac_need_defaults; then
22038 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22039 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22040 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22041 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22044 # Have a temporary directory for convenience. Make it in the build tree
22045 # simply because there is no reason against having it here, and in addition,
22046 # creating and moving files from /tmp can sometimes cause problems.
22047 # Hook for its removal unless debugging.
22048 # Note that there is a small window in which the directory will not be cleaned:
22049 # after its creation but before its name has been assigned to `$tmp'.
22050 $debug ||
22052 tmp= ac_tmp=
22053 trap 'exit_status=$?
22054 : "${ac_tmp:=$tmp}"
22055 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22057 trap 'as_fn_exit 1' 1 2 13 15
22059 # Create a (secure) tmp directory for tmp files.
22062 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22063 test -d "$tmp"
22064 } ||
22066 tmp=./conf$$-$RANDOM
22067 (umask 077 && mkdir "$tmp")
22068 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22069 ac_tmp=$tmp
22071 # Set up the scripts for CONFIG_FILES section.
22072 # No need to generate them if there are no CONFIG_FILES.
22073 # This happens for instance with `./config.status config.h'.
22074 if test -n "$CONFIG_FILES"; then
22077 ac_cr=`echo X | tr X '\015'`
22078 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22079 # But we know of no other shell where ac_cr would be empty at this
22080 # point, so we can use a bashism as a fallback.
22081 if test "x$ac_cr" = x; then
22082 eval ac_cr=\$\'\\r\'
22084 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22085 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22086 ac_cs_awk_cr='\\r'
22087 else
22088 ac_cs_awk_cr=$ac_cr
22091 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22092 _ACEOF
22096 echo "cat >conf$$subs.awk <<_ACEOF" &&
22097 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22098 echo "_ACEOF"
22099 } >conf$$subs.sh ||
22100 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22101 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22102 ac_delim='%!_!# '
22103 for ac_last_try in false false false false false :; do
22104 . ./conf$$subs.sh ||
22105 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22107 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22108 if test $ac_delim_n = $ac_delim_num; then
22109 break
22110 elif $ac_last_try; then
22111 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22112 else
22113 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22115 done
22116 rm -f conf$$subs.sh
22118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22119 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22120 _ACEOF
22121 sed -n '
22123 s/^/S["/; s/!.*/"]=/
22126 s/^[^!]*!//
22127 :repl
22128 t repl
22129 s/'"$ac_delim"'$//
22130 t delim
22133 s/\(.\{148\}\)..*/\1/
22134 t more1
22135 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22138 b repl
22139 :more1
22140 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22143 s/.\{148\}//
22144 t nl
22145 :delim
22147 s/\(.\{148\}\)..*/\1/
22148 t more2
22149 s/["\\]/\\&/g; s/^/"/; s/$/"/
22152 :more2
22153 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22156 s/.\{148\}//
22157 t delim
22158 ' <conf$$subs.awk | sed '
22159 /^[^""]/{
22161 s/\n//
22163 ' >>$CONFIG_STATUS || ac_write_fail=1
22164 rm -f conf$$subs.awk
22165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22166 _ACAWK
22167 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22168 for (key in S) S_is_set[key] = 1
22169 FS = "\a"
22173 line = $ 0
22174 nfields = split(line, field, "@")
22175 substed = 0
22176 len = length(field[1])
22177 for (i = 2; i < nfields; i++) {
22178 key = field[i]
22179 keylen = length(key)
22180 if (S_is_set[key]) {
22181 value = S[key]
22182 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22183 len += length(value) + length(field[++i])
22184 substed = 1
22185 } else
22186 len += 1 + keylen
22189 print line
22192 _ACAWK
22193 _ACEOF
22194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22195 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22196 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22197 else
22199 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22200 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22201 _ACEOF
22203 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22204 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22205 # trailing colons and then remove the whole line if VPATH becomes empty
22206 # (actually we leave an empty line to preserve line numbers).
22207 if test "x$srcdir" = x.; then
22208 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22210 s///
22211 s/^/:/
22212 s/[ ]*$/:/
22213 s/:\$(srcdir):/:/g
22214 s/:\${srcdir}:/:/g
22215 s/:@srcdir@:/:/g
22216 s/^:*//
22217 s/:*$//
22219 s/\(=[ ]*\).*/\1/
22221 s/\n//
22222 s/^[^=]*=[ ]*$//
22226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22227 fi # test -n "$CONFIG_FILES"
22229 # Set up the scripts for CONFIG_HEADERS section.
22230 # No need to generate them if there are no CONFIG_HEADERS.
22231 # This happens for instance with `./config.status Makefile'.
22232 if test -n "$CONFIG_HEADERS"; then
22233 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22234 BEGIN {
22235 _ACEOF
22237 # Transform confdefs.h into an awk script `defines.awk', embedded as
22238 # here-document in config.status, that substitutes the proper values into
22239 # config.h.in to produce config.h.
22241 # Create a delimiter string that does not exist in confdefs.h, to ease
22242 # handling of long lines.
22243 ac_delim='%!_!# '
22244 for ac_last_try in false false :; do
22245 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22246 if test -z "$ac_tt"; then
22247 break
22248 elif $ac_last_try; then
22249 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22250 else
22251 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22253 done
22255 # For the awk script, D is an array of macro values keyed by name,
22256 # likewise P contains macro parameters if any. Preserve backslash
22257 # newline sequences.
22259 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22260 sed -n '
22261 s/.\{148\}/&'"$ac_delim"'/g
22262 t rset
22263 :rset
22264 s/^[ ]*#[ ]*define[ ][ ]*/ /
22265 t def
22267 :def
22268 s/\\$//
22269 t bsnl
22270 s/["\\]/\\&/g
22271 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22272 D["\1"]=" \3"/p
22273 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22275 :bsnl
22276 s/["\\]/\\&/g
22277 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22278 D["\1"]=" \3\\\\\\n"\\/p
22279 t cont
22280 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22281 t cont
22283 :cont
22285 s/.\{148\}/&'"$ac_delim"'/g
22286 t clear
22287 :clear
22288 s/\\$//
22289 t bsnlc
22290 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22292 :bsnlc
22293 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22294 b cont
22295 ' <confdefs.h | sed '
22296 s/'"$ac_delim"'/"\\\
22297 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22300 for (key in D) D_is_set[key] = 1
22301 FS = "\a"
22303 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22304 line = \$ 0
22305 split(line, arg, " ")
22306 if (arg[1] == "#") {
22307 defundef = arg[2]
22308 mac1 = arg[3]
22309 } else {
22310 defundef = substr(arg[1], 2)
22311 mac1 = arg[2]
22313 split(mac1, mac2, "(") #)
22314 macro = mac2[1]
22315 prefix = substr(line, 1, index(line, defundef) - 1)
22316 if (D_is_set[macro]) {
22317 # Preserve the white space surrounding the "#".
22318 print prefix "define", macro P[macro] D[macro]
22319 next
22320 } else {
22321 # Replace #undef with comments. This is necessary, for example,
22322 # in the case of _POSIX_SOURCE, which is predefined and required
22323 # on some systems where configure will not decide to define it.
22324 if (defundef == "undef") {
22325 print "/*", prefix defundef, macro, "*/"
22326 next
22330 { print }
22331 _ACAWK
22332 _ACEOF
22333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22334 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22335 fi # test -n "$CONFIG_HEADERS"
22338 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22339 shift
22340 for ac_tag
22342 case $ac_tag in
22343 :[FHLC]) ac_mode=$ac_tag; continue;;
22344 esac
22345 case $ac_mode$ac_tag in
22346 :[FHL]*:*);;
22347 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22348 :[FH]-) ac_tag=-:-;;
22349 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22350 esac
22351 ac_save_IFS=$IFS
22352 IFS=:
22353 set x $ac_tag
22354 IFS=$ac_save_IFS
22355 shift
22356 ac_file=$1
22357 shift
22359 case $ac_mode in
22360 :L) ac_source=$1;;
22361 :[FH])
22362 ac_file_inputs=
22363 for ac_f
22365 case $ac_f in
22366 -) ac_f="$ac_tmp/stdin";;
22367 *) # Look for the file first in the build tree, then in the source tree
22368 # (if the path is not absolute). The absolute path cannot be DOS-style,
22369 # because $ac_f cannot contain `:'.
22370 test -f "$ac_f" ||
22371 case $ac_f in
22372 [\\/$]*) false;;
22373 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22374 esac ||
22375 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22376 esac
22377 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22378 as_fn_append ac_file_inputs " '$ac_f'"
22379 done
22381 # Let's still pretend it is `configure' which instantiates (i.e., don't
22382 # use $as_me), people would be surprised to read:
22383 # /* config.h. Generated by config.status. */
22384 configure_input='Generated from '`
22385 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22386 `' by configure.'
22387 if test x"$ac_file" != x-; then
22388 configure_input="$ac_file. $configure_input"
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22390 $as_echo "$as_me: creating $ac_file" >&6;}
22392 # Neutralize special characters interpreted by sed in replacement strings.
22393 case $configure_input in #(
22394 *\&* | *\|* | *\\* )
22395 ac_sed_conf_input=`$as_echo "$configure_input" |
22396 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22397 *) ac_sed_conf_input=$configure_input;;
22398 esac
22400 case $ac_tag in
22401 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22402 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22403 esac
22405 esac
22407 ac_dir=`$as_dirname -- "$ac_file" ||
22408 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22409 X"$ac_file" : 'X\(//\)[^/]' \| \
22410 X"$ac_file" : 'X\(//\)$' \| \
22411 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22412 $as_echo X"$ac_file" |
22413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22414 s//\1/
22417 /^X\(\/\/\)[^/].*/{
22418 s//\1/
22421 /^X\(\/\/\)$/{
22422 s//\1/
22425 /^X\(\/\).*/{
22426 s//\1/
22429 s/.*/./; q'`
22430 as_dir="$ac_dir"; as_fn_mkdir_p
22431 ac_builddir=.
22433 case "$ac_dir" in
22434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22436 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22437 # A ".." for each directory in $ac_dir_suffix.
22438 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22439 case $ac_top_builddir_sub in
22440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22441 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22442 esac ;;
22443 esac
22444 ac_abs_top_builddir=$ac_pwd
22445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22446 # for backward compatibility:
22447 ac_top_builddir=$ac_top_build_prefix
22449 case $srcdir in
22450 .) # We are building in place.
22451 ac_srcdir=.
22452 ac_top_srcdir=$ac_top_builddir_sub
22453 ac_abs_top_srcdir=$ac_pwd ;;
22454 [\\/]* | ?:[\\/]* ) # Absolute name.
22455 ac_srcdir=$srcdir$ac_dir_suffix;
22456 ac_top_srcdir=$srcdir
22457 ac_abs_top_srcdir=$srcdir ;;
22458 *) # Relative name.
22459 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22460 ac_top_srcdir=$ac_top_build_prefix$srcdir
22461 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22462 esac
22463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22466 case $ac_mode in
22469 # CONFIG_FILE
22472 _ACEOF
22474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22475 # If the template does not know about datarootdir, expand it.
22476 # FIXME: This hack should be removed a few years after 2.60.
22477 ac_datarootdir_hack=; ac_datarootdir_seen=
22478 ac_sed_dataroot='
22479 /datarootdir/ {
22483 /@datadir@/p
22484 /@docdir@/p
22485 /@infodir@/p
22486 /@localedir@/p
22487 /@mandir@/p'
22488 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22489 *datarootdir*) ac_datarootdir_seen=yes;;
22490 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22492 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22493 _ACEOF
22494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22495 ac_datarootdir_hack='
22496 s&@datadir@&$datadir&g
22497 s&@docdir@&$docdir&g
22498 s&@infodir@&$infodir&g
22499 s&@localedir@&$localedir&g
22500 s&@mandir@&$mandir&g
22501 s&\\\${datarootdir}&$datarootdir&g' ;;
22502 esac
22503 _ACEOF
22505 # Neutralize VPATH when `$srcdir' = `.'.
22506 # Shell code in configure.ac might set extrasub.
22507 # FIXME: do we really want to maintain this feature?
22508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22509 ac_sed_extra="$ac_vpsub
22510 $extrasub
22511 _ACEOF
22512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22514 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22515 s|@configure_input@|$ac_sed_conf_input|;t t
22516 s&@top_builddir@&$ac_top_builddir_sub&;t t
22517 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22518 s&@srcdir@&$ac_srcdir&;t t
22519 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22520 s&@top_srcdir@&$ac_top_srcdir&;t t
22521 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22522 s&@builddir@&$ac_builddir&;t t
22523 s&@abs_builddir@&$ac_abs_builddir&;t t
22524 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22525 $ac_datarootdir_hack
22527 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22528 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22530 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22531 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22532 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22533 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22535 which seems to be undefined. Please make sure it is defined" >&5
22536 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22537 which seems to be undefined. Please make sure it is defined" >&2;}
22539 rm -f "$ac_tmp/stdin"
22540 case $ac_file in
22541 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22542 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22543 esac \
22544 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22548 # CONFIG_HEADER
22550 if test x"$ac_file" != x-; then
22552 $as_echo "/* $configure_input */" \
22553 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22554 } >"$ac_tmp/config.h" \
22555 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22556 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22558 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22559 else
22560 rm -f "$ac_file"
22561 mv "$ac_tmp/config.h" "$ac_file" \
22562 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22564 else
22565 $as_echo "/* $configure_input */" \
22566 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22567 || as_fn_error $? "could not create -" "$LINENO" 5
22572 # CONFIG_LINK
22575 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22577 else
22578 # Prefer the file from the source tree if names are identical.
22579 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22580 ac_source=$srcdir/$ac_source
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22584 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22586 if test ! -r "$ac_source"; then
22587 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22589 rm -f "$ac_file"
22591 # Try a relative symlink, then a hard link, then a copy.
22592 case $ac_source in
22593 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22594 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22595 esac
22596 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22597 ln "$ac_source" "$ac_file" 2>/dev/null ||
22598 cp -p "$ac_source" "$ac_file" ||
22599 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22602 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22603 $as_echo "$as_me: executing $ac_file commands" >&6;}
22605 esac
22608 case $ac_file$ac_mode in
22609 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22610 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22611 "Makefile":C) wine_fn_output_makefile Makefile ;;
22613 esac
22614 done # for ac_tag
22617 as_fn_exit 0
22618 _ACEOF
22619 ac_clean_files=$ac_clean_files_save
22621 test $ac_write_fail = 0 ||
22622 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22625 # configure is writing to config.log, and then calls config.status.
22626 # config.status does its own redirection, appending to config.log.
22627 # Unfortunately, on DOS this fails, as config.log is still kept open
22628 # by configure, so config.status won't be able to write to it; its
22629 # output is simply discarded. So we exec the FD to /dev/null,
22630 # effectively closing config.log, so it can be properly (re)opened and
22631 # appended to by config.status. When coming back to configure, we
22632 # need to make the FD available again.
22633 if test "$no_create" != yes; then
22634 ac_cs_success=:
22635 ac_config_status_args=
22636 test "$silent" = yes &&
22637 ac_config_status_args="$ac_config_status_args --quiet"
22638 exec 5>/dev/null
22639 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22640 exec 5>>config.log
22641 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22642 # would make configure fail if this is the last instruction.
22643 $ac_cs_success || as_fn_exit 1
22645 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22647 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22651 if test "$no_create" = "yes"
22652 then
22653 exit 0
22656 ac_save_IFS="$IFS"
22657 if test "x$wine_notices" != x; then
22658 echo >&6
22659 IFS="|"
22660 for msg in $wine_notices; do
22661 IFS="$ac_save_IFS"
22662 if ${msg:+false} :; then :
22664 else
22665 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22666 $as_echo "$as_me: $msg" >&6;}
22668 done
22670 IFS="|"
22671 for msg in $wine_warnings; do
22672 IFS="$ac_save_IFS"
22673 if ${msg:+false} :; then :
22675 else
22676 echo >&2
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22678 $as_echo "$as_me: WARNING: $msg" >&2;}
22680 done
22681 IFS="$ac_save_IFS"
22683 $as_echo "
22684 $as_me: Finished. Do '${ac_make}' to compile Wine.
22685 " >&6